Skip to content

Commit b8ebc4d

Browse files
committed
Issues #17 Fixed the display of the menu under the window
1 parent d4f924e commit b8ebc4d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

SmartContextMenu/Forms/MainForm.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ protected override void OnLoad(EventArgs e)
9191
_systemTrayMenu.Build(_settings);
9292
_systemTrayMenu.CheckMenuItemAutoStart(AutoStarter.IsAutoStartByRegisterEnabled(AssemblyUtils.AssemblyProductName, AssemblyUtils.AssemblyLocation));
9393
}
94+
95+
BringToFront();
96+
Activate();
9497
}
9598

9699
protected override void OnClosed(EventArgs e)

0 commit comments

Comments
 (0)