|
|
@@ -287,16 +287,18 @@ namespace Shadowsocks.View |
|
|
|
this.AutoStartupItem = CreateMenuItem("Start on Boot", new EventHandler(this.AutoStartupItem_Click)),
|
|
|
|
this.ShareOverLANItem = CreateMenuItem("Allow Clients from LAN", new EventHandler(this.ShareOverLANItem_Click)),
|
|
|
|
new MenuItem("-"),
|
|
|
|
CreateMenuItem("Show Logs...", new EventHandler(this.ShowLogItem_Click)),
|
|
|
|
this.VerboseLoggingToggleItem = CreateMenuItem( "Verbose Logging", new EventHandler(this.VerboseLoggingToggleItem_Click) ),
|
|
|
|
this.hotKeyItem = CreateMenuItem("Edit Hotkeys...", new EventHandler(this.hotKeyItem_Click)),
|
|
|
|
CreateMenuGroup("Updates...", new MenuItem[] {
|
|
|
|
CreateMenuItem("Check for Updates...", new EventHandler(this.checkUpdatesItem_Click)),
|
|
|
|
new MenuItem("-"),
|
|
|
|
this.autoCheckUpdatesToggleItem = CreateMenuItem("Check for Updates at Startup", new EventHandler(this.autoCheckUpdatesToggleItem_Click)),
|
|
|
|
this.checkPreReleaseToggleItem = CreateMenuItem("Check Pre-release Version", new EventHandler(this.checkPreReleaseToggleItem_Click)),
|
|
|
|
CreateMenuGroup("Help", new MenuItem[] {
|
|
|
|
CreateMenuItem("Show Logs...", new EventHandler(this.ShowLogItem_Click)),
|
|
|
|
this.VerboseLoggingToggleItem = CreateMenuItem( "Verbose Logging", new EventHandler(this.VerboseLoggingToggleItem_Click) ),
|
|
|
|
CreateMenuGroup("Updates...", new MenuItem[] {
|
|
|
|
CreateMenuItem("Check for Updates...", new EventHandler(this.checkUpdatesItem_Click)),
|
|
|
|
new MenuItem("-"),
|
|
|
|
this.autoCheckUpdatesToggleItem = CreateMenuItem("Check for Updates at Startup", new EventHandler(this.autoCheckUpdatesToggleItem_Click)),
|
|
|
|
this.checkPreReleaseToggleItem = CreateMenuItem("Check Pre-release Version", new EventHandler(this.checkPreReleaseToggleItem_Click)),
|
|
|
|
}),
|
|
|
|
CreateMenuItem("About...", new EventHandler(this.AboutItem_Click)),
|
|
|
|
}),
|
|
|
|
CreateMenuItem("About...", new EventHandler(this.AboutItem_Click)),
|
|
|
|
new MenuItem("-"),
|
|
|
|
CreateMenuItem("Quit", new EventHandler(this.Quit_Click))
|
|
|
|
});
|
|
|
|