public ContextMenu CreateContextMenue() { var contextMenu = new ContextMenu(); // TODO: Move options to UI? contextMenu.AddMenueItemSetting("Close to tray", "CloseToTray"); contextMenu.AddMenueItemSetting("Launch on Windows startup", "LaunchOnWindowsStartup", (sender, e) => SetStartup()); contextMenu.AddMenueItemSetting("Start minimized", "StartMinimized"); contextMenu.Items.Add(new Separator()); //contextMenu.AddMenueItem("About WhatsappTray", (sender, e) => ShowVersionsInfo()); contextMenu.AddMenueItem("Restore Window", (sender, e) => RestoreWindow(), false, false); contextMenu.AddMenueItem("Close Whatsapp", (sender, e) => Close(), false, false); return(contextMenu); }