private static List <ToolStripItem> GetOptionsMenuItems() { List <ToolStripItem> items = new List <ToolStripItem>(); items.Add(new ToolStripMenuItem(_("Select &Language..."), null, OnLanguageItemClick)); items.Add(new ToolStripSeparator()); shuffleItem = new ToolStripMenuItem(_("Shuffle theme daily"), null, OnShuffleItemClick); shuffleItem.Checked = JsonConfig.settings.enableShuffle; items.Add(shuffleItem); fullScreenItem = new ToolStripMenuItem(_("Pause while fullscreen apps running"), null, OnFullScreenItemClick); fullScreenItem.Checked = JsonConfig.settings.fullScreenPause; items.Add(fullScreenItem); items.AddRange(UpdateChecker.GetMenuItems()); items.Add(new ToolStripSeparator()); items.Add(new ToolStripMenuItem(_("Edit configuration file"), null, OnEditConfigFileClick)); items.Add(new ToolStripMenuItem(_("Reload configuration file"), null, OnReloadConfigFileClick)); items.Add(new ToolStripSeparator()); enableScriptsItem = new ToolStripMenuItem(_("Enable PowerShell scripts"), null, OnEnableScriptsClick); enableScriptsItem.Checked = JsonConfig.settings.enableScripts; items.Add(enableScriptsItem); items.Add(new ToolStripMenuItem(_("Manage installed scripts"), null, OnManageScriptsClick)); return(items); }
private static List <ToolStripItem> GetOptionsMenuItems() { List <ToolStripItem> items = new List <ToolStripItem>(); items.Add(new ToolStripMenuItem(_("Select &Language..."), null, OnLanguageItemClick)); items.Add(new ToolStripSeparator()); items.Add(new ToolStripMenuItem(_("Edit Configuration File"), null, OnEditConfigFileClick)); items.Add(new ToolStripMenuItem(_("Reload Configuration File"), null, OnReloadConfigFileClick)); items.Add(new ToolStripSeparator()); shuffleItem = new ToolStripMenuItem(_("Shuffle wallpaper daily"), null, OnShuffleItemClick); shuffleItem.Checked = JsonConfig.settings.enableShuffle; items.Add(shuffleItem); fullScreenItem = new ToolStripMenuItem(_("Pause while fullscreen apps running"), null, OnFullScreenItemClick); fullScreenItem.Checked = JsonConfig.settings.fullScreenPause; items.Add(fullScreenItem); if (BrightnessController.IsDDCSupported) { items.Add(new ToolStripSeparator()); items.Add(new ToolStripMenuItem(_("Set Auto Brightness"), null, OnSetAutoBrightnessItemClick)); } items.AddRange(SystemThemeChanger.GetMenuItems()); items.AddRange(WallpaperCompressionChanger.GetMenuItems()); items.AddRange(UpdateChecker.GetMenuItems()); return(items); }
private static List <ToolStripItem> GetOptionsMenuItems() { List <ToolStripItem> items = new List <ToolStripItem>(); items.AddRange(SystemThemeChanger.GetMenuItems()); items.AddRange(UpdateChecker.GetMenuItems()); return(items); }
private static List <ToolStripItem> GetOptionsMenuItems() { List <ToolStripItem> items = new List <ToolStripItem>(); items.Add(new ToolStripMenuItem(_("Select &Language..."), null, OnLanguageItemClick)); items.AddRange(SystemThemeChanger.GetMenuItems()); items.AddRange(UpdateChecker.GetMenuItems()); return(items); }
private static List <MenuItem> GetOptionsMenuItems() { List <MenuItem> items = new List <MenuItem>(); startOnBootItem = new MenuItem("&Start when Windows boots", OnStartOnBootClick); items.Add(startOnBootItem); items.AddRange(SystemThemeChanger.GetMenuItems()); items.AddRange(UpdateChecker.GetMenuItems()); return(items); }
private static List <ToolStripItem> GetOptionsMenuItems() { List <ToolStripItem> items = new List <ToolStripItem>(); items.Add(new ToolStripMenuItem(_("Select &Language..."), null, OnLanguageItemClick)); if (BrightnessController.IsDDCSupported) { items.Add(new ToolStripMenuItem(_("Set Auto Brightness"), null, OnSetAutoBrightnessItemClick)); } items.Add(new ToolStripSeparator()); items.AddRange(SystemThemeChanger.GetMenuItems()); items.AddRange(WallpaperCompressionChanger.GetMenuItems()); items.AddRange(UpdateChecker.GetMenuItems()); return(items); }