diff --git a/MainForm.cs b/MainForm.cs index b5e0d52..8f0daba 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -18,9 +18,9 @@ public SysTrayApp(Switcher engine) { this.engine = engine; trayMenu = new ContextMenu(); - trayMenu.MenuItems.Add("Exit", OnExit); power = new MenuItem("", OnPower); trayMenu.MenuItems.Add(power); + trayMenu.MenuItems.Add("Exit", OnExit); trayIcon = new NotifyIcon();