From ca74392e669dd2e7fc18e3bf63d6c0feced8c922 Mon Sep 17 00:00:00 2001 From: Lex Li Date: Sat, 5 Apr 2025 20:47:20 -0400 Subject: [PATCH 01/10] Added keyboard shortcuts. --- JexusManager/MainForm.Designer.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/JexusManager/MainForm.Designer.cs b/JexusManager/MainForm.Designer.cs index 128d936b..3209d895 100644 --- a/JexusManager/MainForm.Designer.cs +++ b/JexusManager/MainForm.Designer.cs @@ -1002,6 +1002,7 @@ private void InitializeComponent() this.homeToolStripMenuItem.Name = "homeToolStripMenuItem"; this.homeToolStripMenuItem.Size = new System.Drawing.Size(144, 22); this.homeToolStripMenuItem.Text = "Home"; + this.homeToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.Home))); // // toolStripMenuItem19 // @@ -1158,6 +1159,7 @@ private void InitializeComponent() this.actUp.Image = global::JexusManager.Main.Properties.Resources.up_16; this.actUp.Text = "Up One Level"; this.actUp.ToolTipText = "Up One Level"; + this.actUp.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.Up))); this.actUp.Execute += new System.EventHandler(this.actUp_Execute); // // actDisconnect @@ -1226,11 +1228,13 @@ private void InitializeComponent() // actBack // this.actBack.Text = "Back"; + this.actBack.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.Left))); this.actBack.Execute += new System.EventHandler(this.actBack_Execute); // // actForward // this.actForward.Text = "Forward"; + this.actForward.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.Right))); this.actForward.Execute += new System.EventHandler(this.actForward_Execute); // // connectToAServerToolStripMenuItem1 @@ -2096,4 +2100,3 @@ private void InitializeComponent() private ToolStripStatusLabel txtPathToSite; } } - From 6a85af338db4b87f5763a31970cd5f3920afc2de Mon Sep 17 00:00:00 2001 From: Lex Li Date: Sat, 5 Apr 2025 21:13:46 -0400 Subject: [PATCH 02/10] Added forward button image. Cleaned up button images. --- JexusManager/MainForm.Designer.cs | 37 +----------------- JexusManager/Properties/Resources.Designer.cs | 10 +++++ JexusManager/Properties/Resources.resx | 3 ++ JexusManager/Resources/forward_16.png | Bin 0 -> 676 bytes Readme.md | 1 - 5 files changed, 15 insertions(+), 36 deletions(-) create mode 100644 JexusManager/Resources/forward_16.png diff --git a/JexusManager/MainForm.Designer.cs b/JexusManager/MainForm.Designer.cs index 3209d895..2d4c2225 100644 --- a/JexusManager/MainForm.Designer.cs +++ b/JexusManager/MainForm.Designer.cs @@ -356,7 +356,6 @@ private void InitializeComponent() // btnServer // this.actionList1.SetAction(this.btnServer, this.actConnectServer); - this.btnServer.Image = global::JexusManager.Main.Properties.Resources.server_16; this.btnServer.Name = "btnServer"; this.btnServer.Size = new System.Drawing.Size(222, 22); this.btnServer.Text = "Connect to a Server..."; @@ -384,8 +383,6 @@ private void InitializeComponent() this.btnSave.AutoToolTip = false; this.btnSave.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnSave.Enabled = false; - this.btnSave.Image = global::JexusManager.Main.Properties.Resources.save_16; - this.btnSave.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(36, 36); this.btnSave.Text = "Save Connections"; @@ -402,8 +399,6 @@ private void InitializeComponent() this.btnUp.AutoToolTip = false; this.btnUp.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnUp.Enabled = false; - this.btnUp.Image = global::JexusManager.Main.Properties.Resources.up_16; - this.btnUp.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnUp.Name = "btnUp"; this.btnUp.Size = new System.Drawing.Size(36, 36); this.btnUp.Text = "Up One Level"; @@ -420,8 +415,6 @@ private void InitializeComponent() this.btnDisconnect.AutoToolTip = false; this.btnDisconnect.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnDisconnect.Enabled = false; - this.btnDisconnect.Image = global::JexusManager.Main.Properties.Resources.disconnected_16; - this.btnDisconnect.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnDisconnect.Name = "btnDisconnect"; this.btnDisconnect.Size = new System.Drawing.Size(36, 36); this.btnDisconnect.Text = "Disconnect"; @@ -486,7 +479,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.removeConnectionToolStripMenuItem, this.actDisconnect); this.removeConnectionToolStripMenuItem.Enabled = false; - this.removeConnectionToolStripMenuItem.Image = global::JexusManager.Main.Properties.Resources.disconnected_16; this.removeConnectionToolStripMenuItem.Name = "removeConnectionToolStripMenuItem"; this.removeConnectionToolStripMenuItem.Size = new System.Drawing.Size(217, 38); this.removeConnectionToolStripMenuItem.Text = "Disconnect"; @@ -501,7 +493,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.addWebsiteToolStripMenuItem, this.actCreateSite); this.addWebsiteToolStripMenuItem.AutoToolTip = true; - this.addWebsiteToolStripMenuItem.Image = global::JexusManager.Main.Properties.Resources.site_new_16; this.addWebsiteToolStripMenuItem.Name = "addWebsiteToolStripMenuItem"; this.addWebsiteToolStripMenuItem.Size = new System.Drawing.Size(217, 38); this.addWebsiteToolStripMenuItem.Text = "Add Website..."; @@ -610,7 +601,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.addWebsiteToolStripMenuItem1, this.actCreateSite); this.addWebsiteToolStripMenuItem1.AutoToolTip = true; - this.addWebsiteToolStripMenuItem1.Image = global::JexusManager.Main.Properties.Resources.site_new_16; this.addWebsiteToolStripMenuItem1.Name = "addWebsiteToolStripMenuItem1"; this.addWebsiteToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); this.addWebsiteToolStripMenuItem1.Text = "Add Website..."; @@ -666,7 +656,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.exploreToolStripMenuItem, this.actExplore); this.exploreToolStripMenuItem.AutoToolTip = true; - this.exploreToolStripMenuItem.Image = global::JexusManager.Main.Properties.Resources.explore_16; this.exploreToolStripMenuItem.Name = "exploreToolStripMenuItem"; this.exploreToolStripMenuItem.Size = new System.Drawing.Size(213, 38); this.exploreToolStripMenuItem.Text = "Explore"; @@ -688,7 +677,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.btnApplication, this.actCreateApplication); this.btnApplication.AutoToolTip = true; - this.btnApplication.Image = global::JexusManager.Main.Properties.Resources.application_new_16; this.btnApplication.Name = "btnApplication"; this.btnApplication.Size = new System.Drawing.Size(213, 38); this.btnApplication.Text = "Add Application..."; @@ -697,7 +685,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.addVirtualDirectoryToolStripMenuItem, this.actCreateVirtualDirectory); this.addVirtualDirectoryToolStripMenuItem.AutoToolTip = true; - this.addVirtualDirectoryToolStripMenuItem.Image = global::JexusManager.Main.Properties.Resources.virtual_directory_new_16; this.addVirtualDirectoryToolStripMenuItem.Name = "addVirtualDirectoryToolStripMenuItem"; this.addVirtualDirectoryToolStripMenuItem.Size = new System.Drawing.Size(213, 38); this.addVirtualDirectoryToolStripMenuItem.Text = "Add Virtual Directory..."; @@ -766,7 +753,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.btnBrowseSite, this.actBrowse); this.btnBrowseSite.AutoToolTip = true; - this.btnBrowseSite.Image = global::JexusManager.Main.Properties.Resources.browse_16; this.btnBrowseSite.Name = "btnBrowseSite"; this.btnBrowseSite.Size = new System.Drawing.Size(181, 22); this.btnBrowseSite.Text = "Browse"; @@ -881,7 +867,6 @@ private void InitializeComponent() // connectToAServerToolStripMenuItem // this.actionList1.SetAction(this.connectToAServerToolStripMenuItem, this.actConnectServer); - this.connectToAServerToolStripMenuItem.Image = global::JexusManager.Main.Properties.Resources.server_16; this.connectToAServerToolStripMenuItem.Name = "connectToAServerToolStripMenuItem"; this.connectToAServerToolStripMenuItem.Size = new System.Drawing.Size(238, 38); this.connectToAServerToolStripMenuItem.Text = "Connect to a Server..."; @@ -891,7 +876,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.connectToAWebsiteToolStripMenuItem, this.actConnectSite); this.connectToAWebsiteToolStripMenuItem.Enabled = false; - this.connectToAWebsiteToolStripMenuItem.Image = global::JexusManager.Main.Properties.Resources.site_16; this.connectToAWebsiteToolStripMenuItem.Name = "connectToAWebsiteToolStripMenuItem"; this.connectToAWebsiteToolStripMenuItem.Size = new System.Drawing.Size(238, 38); this.connectToAWebsiteToolStripMenuItem.Text = "Connect to a Website..."; @@ -901,7 +885,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.connectToAnApplicationToolStripMenuItem, this.actConnectionApplication); this.connectToAnApplicationToolStripMenuItem.Enabled = false; - this.connectToAnApplicationToolStripMenuItem.Image = global::JexusManager.Main.Properties.Resources.application_16; this.connectToAnApplicationToolStripMenuItem.Name = "connectToAnApplicationToolStripMenuItem"; this.connectToAnApplicationToolStripMenuItem.Size = new System.Drawing.Size(238, 38); this.connectToAnApplicationToolStripMenuItem.Text = "Connect to an Application..."; @@ -916,7 +899,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.saveConnectionsToolStripMenuItem, this.actSave); this.saveConnectionsToolStripMenuItem.Enabled = false; - this.saveConnectionsToolStripMenuItem.Image = global::JexusManager.Main.Properties.Resources.save_16; this.saveConnectionsToolStripMenuItem.Name = "saveConnectionsToolStripMenuItem"; this.saveConnectionsToolStripMenuItem.Size = new System.Drawing.Size(238, 38); this.saveConnectionsToolStripMenuItem.Text = "Save Connections"; @@ -926,7 +908,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.disconnectToolStripMenuItem, this.actDisconnect); this.disconnectToolStripMenuItem.Enabled = false; - this.disconnectToolStripMenuItem.Image = global::JexusManager.Main.Properties.Resources.disconnected_16; this.disconnectToolStripMenuItem.Name = "disconnectToolStripMenuItem"; this.disconnectToolStripMenuItem.Size = new System.Drawing.Size(238, 38); this.disconnectToolStripMenuItem.Text = "Disconnect"; @@ -990,7 +971,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.upOneLevelToolStripMenuItem, this.actUp); this.upOneLevelToolStripMenuItem.Enabled = false; - this.upOneLevelToolStripMenuItem.Image = global::JexusManager.Main.Properties.Resources.up_16; this.upOneLevelToolStripMenuItem.Name = "upOneLevelToolStripMenuItem"; this.upOneLevelToolStripMenuItem.Size = new System.Drawing.Size(144, 22); this.upOneLevelToolStripMenuItem.Text = "Up One Level"; @@ -1228,19 +1208,20 @@ private void InitializeComponent() // actBack // this.actBack.Text = "Back"; + this.actBack.Image = global::JexusManager.Main.Properties.Resources.back_16; this.actBack.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.Left))); this.actBack.Execute += new System.EventHandler(this.actBack_Execute); // // actForward // this.actForward.Text = "Forward"; + this.actForward.Image = global::JexusManager.Main.Properties.Resources.forward_16; this.actForward.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.Right))); this.actForward.Execute += new System.EventHandler(this.actForward_Execute); // // connectToAServerToolStripMenuItem1 // this.actionList1.SetAction(this.connectToAServerToolStripMenuItem1, this.actConnectServer); - this.connectToAServerToolStripMenuItem1.Image = global::JexusManager.Main.Properties.Resources.server_16; this.connectToAServerToolStripMenuItem1.Name = "connectToAServerToolStripMenuItem1"; this.connectToAServerToolStripMenuItem1.Size = new System.Drawing.Size(238, 38); this.connectToAServerToolStripMenuItem1.Text = "Connect to a Server..."; @@ -1250,7 +1231,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.connectToAWebsiteToolStripMenuItem1, this.actConnectSite); this.connectToAWebsiteToolStripMenuItem1.Enabled = false; - this.connectToAWebsiteToolStripMenuItem1.Image = global::JexusManager.Main.Properties.Resources.site_16; this.connectToAWebsiteToolStripMenuItem1.Name = "connectToAWebsiteToolStripMenuItem1"; this.connectToAWebsiteToolStripMenuItem1.Size = new System.Drawing.Size(238, 38); this.connectToAWebsiteToolStripMenuItem1.Text = "Connect to a Website..."; @@ -1260,7 +1240,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.connectToAnApplicationToolStripMenuItem1, this.actConnectionApplication); this.connectToAnApplicationToolStripMenuItem1.Enabled = false; - this.connectToAnApplicationToolStripMenuItem1.Image = global::JexusManager.Main.Properties.Resources.application_16; this.connectToAnApplicationToolStripMenuItem1.Name = "connectToAnApplicationToolStripMenuItem1"; this.connectToAnApplicationToolStripMenuItem1.Size = new System.Drawing.Size(238, 38); this.connectToAnApplicationToolStripMenuItem1.Text = "Connect to an Application..."; @@ -1270,7 +1249,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.addApplicationToolStripMenuItem, this.actCreateApplication); this.addApplicationToolStripMenuItem.AutoToolTip = true; - this.addApplicationToolStripMenuItem.Image = global::JexusManager.Main.Properties.Resources.application_new_16; this.addApplicationToolStripMenuItem.Name = "addApplicationToolStripMenuItem"; this.addApplicationToolStripMenuItem.Size = new System.Drawing.Size(213, 38); this.addApplicationToolStripMenuItem.Text = "Add Application..."; @@ -1278,7 +1256,6 @@ private void InitializeComponent() // toolStripMenuItem38 // this.actionList1.SetAction(this.toolStripMenuItem38, this.actCreateApplication); - this.toolStripMenuItem38.Image = global::JexusManager.Main.Properties.Resources.application_new_16; this.toolStripMenuItem38.Name = "toolStripMenuItem38"; this.toolStripMenuItem38.Size = new System.Drawing.Size(221, 38); this.toolStripMenuItem38.Text = "Add Application..."; @@ -1287,7 +1264,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.toolStripMenuItem49, this.actCreateApplication); this.toolStripMenuItem49.AutoToolTip = true; - this.toolStripMenuItem49.Image = global::JexusManager.Main.Properties.Resources.application_new_16; this.toolStripMenuItem49.Name = "toolStripMenuItem49"; this.toolStripMenuItem49.Size = new System.Drawing.Size(213, 38); this.toolStripMenuItem49.Text = "Add Application..."; @@ -1296,7 +1272,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.exploreToolStripMenuItem1, this.actExplore); this.exploreToolStripMenuItem1.AutoToolTip = true; - this.exploreToolStripMenuItem1.Image = global::JexusManager.Main.Properties.Resources.explore_16; this.exploreToolStripMenuItem1.Name = "exploreToolStripMenuItem1"; this.exploreToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); this.exploreToolStripMenuItem1.Text = "Explore"; @@ -1313,7 +1288,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.addVirtualDirectoryToolStripMenuItem1, this.actCreateVirtualDirectory); this.addVirtualDirectoryToolStripMenuItem1.AutoToolTip = true; - this.addVirtualDirectoryToolStripMenuItem1.Image = global::JexusManager.Main.Properties.Resources.virtual_directory_new_16; this.addVirtualDirectoryToolStripMenuItem1.Name = "addVirtualDirectoryToolStripMenuItem1"; this.addVirtualDirectoryToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); this.addVirtualDirectoryToolStripMenuItem1.Text = "Add Virtual Directory..."; @@ -1322,7 +1296,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.btnBrowseApplication, this.actBrowse); this.btnBrowseApplication.AutoToolTip = true; - this.btnBrowseApplication.Image = global::JexusManager.Main.Properties.Resources.browse_16; this.btnBrowseApplication.Name = "btnBrowseApplication"; this.btnBrowseApplication.Size = new System.Drawing.Size(181, 22); this.btnBrowseApplication.Text = "Browse"; @@ -1331,7 +1304,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.toolStripMenuItem36, this.actExplore); this.toolStripMenuItem36.AutoToolTip = true; - this.toolStripMenuItem36.Image = global::JexusManager.Main.Properties.Resources.explore_16; this.toolStripMenuItem36.Name = "toolStripMenuItem36"; this.toolStripMenuItem36.Size = new System.Drawing.Size(221, 38); this.toolStripMenuItem36.Text = "Explore"; @@ -1348,7 +1320,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.toolStripMenuItem39, this.actCreateVirtualDirectory); this.toolStripMenuItem39.AutoToolTip = true; - this.toolStripMenuItem39.Image = global::JexusManager.Main.Properties.Resources.virtual_directory_new_16; this.toolStripMenuItem39.Name = "toolStripMenuItem39"; this.toolStripMenuItem39.Size = new System.Drawing.Size(221, 38); this.toolStripMenuItem39.Text = "Add Virtual Directory..."; @@ -1357,7 +1328,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.toolStripMenuItem41, this.actBrowse); this.toolStripMenuItem41.AutoToolTip = true; - this.toolStripMenuItem41.Image = global::JexusManager.Main.Properties.Resources.browse_16; this.toolStripMenuItem41.Name = "toolStripMenuItem41"; this.toolStripMenuItem41.Size = new System.Drawing.Size(181, 22); this.toolStripMenuItem41.Text = "Browse"; @@ -1366,7 +1336,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.toolStripMenuItem46, this.actExplore); this.toolStripMenuItem46.AutoToolTip = true; - this.toolStripMenuItem46.Image = global::JexusManager.Main.Properties.Resources.explore_16; this.toolStripMenuItem46.Name = "toolStripMenuItem46"; this.toolStripMenuItem46.Size = new System.Drawing.Size(213, 38); this.toolStripMenuItem46.Text = "Explore"; @@ -1383,7 +1352,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.toolStripMenuItem50, this.actCreateVirtualDirectory); this.toolStripMenuItem50.AutoToolTip = true; - this.toolStripMenuItem50.Image = global::JexusManager.Main.Properties.Resources.virtual_directory_new_16; this.toolStripMenuItem50.Name = "toolStripMenuItem50"; this.toolStripMenuItem50.Size = new System.Drawing.Size(213, 38); this.toolStripMenuItem50.Text = "Add Virtual Directory..."; @@ -1392,7 +1360,6 @@ private void InitializeComponent() // this.actionList1.SetAction(this.toolStripMenuItem52, this.actBrowse); this.toolStripMenuItem52.AutoToolTip = true; - this.toolStripMenuItem52.Image = global::JexusManager.Main.Properties.Resources.browse_16; this.toolStripMenuItem52.Name = "toolStripMenuItem52"; this.toolStripMenuItem52.Size = new System.Drawing.Size(112, 22); this.toolStripMenuItem52.Text = "Browse"; diff --git a/JexusManager/Properties/Resources.Designer.cs b/JexusManager/Properties/Resources.Designer.cs index 46dca65b..8fe4eaf4 100644 --- a/JexusManager/Properties/Resources.Designer.cs +++ b/JexusManager/Properties/Resources.Designer.cs @@ -309,6 +309,16 @@ internal static System.Drawing.Bitmap farm_server_16 { return ((System.Drawing.Bitmap)(obj)); } } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap forward_16 { + get { + object obj = ResourceManager.GetObject("forward_16", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } /// /// Looks up a localized resource of type System.Drawing.Bitmap. diff --git a/JexusManager/Properties/Resources.resx b/JexusManager/Properties/Resources.resx index 9e0cbbe8..b4ff0cae 100644 --- a/JexusManager/Properties/Resources.resx +++ b/JexusManager/Properties/Resources.resx @@ -121,6 +121,9 @@ ..\Resources\back_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\forward_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\save_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a diff --git a/JexusManager/Resources/forward_16.png b/JexusManager/Resources/forward_16.png new file mode 100644 index 0000000000000000000000000000000000000000..6ef8de76e0f5bf01c09da24a07c61cfe558d7a4b GIT binary patch literal 676 zcmV;V0$crwP)5 zl1oTbVI0MO-{a21M#B_R#9l-oXcPp6(?)2~B7y{4Mu9@O$#RS~LMu0okc%jC6BNCq zMPfd15iMrWDWnuP(IPA}ow0!)<9P4f`?UyPGZWN-v-$pq!}*{8hcSkHhP!mEu~WAd zo8?nd1jeIrclCk3aF;a@j#!~$nl%(P0Jzf98$5aR>}dqE;fU4n-v&x*nhu}wwKrd{ z4f;b9;fU2%OeY#6`YVQ=TOJkJo9%;vsn26nmF>ePxAA!V*2;(ZnPFo%AB#FaHw-$p z>A83xDHKX5gpddX0EtgSc(|1Lcd)Cxp7`{*Gd4M}fH9|HQD+7~1Grv}*vDrmsZm0K z5C{Q60m5V1o+G_9&%wGQR!!BO+NWc8C&Ce{BNlb~H9*c=C7oHocC*-S7Ns<$C1sQZ zLijB|M!48sj(1C=)P(9pYjao0(5pv%$FEw)G{Dl2Io>Bnm(2P=eF~WywGEfv2*dEE+1BNH1p0gO_(!va6Ym6#!ZeU0XL$ zmOyFA$XqYlC#eqYr*8WRCf~&E#M}5+`DMhod1o}n6nu_w#4?v#yZPlMNv2Zf#pvLQ?bsc$8%}?|wxEMGI60fdRAO~{ zc52bv6uF?Yza^+BugrY=o*FhT7dA)!rvyS0Urwj)#iE6g^YI%&-U+mBcICDJ0000< KMNUMnLSTZVNH5j^ literal 0 HcmV?d00001 diff --git a/Readme.md b/Readme.md index ebd73170..6124a225 100644 --- a/Readme.md +++ b/Readme.md @@ -2,7 +2,6 @@ Jexus Manager from LeXtudio =========================== [![Github All Releases](https://img.shields.io/github/downloads/jexuswebserver/JexusManager/total.svg)](https://github.com/jexuswebserver/JexusManager/releases) -[![Gitter](https://img.shields.io/gitter/room/jexuswebserver/JexusManager.svg?style=flat-square)](https://gitter.im/jexuswebserver/JexusManager?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [![Build status](https://img.shields.io/github/actions/workflow/status/jexuswebserver/JexusManager/dotnetcore.yml?style=flat-square)](https://github.com/jexuswebserver/JexusManager/actions/workflows/dotnetcore.yml) Jexus Manager was designed to be the cross platform manager for Jexus web server, which can also work with IIS and IIS Express. From d12bf82e3787ceff6bd6a15ade02783c261995fc Mon Sep 17 00:00:00 2001 From: Lex Li Date: Sun, 6 Apr 2025 13:37:03 -0400 Subject: [PATCH 03/10] Simplified constructors. --- JexusManager/Features/Main/ApplicationPage.cs | 9 ++++----- JexusManager/Features/Main/PhysicalDirectoryPage.cs | 9 ++++----- JexusManager/Features/Main/SitePage.cs | 9 ++++----- JexusManager/Features/Main/VirtualDirectoryPage.cs | 9 ++++----- JexusManager/Tree/ApplicationTreeNode.cs | 2 +- JexusManager/Tree/PhysicalDirectoryTreeNode.cs | 2 +- JexusManager/Tree/SiteTreeNode.cs | 2 +- JexusManager/Tree/VirtualDirectoryTreeNode.cs | 2 +- 8 files changed, 20 insertions(+), 24 deletions(-) diff --git a/JexusManager/Features/Main/ApplicationPage.cs b/JexusManager/Features/Main/ApplicationPage.cs index 8cfb2ea0..10fa1dde 100644 --- a/JexusManager/Features/Main/ApplicationPage.cs +++ b/JexusManager/Features/Main/ApplicationPage.cs @@ -10,7 +10,7 @@ namespace JexusManager.Features.Main using System.Windows.Forms; using JexusManager.Properties; - + using JexusManager.Services; using Microsoft.Web.Management.Client; using Microsoft.Web.Management.Client.Win32; @@ -44,10 +44,9 @@ public void ShowHelp() private PageTaskList _taskList; private Application _application; - private MainForm _main; private ApplicationFeature _feature; - public ApplicationPage(Application application, MainForm main) + public ApplicationPage(Application application) { InitializeComponent(); btnView.Image = DefaultTaskList.ViewImage; @@ -55,7 +54,6 @@ public ApplicationPage(Application application, MainForm main) btnShowAll.Image = DefaultTaskList.ShowAllImage; _application = application; - _main = main; } protected override void Initialize(object navigationData) @@ -96,7 +94,8 @@ private void listView1_MouseDoubleClick(object sender, MouseEventArgs e) } var item = (ModulePageInfoListViewItem)listView1.SelectedItems[0]; - _main.LoadPage(item.Page); + var service = (IConfigurationService)GetService(typeof(IConfigurationService)); + ((MainForm)service.Form).LoadPage(item.Page); } private void splitContainer1_SplitterMoved(object sender, SplitterEventArgs e) diff --git a/JexusManager/Features/Main/PhysicalDirectoryPage.cs b/JexusManager/Features/Main/PhysicalDirectoryPage.cs index 3a390450..84a86956 100644 --- a/JexusManager/Features/Main/PhysicalDirectoryPage.cs +++ b/JexusManager/Features/Main/PhysicalDirectoryPage.cs @@ -10,7 +10,7 @@ namespace JexusManager.Features.Main using System.Windows.Forms; using JexusManager.Properties; - + using JexusManager.Services; using Microsoft.Web.Management.Client; using Microsoft.Web.Management.Client.Win32; @@ -41,11 +41,10 @@ public void ShowHelp() } private PageTaskList _taskList; - private readonly MainForm _main; private readonly PhysicalDirectory _physicalDirectory; private PhysicalDirectoryFeature _feature; - public PhysicalDirectoryPage(PhysicalDirectory physicalDirectory, MainForm main) + public PhysicalDirectoryPage(PhysicalDirectory physicalDirectory) { InitializeComponent(); btnView.Image = DefaultTaskList.ViewImage; @@ -53,7 +52,6 @@ public PhysicalDirectoryPage(PhysicalDirectory physicalDirectory, MainForm main) btnShowAll.Image = DefaultTaskList.ShowAllImage; _physicalDirectory = physicalDirectory; - _main = main; } protected override void Initialize(object navigationData) @@ -95,7 +93,8 @@ private void listView1_MouseDoubleClick(object sender, MouseEventArgs e) } var item = (ModulePageInfoListViewItem)listView1.SelectedItems[0]; - _main.LoadPage(item.Page); + var service = (IConfigurationService)GetService(typeof(IConfigurationService)); + ((MainForm)service.Form).LoadPage(item.Page); } private void splitContainer1_SplitterMoved(object sender, SplitterEventArgs e) diff --git a/JexusManager/Features/Main/SitePage.cs b/JexusManager/Features/Main/SitePage.cs index 86cc8905..b90eb024 100644 --- a/JexusManager/Features/Main/SitePage.cs +++ b/JexusManager/Features/Main/SitePage.cs @@ -10,7 +10,7 @@ namespace JexusManager.Features.Main using System.Windows.Forms; using JexusManager.Properties; - + using JexusManager.Services; using Microsoft.Web.Administration; using Microsoft.Web.Management.Client; using Microsoft.Web.Management.Client.Win32; @@ -43,18 +43,16 @@ public void ShowHelp() private PageTaskList _taskList; - private readonly MainForm _main; private readonly Site _site; private SiteFeature _feature; - public SitePage(Site site, MainForm main) + public SitePage(Site site) { InitializeComponent(); btnView.Image = DefaultTaskList.ViewImage; btnGo.Image = DefaultTaskList.GoImage; btnShowAll.Image = DefaultTaskList.ShowAllImage; - _main = main; _site = site; } @@ -97,7 +95,8 @@ private void listView1_MouseDoubleClick(object sender, MouseEventArgs e) } var item = (ModulePageInfoListViewItem)listView1.SelectedItems[0]; - _main.LoadPage(item.Page); + var service = (IConfigurationService)GetService(typeof(IConfigurationService)); + ((MainForm)service.Form).LoadPage(item.Page); } private void splitContainer1_SplitterMoved(object sender, SplitterEventArgs e) diff --git a/JexusManager/Features/Main/VirtualDirectoryPage.cs b/JexusManager/Features/Main/VirtualDirectoryPage.cs index a8b45544..d6478b9b 100644 --- a/JexusManager/Features/Main/VirtualDirectoryPage.cs +++ b/JexusManager/Features/Main/VirtualDirectoryPage.cs @@ -10,7 +10,7 @@ namespace JexusManager.Features.Main using System.Windows.Forms; using JexusManager.Properties; - + using JexusManager.Services; using Microsoft.Web.Administration; using Microsoft.Web.Management.Client; using Microsoft.Web.Management.Client.Win32; @@ -43,10 +43,9 @@ public void ShowHelp() private PageTaskList _taskList; private readonly VirtualDirectory _virtualDirectory; - private MainForm _main; private VirtualDirectoryFeature _feature; - public VirtualDirectoryPage(VirtualDirectory virtualDirectory, MainForm main) + public VirtualDirectoryPage(VirtualDirectory virtualDirectory) { InitializeComponent(); btnView.Image = DefaultTaskList.ViewImage; @@ -54,7 +53,6 @@ public VirtualDirectoryPage(VirtualDirectory virtualDirectory, MainForm main) btnShowAll.Image = DefaultTaskList.ShowAllImage; _virtualDirectory = virtualDirectory; - _main = main; } protected override void Initialize(object navigationData) @@ -96,7 +94,8 @@ private void listView1_MouseDoubleClick(object sender, MouseEventArgs e) } var item = (ModulePageInfoListViewItem)listView1.SelectedItems[0]; - _main.LoadPage(item.Page); + var service = (IConfigurationService)GetService(typeof(IConfigurationService)); + ((MainForm)service.Form).LoadPage(item.Page); } private void splitContainer1_SplitterMoved(object sender, SplitterEventArgs e) diff --git a/JexusManager/Tree/ApplicationTreeNode.cs b/JexusManager/Tree/ApplicationTreeNode.cs index b88fa989..37a37dd8 100644 --- a/JexusManager/Tree/ApplicationTreeNode.cs +++ b/JexusManager/Tree/ApplicationTreeNode.cs @@ -75,7 +75,7 @@ public override void LoadPanels(MainForm mainForm, ServiceContainer serviceConta { serviceContainer.RemoveService(typeof(IConfigurationService)); serviceContainer.RemoveService(typeof(IControlPanel)); - var panel = new ApplicationPage(Application, mainForm); + var panel = new ApplicationPage(Application); var scope = ManagementScope.Application; serviceContainer.AddService(typeof(IControlPanel), new ControlPanel()); serviceContainer.AddService(typeof(IConfigurationService), diff --git a/JexusManager/Tree/PhysicalDirectoryTreeNode.cs b/JexusManager/Tree/PhysicalDirectoryTreeNode.cs index 752df197..17a995f1 100644 --- a/JexusManager/Tree/PhysicalDirectoryTreeNode.cs +++ b/JexusManager/Tree/PhysicalDirectoryTreeNode.cs @@ -69,7 +69,7 @@ public override void LoadPanels(MainForm mainForm, ServiceContainer serviceConta { serviceContainer.RemoveService(typeof(IConfigurationService)); serviceContainer.RemoveService(typeof(IControlPanel)); - var panel = new PhysicalDirectoryPage(PhysicalDirectory, mainForm); + var panel = new PhysicalDirectoryPage(PhysicalDirectory); var scope = ManagementScope.Application; serviceContainer.AddService(typeof(IControlPanel), new ControlPanel()); serviceContainer.AddService(typeof(IConfigurationService), diff --git a/JexusManager/Tree/SiteTreeNode.cs b/JexusManager/Tree/SiteTreeNode.cs index 748301a6..2ee62fc7 100644 --- a/JexusManager/Tree/SiteTreeNode.cs +++ b/JexusManager/Tree/SiteTreeNode.cs @@ -70,7 +70,7 @@ public override void LoadPanels(MainForm mainForm, ServiceContainer serviceConta serviceContainer.RemoveService(typeof(IConfigurationService)); serviceContainer.RemoveService(typeof(IControlPanel)); - var panel = new SitePage(Site, mainForm); + var panel = new SitePage(Site); var scope = ManagementScope.Site; serviceContainer.AddService(typeof(IControlPanel), new ControlPanel()); diff --git a/JexusManager/Tree/VirtualDirectoryTreeNode.cs b/JexusManager/Tree/VirtualDirectoryTreeNode.cs index 254508d7..5cf1f852 100644 --- a/JexusManager/Tree/VirtualDirectoryTreeNode.cs +++ b/JexusManager/Tree/VirtualDirectoryTreeNode.cs @@ -73,7 +73,7 @@ public override void LoadPanels(MainForm mainForm, ServiceContainer serviceConta { serviceContainer.RemoveService(typeof(IConfigurationService)); serviceContainer.RemoveService(typeof(IControlPanel)); - var panel = new VirtualDirectoryPage(VirtualDirectory, mainForm); + var panel = new VirtualDirectoryPage(VirtualDirectory); var scope = ManagementScope.Application; serviceContainer.AddService(typeof(IControlPanel), new ControlPanel()); serviceContainer.AddService(typeof(IConfigurationService), From a344acc9be6255d7be32d321c6ee7cf22ba3c5a5 Mon Sep 17 00:00:00 2001 From: Lex Li Date: Sun, 6 Apr 2025 13:37:12 -0400 Subject: [PATCH 04/10] Added retry button. --- JexusManager/Features/Main/HomePage.Designer.cs | 14 ++++++++++++++ JexusManager/Features/Main/HomePage.cs | 15 +++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/JexusManager/Features/Main/HomePage.Designer.cs b/JexusManager/Features/Main/HomePage.Designer.cs index 9a68e95f..253e6481 100644 --- a/JexusManager/Features/Main/HomePage.Designer.cs +++ b/JexusManager/Features/Main/HomePage.Designer.cs @@ -36,6 +36,7 @@ private void InitializeComponent() this.label1 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.btnRetry = new System.Windows.Forms.Button(); this.lblCurrentVersion = new System.Windows.Forms.Label(); this.lblUpdateStatus = new System.Windows.Forms.Label(); this.btnDownloadUpdate = new System.Windows.Forms.Button(); @@ -102,6 +103,7 @@ private void InitializeComponent() // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); + this.groupBox2.Controls.Add(this.btnRetry); this.groupBox2.Controls.Add(this.lblCurrentVersion); this.groupBox2.Controls.Add(this.lblUpdateStatus); this.groupBox2.Controls.Add(this.btnDownloadUpdate); @@ -114,6 +116,17 @@ private void InitializeComponent() this.groupBox2.TabStop = false; this.groupBox2.Text = "Updates"; // + // btnRetry + // + this.btnRetry.Location = new System.Drawing.Point(240, 110); + this.btnRetry.Name = "btnRetry"; + this.btnRetry.Size = new System.Drawing.Size(200, 30); + this.btnRetry.TabIndex = 3; + this.btnRetry.Text = "Retry"; + this.btnRetry.UseVisualStyleBackColor = true; + this.btnRetry.Visible = false; + this.btnRetry.Click += new System.EventHandler(this.btnRetry_Click); + // // lblCurrentVersion // this.lblCurrentVersion.AutoSize = true; @@ -250,5 +263,6 @@ private void InitializeComponent() private Label lblCurrentVersion; private Label lblUpdateStatus; private Button btnDownloadUpdate; + private Button btnRetry; } } diff --git a/JexusManager/Features/Main/HomePage.cs b/JexusManager/Features/Main/HomePage.cs index b73426d1..ad4868b6 100644 --- a/JexusManager/Features/Main/HomePage.cs +++ b/JexusManager/Features/Main/HomePage.cs @@ -26,6 +26,12 @@ private async void LoadUpdateInfo() { try { + // Update UI to show checking state + lblUpdateStatus.Text = "Checking for updates..."; + lblUpdateStatus.ForeColor = Color.Black; + btnDownloadUpdate.Visible = false; + btnRetry.Visible = false; + _updateInfo = await UpdateHelper.CheckForUpdate(); UpdateVersionDisplay(); } @@ -33,6 +39,7 @@ private async void LoadUpdateInfo() { lblUpdateStatus.Text = $"Error checking for updates: {ex.Message}"; lblUpdateStatus.ForeColor = Color.Red; + btnRetry.Visible = true; } } @@ -49,6 +56,7 @@ private void UpdateVersionDisplay() lblUpdateStatus.Text = _updateInfo.ErrorMessage; lblUpdateStatus.ForeColor = Color.Red; btnDownloadUpdate.Visible = false; + btnRetry.Visible = true; return; } @@ -57,12 +65,14 @@ private void UpdateVersionDisplay() lblUpdateStatus.Text = $"An update is available: {_updateInfo.LatestVersion}"; lblUpdateStatus.ForeColor = Color.Green; btnDownloadUpdate.Visible = true; + btnRetry.Visible = false; } else { lblUpdateStatus.Text = "You are using the latest version."; lblUpdateStatus.ForeColor = Color.Green; btnDownloadUpdate.Visible = false; + btnRetry.Visible = false; } } @@ -90,5 +100,10 @@ private void btnDownloadUpdate_Click(object sender, EventArgs e) DialogHelper.ProcessStart(_updateInfo.ReleaseUrl); } } + + private void btnRetry_Click(object sender, EventArgs e) + { + LoadUpdateInfo(); + } } } From 10283d08fc87c6fb5a4a3d4fde1030fdf249ec56 Mon Sep 17 00:00:00 2001 From: Lex Li Date: Sun, 6 Apr 2025 14:03:49 -0400 Subject: [PATCH 05/10] Updated home page layout. --- .../Features/Main/HomePage.Designer.cs | 384 ++++++++++-------- JexusManager/Features/Main/HomePage.cs | 57 ++- JexusManager/Features/Main/HomePage.resx | 62 ++- JexusManager/UpdateHelper.cs | 12 + 4 files changed, 336 insertions(+), 179 deletions(-) diff --git a/JexusManager/Features/Main/HomePage.Designer.cs b/JexusManager/Features/Main/HomePage.Designer.cs index 253e6481..c7263546 100644 --- a/JexusManager/Features/Main/HomePage.Designer.cs +++ b/JexusManager/Features/Main/HomePage.Designer.cs @@ -31,219 +31,249 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.panel1 = new System.Windows.Forms.Panel(); - this.label2 = new System.Windows.Forms.Label(); - this.label1 = new System.Windows.Forms.Label(); - this.panel2 = new System.Windows.Forms.Panel(); - this.groupBox2 = new System.Windows.Forms.GroupBox(); - this.btnRetry = new System.Windows.Forms.Button(); - this.lblCurrentVersion = new System.Windows.Forms.Label(); - this.lblUpdateStatus = new System.Windows.Forms.Label(); - this.btnDownloadUpdate = new System.Windows.Forms.Button(); - this.label3 = new System.Windows.Forms.Label(); - this.panel3 = new System.Windows.Forms.Panel(); - this.groupBox1 = new System.Windows.Forms.GroupBox(); - this.txtStudio = new System.Windows.Forms.LinkLabel(); - this.txtHome = new System.Windows.Forms.LinkLabel(); - this.btnSponsor = new System.Windows.Forms.Button(); - this.panel1.SuspendLayout(); - this.panel2.SuspendLayout(); - this.groupBox2.SuspendLayout(); - this.groupBox1.SuspendLayout(); - this.SuspendLayout(); + panel1 = new Panel(); + label2 = new Label(); + label1 = new Label(); + panel2 = new Panel(); + tableLayoutPanel = new TableLayoutPanel(); + groupBox1 = new GroupBox(); + btnSponsor = new Button(); + txtStudio = new LinkLabel(); + txtHome = new LinkLabel(); + groupBox2 = new GroupBox(); + lblManualUpdate = new LinkLabel(); + btnRetry = new Button(); + lblCurrentVersion = new Label(); + lblUpdateStatus = new Label(); + btnDownloadUpdate = new Button(); + label3 = new Label(); + panel3 = new Panel(); + panel1.SuspendLayout(); + panel2.SuspendLayout(); + tableLayoutPanel.SuspendLayout(); + groupBox1.SuspendLayout(); + groupBox2.SuspendLayout(); + SuspendLayout(); // // panel1 // - this.panel1.BackColor = System.Drawing.Color.White; - this.panel1.Controls.Add(this.label2); - this.panel1.Controls.Add(this.label1); - this.panel1.Dock = System.Windows.Forms.DockStyle.Top; - this.panel1.Location = new System.Drawing.Point(0, 0); - this.panel1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(862, 69); - this.panel1.TabIndex = 0; + panel1.BackColor = System.Drawing.Color.White; + panel1.Controls.Add(label2); + panel1.Controls.Add(label1); + panel1.Dock = DockStyle.Top; + panel1.Location = new System.Drawing.Point(0, 0); + panel1.Margin = new Padding(4, 3, 4, 3); + panel1.Name = "panel1"; + panel1.Size = new System.Drawing.Size(862, 69); + panel1.TabIndex = 0; // // label2 // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(244, 33); - this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(70, 15); - this.label2.TabIndex = 0; - this.label2.Text = "by LeXtudio"; + label2.AutoSize = true; + label2.Location = new System.Drawing.Point(244, 33); + label2.Margin = new Padding(4, 0, 4, 0); + label2.Name = "label2"; + label2.Size = new System.Drawing.Size(70, 15); + label2.TabIndex = 0; + label2.Text = "by LeXtudio"; // // label1 // - this.label1.AutoSize = true; - this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); - this.label1.Location = new System.Drawing.Point(16, 20); - this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(189, 29); - this.label1.TabIndex = 0; - this.label1.Text = "Jexus Manager"; + label1.AutoSize = true; + label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Bold); + label1.Location = new System.Drawing.Point(16, 20); + label1.Margin = new Padding(4, 0, 4, 0); + label1.Name = "label1"; + label1.Size = new System.Drawing.Size(189, 29); + label1.TabIndex = 0; + label1.Text = "Jexus Manager"; // // panel2 // - this.panel2.BackColor = System.Drawing.Color.White; - this.panel2.Controls.Add(this.groupBox2); - this.panel2.Controls.Add(this.label3); - this.panel2.Controls.Add(this.panel3); - this.panel2.Controls.Add(this.groupBox1); - this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel2.Location = new System.Drawing.Point(0, 69); - this.panel2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(862, 489); - this.panel2.TabIndex = 1; + panel2.BackColor = System.Drawing.Color.White; + panel2.Controls.Add(tableLayoutPanel); + panel2.Controls.Add(label3); + panel2.Controls.Add(panel3); + panel2.Dock = DockStyle.Fill; + panel2.Location = new System.Drawing.Point(0, 69); + panel2.Margin = new Padding(4, 3, 4, 3); + panel2.Name = "panel2"; + panel2.Size = new System.Drawing.Size(862, 489); + panel2.TabIndex = 1; + // + // tableLayoutPanel + // + tableLayoutPanel.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; + tableLayoutPanel.ColumnCount = 2; + tableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); + tableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); + tableLayoutPanel.Controls.Add(groupBox1, 0, 0); + tableLayoutPanel.Controls.Add(groupBox2, 1, 0); + tableLayoutPanel.Location = new System.Drawing.Point(20, 32); + tableLayoutPanel.Name = "tableLayoutPanel"; + tableLayoutPanel.Padding = new Padding(12); + tableLayoutPanel.RowCount = 1; + tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); + tableLayoutPanel.Size = new System.Drawing.Size(820, 442); + tableLayoutPanel.TabIndex = 4; // - // groupBox2 + // groupBox1 // - this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.groupBox2.Controls.Add(this.btnRetry); - this.groupBox2.Controls.Add(this.lblCurrentVersion); - this.groupBox2.Controls.Add(this.lblUpdateStatus); - this.groupBox2.Controls.Add(this.btnDownloadUpdate); - this.groupBox2.Location = new System.Drawing.Point(360, 32); - this.groupBox2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.groupBox2.Name = "groupBox2"; - this.groupBox2.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.groupBox2.Size = new System.Drawing.Size(478, 160); - this.groupBox2.TabIndex = 3; - this.groupBox2.TabStop = false; - this.groupBox2.Text = "Updates"; + groupBox1.Controls.Add(btnSponsor); + groupBox1.Controls.Add(txtStudio); + groupBox1.Controls.Add(txtHome); + groupBox1.Dock = DockStyle.Fill; + groupBox1.Location = new System.Drawing.Point(26, 26); + groupBox1.Margin = new Padding(14); + groupBox1.Name = "groupBox1"; + groupBox1.Padding = new Padding(4, 3, 4, 3); + groupBox1.Size = new System.Drawing.Size(370, 390); + groupBox1.TabIndex = 0; + groupBox1.TabStop = false; + groupBox1.Text = "Online Resources"; // - // btnRetry + // btnSponsor // - this.btnRetry.Location = new System.Drawing.Point(240, 110); - this.btnRetry.Name = "btnRetry"; - this.btnRetry.Size = new System.Drawing.Size(200, 30); - this.btnRetry.TabIndex = 3; - this.btnRetry.Text = "Retry"; - this.btnRetry.UseVisualStyleBackColor = true; - this.btnRetry.Visible = false; - this.btnRetry.Click += new System.EventHandler(this.btnRetry_Click); + btnSponsor.Image = JexusManager.Main.Properties.Resources.iis_16; + btnSponsor.Location = new System.Drawing.Point(24, 120); + btnSponsor.Name = "btnSponsor"; + btnSponsor.Size = new System.Drawing.Size(200, 60); + btnSponsor.TabIndex = 3; + btnSponsor.Text = "Support This Project"; + btnSponsor.TextImageRelation = TextImageRelation.TextAboveImage; + btnSponsor.UseVisualStyleBackColor = true; + btnSponsor.Click += btnSponsor_Click; // - // lblCurrentVersion + // txtStudio // - this.lblCurrentVersion.AutoSize = true; - this.lblCurrentVersion.Location = new System.Drawing.Point(24, 33); - this.lblCurrentVersion.Name = "lblCurrentVersion"; - this.lblCurrentVersion.Size = new System.Drawing.Size(92, 15); - this.lblCurrentVersion.TabIndex = 0; - this.lblCurrentVersion.Text = "Current Version:"; + txtStudio.AutoSize = true; + txtStudio.Location = new System.Drawing.Point(24, 76); + txtStudio.Margin = new Padding(4, 0, 4, 0); + txtStudio.Name = "txtStudio"; + txtStudio.Size = new System.Drawing.Size(116, 15); + txtStudio.TabIndex = 4; + txtStudio.TabStop = true; + txtStudio.Text = "LeXtudio Homepage"; + txtStudio.LinkClicked += txtStudio_LinkClicked; // - // lblUpdateStatus + // txtHome // - this.lblUpdateStatus.AutoSize = true; - this.lblUpdateStatus.Location = new System.Drawing.Point(24, 76); - this.lblUpdateStatus.Name = "lblUpdateStatus"; - this.lblUpdateStatus.Size = new System.Drawing.Size(153, 15); - this.lblUpdateStatus.TabIndex = 1; - this.lblUpdateStatus.Text = "Checking for updates..."; + txtHome.AutoSize = true; + txtHome.Location = new System.Drawing.Point(24, 33); + txtHome.Margin = new Padding(4, 0, 4, 0); + txtHome.Name = "txtHome"; + txtHome.Size = new System.Drawing.Size(146, 15); + txtHome.TabIndex = 3; + txtHome.TabStop = true; + txtHome.Text = "Jexus Manager Homepage"; + txtHome.LinkClicked += txtHome_LinkClicked; // - // btnDownloadUpdate + // groupBox2 // - this.btnDownloadUpdate.Location = new System.Drawing.Point(24, 110); - this.btnDownloadUpdate.Name = "btnDownloadUpdate"; - this.btnDownloadUpdate.Size = new System.Drawing.Size(200, 30); - this.btnDownloadUpdate.TabIndex = 2; - this.btnDownloadUpdate.Text = "Download Update"; - this.btnDownloadUpdate.UseVisualStyleBackColor = true; - this.btnDownloadUpdate.Visible = false; - this.btnDownloadUpdate.Click += new System.EventHandler(this.btnDownloadUpdate_Click); + groupBox2.Controls.Add(lblManualUpdate); + groupBox2.Controls.Add(btnRetry); + groupBox2.Controls.Add(lblCurrentVersion); + groupBox2.Controls.Add(lblUpdateStatus); + groupBox2.Controls.Add(btnDownloadUpdate); + groupBox2.Dock = DockStyle.Fill; + groupBox2.Location = new System.Drawing.Point(424, 26); + groupBox2.Margin = new Padding(14); + groupBox2.Name = "groupBox2"; + groupBox2.Padding = new Padding(4, 3, 4, 3); + groupBox2.Size = new System.Drawing.Size(370, 390); + groupBox2.TabIndex = 3; + groupBox2.TabStop = false; + groupBox2.Text = "Updates"; + // + // lblManualUpdate + // + lblManualUpdate.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; + lblManualUpdate.Location = new System.Drawing.Point(24, 96); + lblManualUpdate.Name = "lblManualUpdate"; + lblManualUpdate.Size = new System.Drawing.Size(328, 15); + lblManualUpdate.TabIndex = 4; + lblManualUpdate.TabStop = true; + lblManualUpdate.Text = "https://github.com/jexuswebserver/JexusManager/releases"; + lblManualUpdate.Visible = false; + lblManualUpdate.LinkClicked += lblManualUpdate_LinkClicked; // - // label3 + // btnRetry // - this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(19, 32); - this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(0, 15); - this.label3.TabIndex = 2; + btnRetry.Anchor = AnchorStyles.Top | AnchorStyles.Right; + btnRetry.Location = new System.Drawing.Point(152, 135); + btnRetry.Name = "btnRetry"; + btnRetry.Size = new System.Drawing.Size(200, 30); + btnRetry.TabIndex = 3; + btnRetry.Text = "Retry"; + btnRetry.UseVisualStyleBackColor = true; + btnRetry.Visible = false; + btnRetry.Click += btnRetry_Click; // - // panel3 + // lblCurrentVersion // - this.panel3.BackColor = System.Drawing.SystemColors.MenuHighlight; - this.panel3.Dock = System.Windows.Forms.DockStyle.Top; - this.panel3.Location = new System.Drawing.Point(0, 0); - this.panel3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(862, 6); - this.panel3.TabIndex = 1; + lblCurrentVersion.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; + lblCurrentVersion.Location = new System.Drawing.Point(24, 33); + lblCurrentVersion.Name = "lblCurrentVersion"; + lblCurrentVersion.Size = new System.Drawing.Size(328, 20); + lblCurrentVersion.TabIndex = 0; + lblCurrentVersion.Text = "Current Version:"; // - // groupBox1 + // lblUpdateStatus // - this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left))); - this.groupBox1.Controls.Add(this.btnSponsor); - this.groupBox1.Controls.Add(this.txtStudio); - this.groupBox1.Controls.Add(this.txtHome); - this.groupBox1.Location = new System.Drawing.Point(22, 32); - this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.groupBox1.Size = new System.Drawing.Size(295, 432); - this.groupBox1.TabIndex = 0; - this.groupBox1.TabStop = false; - this.groupBox1.Text = "Online Resources"; + lblUpdateStatus.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; + lblUpdateStatus.Location = new System.Drawing.Point(24, 63); + lblUpdateStatus.Name = "lblUpdateStatus"; + lblUpdateStatus.Size = new System.Drawing.Size(328, 30); + lblUpdateStatus.TabIndex = 1; + lblUpdateStatus.Text = "Checking for updates..."; // - // txtStudio + // btnDownloadUpdate // - this.txtStudio.AutoSize = true; - this.txtStudio.Location = new System.Drawing.Point(24, 76); - this.txtStudio.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.txtStudio.Name = "txtStudio"; - this.txtStudio.Size = new System.Drawing.Size(116, 15); - this.txtStudio.TabIndex = 4; - this.txtStudio.TabStop = true; - this.txtStudio.Text = "LeXtudio Homepage"; - this.txtStudio.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.txtStudio_LinkClicked); + btnDownloadUpdate.Location = new System.Drawing.Point(24, 135); + btnDownloadUpdate.Name = "btnDownloadUpdate"; + btnDownloadUpdate.Size = new System.Drawing.Size(140, 30); + btnDownloadUpdate.TabIndex = 2; + btnDownloadUpdate.Text = "Download Update"; + btnDownloadUpdate.UseVisualStyleBackColor = true; + btnDownloadUpdate.Visible = false; + btnDownloadUpdate.Click += btnDownloadUpdate_Click; // - // txtHome + // label3 // - this.txtHome.AutoSize = true; - this.txtHome.Location = new System.Drawing.Point(24, 33); - this.txtHome.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.txtHome.Name = "txtHome"; - this.txtHome.Size = new System.Drawing.Size(147, 15); - this.txtHome.TabIndex = 3; - this.txtHome.TabStop = true; - this.txtHome.Text = "Jexus Manager Homepage"; - this.txtHome.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.txtHome_LinkClicked); + label3.AutoSize = true; + label3.Location = new System.Drawing.Point(19, 32); + label3.Margin = new Padding(4, 0, 4, 0); + label3.Name = "label3"; + label3.Size = new System.Drawing.Size(0, 15); + label3.TabIndex = 2; // - // btnSponsor + // panel3 // - this.btnSponsor.Image = global::JexusManager.Main.Properties.Resources.iis_16; - this.btnSponsor.Location = new System.Drawing.Point(24, 120); - this.btnSponsor.Name = "btnSponsor"; - this.btnSponsor.Size = new System.Drawing.Size(200, 60); - this.btnSponsor.TabIndex = 3; - this.btnSponsor.Text = "Support This Project"; - this.btnSponsor.TextImageRelation = System.Windows.Forms.TextImageRelation.TextAboveImage; - this.btnSponsor.UseVisualStyleBackColor = true; - this.btnSponsor.Click += new System.EventHandler(this.btnSponsor_Click); + panel3.BackColor = System.Drawing.SystemColors.MenuHighlight; + panel3.Dock = DockStyle.Top; + panel3.Location = new System.Drawing.Point(0, 0); + panel3.Margin = new Padding(4, 3, 4, 3); + panel3.Name = "panel3"; + panel3.Size = new System.Drawing.Size(862, 6); + panel3.TabIndex = 1; // // HomePage // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.panel2); - this.Controls.Add(this.panel1); - this.Name = "HomePage"; - this.Size = new System.Drawing.Size(862, 558); - this.panel1.ResumeLayout(false); - this.panel1.PerformLayout(); - this.panel2.ResumeLayout(false); - this.panel2.PerformLayout(); - this.groupBox2.ResumeLayout(false); - this.groupBox2.PerformLayout(); - this.groupBox1.ResumeLayout(false); - this.groupBox1.PerformLayout(); - this.ResumeLayout(false); + AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); + AutoScaleMode = AutoScaleMode.Font; + Controls.Add(panel2); + Controls.Add(panel1); + Name = "HomePage"; + Size = new System.Drawing.Size(862, 558); + panel1.ResumeLayout(false); + panel1.PerformLayout(); + panel2.ResumeLayout(false); + panel2.PerformLayout(); + tableLayoutPanel.ResumeLayout(false); + groupBox1.ResumeLayout(false); + groupBox1.PerformLayout(); + groupBox2.ResumeLayout(false); + ResumeLayout(false); } @@ -264,5 +294,7 @@ private void InitializeComponent() private Label lblUpdateStatus; private Button btnDownloadUpdate; private Button btnRetry; + private LinkLabel lblManualUpdate; + private TableLayoutPanel tableLayoutPanel; } } diff --git a/JexusManager/Features/Main/HomePage.cs b/JexusManager/Features/Main/HomePage.cs index ad4868b6..19690ed9 100644 --- a/JexusManager/Features/Main/HomePage.cs +++ b/JexusManager/Features/Main/HomePage.cs @@ -53,13 +53,31 @@ private void UpdateVersionDisplay() if (!string.IsNullOrEmpty(_updateInfo.ErrorMessage)) { - lblUpdateStatus.Text = _updateInfo.ErrorMessage; - lblUpdateStatus.ForeColor = Color.Red; + if (_updateInfo.ErrorType == UpdateHelper.UpdateErrorType.ConnectionError) + { + // Create a more helpful message for connectivity issues + lblUpdateStatus.Text = "Cannot connect to GitHub. You can check for updates manually at:"; + lblUpdateStatus.ForeColor = Color.Red; + + // Show link label for manual update check + lblManualUpdate.Text = _updateInfo.ReleaseUrl; + lblManualUpdate.Visible = true; + } + else + { + lblUpdateStatus.Text = _updateInfo.ErrorMessage; + lblUpdateStatus.ForeColor = Color.Red; + lblManualUpdate.Visible = false; + } + btnDownloadUpdate.Visible = false; btnRetry.Visible = true; return; } + // Reset manual update link visibility + lblManualUpdate.Visible = false; + if (_updateInfo.UpdateAvailable) { lblUpdateStatus.Text = $"An update is available: {_updateInfo.LatestVersion}"; @@ -103,7 +121,42 @@ private void btnDownloadUpdate_Click(object sender, EventArgs e) private void btnRetry_Click(object sender, EventArgs e) { + // Hide the manual update link when retrying + lblManualUpdate.Visible = false; + + // Reload update info LoadUpdateInfo(); } + + private void lblManualUpdate_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + if (!string.IsNullOrEmpty(_updateInfo?.ReleaseUrl)) + { + DialogHelper.ProcessStart(_updateInfo.ReleaseUrl); + } + } + + protected override void OnLoad(EventArgs e) + { + base.OnLoad(e); + + // Configure ManualUpdate link label text wrapping + ConfigureManualUpdateLink(); + } + + private void ConfigureManualUpdateLink() + { + // Enable text wrapping for the manual update link + lblManualUpdate.MaximumSize = new System.Drawing.Size( + groupBox2.Width - lblManualUpdate.Left - 30, 0); + lblManualUpdate.AutoSize = true; + + // Ensure the link resizes when the container resizes + groupBox2.SizeChanged += (sender, e) => + { + lblManualUpdate.MaximumSize = new System.Drawing.Size( + groupBox2.Width - lblManualUpdate.Left - 30, 0); + }; + } } } diff --git a/JexusManager/Features/Main/HomePage.resx b/JexusManager/Features/Main/HomePage.resx index f298a7be..8b2ff64a 100644 --- a/JexusManager/Features/Main/HomePage.resx +++ b/JexusManager/Features/Main/HomePage.resx @@ -1,4 +1,64 @@ - + + + diff --git a/JexusManager/UpdateHelper.cs b/JexusManager/UpdateHelper.cs index 8a4a5103..7b142818 100644 --- a/JexusManager/UpdateHelper.cs +++ b/JexusManager/UpdateHelper.cs @@ -13,6 +13,14 @@ namespace JexusManager internal static class UpdateHelper { + public enum UpdateErrorType + { + None, + ConnectionError, + NoReleaseFound, + Other + } + public class UpdateInfo { public bool UpdateAvailable { get; set; } @@ -20,6 +28,7 @@ public class UpdateInfo public Version LatestVersion { get; set; } public string ReleaseUrl { get; set; } public string ErrorMessage { get; set; } + public UpdateErrorType ErrorType { get; set; } = UpdateErrorType.None; } public static async Task CheckForUpdate() @@ -40,6 +49,7 @@ public static async Task CheckForUpdate() if (releases.Count == 0) { updateInfo.ErrorMessage = "No update is found."; + updateInfo.ErrorType = UpdateErrorType.NoReleaseFound; return updateInfo; } @@ -49,6 +59,7 @@ public static async Task CheckForUpdate() catch (Exception) { updateInfo.ErrorMessage = "Cannot connect to GitHub."; + updateInfo.ErrorType = UpdateErrorType.ConnectionError; return updateInfo; } finally @@ -59,6 +70,7 @@ public static async Task CheckForUpdate() if (!Version.TryParse(version, out Version latest)) { updateInfo.ErrorMessage = "No update is found."; + updateInfo.ErrorType = UpdateErrorType.NoReleaseFound; return updateInfo; } From ad3d8b525cad261428c6a7cc2ae64d5a7efe5922 Mon Sep 17 00:00:00 2001 From: Lex Li Date: Sun, 6 Apr 2025 16:14:48 -0700 Subject: [PATCH 06/10] Updated main form and request filtering page. --- .vscode/settings.json | 3 + .../FilteringRulesFeature.cs | 12 +- .../RequestFilteringPage.Designer.cs | 728 +++-- .../RequestFilteringPage.cs | 135 +- .../RequestFilteringPage.resx | 50 +- JexusManager/Dialogs/ConnectAsDialog.cs | 6 + JexusManager/JexusManager.csproj | 4 + JexusManager/MainForm.Designer.cs | 2338 ++++++++--------- JexusManager/MainForm.resx | 126 +- 9 files changed, 1705 insertions(+), 1697 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..013007bb --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "dotnet.preferCSharpExtension": true +} \ No newline at end of file diff --git a/JexusManager.Features.RequestFiltering/FilteringRulesFeature.cs b/JexusManager.Features.RequestFiltering/FilteringRulesFeature.cs index 0df9561a..a8938353 100644 --- a/JexusManager.Features.RequestFiltering/FilteringRulesFeature.cs +++ b/JexusManager.Features.RequestFiltering/FilteringRulesFeature.cs @@ -83,19 +83,23 @@ public void Add() return; } - this.AddItem(dialog.Item); + AddItem(dialog.Item); } public void Edit() { - using var dialog = new NewRuleDialog(this.Module, this.SelectedItem); + DoubleClick(SelectedItem); + } + + protected override void DoubleClick(FilteringRulesItem item) + { + using var dialog = new NewRuleDialog(Module, item); if (dialog.ShowDialog() != DialogResult.OK) { return; } - var newItem = dialog.Item; - this.EditItem(newItem); + EditItem(dialog.Item); } public void Remove() diff --git a/JexusManager.Features.RequestFiltering/RequestFilteringPage.Designer.cs b/JexusManager.Features.RequestFiltering/RequestFilteringPage.Designer.cs index 4b97cd08..12f212d7 100644 --- a/JexusManager.Features.RequestFiltering/RequestFilteringPage.Designer.cs +++ b/JexusManager.Features.RequestFiltering/RequestFilteringPage.Designer.cs @@ -1,5 +1,6 @@ namespace JexusManager.Features.RequestFiltering { + using System; using System.ComponentModel; using System.Windows.Forms; @@ -31,507 +32,496 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - this.splitContainer1 = new System.Windows.Forms.SplitContainer(); - this.cmsActionPanel = new System.Windows.Forms.ContextMenuStrip(this.components); - this.panel2 = new System.Windows.Forms.Panel(); - this.tabControl1 = new System.Windows.Forms.TabControl(); - this.tpExtensions = new System.Windows.Forms.TabPage(); - this.lvExtensions = new System.Windows.Forms.ListView(); - this.chExtension = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.chAllowedExtension = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.tpRules = new System.Windows.Forms.TabPage(); - this.lvRules = new System.Windows.Forms.ListView(); - this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.columnHeader10 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.columnHeader11 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.columnHeader12 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.tpSegments = new System.Windows.Forms.TabPage(); - this.lvSegments = new System.Windows.Forms.ListView(); - this.chName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.tpUrl = new System.Windows.Forms.TabPage(); - this.lvUrls = new System.Windows.Forms.ListView(); - this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.columnHeader9 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.tpVerbs = new System.Windows.Forms.TabPage(); - this.lvVerbs = new System.Windows.Forms.ListView(); - this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.columnHeader8 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.tpHeaders = new System.Windows.Forms.TabPage(); - this.lvHeaders = new System.Windows.Forms.ListView(); - this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.tpQuery = new System.Windows.Forms.TabPage(); - this.lvQueries = new System.Windows.Forms.ListView(); - this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.imageList1 = new System.Windows.Forms.ImageList(this.components); - this.label2 = new System.Windows.Forms.Label(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.label3 = new System.Windows.Forms.Label(); - this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); - this.panel1 = new System.Windows.Forms.Panel(); - this.label1 = new System.Windows.Forms.Label(); - this.tsActionPanel = new System.Windows.Forms.ToolStrip(); - ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); - this.splitContainer1.Panel1.SuspendLayout(); - this.splitContainer1.Panel2.SuspendLayout(); - this.splitContainer1.SuspendLayout(); - this.panel2.SuspendLayout(); - this.tabControl1.SuspendLayout(); - this.tpExtensions.SuspendLayout(); - this.tpRules.SuspendLayout(); - this.tpSegments.SuspendLayout(); - this.tpUrl.SuspendLayout(); - this.tpVerbs.SuspendLayout(); - this.tpHeaders.SuspendLayout(); - this.tpQuery.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - this.tableLayoutPanel1.SuspendLayout(); - this.panel1.SuspendLayout(); - this.SuspendLayout(); + components = new Container(); + splitContainer1 = new SplitContainer(); + cmsActionPanel = new ContextMenuStrip(components); + panel2 = new Panel(); + tabControl1 = new TabControl(); + tpExtensions = new TabPage(); + lvExtensions = new ListView(); + chExtension = new ColumnHeader(); + chAllowedExtension = new ColumnHeader(); + tpRules = new TabPage(); + lvRules = new ListView(); + columnHeader2 = new ColumnHeader(); + columnHeader10 = new ColumnHeader(); + columnHeader11 = new ColumnHeader(); + columnHeader12 = new ColumnHeader(); + tpSegments = new TabPage(); + lvSegments = new ListView(); + chName = new ColumnHeader(); + tpUrl = new TabPage(); + lvUrls = new ListView(); + columnHeader3 = new ColumnHeader(); + columnHeader9 = new ColumnHeader(); + tpVerbs = new TabPage(); + lvVerbs = new ListView(); + columnHeader4 = new ColumnHeader(); + columnHeader8 = new ColumnHeader(); + tpHeaders = new TabPage(); + lvHeaders = new ListView(); + columnHeader5 = new ColumnHeader(); + columnHeader7 = new ColumnHeader(); + tpQuery = new TabPage(); + lvQueries = new ListView(); + columnHeader6 = new ColumnHeader(); + columnHeader1 = new ColumnHeader(); + imageList1 = new ImageList(components); + label2 = new Label(); + pictureBox1 = new PictureBox(); + label3 = new Label(); + tableLayoutPanel1 = new TableLayoutPanel(); + panel1 = new Panel(); + label1 = new Label(); + tsActionPanel = new ToolStrip(); + ((ISupportInitialize)splitContainer1).BeginInit(); + splitContainer1.Panel1.SuspendLayout(); + splitContainer1.Panel2.SuspendLayout(); + splitContainer1.SuspendLayout(); + panel2.SuspendLayout(); + tabControl1.SuspendLayout(); + tpExtensions.SuspendLayout(); + tpRules.SuspendLayout(); + tpSegments.SuspendLayout(); + tpUrl.SuspendLayout(); + tpVerbs.SuspendLayout(); + tpHeaders.SuspendLayout(); + tpQuery.SuspendLayout(); + ((ISupportInitialize)pictureBox1).BeginInit(); + tableLayoutPanel1.SuspendLayout(); + panel1.SuspendLayout(); + SuspendLayout(); // // splitContainer1 // - this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; - this.splitContainer1.Location = new System.Drawing.Point(0, 0); - this.splitContainer1.Name = "splitContainer1"; + splitContainer1.Dock = DockStyle.Fill; + splitContainer1.Location = new System.Drawing.Point(0, 0); + splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 // - this.splitContainer1.Panel1.BackColor = System.Drawing.Color.White; - this.splitContainer1.Panel1.ContextMenuStrip = this.cmsActionPanel; - this.splitContainer1.Panel1.Controls.Add(this.panel2); - this.splitContainer1.Panel1.Controls.Add(this.pictureBox1); - this.splitContainer1.Panel1.Controls.Add(this.label3); + splitContainer1.Panel1.BackColor = System.Drawing.Color.White; + splitContainer1.Panel1.ContextMenuStrip = cmsActionPanel; + splitContainer1.Panel1.Controls.Add(panel2); + splitContainer1.Panel1.Controls.Add(pictureBox1); + splitContainer1.Panel1.Controls.Add(label3); // // splitContainer1.Panel2 // - this.splitContainer1.Panel2.Controls.Add(this.tableLayoutPanel1); - this.splitContainer1.Panel2MinSize = 200; - this.splitContainer1.Size = new System.Drawing.Size(800, 600); - this.splitContainer1.SplitterDistance = 580; - this.splitContainer1.TabIndex = 4; - this.splitContainer1.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.SplitContainer1SplitterMoved); + splitContainer1.Panel2.Controls.Add(tableLayoutPanel1); + splitContainer1.Panel2MinSize = 200; + splitContainer1.Size = new System.Drawing.Size(800, 600); + splitContainer1.SplitterDistance = 580; + splitContainer1.TabIndex = 4; + splitContainer1.SplitterMoved += SplitContainer1SplitterMoved; // // cmsActionPanel // - this.cmsActionPanel.Name = "cmsActionPanel"; - this.cmsActionPanel.Size = new System.Drawing.Size(61, 4); + cmsActionPanel.Name = "cmsActionPanel"; + cmsActionPanel.Size = new System.Drawing.Size(61, 4); // // panel2 // - this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.panel2.Controls.Add(this.tabControl1); - this.panel2.Controls.Add(this.label2); - this.panel2.Location = new System.Drawing.Point(10, 50); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(560, 540); - this.panel2.TabIndex = 6; + panel2.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; + panel2.Controls.Add(tabControl1); + panel2.Controls.Add(label2); + panel2.Location = new System.Drawing.Point(10, 50); + panel2.Name = "panel2"; + panel2.Size = new System.Drawing.Size(560, 540); + panel2.TabIndex = 6; // // tabControl1 // - this.tabControl1.Controls.Add(this.tpExtensions); - this.tabControl1.Controls.Add(this.tpRules); - this.tabControl1.Controls.Add(this.tpSegments); - this.tabControl1.Controls.Add(this.tpUrl); - this.tabControl1.Controls.Add(this.tpVerbs); - this.tabControl1.Controls.Add(this.tpHeaders); - this.tabControl1.Controls.Add(this.tpQuery); - this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControl1.ImageList = this.imageList1; - this.tabControl1.Location = new System.Drawing.Point(0, 13); - this.tabControl1.Name = "tabControl1"; - this.tabControl1.SelectedIndex = 0; - this.tabControl1.Size = new System.Drawing.Size(560, 527); - this.tabControl1.TabIndex = 2; - this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.TabControl1SelectedIndexChanged); + tabControl1.Controls.Add(tpExtensions); + tabControl1.Controls.Add(tpRules); + tabControl1.Controls.Add(tpSegments); + tabControl1.Controls.Add(tpUrl); + tabControl1.Controls.Add(tpVerbs); + tabControl1.Controls.Add(tpHeaders); + tabControl1.Controls.Add(tpQuery); + tabControl1.Dock = DockStyle.Fill; + tabControl1.ImageList = imageList1; + tabControl1.Location = new System.Drawing.Point(0, 13); + tabControl1.Name = "tabControl1"; + tabControl1.SelectedIndex = 0; + tabControl1.Size = new System.Drawing.Size(560, 527); + tabControl1.TabIndex = 2; + tabControl1.SelectedIndexChanged += TabControl1SelectedIndexChanged; // // tpExtensions // - this.tpExtensions.Controls.Add(this.lvExtensions); - this.tpExtensions.Location = new System.Drawing.Point(4, 23); - this.tpExtensions.Name = "tpExtensions"; - this.tpExtensions.Size = new System.Drawing.Size(552, 500); - this.tpExtensions.TabIndex = 2; - this.tpExtensions.Text = "File Name Extensions"; - this.tpExtensions.UseVisualStyleBackColor = true; + tpExtensions.Controls.Add(lvExtensions); + tpExtensions.Location = new System.Drawing.Point(4, 23); + tpExtensions.Name = "tpExtensions"; + tpExtensions.Size = new System.Drawing.Size(552, 500); + tpExtensions.TabIndex = 2; + tpExtensions.Text = "File Name Extensions"; + tpExtensions.UseVisualStyleBackColor = true; // // lvExtensions // - this.lvExtensions.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { - this.chExtension, - this.chAllowedExtension}); - this.lvExtensions.Dock = System.Windows.Forms.DockStyle.Fill; - this.lvExtensions.FullRowSelect = true; - this.lvExtensions.HideSelection = false; - this.lvExtensions.Location = new System.Drawing.Point(0, 0); - this.lvExtensions.Margin = new System.Windows.Forms.Padding(5); - this.lvExtensions.MultiSelect = false; - this.lvExtensions.Name = "lvExtensions"; - this.lvExtensions.Size = new System.Drawing.Size(552, 500); - this.lvExtensions.TabIndex = 1; - this.lvExtensions.UseCompatibleStateImageBehavior = false; - this.lvExtensions.View = System.Windows.Forms.View.Details; - this.lvExtensions.SelectedIndexChanged += new System.EventHandler(this.LvExtensionsSelectedIndexChanged); + lvExtensions.Columns.AddRange(new ColumnHeader[] { chExtension, chAllowedExtension }); + lvExtensions.Dock = DockStyle.Fill; + lvExtensions.FullRowSelect = true; + lvExtensions.Location = new System.Drawing.Point(0, 0); + lvExtensions.Margin = new Padding(5); + lvExtensions.MultiSelect = false; + lvExtensions.Name = "lvExtensions"; + lvExtensions.Size = new System.Drawing.Size(552, 500); + lvExtensions.TabIndex = 1; + lvExtensions.UseCompatibleStateImageBehavior = false; + lvExtensions.View = View.Details; + lvExtensions.SelectedIndexChanged += LvExtensionsSelectedIndexChanged; + lvExtensions.KeyDown += LvExtensions_KeyDown; + lvExtensions.MouseDoubleClick += LvExtensions_MouseDoubleClick; // // chExtension // - this.chExtension.Text = "Extension"; - this.chExtension.Width = 105; + chExtension.Text = "Extension"; + chExtension.Width = 105; // // chAllowedExtension // - this.chAllowedExtension.Text = "Allowed"; + chAllowedExtension.Text = "Allowed"; // // tpRules // - this.tpRules.Controls.Add(this.lvRules); - this.tpRules.Location = new System.Drawing.Point(4, 23); - this.tpRules.Name = "tpRules"; - this.tpRules.Size = new System.Drawing.Size(552, 500); - this.tpRules.TabIndex = 3; - this.tpRules.Text = "Rules"; - this.tpRules.UseVisualStyleBackColor = true; + tpRules.Controls.Add(lvRules); + tpRules.Location = new System.Drawing.Point(4, 23); + tpRules.Name = "tpRules"; + tpRules.Size = new System.Drawing.Size(552, 500); + tpRules.TabIndex = 3; + tpRules.Text = "Rules"; + tpRules.UseVisualStyleBackColor = true; // // lvRules // - this.lvRules.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { - this.columnHeader2, - this.columnHeader10, - this.columnHeader11, - this.columnHeader12}); - this.lvRules.Dock = System.Windows.Forms.DockStyle.Fill; - this.lvRules.FullRowSelect = true; - this.lvRules.HideSelection = false; - this.lvRules.Location = new System.Drawing.Point(0, 0); - this.lvRules.Margin = new System.Windows.Forms.Padding(5); - this.lvRules.MultiSelect = false; - this.lvRules.Name = "lvRules"; - this.lvRules.Size = new System.Drawing.Size(552, 500); - this.lvRules.TabIndex = 1; - this.lvRules.UseCompatibleStateImageBehavior = false; - this.lvRules.View = System.Windows.Forms.View.Details; - this.lvRules.SelectedIndexChanged += new System.EventHandler(this.LvRuleSelectedIndexChanged); + lvRules.Columns.AddRange(new ColumnHeader[] { columnHeader2, columnHeader10, columnHeader11, columnHeader12 }); + lvRules.Dock = DockStyle.Fill; + lvRules.FullRowSelect = true; + lvRules.Location = new System.Drawing.Point(0, 0); + lvRules.Margin = new Padding(5); + lvRules.MultiSelect = false; + lvRules.Name = "lvRules"; + lvRules.Size = new System.Drawing.Size(552, 500); + lvRules.TabIndex = 1; + lvRules.UseCompatibleStateImageBehavior = false; + lvRules.View = View.Details; + lvRules.SelectedIndexChanged += LvRulesSelectedIndexChanged; + lvRules.KeyDown += LvRules_KeyDown; + lvRules.MouseDoubleClick += LvRules_MouseDoubleClick; // // columnHeader2 // - this.columnHeader2.Text = "Name"; - this.columnHeader2.Width = 105; + columnHeader2.Text = "Name"; + columnHeader2.Width = 105; // // columnHeader10 // - this.columnHeader10.Text = "Scan"; - this.columnHeader10.Width = 105; + columnHeader10.Text = "Scan"; + columnHeader10.Width = 105; // // columnHeader11 // - this.columnHeader11.Text = "Applied To"; - this.columnHeader11.Width = 105; + columnHeader11.Text = "Applied To"; + columnHeader11.Width = 105; // // columnHeader12 // - this.columnHeader12.Text = "Deny Strings"; - this.columnHeader12.Width = 105; + columnHeader12.Text = "Deny Strings"; + columnHeader12.Width = 105; // // tpSegments // - this.tpSegments.Controls.Add(this.lvSegments); - this.tpSegments.Location = new System.Drawing.Point(4, 23); - this.tpSegments.Name = "tpSegments"; - this.tpSegments.Padding = new System.Windows.Forms.Padding(3); - this.tpSegments.Size = new System.Drawing.Size(552, 500); - this.tpSegments.TabIndex = 0; - this.tpSegments.Text = "Hidden Segments"; - this.tpSegments.UseVisualStyleBackColor = true; + tpSegments.Controls.Add(lvSegments); + tpSegments.Location = new System.Drawing.Point(4, 23); + tpSegments.Name = "tpSegments"; + tpSegments.Padding = new Padding(3); + tpSegments.Size = new System.Drawing.Size(552, 500); + tpSegments.TabIndex = 0; + tpSegments.Text = "Hidden Segments"; + tpSegments.UseVisualStyleBackColor = true; // // lvSegments // - this.lvSegments.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { - this.chName}); - this.lvSegments.Dock = System.Windows.Forms.DockStyle.Fill; - this.lvSegments.FullRowSelect = true; - this.lvSegments.HideSelection = false; - this.lvSegments.Location = new System.Drawing.Point(3, 3); - this.lvSegments.Margin = new System.Windows.Forms.Padding(5); - this.lvSegments.MultiSelect = false; - this.lvSegments.Name = "lvSegments"; - this.lvSegments.Size = new System.Drawing.Size(546, 494); - this.lvSegments.TabIndex = 0; - this.lvSegments.UseCompatibleStateImageBehavior = false; - this.lvSegments.View = System.Windows.Forms.View.Details; - this.lvSegments.SelectedIndexChanged += new System.EventHandler(this.LvSegmentsSelectedIndexChanged); + lvSegments.Columns.AddRange(new ColumnHeader[] { chName }); + lvSegments.Dock = DockStyle.Fill; + lvSegments.FullRowSelect = true; + lvSegments.Location = new System.Drawing.Point(3, 3); + lvSegments.Margin = new Padding(5); + lvSegments.MultiSelect = false; + lvSegments.Name = "lvSegments"; + lvSegments.Size = new System.Drawing.Size(552, 500); + lvSegments.TabIndex = 0; + lvSegments.UseCompatibleStateImageBehavior = false; + lvSegments.View = View.Details; + lvSegments.SelectedIndexChanged += LvSegmentsSelectedIndexChanged; + lvSegments.KeyDown += LvSegments_KeyDown; + lvSegments.MouseDoubleClick += LvSegments_MouseDoubleClick; // // chName // - this.chName.Text = "Segment"; - this.chName.Width = 200; + chName.Text = "Segment"; + chName.Width = 200; // // tpUrl // - this.tpUrl.Controls.Add(this.lvUrls); - this.tpUrl.Location = new System.Drawing.Point(4, 23); - this.tpUrl.Name = "tpUrl"; - this.tpUrl.Padding = new System.Windows.Forms.Padding(3); - this.tpUrl.Size = new System.Drawing.Size(552, 500); - this.tpUrl.TabIndex = 1; - this.tpUrl.Text = "URL"; - this.tpUrl.UseVisualStyleBackColor = true; + tpUrl.Controls.Add(lvUrls); + tpUrl.Location = new System.Drawing.Point(4, 24); + tpUrl.Name = "tpUrl"; + tpUrl.Padding = new Padding(3); + tpUrl.Size = new System.Drawing.Size(552, 500); + tpUrl.TabIndex = 1; + tpUrl.Text = "URL"; + tpUrl.UseVisualStyleBackColor = true; // // lvUrls // - this.lvUrls.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { - this.columnHeader3, - this.columnHeader9}); - this.lvUrls.Dock = System.Windows.Forms.DockStyle.Fill; - this.lvUrls.FullRowSelect = true; - this.lvUrls.HideSelection = false; - this.lvUrls.Location = new System.Drawing.Point(3, 3); - this.lvUrls.Margin = new System.Windows.Forms.Padding(5); - this.lvUrls.MultiSelect = false; - this.lvUrls.Name = "lvUrls"; - this.lvUrls.Size = new System.Drawing.Size(546, 494); - this.lvUrls.TabIndex = 1; - this.lvUrls.UseCompatibleStateImageBehavior = false; - this.lvUrls.View = System.Windows.Forms.View.Details; - this.lvUrls.SelectedIndexChanged += new System.EventHandler(this.LvUrlsSelectedIndexChanged); + lvUrls.Columns.AddRange(new ColumnHeader[] { columnHeader3, columnHeader9 }); + lvUrls.Dock = DockStyle.Fill; + lvUrls.FullRowSelect = true; + lvUrls.Location = new System.Drawing.Point(3, 3); + lvUrls.Margin = new Padding(5); + lvUrls.MultiSelect = false; + lvUrls.Name = "lvUrls"; + lvUrls.Size = new System.Drawing.Size(552, 500); + lvUrls.TabIndex = 1; + lvUrls.UseCompatibleStateImageBehavior = false; + lvUrls.View = View.Details; + lvUrls.SelectedIndexChanged += LvUrlsSelectedIndexChanged; + lvUrls.KeyDown += LvUrls_KeyDown; + lvUrls.MouseDoubleClick += LvUrls_MouseDoubleClick; // // columnHeader3 // - this.columnHeader3.Text = "Url"; - this.columnHeader3.Width = 145; + columnHeader3.Text = "Url"; + columnHeader3.Width = 145; // // columnHeader9 // - this.columnHeader9.Text = "Action"; - this.columnHeader9.Width = 145; + columnHeader9.Text = "Action"; + columnHeader9.Width = 145; // // tpVerbs // - this.tpVerbs.Controls.Add(this.lvVerbs); - this.tpVerbs.Location = new System.Drawing.Point(4, 23); - this.tpVerbs.Name = "tpVerbs"; - this.tpVerbs.Size = new System.Drawing.Size(552, 500); - this.tpVerbs.TabIndex = 4; - this.tpVerbs.Text = "HTTP Verbs"; - this.tpVerbs.UseVisualStyleBackColor = true; + tpVerbs.Controls.Add(lvVerbs); + tpVerbs.Location = new System.Drawing.Point(4, 23); + tpVerbs.Name = "tpVerbs"; + tpVerbs.Size = new System.Drawing.Size(552, 500); + tpVerbs.TabIndex = 4; + tpVerbs.Text = "HTTP Verbs"; + tpVerbs.UseVisualStyleBackColor = true; // // lvVerbs // - this.lvVerbs.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { - this.columnHeader4, - this.columnHeader8}); - this.lvVerbs.Dock = System.Windows.Forms.DockStyle.Fill; - this.lvVerbs.FullRowSelect = true; - this.lvVerbs.HideSelection = false; - this.lvVerbs.Location = new System.Drawing.Point(0, 0); - this.lvVerbs.Margin = new System.Windows.Forms.Padding(5); - this.lvVerbs.MultiSelect = false; - this.lvVerbs.Name = "lvVerbs"; - this.lvVerbs.Size = new System.Drawing.Size(552, 500); - this.lvVerbs.TabIndex = 1; - this.lvVerbs.UseCompatibleStateImageBehavior = false; - this.lvVerbs.View = System.Windows.Forms.View.Details; - this.lvVerbs.SelectedIndexChanged += new System.EventHandler(this.LvVerbsSelectedIndexChanged); + lvVerbs.Columns.AddRange(new ColumnHeader[] { columnHeader4, columnHeader8 }); + lvVerbs.Dock = DockStyle.Fill; + lvVerbs.FullRowSelect = true; + lvVerbs.Location = new System.Drawing.Point(0, 0); + lvVerbs.Margin = new Padding(5); + lvVerbs.MultiSelect = false; + lvVerbs.Name = "lvVerbs"; + lvVerbs.Size = new System.Drawing.Size(552, 500); + lvVerbs.TabIndex = 1; + lvVerbs.UseCompatibleStateImageBehavior = false; + lvVerbs.View = View.Details; + lvVerbs.SelectedIndexChanged += LvVerbsSelectedIndexChanged; + lvVerbs.KeyDown += LvVerbs_KeyDown; + lvVerbs.MouseDoubleClick += LvVerbs_MouseDoubleClick; // // columnHeader4 // - this.columnHeader4.Text = "Verb"; - this.columnHeader4.Width = 175; + columnHeader4.Text = "Verb"; + columnHeader4.Width = 175; // // columnHeader8 // - this.columnHeader8.Text = "Allowed"; + columnHeader8.Text = "Allowed"; // // tpHeaders // - this.tpHeaders.Controls.Add(this.lvHeaders); - this.tpHeaders.Location = new System.Drawing.Point(4, 23); - this.tpHeaders.Name = "tpHeaders"; - this.tpHeaders.Size = new System.Drawing.Size(552, 500); - this.tpHeaders.TabIndex = 5; - this.tpHeaders.Text = "Headers"; - this.tpHeaders.UseVisualStyleBackColor = true; + tpHeaders.Controls.Add(lvHeaders); + tpHeaders.Location = new System.Drawing.Point(4, 23); + tpHeaders.Name = "tpHeaders"; + tpHeaders.Size = new System.Drawing.Size(552, 500); + tpHeaders.TabIndex = 5; + tpHeaders.Text = "Headers"; + tpHeaders.UseVisualStyleBackColor = true; // // lvHeaders // - this.lvHeaders.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { - this.columnHeader5, - this.columnHeader7}); - this.lvHeaders.Dock = System.Windows.Forms.DockStyle.Fill; - this.lvHeaders.FullRowSelect = true; - this.lvHeaders.HideSelection = false; - this.lvHeaders.Location = new System.Drawing.Point(0, 0); - this.lvHeaders.Margin = new System.Windows.Forms.Padding(5); - this.lvHeaders.MultiSelect = false; - this.lvHeaders.Name = "lvHeaders"; - this.lvHeaders.Size = new System.Drawing.Size(552, 500); - this.lvHeaders.TabIndex = 1; - this.lvHeaders.UseCompatibleStateImageBehavior = false; - this.lvHeaders.View = System.Windows.Forms.View.Details; - this.lvHeaders.SelectedIndexChanged += new System.EventHandler(this.LvHeadersSelectedIndexChanged); + lvHeaders.Columns.AddRange(new ColumnHeader[] { columnHeader5, columnHeader7 }); + lvHeaders.Dock = DockStyle.Fill; + lvHeaders.FullRowSelect = true; + lvHeaders.Location = new System.Drawing.Point(0, 0); + lvHeaders.Margin = new Padding(5); + lvHeaders.MultiSelect = false; + lvHeaders.Name = "lvHeaders"; + lvHeaders.Size = new System.Drawing.Size(552, 500); + lvHeaders.TabIndex = 1; + lvHeaders.UseCompatibleStateImageBehavior = false; + lvHeaders.View = View.Details; + lvHeaders.SelectedIndexChanged += LvHeadersSelectedIndexChanged; + lvHeaders.KeyDown += LvHeaders_KeyDown; + lvHeaders.MouseDoubleClick += LvHeaders_MouseDoubleClick; // // columnHeader5 // - this.columnHeader5.Text = "Header"; - this.columnHeader5.Width = 175; + columnHeader5.Text = "Header"; + columnHeader5.Width = 175; // // columnHeader7 // - this.columnHeader7.Text = "Size Limit"; + columnHeader7.Text = "Size Limit"; // // tpQuery // - this.tpQuery.Controls.Add(this.lvQueries); - this.tpQuery.Location = new System.Drawing.Point(4, 23); - this.tpQuery.Name = "tpQuery"; - this.tpQuery.Size = new System.Drawing.Size(552, 500); - this.tpQuery.TabIndex = 6; - this.tpQuery.Text = "Query Strings"; - this.tpQuery.UseVisualStyleBackColor = true; + tpQuery.Controls.Add(lvQueries); + tpQuery.Location = new System.Drawing.Point(4, 23); + tpQuery.Name = "tpQuery"; + tpQuery.Size = new System.Drawing.Size(552, 500); + tpQuery.TabIndex = 6; + tpQuery.Text = "Query Strings"; + tpQuery.UseVisualStyleBackColor = true; // // lvQueries // - this.lvQueries.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { - this.columnHeader6, - this.columnHeader1}); - this.lvQueries.Dock = System.Windows.Forms.DockStyle.Fill; - this.lvQueries.FullRowSelect = true; - this.lvQueries.HideSelection = false; - this.lvQueries.Location = new System.Drawing.Point(0, 0); - this.lvQueries.Margin = new System.Windows.Forms.Padding(5); - this.lvQueries.MultiSelect = false; - this.lvQueries.Name = "lvQueries"; - this.lvQueries.Size = new System.Drawing.Size(552, 500); - this.lvQueries.TabIndex = 1; - this.lvQueries.UseCompatibleStateImageBehavior = false; - this.lvQueries.View = System.Windows.Forms.View.Details; - this.lvQueries.SelectedIndexChanged += new System.EventHandler(this.LvQueriesSelectedIndexChanged); + lvQueries.Columns.AddRange(new ColumnHeader[] { columnHeader6, columnHeader1 }); + lvQueries.Dock = DockStyle.Fill; + lvQueries.FullRowSelect = true; + lvQueries.Location = new System.Drawing.Point(0, 0); + lvQueries.Margin = new Padding(5); + lvQueries.MultiSelect = false; + lvQueries.Name = "lvQueries"; + lvQueries.Size = new System.Drawing.Size(552, 500); + lvQueries.TabIndex = 1; + lvQueries.UseCompatibleStateImageBehavior = false; + lvQueries.View = View.Details; + lvQueries.SelectedIndexChanged += LvQueriesSelectedIndexChanged; + lvQueries.KeyDown += LvQueries_KeyDown; + lvQueries.MouseDoubleClick += LvQueries_MouseDoubleClick; // // columnHeader6 // - this.columnHeader6.Text = "Query String"; - this.columnHeader6.Width = 145; + columnHeader6.Text = "Query String"; + columnHeader6.Width = 145; // // columnHeader1 // - this.columnHeader1.Text = "Action"; - this.columnHeader1.Width = 145; + columnHeader1.Text = "Action"; + columnHeader1.Width = 145; // // imageList1 // - this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; - this.imageList1.ImageSize = new System.Drawing.Size(16, 16); - this.imageList1.TransparentColor = System.Drawing.Color.Transparent; + imageList1.ColorDepth = ColorDepth.Depth8Bit; + imageList1.ImageSize = new System.Drawing.Size(16, 16); + imageList1.TransparentColor = System.Drawing.Color.Transparent; // // label2 // - this.label2.AutoSize = true; - this.label2.Dock = System.Windows.Forms.DockStyle.Top; - this.label2.Location = new System.Drawing.Point(0, 0); - this.label2.Margin = new System.Windows.Forms.Padding(5); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(204, 13); - this.label2.TabIndex = 1; - this.label2.Text = "Use this feature to configure filtering rules."; + label2.AutoSize = true; + label2.Dock = DockStyle.Top; + label2.Location = new System.Drawing.Point(0, 0); + label2.Margin = new Padding(5); + label2.Name = "label2"; + label2.Size = new System.Drawing.Size(204, 13); + label2.TabIndex = 1; + label2.Text = "Use this feature to configure filtering rules."; // // pictureBox1 // - this.pictureBox1.Location = new System.Drawing.Point(10, 10); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(32, 32); - this.pictureBox1.TabIndex = 5; - this.pictureBox1.TabStop = false; + pictureBox1.Location = new System.Drawing.Point(10, 10); + pictureBox1.Name = "pictureBox1"; + pictureBox1.Size = new System.Drawing.Size(32, 32); + pictureBox1.TabIndex = 5; + pictureBox1.TabStop = false; // // label3 // - this.label3.AutoSize = true; - this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label3.Location = new System.Drawing.Point(48, 10); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(175, 25); - this.label3.TabIndex = 2; - this.label3.Text = "Request Filtering"; + label3.AutoSize = true; + label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0); + label3.Location = new System.Drawing.Point(48, 10); + label3.Name = "label3"; + label3.Size = new System.Drawing.Size(175, 25); + label3.TabIndex = 2; + label3.Text = "Request Filtering"; // // tableLayoutPanel1 // - this.tableLayoutPanel1.ColumnCount = 1; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 0); - this.tableLayoutPanel1.Controls.Add(this.tsActionPanel, 0, 1); - this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); - this.tableLayoutPanel1.Name = "tableLayoutPanel1"; - this.tableLayoutPanel1.RowCount = 2; - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 23F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(216, 600); - this.tableLayoutPanel1.TabIndex = 1; + tableLayoutPanel1.ColumnCount = 1; + tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); + tableLayoutPanel1.Controls.Add(panel1, 0, 0); + tableLayoutPanel1.Controls.Add(tsActionPanel, 0, 1); + tableLayoutPanel1.Dock = DockStyle.Fill; + tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); + tableLayoutPanel1.Name = "tableLayoutPanel1"; + tableLayoutPanel1.RowCount = 2; + tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 23F)); + tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); + tableLayoutPanel1.Size = new System.Drawing.Size(216, 600); + tableLayoutPanel1.TabIndex = 1; // // panel1 // - this.panel1.BackColor = System.Drawing.SystemColors.ActiveBorder; - this.panel1.Controls.Add(this.label1); - this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel1.Location = new System.Drawing.Point(0, 0); - this.panel1.Margin = new System.Windows.Forms.Padding(0); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(216, 23); - this.panel1.TabIndex = 1; + panel1.BackColor = System.Drawing.SystemColors.ActiveBorder; + panel1.Controls.Add(label1); + panel1.Dock = DockStyle.Fill; + panel1.Location = new System.Drawing.Point(0, 0); + panel1.Margin = new Padding(0); + panel1.Name = "panel1"; + panel1.Size = new System.Drawing.Size(216, 23); + panel1.TabIndex = 1; // // label1 // - this.label1.AutoSize = true; - this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label1.Location = new System.Drawing.Point(3, 5); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(49, 13); - this.label1.TabIndex = 0; - this.label1.Text = "Actions"; + label1.AutoSize = true; + label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); + label1.Location = new System.Drawing.Point(3, 5); + label1.Name = "label1"; + label1.Size = new System.Drawing.Size(49, 13); + label1.TabIndex = 0; + label1.Text = "Actions"; // // tsActionPanel // - this.tsActionPanel.CanOverflow = false; - this.tsActionPanel.Dock = System.Windows.Forms.DockStyle.Fill; - this.tsActionPanel.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; - this.tsActionPanel.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.VerticalStackWithOverflow; - this.tsActionPanel.Location = new System.Drawing.Point(0, 23); - this.tsActionPanel.Name = "tsActionPanel"; - this.tsActionPanel.Size = new System.Drawing.Size(216, 577); - this.tsActionPanel.TabIndex = 2; - this.tsActionPanel.Text = "toolStrip1"; + tsActionPanel.CanOverflow = false; + tsActionPanel.Dock = DockStyle.Fill; + tsActionPanel.GripStyle = ToolStripGripStyle.Hidden; + tsActionPanel.LayoutStyle = ToolStripLayoutStyle.VerticalStackWithOverflow; + tsActionPanel.Location = new System.Drawing.Point(0, 23); + tsActionPanel.Name = "tsActionPanel"; + tsActionPanel.Size = new System.Drawing.Size(216, 577); + tsActionPanel.TabIndex = 2; + tsActionPanel.Text = "toolStrip1"; // // RequestFilteringPage // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.splitContainer1); - this.Name = "RequestFilteringPage"; - this.Size = new System.Drawing.Size(800, 600); - this.splitContainer1.Panel1.ResumeLayout(false); - this.splitContainer1.Panel1.PerformLayout(); - this.splitContainer1.Panel2.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); - this.splitContainer1.ResumeLayout(false); - this.panel2.ResumeLayout(false); - this.panel2.PerformLayout(); - this.tabControl1.ResumeLayout(false); - this.tpExtensions.ResumeLayout(false); - this.tpRules.ResumeLayout(false); - this.tpSegments.ResumeLayout(false); - this.tpUrl.ResumeLayout(false); - this.tpVerbs.ResumeLayout(false); - this.tpHeaders.ResumeLayout(false); - this.tpQuery.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - this.tableLayoutPanel1.ResumeLayout(false); - this.tableLayoutPanel1.PerformLayout(); - this.panel1.ResumeLayout(false); - this.panel1.PerformLayout(); - this.ResumeLayout(false); - + AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + AutoScaleMode = AutoScaleMode.Font; + Controls.Add(splitContainer1); + Name = "RequestFilteringPage"; + Size = new System.Drawing.Size(800, 600); + splitContainer1.Panel1.ResumeLayout(false); + splitContainer1.Panel1.PerformLayout(); + splitContainer1.Panel2.ResumeLayout(false); + ((ISupportInitialize)splitContainer1).EndInit(); + splitContainer1.ResumeLayout(false); + panel2.ResumeLayout(false); + panel2.PerformLayout(); + tabControl1.ResumeLayout(false); + tpExtensions.ResumeLayout(false); + tpRules.ResumeLayout(false); + tpSegments.ResumeLayout(false); + tpUrl.ResumeLayout(false); + tpVerbs.ResumeLayout(false); + tpHeaders.ResumeLayout(false); + tpQuery.ResumeLayout(false); + ((ISupportInitialize)pictureBox1).EndInit(); + tableLayoutPanel1.ResumeLayout(false); + tableLayoutPanel1.PerformLayout(); + panel1.ResumeLayout(false); + panel1.PerformLayout(); + ResumeLayout(false); } #endregion diff --git a/JexusManager.Features.RequestFiltering/RequestFilteringPage.cs b/JexusManager.Features.RequestFiltering/RequestFilteringPage.cs index 3fd8191f..7f574b76 100644 --- a/JexusManager.Features.RequestFiltering/RequestFilteringPage.cs +++ b/JexusManager.Features.RequestFiltering/RequestFilteringPage.cs @@ -430,66 +430,157 @@ protected override void Refresh() base.Refresh(); } + private void LvExtensions_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Delete) + { + var feature = (FileExtensionsFeature)tpExtensions.Tag; + feature.Remove(); + } + } + + private void LvExtensions_MouseDoubleClick(object sender, MouseEventArgs e) + { + var feature = (FileExtensionsFeature)tpExtensions.Tag; + feature.HandleMouseDoubleClick(lvExtensions); + } + private void LvExtensionsSelectedIndexChanged(object sender, EventArgs e) { var feature = (FileExtensionsFeature)tpExtensions.Tag; - feature.SelectedItem = lvExtensions.SelectedItems.Count > 0 - ? ((ExtensionListViewItem)lvExtensions.SelectedItems[0]).Item - : null; + feature.HandleSelectedIndexChanged(lvExtensions); Refresh(); } - private void LvRuleSelectedIndexChanged(object sender, EventArgs e) + private void LvRules_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Delete) + { + var feature = (FilteringRulesFeature)tpRules.Tag; + feature.Remove(); + } + } + + private void LvRules_MouseDoubleClick(Object sender, MouseEventArgs e) + { + var feature = (FilteringRulesFeature)tpRules.Tag; + feature.HandleMouseDoubleClick(lvRules); + } + + private void LvRulesSelectedIndexChanged(object sender, EventArgs e) { var feature = (FilteringRulesFeature)tpRules.Tag; - feature.SelectedItem = lvRules.SelectedItems.Count > 0 - ? ((RuleListViewItem)lvRules.SelectedItems[0]).Item - : null; + feature.HandleSelectedIndexChanged(lvRules); Refresh(); } + private void LvSegments_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Delete) + { + var feature = (HiddenSegmentsFeature)tpSegments.Tag; + feature.Remove(); + } + } + + private void LvSegments_MouseDoubleClick(object sender, MouseEventArgs e) + { + var feature = (HiddenSegmentsFeature)tpSegments.Tag; + feature.HandleMouseDoubleClick(lvSegments); + } + private void LvSegmentsSelectedIndexChanged(object sender, EventArgs e) { var feature = (HiddenSegmentsFeature)tpSegments.Tag; - feature.SelectedItem = lvSegments.SelectedItems.Count > 0 - ? ((SegmentListViewItem)lvSegments.SelectedItems[0]).Item - : null; + feature.HandleSelectedIndexChanged(lvSegments); Refresh(); } + private void LvUrls_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Delete) + { + var feature = (UrlsFeature)tpUrl.Tag; + feature.Remove(); + } + } + + private void LvUrls_MouseDoubleClick(object sender, MouseEventArgs e) + { + var feature = (UrlsFeature)tpUrl.Tag; + feature.HandleMouseDoubleClick(lvUrls); + } + private void LvUrlsSelectedIndexChanged(object sender, EventArgs e) { var feature = (UrlsFeature)tpUrl.Tag; - feature.SelectedItem = lvUrls.SelectedItems.Count > 0 - ? ((UrlListViewItem)lvUrls.SelectedItems[0]).Item - : null; + feature.HandleSelectedIndexChanged(lvUrls); Refresh(); } + private void LvVerbs_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Delete) + { + var feature = (VerbsFeature)tpVerbs.Tag; + feature.Remove(); + } + } + + private void LvVerbs_MouseDoubleClick(object sender, MouseEventArgs e) + { + var feature = (VerbsFeature)tpVerbs.Tag; + feature.HandleMouseDoubleClick(lvVerbs); + } + private void LvVerbsSelectedIndexChanged(object sender, EventArgs e) { var feature = (VerbsFeature)tpVerbs.Tag; - feature.SelectedItem = lvVerbs.SelectedItems.Count > 0 - ? ((VerbListViewItem)lvVerbs.SelectedItems[0]).Item - : null; + feature.HandleSelectedIndexChanged(lvVerbs); Refresh(); } + private void LvHeaders_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Delete) + { + var feature = (HeadersFeature)tpHeaders.Tag; + feature.Remove(); + } + } + + private void LvHeaders_MouseDoubleClick(object sender, MouseEventArgs e) + { + var feature = (HeadersFeature)tpHeaders.Tag; + feature.HandleMouseDoubleClick(lvHeaders); + } + private void LvHeadersSelectedIndexChanged(object sender, EventArgs e) { var feature = (HeadersFeature)tpHeaders.Tag; - feature.SelectedItem = lvHeaders.SelectedItems.Count > 0 - ? ((HeaderListViewItem)lvHeaders.SelectedItems[0]).Item - : null; + feature.HandleSelectedIndexChanged(lvHeaders); Refresh(); } + private void LvQueries_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Delete) + { + var feature = (QueryStringsFeature)tpQuery.Tag; + feature.Remove(); + } + } + + private void LvQueries_MouseDoubleClick(object sender, MouseEventArgs e) + { + var feature = (QueryStringsFeature)tpQuery.Tag; + feature.HandleMouseDoubleClick(lvQueries); + } + private void LvQueriesSelectedIndexChanged(object sender, EventArgs e) { var feature = (QueryStringsFeature)tpQuery.Tag; - feature.SelectedItem = lvQueries.SelectedItems.Count > 0 - ? ((QueryListViewItem)lvQueries.SelectedItems[0]).Item - : null; + feature.HandleSelectedIndexChanged(lvQueries); Refresh(); } diff --git a/JexusManager.Features.RequestFiltering/RequestFilteringPage.resx b/JexusManager.Features.RequestFiltering/RequestFilteringPage.resx index 89b194c5..b6b74940 100644 --- a/JexusManager.Features.RequestFiltering/RequestFilteringPage.resx +++ b/JexusManager.Features.RequestFiltering/RequestFilteringPage.resx @@ -1,17 +1,17 @@  - diff --git a/JexusManager/Dialogs/ConnectAsDialog.cs b/JexusManager/Dialogs/ConnectAsDialog.cs index 16a09e35..70936804 100644 --- a/JexusManager/Dialogs/ConnectAsDialog.cs +++ b/JexusManager/Dialogs/ConnectAsDialog.cs @@ -13,6 +13,12 @@ namespace JexusManager.Dialogs public partial class ConnectAsDialog : DialogForm { +#if DESIGN + public ConnectAsDialog() + { + InitializeComponent(); + } +#endif public ConnectAsDialog(IServiceProvider serviceProvider, ConnectAsItem item) : base(serviceProvider) { diff --git a/JexusManager/JexusManager.csproj b/JexusManager/JexusManager.csproj index 7926dd98..02cdab5a 100644 --- a/JexusManager/JexusManager.csproj +++ b/JexusManager/JexusManager.csproj @@ -17,6 +17,10 @@ $(DefineConstants);ARM64 + + $(DefineConstants)TRACE;DESIGN + + ResXFileCodeGenerator diff --git a/JexusManager/MainForm.Designer.cs b/JexusManager/MainForm.Designer.cs index 2d4c2225..52a9923e 100644 --- a/JexusManager/MainForm.Designer.cs +++ b/JexusManager/MainForm.Designer.cs @@ -33,1841 +33,1685 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - this.scMain = new System.Windows.Forms.SplitContainer(); - this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); - this.panel2 = new System.Windows.Forms.Panel(); - this.treeView1 = new System.Windows.Forms.TreeView(); - this.imageList1 = new System.Windows.Forms.ImageList(this.components); - this.toolStrip2 = new System.Windows.Forms.ToolStrip(); - this.toolStripButton3 = new System.Windows.Forms.ToolStripSplitButton(); - this.btnServer = new System.Windows.Forms.ToolStripMenuItem(); - this.connectToWebsiteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.connectToApplicationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.btnSave = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); - this.btnUp = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.btnDisconnect = new System.Windows.Forms.ToolStripButton(); - this.panel1 = new System.Windows.Forms.Panel(); - this.label1 = new System.Windows.Forms.Label(); - this.cmsServer = new System.Windows.Forms.ContextMenuStrip(this.components); - this.refreshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); - this.removeConnectionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripSeparator(); - this.addWebsiteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); - this.btnStartServer = new System.Windows.Forms.ToolStripMenuItem(); - this.btnStopServer = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator(); - this.btnRenameServer = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripSeparator(); - this.btnOpenConfig = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem40 = new System.Windows.Forms.ToolStripSeparator(); - this.switchToContentViewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.cmsApplicationPools = new System.Windows.Forms.ContextMenuStrip(this.components); - this.addApplicationPoolToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripSeparator(); - this.refreshToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.cmsSites = new System.Windows.Forms.ContextMenuStrip(this.components); - this.addWebsiteToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem7 = new System.Windows.Forms.ToolStripSeparator(); - this.refreshToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem8 = new System.Windows.Forms.ToolStripSeparator(); - this.switchToContentViewToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.cmsSite = new System.Windows.Forms.ContextMenuStrip(this.components); - this.exploreToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.editPermissionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem10 = new System.Windows.Forms.ToolStripSeparator(); - this.btnApplication = new System.Windows.Forms.ToolStripMenuItem(); - this.addVirtualDirectoryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem11 = new System.Windows.Forms.ToolStripSeparator(); - this.editBindingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem12 = new System.Windows.Forms.ToolStripSeparator(); - this.manageWebsiteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.btnRestartSite = new System.Windows.Forms.ToolStripMenuItem(); - this.startToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.stopToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem26 = new System.Windows.Forms.ToolStripSeparator(); - this.btnBrowseSite = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem27 = new System.Windows.Forms.ToolStripSeparator(); - this.advancedSettingsToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem13 = new System.Windows.Forms.ToolStripSeparator(); - this.refreshToolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); - this.removeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem14 = new System.Windows.Forms.ToolStripSeparator(); - this.renameToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem17 = new System.Windows.Forms.ToolStripSeparator(); - this.switchToContentViewToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); - this.statusStrip1 = new System.Windows.Forms.StatusStrip(); - this.txtInfo = new System.Windows.Forms.ToolStripStatusLabel(); - this.menuStrip1 = new System.Windows.Forms.MenuStrip(); - this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.connectToAServerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.connectToAWebsiteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.connectToAnApplicationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem22 = new System.Windows.Forms.ToolStripSeparator(); - this.saveConnectionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.disconnectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem21 = new System.Windows.Forms.ToolStripSeparator(); - this.runAsAdministratorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.backToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.forwardToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.upOneLevelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.homeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem19 = new System.Windows.Forms.ToolStripSeparator(); - this.stopToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.refreshToolStripMenuItem4 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem20 = new System.Windows.Forms.ToolStripSeparator(); - this.groupByToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.sortByToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.viewToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.iISHelpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.iISOnMSDNOnlineToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.iISNETOnlineToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.iISKBsOnlineToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem28 = new System.Windows.Forms.ToolStripSeparator(); - this.btnUpdate = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem18 = new System.Windows.Forms.ToolStripSeparator(); - this.btnAbout = new System.Windows.Forms.ToolStripMenuItem(); - this.actionList1 = new Crad.Windows.Forms.Actions.ActionList(); - this.actConnectServer = new Crad.Windows.Forms.Actions.Action(); - this.actBack = new Crad.Windows.Forms.Actions.Action(); - this.actForward = new Crad.Windows.Forms.Actions.Action(); - this.actSave = new Crad.Windows.Forms.Actions.Action(); - this.actUp = new Crad.Windows.Forms.Actions.Action(); - this.actDisconnect = new Crad.Windows.Forms.Actions.Action(); - this.actCreateSite = new Crad.Windows.Forms.Actions.Action(); - this.actExplore = new Crad.Windows.Forms.Actions.Action(); - this.actEditPermissions = new Crad.Windows.Forms.Actions.Action(); - this.actCreateApplication = new Crad.Windows.Forms.Actions.Action(); - this.actCreateVirtualDirectory = new Crad.Windows.Forms.Actions.Action(); - this.actBrowse = new Crad.Windows.Forms.Actions.Action(); - this.actConnectSite = new Crad.Windows.Forms.Actions.Action(); - this.actConnectionApplication = new Crad.Windows.Forms.Actions.Action(); - this.actRunAsAdmin = new Crad.Windows.Forms.Actions.Action(); - this.connectToAServerToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.connectToAWebsiteToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.connectToAnApplicationToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.addApplicationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem38 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem49 = new System.Windows.Forms.ToolStripMenuItem(); - this.exploreToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.editPermissionsToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.addVirtualDirectoryToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.btnBrowseApplication = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem36 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem37 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem39 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem41 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem46 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem47 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem50 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem52 = new System.Windows.Forms.ToolStripMenuItem(); - this.cmsIis = new System.Windows.Forms.ContextMenuStrip(this.components); - this.refreshToolStripMenuItem5 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem23 = new System.Windows.Forms.ToolStripSeparator(); - this.cmsApplication = new System.Windows.Forms.ContextMenuStrip(this.components); - this.toolStripMenuItem9 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripMenuItem15 = new System.Windows.Forms.ToolStripSeparator(); - this.manageApplicationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem25 = new System.Windows.Forms.ToolStripSeparator(); - this.advancedSettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem16 = new System.Windows.Forms.ToolStripSeparator(); - this.refreshToolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem(); - this.removeToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem24 = new System.Windows.Forms.ToolStripSeparator(); - this.switchToContentViewToolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); - this.cmsFarm = new System.Windows.Forms.ContextMenuStrip(this.components); - this.refreshToolStripMenuItem7 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem29 = new System.Windows.Forms.ToolStripSeparator(); - this.btnCreateFarm = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem30 = new System.Windows.Forms.ToolStripSeparator(); - this.switchToContentViewToolStripMenuItem4 = new System.Windows.Forms.ToolStripMenuItem(); - this.cmsFarmServer = new System.Windows.Forms.ContextMenuStrip(this.components); - this.refreshToolStripMenuItem8 = new System.Windows.Forms.ToolStripMenuItem(); - this.btnRemoveFarmServer = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem31 = new System.Windows.Forms.ToolStripSeparator(); - this.btnAddFarmServer = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem32 = new System.Windows.Forms.ToolStripSeparator(); - this.btnRenameFarmServer = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem33 = new System.Windows.Forms.ToolStripSeparator(); - this.switchToContentViewToolStripMenuItem5 = new System.Windows.Forms.ToolStripMenuItem(); - this.cmsServers = new System.Windows.Forms.ContextMenuStrip(this.components); - this.refreshToolStripMenuItem9 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem34 = new System.Windows.Forms.ToolStripSeparator(); - this.addServerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem35 = new System.Windows.Forms.ToolStripSeparator(); - this.switchToContentViewToolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem(); - this.cmsVirtualDirectory = new System.Windows.Forms.ContextMenuStrip(this.components); - this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); - this.convertToApplicationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); - this.manageVirtualDirectoryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripMenuItem42 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripMenuItem43 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem44 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripMenuItem45 = new System.Windows.Forms.ToolStripMenuItem(); - this.cmsPhysicalDirectory = new System.Windows.Forms.ContextMenuStrip(this.components); - this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripMenuItem48 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); - this.manageFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripMenuItem54 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripMenuItem56 = new System.Windows.Forms.ToolStripMenuItem(); - this._logSplitter = new System.Windows.Forms.SplitContainer(); - this._logPanel = new System.Windows.Forms.Panel(); - ((System.ComponentModel.ISupportInitialize)(this.scMain)).BeginInit(); - this.scMain.Panel1.SuspendLayout(); - this.scMain.SuspendLayout(); - this.tableLayoutPanel1.SuspendLayout(); - this.panel2.SuspendLayout(); - this.toolStrip2.SuspendLayout(); - this.panel1.SuspendLayout(); - this.cmsServer.SuspendLayout(); - this.cmsApplicationPools.SuspendLayout(); - this.cmsSites.SuspendLayout(); - this.cmsSite.SuspendLayout(); - this.statusStrip1.SuspendLayout(); - this.menuStrip1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.actionList1)).BeginInit(); - this.cmsIis.SuspendLayout(); - this.cmsApplication.SuspendLayout(); - this.cmsFarm.SuspendLayout(); - this.cmsFarmServer.SuspendLayout(); - this.cmsServers.SuspendLayout(); - this.cmsVirtualDirectory.SuspendLayout(); - this.cmsPhysicalDirectory.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this._logSplitter)).BeginInit(); - this._logSplitter.Panel1.SuspendLayout(); - this._logSplitter.Panel2.SuspendLayout(); - this._logSplitter.SuspendLayout(); - this._logPanel.SuspendLayout(); - this.SuspendLayout(); + components = new Container(); + scMain = new SplitContainer(); + tableLayoutPanel1 = new TableLayoutPanel(); + panel2 = new Panel(); + treeView1 = new TreeView(); + imageList1 = new ImageList(components); + toolStrip2 = new ToolStrip(); + toolStripButton3 = new ToolStripSplitButton(); + btnServer = new ToolStripMenuItem(); + connectToWebsiteToolStripMenuItem = new ToolStripMenuItem(); + connectToApplicationToolStripMenuItem = new ToolStripMenuItem(); + btnSave = new ToolStripButton(); + toolStripSeparator2 = new ToolStripSeparator(); + btnUp = new ToolStripButton(); + toolStripSeparator1 = new ToolStripSeparator(); + btnDisconnect = new ToolStripButton(); + panel1 = new Panel(); + label1 = new Label(); + cmsServer = new ContextMenuStrip(components); + refreshToolStripMenuItem = new ToolStripMenuItem(); + toolStripMenuItem1 = new ToolStripSeparator(); + removeConnectionToolStripMenuItem = new ToolStripMenuItem(); + toolStripMenuItem4 = new ToolStripSeparator(); + addWebsiteToolStripMenuItem = new ToolStripMenuItem(); + toolStripMenuItem2 = new ToolStripSeparator(); + btnStartServer = new ToolStripMenuItem(); + btnStopServer = new ToolStripMenuItem(); + toolStripMenuItem3 = new ToolStripSeparator(); + btnRenameServer = new ToolStripMenuItem(); + toolStripMenuItem5 = new ToolStripSeparator(); + btnOpenConfig = new ToolStripMenuItem(); + toolStripMenuItem40 = new ToolStripSeparator(); + switchToContentViewToolStripMenuItem = new ToolStripMenuItem(); + cmsApplicationPools = new ContextMenuStrip(components); + addApplicationPoolToolStripMenuItem = new ToolStripMenuItem(); + toolStripMenuItem6 = new ToolStripSeparator(); + refreshToolStripMenuItem1 = new ToolStripMenuItem(); + cmsSites = new ContextMenuStrip(components); + addWebsiteToolStripMenuItem1 = new ToolStripMenuItem(); + toolStripMenuItem7 = new ToolStripSeparator(); + refreshToolStripMenuItem2 = new ToolStripMenuItem(); + toolStripMenuItem8 = new ToolStripSeparator(); + switchToContentViewToolStripMenuItem1 = new ToolStripMenuItem(); + cmsSite = new ContextMenuStrip(components); + exploreToolStripMenuItem = new ToolStripMenuItem(); + editPermissionsToolStripMenuItem = new ToolStripMenuItem(); + toolStripMenuItem10 = new ToolStripSeparator(); + btnApplication = new ToolStripMenuItem(); + addVirtualDirectoryToolStripMenuItem = new ToolStripMenuItem(); + toolStripMenuItem11 = new ToolStripSeparator(); + editBindingsToolStripMenuItem = new ToolStripMenuItem(); + toolStripMenuItem12 = new ToolStripSeparator(); + manageWebsiteToolStripMenuItem = new ToolStripMenuItem(); + btnRestartSite = new ToolStripMenuItem(); + startToolStripMenuItem1 = new ToolStripMenuItem(); + stopToolStripMenuItem2 = new ToolStripMenuItem(); + toolStripMenuItem26 = new ToolStripSeparator(); + btnBrowseSite = new ToolStripMenuItem(); + toolStripMenuItem27 = new ToolStripSeparator(); + advancedSettingsToolStripMenuItem1 = new ToolStripMenuItem(); + toolStripMenuItem13 = new ToolStripSeparator(); + refreshToolStripMenuItem3 = new ToolStripMenuItem(); + removeToolStripMenuItem = new ToolStripMenuItem(); + toolStripMenuItem14 = new ToolStripSeparator(); + renameToolStripMenuItem1 = new ToolStripMenuItem(); + toolStripMenuItem17 = new ToolStripSeparator(); + switchToContentViewToolStripMenuItem2 = new ToolStripMenuItem(); + statusStrip1 = new StatusStrip(); + txtInfo = new ToolStripStatusLabel(); + menuStrip1 = new MenuStrip(); + fileToolStripMenuItem = new ToolStripMenuItem(); + connectToAServerToolStripMenuItem = new ToolStripMenuItem(); + connectToAWebsiteToolStripMenuItem = new ToolStripMenuItem(); + connectToAnApplicationToolStripMenuItem = new ToolStripMenuItem(); + toolStripMenuItem22 = new ToolStripSeparator(); + saveConnectionsToolStripMenuItem = new ToolStripMenuItem(); + disconnectToolStripMenuItem = new ToolStripMenuItem(); + toolStripMenuItem21 = new ToolStripSeparator(); + runAsAdministratorToolStripMenuItem = new ToolStripMenuItem(); + exitToolStripMenuItem = new ToolStripMenuItem(); + viewToolStripMenuItem = new ToolStripMenuItem(); + backToolStripMenuItem = new ToolStripMenuItem(); + forwardToolStripMenuItem = new ToolStripMenuItem(); + upOneLevelToolStripMenuItem = new ToolStripMenuItem(); + homeToolStripMenuItem = new ToolStripMenuItem(); + toolStripMenuItem19 = new ToolStripSeparator(); + stopToolStripMenuItem1 = new ToolStripMenuItem(); + refreshToolStripMenuItem4 = new ToolStripMenuItem(); + toolStripMenuItem20 = new ToolStripSeparator(); + groupByToolStripMenuItem = new ToolStripMenuItem(); + sortByToolStripMenuItem = new ToolStripMenuItem(); + viewToolStripMenuItem1 = new ToolStripMenuItem(); + helpToolStripMenuItem = new ToolStripMenuItem(); + iISHelpToolStripMenuItem = new ToolStripMenuItem(); + iISOnMSDNOnlineToolStripMenuItem = new ToolStripMenuItem(); + iISNETOnlineToolStripMenuItem = new ToolStripMenuItem(); + iISKBsOnlineToolStripMenuItem = new ToolStripMenuItem(); + toolStripMenuItem28 = new ToolStripSeparator(); + btnUpdate = new ToolStripMenuItem(); + toolStripMenuItem18 = new ToolStripSeparator(); + btnAbout = new ToolStripMenuItem(); + actionList1 = new ActionList(); + actConnectServer = new Action(); + actSave = new Action(); + actUp = new Action(); + actDisconnect = new Action(); + actCreateSite = new Action(); + actExplore = new Action(); + actEditPermissions = new Action(); + actCreateApplication = new Action(); + actCreateVirtualDirectory = new Action(); + actBrowse = new Action(); + actConnectSite = new Action(); + actConnectionApplication = new Action(); + actRunAsAdmin = new Action(); + actBack = new Action(); + actForward = new Action(); + connectToAServerToolStripMenuItem1 = new ToolStripMenuItem(); + connectToAWebsiteToolStripMenuItem1 = new ToolStripMenuItem(); + connectToAnApplicationToolStripMenuItem1 = new ToolStripMenuItem(); + addApplicationToolStripMenuItem = new ToolStripMenuItem(); + toolStripMenuItem38 = new ToolStripMenuItem(); + toolStripMenuItem49 = new ToolStripMenuItem(); + exploreToolStripMenuItem1 = new ToolStripMenuItem(); + editPermissionsToolStripMenuItem1 = new ToolStripMenuItem(); + addVirtualDirectoryToolStripMenuItem1 = new ToolStripMenuItem(); + btnBrowseApplication = new ToolStripMenuItem(); + toolStripMenuItem36 = new ToolStripMenuItem(); + toolStripMenuItem37 = new ToolStripMenuItem(); + toolStripMenuItem39 = new ToolStripMenuItem(); + toolStripMenuItem41 = new ToolStripMenuItem(); + toolStripMenuItem46 = new ToolStripMenuItem(); + toolStripMenuItem47 = new ToolStripMenuItem(); + toolStripMenuItem50 = new ToolStripMenuItem(); + toolStripMenuItem52 = new ToolStripMenuItem(); + cmsIis = new ContextMenuStrip(components); + refreshToolStripMenuItem5 = new ToolStripMenuItem(); + toolStripMenuItem23 = new ToolStripSeparator(); + cmsApplication = new ContextMenuStrip(components); + toolStripMenuItem9 = new ToolStripSeparator(); + toolStripMenuItem15 = new ToolStripSeparator(); + manageApplicationToolStripMenuItem = new ToolStripMenuItem(); + toolStripMenuItem25 = new ToolStripSeparator(); + advancedSettingsToolStripMenuItem = new ToolStripMenuItem(); + toolStripMenuItem16 = new ToolStripSeparator(); + refreshToolStripMenuItem6 = new ToolStripMenuItem(); + removeToolStripMenuItem1 = new ToolStripMenuItem(); + toolStripMenuItem24 = new ToolStripSeparator(); + switchToContentViewToolStripMenuItem3 = new ToolStripMenuItem(); + cmsFarm = new ContextMenuStrip(components); + refreshToolStripMenuItem7 = new ToolStripMenuItem(); + toolStripMenuItem29 = new ToolStripSeparator(); + btnCreateFarm = new ToolStripMenuItem(); + toolStripMenuItem30 = new ToolStripSeparator(); + switchToContentViewToolStripMenuItem4 = new ToolStripMenuItem(); + cmsFarmServer = new ContextMenuStrip(components); + refreshToolStripMenuItem8 = new ToolStripMenuItem(); + btnRemoveFarmServer = new ToolStripMenuItem(); + toolStripMenuItem31 = new ToolStripSeparator(); + btnAddFarmServer = new ToolStripMenuItem(); + toolStripMenuItem32 = new ToolStripSeparator(); + btnRenameFarmServer = new ToolStripMenuItem(); + toolStripMenuItem33 = new ToolStripSeparator(); + switchToContentViewToolStripMenuItem5 = new ToolStripMenuItem(); + cmsServers = new ContextMenuStrip(components); + refreshToolStripMenuItem9 = new ToolStripMenuItem(); + toolStripMenuItem34 = new ToolStripSeparator(); + addServerToolStripMenuItem = new ToolStripMenuItem(); + toolStripMenuItem35 = new ToolStripSeparator(); + switchToContentViewToolStripMenuItem6 = new ToolStripMenuItem(); + cmsVirtualDirectory = new ContextMenuStrip(components); + toolStripSeparator3 = new ToolStripSeparator(); + convertToApplicationToolStripMenuItem = new ToolStripMenuItem(); + toolStripSeparator4 = new ToolStripSeparator(); + manageVirtualDirectoryToolStripMenuItem = new ToolStripMenuItem(); + toolStripSeparator5 = new ToolStripSeparator(); + toolStripMenuItem42 = new ToolStripMenuItem(); + toolStripSeparator6 = new ToolStripSeparator(); + toolStripMenuItem43 = new ToolStripMenuItem(); + toolStripMenuItem44 = new ToolStripMenuItem(); + toolStripSeparator7 = new ToolStripSeparator(); + toolStripMenuItem45 = new ToolStripMenuItem(); + cmsPhysicalDirectory = new ContextMenuStrip(components); + toolStripSeparator8 = new ToolStripSeparator(); + toolStripMenuItem48 = new ToolStripMenuItem(); + toolStripSeparator9 = new ToolStripSeparator(); + manageFolderToolStripMenuItem = new ToolStripMenuItem(); + toolStripSeparator11 = new ToolStripSeparator(); + toolStripMenuItem54 = new ToolStripMenuItem(); + toolStripSeparator12 = new ToolStripSeparator(); + toolStripMenuItem56 = new ToolStripMenuItem(); + _logSplitter = new SplitContainer(); + _logPanel = new Panel(); + ((ISupportInitialize)scMain).BeginInit(); + scMain.Panel1.SuspendLayout(); + scMain.SuspendLayout(); + tableLayoutPanel1.SuspendLayout(); + panel2.SuspendLayout(); + toolStrip2.SuspendLayout(); + panel1.SuspendLayout(); + cmsServer.SuspendLayout(); + cmsApplicationPools.SuspendLayout(); + cmsSites.SuspendLayout(); + cmsSite.SuspendLayout(); + statusStrip1.SuspendLayout(); + menuStrip1.SuspendLayout(); + ((ISupportInitialize)actionList1).BeginInit(); + cmsIis.SuspendLayout(); + cmsApplication.SuspendLayout(); + cmsFarm.SuspendLayout(); + cmsFarmServer.SuspendLayout(); + cmsServers.SuspendLayout(); + cmsVirtualDirectory.SuspendLayout(); + cmsPhysicalDirectory.SuspendLayout(); + ((ISupportInitialize)_logSplitter).BeginInit(); + _logSplitter.Panel1.SuspendLayout(); + _logSplitter.Panel2.SuspendLayout(); + _logSplitter.SuspendLayout(); + SuspendLayout(); // // scMain // - this.scMain.Dock = System.Windows.Forms.DockStyle.Fill; - this.scMain.Location = new System.Drawing.Point(0, 0); - this.scMain.Name = "scMain"; + scMain.Dock = DockStyle.Fill; + scMain.Location = new System.Drawing.Point(0, 0); + scMain.Name = "scMain"; // // scMain.Panel1 // - this.scMain.Panel1.Controls.Add(this.tableLayoutPanel1); - this.scMain.Panel1MinSize = 150; - this.scMain.Size = new System.Drawing.Size(915, 451); - this.scMain.SplitterDistance = 175; - this.scMain.SplitterWidth = 5; - this.scMain.TabIndex = 0; - this.scMain.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.scMain_SplitterMoved); + scMain.Panel1.Controls.Add(tableLayoutPanel1); + scMain.Panel1MinSize = 150; + scMain.Size = new System.Drawing.Size(915, 451); + scMain.SplitterDistance = 175; + scMain.SplitterWidth = 5; + scMain.TabIndex = 0; + scMain.SplitterMoved += scMain_SplitterMoved; // // tableLayoutPanel1 // - this.tableLayoutPanel1.ColumnCount = 1; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel1.Controls.Add(this.panel2, 0, 1); - this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 0); - this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); - this.tableLayoutPanel1.Name = "tableLayoutPanel1"; - this.tableLayoutPanel1.RowCount = 2; - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 27F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 23F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 23F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(175, 451); - this.tableLayoutPanel1.TabIndex = 3; + tableLayoutPanel1.ColumnCount = 1; + tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); + tableLayoutPanel1.Controls.Add(panel2, 0, 1); + tableLayoutPanel1.Controls.Add(panel1, 0, 0); + tableLayoutPanel1.Dock = DockStyle.Fill; + tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); + tableLayoutPanel1.Name = "tableLayoutPanel1"; + tableLayoutPanel1.RowCount = 2; + tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 27F)); + tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); + tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 23F)); + tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 23F)); + tableLayoutPanel1.Size = new System.Drawing.Size(175, 451); + tableLayoutPanel1.TabIndex = 3; // // panel2 // - this.panel2.Controls.Add(this.treeView1); - this.panel2.Controls.Add(this.toolStrip2); - this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel2.Location = new System.Drawing.Point(3, 30); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(169, 418); - this.panel2.TabIndex = 0; + panel2.Controls.Add(treeView1); + panel2.Controls.Add(toolStrip2); + panel2.Dock = DockStyle.Fill; + panel2.Location = new System.Drawing.Point(3, 30); + panel2.Name = "panel2"; + panel2.Size = new System.Drawing.Size(169, 418); + panel2.TabIndex = 0; // // treeView1 // - this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill; - this.treeView1.HideSelection = false; - this.treeView1.ImageIndex = 0; - this.treeView1.ImageList = this.imageList1; - this.treeView1.LabelEdit = true; - this.treeView1.Location = new System.Drawing.Point(0, 39); - this.treeView1.Name = "treeView1"; - this.treeView1.SelectedImageIndex = 0; - this.treeView1.Size = new System.Drawing.Size(169, 379); - this.treeView1.TabIndex = 0; - this.treeView1.BeforeLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(this.treeView1_BeforeLabelEdit); - this.treeView1.AfterLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(this.treeView1_AfterLabelEdit); - this.treeView1.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.treeView1_BeforeExpand); - this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect); - this.treeView1.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView1_NodeMouseClick); - this.treeView1.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView1_NodeMouseDoubleClick); + treeView1.Dock = DockStyle.Fill; + treeView1.HideSelection = false; + treeView1.ImageIndex = 0; + treeView1.ImageList = imageList1; + treeView1.LabelEdit = true; + treeView1.Location = new System.Drawing.Point(0, 39); + treeView1.Name = "treeView1"; + treeView1.SelectedImageIndex = 0; + treeView1.Size = new System.Drawing.Size(169, 379); + treeView1.TabIndex = 0; + treeView1.BeforeLabelEdit += treeView1_BeforeLabelEdit; + treeView1.AfterLabelEdit += treeView1_AfterLabelEdit; + treeView1.BeforeExpand += treeView1_BeforeExpand; + treeView1.AfterSelect += treeView1_AfterSelect; + treeView1.NodeMouseClick += treeView1_NodeMouseClick; + treeView1.NodeMouseDoubleClick += treeView1_NodeMouseDoubleClick; // // imageList1 // - this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit; - this.imageList1.ImageSize = new System.Drawing.Size(16, 16); - this.imageList1.TransparentColor = System.Drawing.Color.Transparent; + imageList1.ColorDepth = ColorDepth.Depth32Bit; + imageList1.ImageSize = new System.Drawing.Size(16, 16); + imageList1.TransparentColor = System.Drawing.Color.Transparent; // // toolStrip2 // - this.toolStrip2.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; - this.toolStrip2.ImageScalingSize = new System.Drawing.Size(32, 32); - this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripButton3, - this.btnSave, - this.toolStripSeparator2, - this.btnUp, - this.toolStripSeparator1, - this.btnDisconnect}); - this.toolStrip2.Location = new System.Drawing.Point(0, 0); - this.toolStrip2.Name = "toolStrip2"; - this.toolStrip2.Padding = new System.Windows.Forms.Padding(0, 0, 2, 0); - this.toolStrip2.Size = new System.Drawing.Size(169, 39); - this.toolStrip2.TabIndex = 6; - this.toolStrip2.Text = "toolStrip2"; + toolStrip2.GripStyle = ToolStripGripStyle.Hidden; + toolStrip2.ImageScalingSize = new System.Drawing.Size(32, 32); + toolStrip2.Items.AddRange(new ToolStripItem[] { toolStripButton3, btnSave, toolStripSeparator2, btnUp, toolStripSeparator1, btnDisconnect }); + toolStrip2.Location = new System.Drawing.Point(0, 0); + toolStrip2.Name = "toolStrip2"; + toolStrip2.Padding = new Padding(0, 0, 2, 0); + toolStrip2.Size = new System.Drawing.Size(169, 39); + toolStrip2.TabIndex = 6; + toolStrip2.Text = "toolStrip2"; // // toolStripButton3 // - this.toolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.toolStripButton3.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.btnServer, - this.connectToWebsiteToolStripMenuItem, - this.connectToApplicationToolStripMenuItem}); - this.toolStripButton3.Image = global::JexusManager.Main.Properties.Resources.connect_16; - this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButton3.Name = "toolStripButton3"; - this.toolStripButton3.Size = new System.Drawing.Size(48, 36); - this.toolStripButton3.Text = "Create New Connection"; + toolStripButton3.DisplayStyle = ToolStripItemDisplayStyle.Image; + toolStripButton3.DropDownItems.AddRange(new ToolStripItem[] { btnServer, connectToWebsiteToolStripMenuItem, connectToApplicationToolStripMenuItem }); + toolStripButton3.Image = Main.Properties.Resources.connect_16; + toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta; + toolStripButton3.Name = "toolStripButton3"; + toolStripButton3.Size = new System.Drawing.Size(48, 36); + toolStripButton3.Text = "Create New Connection"; // // btnServer // - this.actionList1.SetAction(this.btnServer, this.actConnectServer); - this.btnServer.Name = "btnServer"; - this.btnServer.Size = new System.Drawing.Size(222, 22); - this.btnServer.Text = "Connect to a Server..."; - this.btnServer.ToolTipText = "Connect to a Server..."; + actionList1.SetAction(btnServer, actConnectServer); + btnServer.Name = "btnServer"; + btnServer.Size = new System.Drawing.Size(222, 22); + btnServer.Text = "Connect to a Server..."; + btnServer.ToolTipText = "Connect to a Server..."; // // connectToWebsiteToolStripMenuItem // - this.connectToWebsiteToolStripMenuItem.Enabled = false; - this.connectToWebsiteToolStripMenuItem.Image = global::JexusManager.Main.Properties.Resources.site_16; - this.connectToWebsiteToolStripMenuItem.Name = "connectToWebsiteToolStripMenuItem"; - this.connectToWebsiteToolStripMenuItem.Size = new System.Drawing.Size(222, 22); - this.connectToWebsiteToolStripMenuItem.Text = "Connect to a Website..."; + connectToWebsiteToolStripMenuItem.Enabled = false; + connectToWebsiteToolStripMenuItem.Image = Main.Properties.Resources.site_16; + connectToWebsiteToolStripMenuItem.Name = "connectToWebsiteToolStripMenuItem"; + connectToWebsiteToolStripMenuItem.Size = new System.Drawing.Size(222, 22); + connectToWebsiteToolStripMenuItem.Text = "Connect to a Website..."; // // connectToApplicationToolStripMenuItem // - this.connectToApplicationToolStripMenuItem.Enabled = false; - this.connectToApplicationToolStripMenuItem.Image = global::JexusManager.Main.Properties.Resources.application_16; - this.connectToApplicationToolStripMenuItem.Name = "connectToApplicationToolStripMenuItem"; - this.connectToApplicationToolStripMenuItem.Size = new System.Drawing.Size(222, 22); - this.connectToApplicationToolStripMenuItem.Text = "Connect to an Application..."; + connectToApplicationToolStripMenuItem.Enabled = false; + connectToApplicationToolStripMenuItem.Image = Main.Properties.Resources.application_16; + connectToApplicationToolStripMenuItem.Name = "connectToApplicationToolStripMenuItem"; + connectToApplicationToolStripMenuItem.Size = new System.Drawing.Size(222, 22); + connectToApplicationToolStripMenuItem.Text = "Connect to an Application..."; // // btnSave // - this.actionList1.SetAction(this.btnSave, this.actSave); - this.btnSave.AutoToolTip = false; - this.btnSave.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btnSave.Enabled = false; - this.btnSave.Name = "btnSave"; - this.btnSave.Size = new System.Drawing.Size(36, 36); - this.btnSave.Text = "Save Connections"; - this.btnSave.ToolTipText = "Save Connections"; + actionList1.SetAction(btnSave, actSave); + btnSave.AutoToolTip = false; + btnSave.DisplayStyle = ToolStripItemDisplayStyle.Image; + btnSave.Enabled = false; + btnSave.Name = "btnSave"; + btnSave.Size = new System.Drawing.Size(36, 36); + btnSave.Text = "Save Connections"; + btnSave.ToolTipText = "Save Connections"; // // toolStripSeparator2 // - this.toolStripSeparator2.Name = "toolStripSeparator2"; - this.toolStripSeparator2.Size = new System.Drawing.Size(6, 39); + toolStripSeparator2.Name = "toolStripSeparator2"; + toolStripSeparator2.Size = new System.Drawing.Size(6, 39); // // btnUp // - this.actionList1.SetAction(this.btnUp, this.actUp); - this.btnUp.AutoToolTip = false; - this.btnUp.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btnUp.Enabled = false; - this.btnUp.Name = "btnUp"; - this.btnUp.Size = new System.Drawing.Size(36, 36); - this.btnUp.Text = "Up One Level"; - this.btnUp.ToolTipText = "Up One Level"; + actionList1.SetAction(btnUp, actUp); + btnUp.AutoToolTip = false; + btnUp.DisplayStyle = ToolStripItemDisplayStyle.Image; + btnUp.Enabled = false; + btnUp.Name = "btnUp"; + btnUp.Size = new System.Drawing.Size(36, 36); + btnUp.Text = "Up One Level"; + btnUp.ToolTipText = "Up One Level"; // // toolStripSeparator1 // - this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(6, 39); + toolStripSeparator1.Name = "toolStripSeparator1"; + toolStripSeparator1.Size = new System.Drawing.Size(6, 39); // // btnDisconnect // - this.actionList1.SetAction(this.btnDisconnect, this.actDisconnect); - this.btnDisconnect.AutoToolTip = false; - this.btnDisconnect.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btnDisconnect.Enabled = false; - this.btnDisconnect.Name = "btnDisconnect"; - this.btnDisconnect.Size = new System.Drawing.Size(36, 36); - this.btnDisconnect.Text = "Disconnect"; - this.btnDisconnect.ToolTipText = "Disconnect"; + actionList1.SetAction(btnDisconnect, actDisconnect); + btnDisconnect.AutoToolTip = false; + btnDisconnect.DisplayStyle = ToolStripItemDisplayStyle.Image; + btnDisconnect.Enabled = false; + btnDisconnect.Name = "btnDisconnect"; + btnDisconnect.Size = new System.Drawing.Size(36, 36); + btnDisconnect.Text = "Disconnect"; + btnDisconnect.ToolTipText = "Disconnect"; // // panel1 // - this.panel1.BackColor = System.Drawing.SystemColors.ActiveBorder; - this.panel1.Controls.Add(this.label1); - this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel1.Location = new System.Drawing.Point(0, 0); - this.panel1.Margin = new System.Windows.Forms.Padding(0); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(175, 27); - this.panel1.TabIndex = 1; + panel1.BackColor = System.Drawing.SystemColors.ActiveBorder; + panel1.Controls.Add(label1); + panel1.Dock = DockStyle.Fill; + panel1.Location = new System.Drawing.Point(0, 0); + panel1.Margin = new Padding(0); + panel1.Name = "panel1"; + panel1.Size = new System.Drawing.Size(175, 27); + panel1.TabIndex = 1; // // label1 // - this.label1.AutoSize = true; - this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); - this.label1.Location = new System.Drawing.Point(3, 6); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(77, 13); - this.label1.TabIndex = 0; - this.label1.Text = "Connections"; + label1.AutoSize = true; + label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold); + label1.Location = new System.Drawing.Point(3, 6); + label1.Name = "label1"; + label1.Size = new System.Drawing.Size(77, 13); + label1.TabIndex = 0; + label1.Text = "Connections"; // // cmsServer // - this.cmsServer.ImageScalingSize = new System.Drawing.Size(32, 32); - this.cmsServer.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.refreshToolStripMenuItem, - this.toolStripMenuItem1, - this.removeConnectionToolStripMenuItem, - this.toolStripMenuItem4, - this.addWebsiteToolStripMenuItem, - this.toolStripMenuItem2, - this.btnStartServer, - this.btnStopServer, - this.toolStripMenuItem3, - this.btnRenameServer, - this.toolStripMenuItem5, - this.btnOpenConfig, - this.toolStripMenuItem40, - this.switchToContentViewToolStripMenuItem}); - this.cmsServer.Name = "cmsServer"; - this.cmsServer.Size = new System.Drawing.Size(218, 344); + cmsServer.ImageScalingSize = new System.Drawing.Size(32, 32); + cmsServer.Items.AddRange(new ToolStripItem[] { refreshToolStripMenuItem, toolStripMenuItem1, removeConnectionToolStripMenuItem, toolStripMenuItem4, addWebsiteToolStripMenuItem, toolStripMenuItem2, btnStartServer, btnStopServer, toolStripMenuItem3, btnRenameServer, toolStripMenuItem5, btnOpenConfig, toolStripMenuItem40, switchToContentViewToolStripMenuItem }); + cmsServer.Name = "cmsServer"; + cmsServer.Size = new System.Drawing.Size(218, 344); // // refreshToolStripMenuItem // - this.refreshToolStripMenuItem.Enabled = false; - this.refreshToolStripMenuItem.Image = global::JexusManager.Main.Properties.Resources.refresh_16; - this.refreshToolStripMenuItem.Name = "refreshToolStripMenuItem"; - this.refreshToolStripMenuItem.Size = new System.Drawing.Size(217, 38); - this.refreshToolStripMenuItem.Text = "Refresh"; + refreshToolStripMenuItem.Enabled = false; + refreshToolStripMenuItem.Image = Main.Properties.Resources.refresh_16; + refreshToolStripMenuItem.Name = "refreshToolStripMenuItem"; + refreshToolStripMenuItem.Size = new System.Drawing.Size(217, 38); + refreshToolStripMenuItem.Text = "Refresh"; // // toolStripMenuItem1 // - this.toolStripMenuItem1.Name = "toolStripMenuItem1"; - this.toolStripMenuItem1.Size = new System.Drawing.Size(214, 6); + toolStripMenuItem1.Name = "toolStripMenuItem1"; + toolStripMenuItem1.Size = new System.Drawing.Size(214, 6); // // removeConnectionToolStripMenuItem // - this.actionList1.SetAction(this.removeConnectionToolStripMenuItem, this.actDisconnect); - this.removeConnectionToolStripMenuItem.Enabled = false; - this.removeConnectionToolStripMenuItem.Name = "removeConnectionToolStripMenuItem"; - this.removeConnectionToolStripMenuItem.Size = new System.Drawing.Size(217, 38); - this.removeConnectionToolStripMenuItem.Text = "Disconnect"; - this.removeConnectionToolStripMenuItem.ToolTipText = "Disconnect"; + actionList1.SetAction(removeConnectionToolStripMenuItem, actDisconnect); + removeConnectionToolStripMenuItem.Enabled = false; + removeConnectionToolStripMenuItem.Name = "removeConnectionToolStripMenuItem"; + removeConnectionToolStripMenuItem.Size = new System.Drawing.Size(217, 38); + removeConnectionToolStripMenuItem.Text = "Disconnect"; + removeConnectionToolStripMenuItem.ToolTipText = "Disconnect"; // // toolStripMenuItem4 // - this.toolStripMenuItem4.Name = "toolStripMenuItem4"; - this.toolStripMenuItem4.Size = new System.Drawing.Size(214, 6); + toolStripMenuItem4.Name = "toolStripMenuItem4"; + toolStripMenuItem4.Size = new System.Drawing.Size(214, 6); // // addWebsiteToolStripMenuItem // - this.actionList1.SetAction(this.addWebsiteToolStripMenuItem, this.actCreateSite); - this.addWebsiteToolStripMenuItem.AutoToolTip = true; - this.addWebsiteToolStripMenuItem.Name = "addWebsiteToolStripMenuItem"; - this.addWebsiteToolStripMenuItem.Size = new System.Drawing.Size(217, 38); - this.addWebsiteToolStripMenuItem.Text = "Add Website..."; + actionList1.SetAction(addWebsiteToolStripMenuItem, actCreateSite); + addWebsiteToolStripMenuItem.AutoToolTip = true; + addWebsiteToolStripMenuItem.Name = "addWebsiteToolStripMenuItem"; + addWebsiteToolStripMenuItem.Size = new System.Drawing.Size(217, 38); + addWebsiteToolStripMenuItem.Text = "Add Website..."; // // toolStripMenuItem2 // - this.toolStripMenuItem2.Name = "toolStripMenuItem2"; - this.toolStripMenuItem2.Size = new System.Drawing.Size(214, 6); + toolStripMenuItem2.Name = "toolStripMenuItem2"; + toolStripMenuItem2.Size = new System.Drawing.Size(214, 6); // // btnStartServer // - this.btnStartServer.Enabled = false; - this.btnStartServer.Image = global::JexusManager.Main.Properties.Resources.start_16; - this.btnStartServer.Name = "btnStartServer"; - this.btnStartServer.Size = new System.Drawing.Size(217, 38); - this.btnStartServer.Text = "Start"; + btnStartServer.Enabled = false; + btnStartServer.Image = Main.Properties.Resources.start_16; + btnStartServer.Name = "btnStartServer"; + btnStartServer.Size = new System.Drawing.Size(217, 38); + btnStartServer.Text = "Start"; // // btnStopServer // - this.btnStopServer.Enabled = false; - this.btnStopServer.Image = global::JexusManager.Main.Properties.Resources.stop_16; - this.btnStopServer.Name = "btnStopServer"; - this.btnStopServer.Size = new System.Drawing.Size(217, 38); - this.btnStopServer.Text = "Stop"; + btnStopServer.Enabled = false; + btnStopServer.Image = Main.Properties.Resources.stop_16; + btnStopServer.Name = "btnStopServer"; + btnStopServer.Size = new System.Drawing.Size(217, 38); + btnStopServer.Text = "Stop"; // // toolStripMenuItem3 // - this.toolStripMenuItem3.Name = "toolStripMenuItem3"; - this.toolStripMenuItem3.Size = new System.Drawing.Size(214, 6); + toolStripMenuItem3.Name = "toolStripMenuItem3"; + toolStripMenuItem3.Size = new System.Drawing.Size(214, 6); // // btnRenameServer // - this.btnRenameServer.Enabled = false; - this.btnRenameServer.Name = "btnRenameServer"; - this.btnRenameServer.Size = new System.Drawing.Size(217, 38); - this.btnRenameServer.Text = "Rename"; + btnRenameServer.Enabled = false; + btnRenameServer.Name = "btnRenameServer"; + btnRenameServer.Size = new System.Drawing.Size(217, 38); + btnRenameServer.Text = "Rename"; // // toolStripMenuItem5 // - this.toolStripMenuItem5.Name = "toolStripMenuItem5"; - this.toolStripMenuItem5.Size = new System.Drawing.Size(214, 6); + toolStripMenuItem5.Name = "toolStripMenuItem5"; + toolStripMenuItem5.Size = new System.Drawing.Size(214, 6); // // btnOpenConfig // - this.btnOpenConfig.Name = "btnOpenConfig"; - this.btnOpenConfig.Size = new System.Drawing.Size(217, 38); - this.btnOpenConfig.Text = "Open Configuration File"; - this.btnOpenConfig.Click += new System.EventHandler(this.btnOpenConfig_Click); + btnOpenConfig.Name = "btnOpenConfig"; + btnOpenConfig.Size = new System.Drawing.Size(217, 38); + btnOpenConfig.Text = "Open Configuration File"; + btnOpenConfig.Click += btnOpenConfig_Click; // // toolStripMenuItem40 // - this.toolStripMenuItem40.Name = "toolStripMenuItem40"; - this.toolStripMenuItem40.Size = new System.Drawing.Size(214, 6); + toolStripMenuItem40.Name = "toolStripMenuItem40"; + toolStripMenuItem40.Size = new System.Drawing.Size(214, 6); // // switchToContentViewToolStripMenuItem // - this.switchToContentViewToolStripMenuItem.Enabled = false; - this.switchToContentViewToolStripMenuItem.Image = global::JexusManager.Main.Properties.Resources.switch_16; - this.switchToContentViewToolStripMenuItem.Name = "switchToContentViewToolStripMenuItem"; - this.switchToContentViewToolStripMenuItem.Size = new System.Drawing.Size(217, 38); - this.switchToContentViewToolStripMenuItem.Text = "Switch to Content View"; + switchToContentViewToolStripMenuItem.Enabled = false; + switchToContentViewToolStripMenuItem.Image = Main.Properties.Resources.switch_16; + switchToContentViewToolStripMenuItem.Name = "switchToContentViewToolStripMenuItem"; + switchToContentViewToolStripMenuItem.Size = new System.Drawing.Size(217, 38); + switchToContentViewToolStripMenuItem.Text = "Switch to Content View"; // // cmsApplicationPools // - this.cmsApplicationPools.ImageScalingSize = new System.Drawing.Size(32, 32); - this.cmsApplicationPools.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.addApplicationPoolToolStripMenuItem, - this.toolStripMenuItem6, - this.refreshToolStripMenuItem1}); - this.cmsApplicationPools.Name = "cmsApplicationPools"; - this.cmsApplicationPools.Size = new System.Drawing.Size(213, 86); + cmsApplicationPools.ImageScalingSize = new System.Drawing.Size(32, 32); + cmsApplicationPools.Items.AddRange(new ToolStripItem[] { addApplicationPoolToolStripMenuItem, toolStripMenuItem6, refreshToolStripMenuItem1 }); + cmsApplicationPools.Name = "cmsApplicationPools"; + cmsApplicationPools.Size = new System.Drawing.Size(213, 86); // // addApplicationPoolToolStripMenuItem // - this.addApplicationPoolToolStripMenuItem.Enabled = false; - this.addApplicationPoolToolStripMenuItem.Name = "addApplicationPoolToolStripMenuItem"; - this.addApplicationPoolToolStripMenuItem.Size = new System.Drawing.Size(212, 38); - this.addApplicationPoolToolStripMenuItem.Text = "Add Application Pool..."; + addApplicationPoolToolStripMenuItem.Enabled = false; + addApplicationPoolToolStripMenuItem.Name = "addApplicationPoolToolStripMenuItem"; + addApplicationPoolToolStripMenuItem.Size = new System.Drawing.Size(212, 38); + addApplicationPoolToolStripMenuItem.Text = "Add Application Pool..."; // // toolStripMenuItem6 // - this.toolStripMenuItem6.Name = "toolStripMenuItem6"; - this.toolStripMenuItem6.Size = new System.Drawing.Size(209, 6); + toolStripMenuItem6.Name = "toolStripMenuItem6"; + toolStripMenuItem6.Size = new System.Drawing.Size(209, 6); // // refreshToolStripMenuItem1 // - this.refreshToolStripMenuItem1.Enabled = false; - this.refreshToolStripMenuItem1.Image = global::JexusManager.Main.Properties.Resources.refresh_16; - this.refreshToolStripMenuItem1.Name = "refreshToolStripMenuItem1"; - this.refreshToolStripMenuItem1.Size = new System.Drawing.Size(212, 38); - this.refreshToolStripMenuItem1.Text = "Refresh"; + refreshToolStripMenuItem1.Enabled = false; + refreshToolStripMenuItem1.Image = Main.Properties.Resources.refresh_16; + refreshToolStripMenuItem1.Name = "refreshToolStripMenuItem1"; + refreshToolStripMenuItem1.Size = new System.Drawing.Size(212, 38); + refreshToolStripMenuItem1.Text = "Refresh"; // // cmsSites // - this.cmsSites.ImageScalingSize = new System.Drawing.Size(32, 32); - this.cmsSites.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.addWebsiteToolStripMenuItem1, - this.toolStripMenuItem7, - this.refreshToolStripMenuItem2, - this.toolStripMenuItem8, - this.switchToContentViewToolStripMenuItem1}); - this.cmsSites.Name = "cmsSites"; - this.cmsSites.Size = new System.Drawing.Size(214, 130); + cmsSites.ImageScalingSize = new System.Drawing.Size(32, 32); + cmsSites.Items.AddRange(new ToolStripItem[] { addWebsiteToolStripMenuItem1, toolStripMenuItem7, refreshToolStripMenuItem2, toolStripMenuItem8, switchToContentViewToolStripMenuItem1 }); + cmsSites.Name = "cmsSites"; + cmsSites.Size = new System.Drawing.Size(214, 130); // // addWebsiteToolStripMenuItem1 // - this.actionList1.SetAction(this.addWebsiteToolStripMenuItem1, this.actCreateSite); - this.addWebsiteToolStripMenuItem1.AutoToolTip = true; - this.addWebsiteToolStripMenuItem1.Name = "addWebsiteToolStripMenuItem1"; - this.addWebsiteToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); - this.addWebsiteToolStripMenuItem1.Text = "Add Website..."; + actionList1.SetAction(addWebsiteToolStripMenuItem1, actCreateSite); + addWebsiteToolStripMenuItem1.AutoToolTip = true; + addWebsiteToolStripMenuItem1.Name = "addWebsiteToolStripMenuItem1"; + addWebsiteToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); + addWebsiteToolStripMenuItem1.Text = "Add Website..."; // // toolStripMenuItem7 // - this.toolStripMenuItem7.Name = "toolStripMenuItem7"; - this.toolStripMenuItem7.Size = new System.Drawing.Size(210, 6); + toolStripMenuItem7.Name = "toolStripMenuItem7"; + toolStripMenuItem7.Size = new System.Drawing.Size(210, 6); // // refreshToolStripMenuItem2 // - this.refreshToolStripMenuItem2.Enabled = false; - this.refreshToolStripMenuItem2.Name = "refreshToolStripMenuItem2"; - this.refreshToolStripMenuItem2.Size = new System.Drawing.Size(213, 38); - this.refreshToolStripMenuItem2.Text = "Refresh"; + refreshToolStripMenuItem2.Enabled = false; + refreshToolStripMenuItem2.Name = "refreshToolStripMenuItem2"; + refreshToolStripMenuItem2.Size = new System.Drawing.Size(213, 38); + refreshToolStripMenuItem2.Text = "Refresh"; // // toolStripMenuItem8 // - this.toolStripMenuItem8.Name = "toolStripMenuItem8"; - this.toolStripMenuItem8.Size = new System.Drawing.Size(210, 6); + toolStripMenuItem8.Name = "toolStripMenuItem8"; + toolStripMenuItem8.Size = new System.Drawing.Size(210, 6); // // switchToContentViewToolStripMenuItem1 // - this.switchToContentViewToolStripMenuItem1.Enabled = false; - this.switchToContentViewToolStripMenuItem1.Name = "switchToContentViewToolStripMenuItem1"; - this.switchToContentViewToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); - this.switchToContentViewToolStripMenuItem1.Text = "Switch to Content View"; + switchToContentViewToolStripMenuItem1.Enabled = false; + switchToContentViewToolStripMenuItem1.Name = "switchToContentViewToolStripMenuItem1"; + switchToContentViewToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); + switchToContentViewToolStripMenuItem1.Text = "Switch to Content View"; // // cmsSite // - this.cmsSite.ImageScalingSize = new System.Drawing.Size(32, 32); - this.cmsSite.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.exploreToolStripMenuItem, - this.editPermissionsToolStripMenuItem, - this.toolStripMenuItem10, - this.btnApplication, - this.addVirtualDirectoryToolStripMenuItem, - this.toolStripMenuItem11, - this.editBindingsToolStripMenuItem, - this.toolStripMenuItem12, - this.manageWebsiteToolStripMenuItem, - this.toolStripMenuItem13, - this.refreshToolStripMenuItem3, - this.removeToolStripMenuItem, - this.toolStripMenuItem14, - this.renameToolStripMenuItem1, - this.toolStripMenuItem17, - this.switchToContentViewToolStripMenuItem2}); - this.cmsSite.Name = "cmsSite"; - this.cmsSite.Size = new System.Drawing.Size(214, 420); + cmsSite.ImageScalingSize = new System.Drawing.Size(32, 32); + cmsSite.Items.AddRange(new ToolStripItem[] { exploreToolStripMenuItem, editPermissionsToolStripMenuItem, toolStripMenuItem10, btnApplication, addVirtualDirectoryToolStripMenuItem, toolStripMenuItem11, editBindingsToolStripMenuItem, toolStripMenuItem12, manageWebsiteToolStripMenuItem, toolStripMenuItem13, refreshToolStripMenuItem3, removeToolStripMenuItem, toolStripMenuItem14, renameToolStripMenuItem1, toolStripMenuItem17, switchToContentViewToolStripMenuItem2 }); + cmsSite.Name = "cmsSite"; + cmsSite.Size = new System.Drawing.Size(214, 420); // // exploreToolStripMenuItem // - this.actionList1.SetAction(this.exploreToolStripMenuItem, this.actExplore); - this.exploreToolStripMenuItem.AutoToolTip = true; - this.exploreToolStripMenuItem.Name = "exploreToolStripMenuItem"; - this.exploreToolStripMenuItem.Size = new System.Drawing.Size(213, 38); - this.exploreToolStripMenuItem.Text = "Explore"; + actionList1.SetAction(exploreToolStripMenuItem, actExplore); + exploreToolStripMenuItem.AutoToolTip = true; + exploreToolStripMenuItem.Name = "exploreToolStripMenuItem"; + exploreToolStripMenuItem.Size = new System.Drawing.Size(213, 38); + exploreToolStripMenuItem.Text = "Explore"; // // editPermissionsToolStripMenuItem // - this.actionList1.SetAction(this.editPermissionsToolStripMenuItem, this.actEditPermissions); - this.editPermissionsToolStripMenuItem.AutoToolTip = true; - this.editPermissionsToolStripMenuItem.Name = "editPermissionsToolStripMenuItem"; - this.editPermissionsToolStripMenuItem.Size = new System.Drawing.Size(213, 38); - this.editPermissionsToolStripMenuItem.Text = "Edit Permissions..."; + actionList1.SetAction(editPermissionsToolStripMenuItem, actEditPermissions); + editPermissionsToolStripMenuItem.AutoToolTip = true; + editPermissionsToolStripMenuItem.Name = "editPermissionsToolStripMenuItem"; + editPermissionsToolStripMenuItem.Size = new System.Drawing.Size(213, 38); + editPermissionsToolStripMenuItem.Text = "Edit Permissions..."; // // toolStripMenuItem10 // - this.toolStripMenuItem10.Name = "toolStripMenuItem10"; - this.toolStripMenuItem10.Size = new System.Drawing.Size(210, 6); + toolStripMenuItem10.Name = "toolStripMenuItem10"; + toolStripMenuItem10.Size = new System.Drawing.Size(210, 6); // // btnApplication // - this.actionList1.SetAction(this.btnApplication, this.actCreateApplication); - this.btnApplication.AutoToolTip = true; - this.btnApplication.Name = "btnApplication"; - this.btnApplication.Size = new System.Drawing.Size(213, 38); - this.btnApplication.Text = "Add Application..."; + actionList1.SetAction(btnApplication, actCreateApplication); + btnApplication.AutoToolTip = true; + btnApplication.Name = "btnApplication"; + btnApplication.Size = new System.Drawing.Size(213, 38); + btnApplication.Text = "Add Application..."; // // addVirtualDirectoryToolStripMenuItem // - this.actionList1.SetAction(this.addVirtualDirectoryToolStripMenuItem, this.actCreateVirtualDirectory); - this.addVirtualDirectoryToolStripMenuItem.AutoToolTip = true; - this.addVirtualDirectoryToolStripMenuItem.Name = "addVirtualDirectoryToolStripMenuItem"; - this.addVirtualDirectoryToolStripMenuItem.Size = new System.Drawing.Size(213, 38); - this.addVirtualDirectoryToolStripMenuItem.Text = "Add Virtual Directory..."; + actionList1.SetAction(addVirtualDirectoryToolStripMenuItem, actCreateVirtualDirectory); + addVirtualDirectoryToolStripMenuItem.AutoToolTip = true; + addVirtualDirectoryToolStripMenuItem.Name = "addVirtualDirectoryToolStripMenuItem"; + addVirtualDirectoryToolStripMenuItem.Size = new System.Drawing.Size(213, 38); + addVirtualDirectoryToolStripMenuItem.Text = "Add Virtual Directory..."; // // toolStripMenuItem11 // - this.toolStripMenuItem11.Name = "toolStripMenuItem11"; - this.toolStripMenuItem11.Size = new System.Drawing.Size(210, 6); + toolStripMenuItem11.Name = "toolStripMenuItem11"; + toolStripMenuItem11.Size = new System.Drawing.Size(210, 6); // // editBindingsToolStripMenuItem // - this.editBindingsToolStripMenuItem.Name = "editBindingsToolStripMenuItem"; - this.editBindingsToolStripMenuItem.Size = new System.Drawing.Size(213, 38); - this.editBindingsToolStripMenuItem.Text = "Edit Bindings..."; - this.editBindingsToolStripMenuItem.Click += new System.EventHandler(this.editBindingsToolStripMenuItem_Click); + editBindingsToolStripMenuItem.Name = "editBindingsToolStripMenuItem"; + editBindingsToolStripMenuItem.Size = new System.Drawing.Size(213, 38); + editBindingsToolStripMenuItem.Text = "Edit Bindings..."; + editBindingsToolStripMenuItem.Click += editBindingsToolStripMenuItem_Click; // // toolStripMenuItem12 // - this.toolStripMenuItem12.Name = "toolStripMenuItem12"; - this.toolStripMenuItem12.Size = new System.Drawing.Size(210, 6); + toolStripMenuItem12.Name = "toolStripMenuItem12"; + toolStripMenuItem12.Size = new System.Drawing.Size(210, 6); // // manageWebsiteToolStripMenuItem // - this.manageWebsiteToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.btnRestartSite, - this.startToolStripMenuItem1, - this.stopToolStripMenuItem2, - this.toolStripMenuItem26, - this.btnBrowseSite, - this.toolStripMenuItem27, - this.advancedSettingsToolStripMenuItem1}); - this.manageWebsiteToolStripMenuItem.Name = "manageWebsiteToolStripMenuItem"; - this.manageWebsiteToolStripMenuItem.Size = new System.Drawing.Size(213, 38); - this.manageWebsiteToolStripMenuItem.Text = "Manage Website"; + manageWebsiteToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { btnRestartSite, startToolStripMenuItem1, stopToolStripMenuItem2, toolStripMenuItem26, btnBrowseSite, toolStripMenuItem27, advancedSettingsToolStripMenuItem1 }); + manageWebsiteToolStripMenuItem.Name = "manageWebsiteToolStripMenuItem"; + manageWebsiteToolStripMenuItem.Size = new System.Drawing.Size(213, 38); + manageWebsiteToolStripMenuItem.Text = "Manage Website"; // // btnRestartSite // - this.btnRestartSite.Image = global::JexusManager.Main.Properties.Resources.restart_16; - this.btnRestartSite.Name = "btnRestartSite"; - this.btnRestartSite.Size = new System.Drawing.Size(181, 22); - this.btnRestartSite.Text = "Restart"; - this.btnRestartSite.Click += new System.EventHandler(this.btnRestartSite_Click); + btnRestartSite.Image = Main.Properties.Resources.restart_16; + btnRestartSite.Name = "btnRestartSite"; + btnRestartSite.Size = new System.Drawing.Size(181, 22); + btnRestartSite.Text = "Restart"; + btnRestartSite.Click += btnRestartSite_Click; // // startToolStripMenuItem1 // - this.startToolStripMenuItem1.Enabled = false; - this.startToolStripMenuItem1.Image = global::JexusManager.Main.Properties.Resources.start_16; - this.startToolStripMenuItem1.Name = "startToolStripMenuItem1"; - this.startToolStripMenuItem1.Size = new System.Drawing.Size(181, 22); - this.startToolStripMenuItem1.Text = "Start"; + startToolStripMenuItem1.Enabled = false; + startToolStripMenuItem1.Image = Main.Properties.Resources.start_16; + startToolStripMenuItem1.Name = "startToolStripMenuItem1"; + startToolStripMenuItem1.Size = new System.Drawing.Size(181, 22); + startToolStripMenuItem1.Text = "Start"; // // stopToolStripMenuItem2 // - this.stopToolStripMenuItem2.Enabled = false; - this.stopToolStripMenuItem2.Image = global::JexusManager.Main.Properties.Resources.stop_16; - this.stopToolStripMenuItem2.Name = "stopToolStripMenuItem2"; - this.stopToolStripMenuItem2.Size = new System.Drawing.Size(181, 22); - this.stopToolStripMenuItem2.Text = "Stop"; + stopToolStripMenuItem2.Enabled = false; + stopToolStripMenuItem2.Image = Main.Properties.Resources.stop_16; + stopToolStripMenuItem2.Name = "stopToolStripMenuItem2"; + stopToolStripMenuItem2.Size = new System.Drawing.Size(181, 22); + stopToolStripMenuItem2.Text = "Stop"; // // toolStripMenuItem26 // - this.toolStripMenuItem26.Name = "toolStripMenuItem26"; - this.toolStripMenuItem26.Size = new System.Drawing.Size(178, 6); + toolStripMenuItem26.Name = "toolStripMenuItem26"; + toolStripMenuItem26.Size = new System.Drawing.Size(178, 6); // // btnBrowseSite // - this.actionList1.SetAction(this.btnBrowseSite, this.actBrowse); - this.btnBrowseSite.AutoToolTip = true; - this.btnBrowseSite.Name = "btnBrowseSite"; - this.btnBrowseSite.Size = new System.Drawing.Size(181, 22); - this.btnBrowseSite.Text = "Browse"; + actionList1.SetAction(btnBrowseSite, actBrowse); + btnBrowseSite.AutoToolTip = true; + btnBrowseSite.Name = "btnBrowseSite"; + btnBrowseSite.Size = new System.Drawing.Size(181, 22); + btnBrowseSite.Text = "Browse"; // // toolStripMenuItem27 // - this.toolStripMenuItem27.Name = "toolStripMenuItem27"; - this.toolStripMenuItem27.Size = new System.Drawing.Size(178, 6); + toolStripMenuItem27.Name = "toolStripMenuItem27"; + toolStripMenuItem27.Size = new System.Drawing.Size(178, 6); // // advancedSettingsToolStripMenuItem1 // - this.advancedSettingsToolStripMenuItem1.Enabled = false; - this.advancedSettingsToolStripMenuItem1.Name = "advancedSettingsToolStripMenuItem1"; - this.advancedSettingsToolStripMenuItem1.Size = new System.Drawing.Size(181, 22); - this.advancedSettingsToolStripMenuItem1.Text = "Advanced Settings..."; + advancedSettingsToolStripMenuItem1.Enabled = false; + advancedSettingsToolStripMenuItem1.Name = "advancedSettingsToolStripMenuItem1"; + advancedSettingsToolStripMenuItem1.Size = new System.Drawing.Size(181, 22); + advancedSettingsToolStripMenuItem1.Text = "Advanced Settings..."; // // toolStripMenuItem13 // - this.toolStripMenuItem13.Name = "toolStripMenuItem13"; - this.toolStripMenuItem13.Size = new System.Drawing.Size(210, 6); + toolStripMenuItem13.Name = "toolStripMenuItem13"; + toolStripMenuItem13.Size = new System.Drawing.Size(210, 6); // // refreshToolStripMenuItem3 // - this.refreshToolStripMenuItem3.Enabled = false; - this.refreshToolStripMenuItem3.Image = global::JexusManager.Main.Properties.Resources.refresh_16; - this.refreshToolStripMenuItem3.Name = "refreshToolStripMenuItem3"; - this.refreshToolStripMenuItem3.Size = new System.Drawing.Size(213, 38); - this.refreshToolStripMenuItem3.Text = "Refresh"; + refreshToolStripMenuItem3.Enabled = false; + refreshToolStripMenuItem3.Image = Main.Properties.Resources.refresh_16; + refreshToolStripMenuItem3.Name = "refreshToolStripMenuItem3"; + refreshToolStripMenuItem3.Size = new System.Drawing.Size(213, 38); + refreshToolStripMenuItem3.Text = "Refresh"; // // removeToolStripMenuItem // - this.removeToolStripMenuItem.Name = "removeToolStripMenuItem"; - this.removeToolStripMenuItem.Size = new System.Drawing.Size(213, 38); - this.removeToolStripMenuItem.Text = "Remove"; - this.removeToolStripMenuItem.Click += new System.EventHandler(this.btnRemoveSite_Click); + removeToolStripMenuItem.Name = "removeToolStripMenuItem"; + removeToolStripMenuItem.Size = new System.Drawing.Size(213, 38); + removeToolStripMenuItem.Text = "Remove"; + removeToolStripMenuItem.Click += btnRemoveSite_Click; // // toolStripMenuItem14 // - this.toolStripMenuItem14.Name = "toolStripMenuItem14"; - this.toolStripMenuItem14.Size = new System.Drawing.Size(210, 6); + toolStripMenuItem14.Name = "toolStripMenuItem14"; + toolStripMenuItem14.Size = new System.Drawing.Size(210, 6); // // renameToolStripMenuItem1 // - this.renameToolStripMenuItem1.Name = "renameToolStripMenuItem1"; - this.renameToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); - this.renameToolStripMenuItem1.Text = "Rename"; - this.renameToolStripMenuItem1.Click += new System.EventHandler(this.renameToolStripMenuItem1_Click); + renameToolStripMenuItem1.Name = "renameToolStripMenuItem1"; + renameToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); + renameToolStripMenuItem1.Text = "Rename"; + renameToolStripMenuItem1.Click += renameToolStripMenuItem1_Click; // // toolStripMenuItem17 // - this.toolStripMenuItem17.Name = "toolStripMenuItem17"; - this.toolStripMenuItem17.Size = new System.Drawing.Size(210, 6); + toolStripMenuItem17.Name = "toolStripMenuItem17"; + toolStripMenuItem17.Size = new System.Drawing.Size(210, 6); // // switchToContentViewToolStripMenuItem2 // - this.switchToContentViewToolStripMenuItem2.Enabled = false; - this.switchToContentViewToolStripMenuItem2.Image = global::JexusManager.Main.Properties.Resources.switch_16; - this.switchToContentViewToolStripMenuItem2.Name = "switchToContentViewToolStripMenuItem2"; - this.switchToContentViewToolStripMenuItem2.Size = new System.Drawing.Size(213, 38); - this.switchToContentViewToolStripMenuItem2.Text = "Switch to Content View"; + switchToContentViewToolStripMenuItem2.Enabled = false; + switchToContentViewToolStripMenuItem2.Image = Main.Properties.Resources.switch_16; + switchToContentViewToolStripMenuItem2.Name = "switchToContentViewToolStripMenuItem2"; + switchToContentViewToolStripMenuItem2.Size = new System.Drawing.Size(213, 38); + switchToContentViewToolStripMenuItem2.Text = "Switch to Content View"; // // statusStrip1 // - this.statusStrip1.ImageScalingSize = new System.Drawing.Size(32, 32); - this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.txtInfo}); - this.statusStrip1.Location = new System.Drawing.Point(0, 475); - this.statusStrip1.Name = "statusStrip1"; - this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 16, 0); - this.statusStrip1.Size = new System.Drawing.Size(915, 22); - this.statusStrip1.TabIndex = 0; - this.statusStrip1.Text = "statusStrip1"; + statusStrip1.ImageScalingSize = new System.Drawing.Size(32, 32); + statusStrip1.Items.AddRange(new ToolStripItem[] { txtInfo }); + statusStrip1.Location = new System.Drawing.Point(0, 475); + statusStrip1.Name = "statusStrip1"; + statusStrip1.Padding = new Padding(1, 0, 16, 0); + statusStrip1.Size = new System.Drawing.Size(915, 22); + statusStrip1.TabIndex = 0; + statusStrip1.Text = "statusStrip1"; // // txtInfo // - this.txtInfo.Image = global::JexusManager.Main.Properties.Resources.info_16; - this.txtInfo.Name = "txtInfo"; - this.txtInfo.Size = new System.Drawing.Size(150, 32); - this.txtInfo.Text = "toolStripStatusLabel1"; - this.txtInfo.Visible = false; + txtInfo.Image = Main.Properties.Resources.info_16; + txtInfo.Name = "txtInfo"; + txtInfo.Size = new System.Drawing.Size(150, 32); + txtInfo.Text = "toolStripStatusLabel1"; + txtInfo.Visible = false; // // menuStrip1 // - this.menuStrip1.ImageScalingSize = new System.Drawing.Size(32, 32); - this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.fileToolStripMenuItem, - this.viewToolStripMenuItem, - this.helpToolStripMenuItem}); - this.menuStrip1.Location = new System.Drawing.Point(0, 0); - this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Padding = new System.Windows.Forms.Padding(7, 2, 0, 2); - this.menuStrip1.Size = new System.Drawing.Size(915, 24); - this.menuStrip1.TabIndex = 5; - this.menuStrip1.Text = "menuStrip1"; + menuStrip1.ImageScalingSize = new System.Drawing.Size(32, 32); + menuStrip1.Items.AddRange(new ToolStripItem[] { fileToolStripMenuItem, viewToolStripMenuItem, helpToolStripMenuItem }); + menuStrip1.Location = new System.Drawing.Point(0, 0); + menuStrip1.Name = "menuStrip1"; + menuStrip1.Padding = new Padding(7, 2, 0, 2); + menuStrip1.Size = new System.Drawing.Size(915, 24); + menuStrip1.TabIndex = 5; + menuStrip1.Text = "menuStrip1"; // // fileToolStripMenuItem // - this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.connectToAServerToolStripMenuItem, - this.connectToAWebsiteToolStripMenuItem, - this.connectToAnApplicationToolStripMenuItem, - this.toolStripMenuItem22, - this.saveConnectionsToolStripMenuItem, - this.disconnectToolStripMenuItem, - this.toolStripMenuItem21, - this.runAsAdministratorToolStripMenuItem, - this.exitToolStripMenuItem}); - this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; - this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); - this.fileToolStripMenuItem.Text = "File"; + fileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { connectToAServerToolStripMenuItem, connectToAWebsiteToolStripMenuItem, connectToAnApplicationToolStripMenuItem, toolStripMenuItem22, saveConnectionsToolStripMenuItem, disconnectToolStripMenuItem, toolStripMenuItem21, runAsAdministratorToolStripMenuItem, exitToolStripMenuItem }); + fileToolStripMenuItem.Name = "fileToolStripMenuItem"; + fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); + fileToolStripMenuItem.Text = "File"; // // connectToAServerToolStripMenuItem // - this.actionList1.SetAction(this.connectToAServerToolStripMenuItem, this.actConnectServer); - this.connectToAServerToolStripMenuItem.Name = "connectToAServerToolStripMenuItem"; - this.connectToAServerToolStripMenuItem.Size = new System.Drawing.Size(238, 38); - this.connectToAServerToolStripMenuItem.Text = "Connect to a Server..."; - this.connectToAServerToolStripMenuItem.ToolTipText = "Connect to a Server..."; + actionList1.SetAction(connectToAServerToolStripMenuItem, actConnectServer); + connectToAServerToolStripMenuItem.Name = "connectToAServerToolStripMenuItem"; + connectToAServerToolStripMenuItem.Size = new System.Drawing.Size(238, 38); + connectToAServerToolStripMenuItem.Text = "Connect to a Server..."; + connectToAServerToolStripMenuItem.ToolTipText = "Connect to a Server..."; // // connectToAWebsiteToolStripMenuItem // - this.actionList1.SetAction(this.connectToAWebsiteToolStripMenuItem, this.actConnectSite); - this.connectToAWebsiteToolStripMenuItem.Enabled = false; - this.connectToAWebsiteToolStripMenuItem.Name = "connectToAWebsiteToolStripMenuItem"; - this.connectToAWebsiteToolStripMenuItem.Size = new System.Drawing.Size(238, 38); - this.connectToAWebsiteToolStripMenuItem.Text = "Connect to a Website..."; - this.connectToAWebsiteToolStripMenuItem.ToolTipText = "Connect to a Website..."; + actionList1.SetAction(connectToAWebsiteToolStripMenuItem, actConnectSite); + connectToAWebsiteToolStripMenuItem.Enabled = false; + connectToAWebsiteToolStripMenuItem.Name = "connectToAWebsiteToolStripMenuItem"; + connectToAWebsiteToolStripMenuItem.Size = new System.Drawing.Size(238, 38); + connectToAWebsiteToolStripMenuItem.Text = "Connect to a Website..."; + connectToAWebsiteToolStripMenuItem.ToolTipText = "Connect to a Website..."; // // connectToAnApplicationToolStripMenuItem // - this.actionList1.SetAction(this.connectToAnApplicationToolStripMenuItem, this.actConnectionApplication); - this.connectToAnApplicationToolStripMenuItem.Enabled = false; - this.connectToAnApplicationToolStripMenuItem.Name = "connectToAnApplicationToolStripMenuItem"; - this.connectToAnApplicationToolStripMenuItem.Size = new System.Drawing.Size(238, 38); - this.connectToAnApplicationToolStripMenuItem.Text = "Connect to an Application..."; - this.connectToAnApplicationToolStripMenuItem.ToolTipText = "Connect to an Application..."; + actionList1.SetAction(connectToAnApplicationToolStripMenuItem, actConnectionApplication); + connectToAnApplicationToolStripMenuItem.Enabled = false; + connectToAnApplicationToolStripMenuItem.Name = "connectToAnApplicationToolStripMenuItem"; + connectToAnApplicationToolStripMenuItem.Size = new System.Drawing.Size(238, 38); + connectToAnApplicationToolStripMenuItem.Text = "Connect to an Application..."; + connectToAnApplicationToolStripMenuItem.ToolTipText = "Connect to an Application..."; // // toolStripMenuItem22 // - this.toolStripMenuItem22.Name = "toolStripMenuItem22"; - this.toolStripMenuItem22.Size = new System.Drawing.Size(235, 6); + toolStripMenuItem22.Name = "toolStripMenuItem22"; + toolStripMenuItem22.Size = new System.Drawing.Size(235, 6); // // saveConnectionsToolStripMenuItem // - this.actionList1.SetAction(this.saveConnectionsToolStripMenuItem, this.actSave); - this.saveConnectionsToolStripMenuItem.Enabled = false; - this.saveConnectionsToolStripMenuItem.Name = "saveConnectionsToolStripMenuItem"; - this.saveConnectionsToolStripMenuItem.Size = new System.Drawing.Size(238, 38); - this.saveConnectionsToolStripMenuItem.Text = "Save Connections"; - this.saveConnectionsToolStripMenuItem.ToolTipText = "Save Connections"; + actionList1.SetAction(saveConnectionsToolStripMenuItem, actSave); + saveConnectionsToolStripMenuItem.Enabled = false; + saveConnectionsToolStripMenuItem.Name = "saveConnectionsToolStripMenuItem"; + saveConnectionsToolStripMenuItem.Size = new System.Drawing.Size(238, 38); + saveConnectionsToolStripMenuItem.Text = "Save Connections"; + saveConnectionsToolStripMenuItem.ToolTipText = "Save Connections"; // // disconnectToolStripMenuItem // - this.actionList1.SetAction(this.disconnectToolStripMenuItem, this.actDisconnect); - this.disconnectToolStripMenuItem.Enabled = false; - this.disconnectToolStripMenuItem.Name = "disconnectToolStripMenuItem"; - this.disconnectToolStripMenuItem.Size = new System.Drawing.Size(238, 38); - this.disconnectToolStripMenuItem.Text = "Disconnect"; - this.disconnectToolStripMenuItem.ToolTipText = "Disconnect"; + actionList1.SetAction(disconnectToolStripMenuItem, actDisconnect); + disconnectToolStripMenuItem.Enabled = false; + disconnectToolStripMenuItem.Name = "disconnectToolStripMenuItem"; + disconnectToolStripMenuItem.Size = new System.Drawing.Size(238, 38); + disconnectToolStripMenuItem.Text = "Disconnect"; + disconnectToolStripMenuItem.ToolTipText = "Disconnect"; // // toolStripMenuItem21 // - this.toolStripMenuItem21.Name = "toolStripMenuItem21"; - this.toolStripMenuItem21.Size = new System.Drawing.Size(235, 6); + toolStripMenuItem21.Name = "toolStripMenuItem21"; + toolStripMenuItem21.Size = new System.Drawing.Size(235, 6); // // runAsAdministratorToolStripMenuItem // - this.actionList1.SetAction(this.runAsAdministratorToolStripMenuItem, this.actRunAsAdmin); - this.runAsAdministratorToolStripMenuItem.AutoToolTip = true; - this.runAsAdministratorToolStripMenuItem.Name = "runAsAdministratorToolStripMenuItem"; - this.runAsAdministratorToolStripMenuItem.Size = new System.Drawing.Size(238, 38); - this.runAsAdministratorToolStripMenuItem.Text = "Run as Administrator"; + actionList1.SetAction(runAsAdministratorToolStripMenuItem, actRunAsAdmin); + runAsAdministratorToolStripMenuItem.AutoToolTip = true; + runAsAdministratorToolStripMenuItem.Name = "runAsAdministratorToolStripMenuItem"; + runAsAdministratorToolStripMenuItem.Size = new System.Drawing.Size(238, 38); + runAsAdministratorToolStripMenuItem.Text = "Run as Administrator"; // // exitToolStripMenuItem // - this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; - this.exitToolStripMenuItem.Size = new System.Drawing.Size(238, 38); - this.exitToolStripMenuItem.Text = "Exit"; - this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); + exitToolStripMenuItem.Name = "exitToolStripMenuItem"; + exitToolStripMenuItem.Size = new System.Drawing.Size(238, 38); + exitToolStripMenuItem.Text = "Exit"; + exitToolStripMenuItem.Click += exitToolStripMenuItem_Click; // // viewToolStripMenuItem // - this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.backToolStripMenuItem, - this.forwardToolStripMenuItem, - this.upOneLevelToolStripMenuItem, - this.homeToolStripMenuItem, - this.toolStripMenuItem19, - this.stopToolStripMenuItem1, - this.refreshToolStripMenuItem4, - this.toolStripMenuItem20, - this.groupByToolStripMenuItem, - this.sortByToolStripMenuItem, - this.viewToolStripMenuItem1}); - this.viewToolStripMenuItem.Name = "viewToolStripMenuItem"; - this.viewToolStripMenuItem.Size = new System.Drawing.Size(44, 20); - this.viewToolStripMenuItem.Text = "View"; + viewToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { backToolStripMenuItem, forwardToolStripMenuItem, upOneLevelToolStripMenuItem, homeToolStripMenuItem, toolStripMenuItem19, stopToolStripMenuItem1, refreshToolStripMenuItem4, toolStripMenuItem20, groupByToolStripMenuItem, sortByToolStripMenuItem, viewToolStripMenuItem1 }); + viewToolStripMenuItem.Name = "viewToolStripMenuItem"; + viewToolStripMenuItem.Size = new System.Drawing.Size(44, 20); + viewToolStripMenuItem.Text = "View"; // // backToolStripMenuItem // - this.actionList1.SetAction(this.backToolStripMenuItem, this.actBack); - this.backToolStripMenuItem.Enabled = false; - this.backToolStripMenuItem.Name = "backToolStripMenuItem"; - this.backToolStripMenuItem.Size = new System.Drawing.Size(144, 22); - this.backToolStripMenuItem.Text = "Back"; + actionList1.SetAction(backToolStripMenuItem, actBack); + backToolStripMenuItem.Name = "backToolStripMenuItem"; + backToolStripMenuItem.Size = new System.Drawing.Size(144, 22); + backToolStripMenuItem.Text = "Back"; // // forwardToolStripMenuItem // - this.actionList1.SetAction(this.forwardToolStripMenuItem, this.actForward); - this.forwardToolStripMenuItem.Enabled = false; - this.forwardToolStripMenuItem.Name = "forwardToolStripMenuItem"; - this.forwardToolStripMenuItem.Size = new System.Drawing.Size(144, 22); - this.forwardToolStripMenuItem.Text = "Forward"; + actionList1.SetAction(forwardToolStripMenuItem, actForward); + forwardToolStripMenuItem.Name = "forwardToolStripMenuItem"; + forwardToolStripMenuItem.Size = new System.Drawing.Size(144, 22); + forwardToolStripMenuItem.Text = "Forward"; // // upOneLevelToolStripMenuItem // - this.actionList1.SetAction(this.upOneLevelToolStripMenuItem, this.actUp); - this.upOneLevelToolStripMenuItem.Enabled = false; - this.upOneLevelToolStripMenuItem.Name = "upOneLevelToolStripMenuItem"; - this.upOneLevelToolStripMenuItem.Size = new System.Drawing.Size(144, 22); - this.upOneLevelToolStripMenuItem.Text = "Up One Level"; - this.upOneLevelToolStripMenuItem.ToolTipText = "Up One Level"; + actionList1.SetAction(upOneLevelToolStripMenuItem, actUp); + upOneLevelToolStripMenuItem.Enabled = false; + upOneLevelToolStripMenuItem.Name = "upOneLevelToolStripMenuItem"; + upOneLevelToolStripMenuItem.Size = new System.Drawing.Size(144, 22); + upOneLevelToolStripMenuItem.Text = "Up One Level"; + upOneLevelToolStripMenuItem.ToolTipText = "Up One Level"; // // homeToolStripMenuItem // - this.homeToolStripMenuItem.Enabled = false; - this.homeToolStripMenuItem.Name = "homeToolStripMenuItem"; - this.homeToolStripMenuItem.Size = new System.Drawing.Size(144, 22); - this.homeToolStripMenuItem.Text = "Home"; - this.homeToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.Home))); + homeToolStripMenuItem.Enabled = false; + homeToolStripMenuItem.Name = "homeToolStripMenuItem"; + homeToolStripMenuItem.ShortcutKeys = Keys.Alt | Keys.Home; + homeToolStripMenuItem.Size = new System.Drawing.Size(144, 22); + homeToolStripMenuItem.Text = "Home"; // // toolStripMenuItem19 // - this.toolStripMenuItem19.Name = "toolStripMenuItem19"; - this.toolStripMenuItem19.Size = new System.Drawing.Size(141, 6); + toolStripMenuItem19.Name = "toolStripMenuItem19"; + toolStripMenuItem19.Size = new System.Drawing.Size(141, 6); // // stopToolStripMenuItem1 // - this.stopToolStripMenuItem1.Enabled = false; - this.stopToolStripMenuItem1.Name = "stopToolStripMenuItem1"; - this.stopToolStripMenuItem1.Size = new System.Drawing.Size(144, 22); - this.stopToolStripMenuItem1.Text = "Stop"; + stopToolStripMenuItem1.Enabled = false; + stopToolStripMenuItem1.Name = "stopToolStripMenuItem1"; + stopToolStripMenuItem1.Size = new System.Drawing.Size(144, 22); + stopToolStripMenuItem1.Text = "Stop"; // // refreshToolStripMenuItem4 // - this.refreshToolStripMenuItem4.Enabled = false; - this.refreshToolStripMenuItem4.Image = global::JexusManager.Main.Properties.Resources.refresh_16; - this.refreshToolStripMenuItem4.Name = "refreshToolStripMenuItem4"; - this.refreshToolStripMenuItem4.Size = new System.Drawing.Size(144, 22); - this.refreshToolStripMenuItem4.Text = "Refresh"; + refreshToolStripMenuItem4.Enabled = false; + refreshToolStripMenuItem4.Image = Main.Properties.Resources.refresh_16; + refreshToolStripMenuItem4.Name = "refreshToolStripMenuItem4"; + refreshToolStripMenuItem4.Size = new System.Drawing.Size(144, 22); + refreshToolStripMenuItem4.Text = "Refresh"; // // toolStripMenuItem20 // - this.toolStripMenuItem20.Name = "toolStripMenuItem20"; - this.toolStripMenuItem20.Size = new System.Drawing.Size(141, 6); + toolStripMenuItem20.Name = "toolStripMenuItem20"; + toolStripMenuItem20.Size = new System.Drawing.Size(141, 6); // // groupByToolStripMenuItem // - this.groupByToolStripMenuItem.Enabled = false; - this.groupByToolStripMenuItem.Name = "groupByToolStripMenuItem"; - this.groupByToolStripMenuItem.Size = new System.Drawing.Size(144, 22); - this.groupByToolStripMenuItem.Text = "Group By"; + groupByToolStripMenuItem.Enabled = false; + groupByToolStripMenuItem.Name = "groupByToolStripMenuItem"; + groupByToolStripMenuItem.Size = new System.Drawing.Size(144, 22); + groupByToolStripMenuItem.Text = "Group By"; // // sortByToolStripMenuItem // - this.sortByToolStripMenuItem.Enabled = false; - this.sortByToolStripMenuItem.Name = "sortByToolStripMenuItem"; - this.sortByToolStripMenuItem.Size = new System.Drawing.Size(144, 22); - this.sortByToolStripMenuItem.Text = "Sort By"; + sortByToolStripMenuItem.Enabled = false; + sortByToolStripMenuItem.Name = "sortByToolStripMenuItem"; + sortByToolStripMenuItem.Size = new System.Drawing.Size(144, 22); + sortByToolStripMenuItem.Text = "Sort By"; // // viewToolStripMenuItem1 // - this.viewToolStripMenuItem1.Enabled = false; - this.viewToolStripMenuItem1.Name = "viewToolStripMenuItem1"; - this.viewToolStripMenuItem1.Size = new System.Drawing.Size(144, 22); - this.viewToolStripMenuItem1.Text = "View"; + viewToolStripMenuItem1.Enabled = false; + viewToolStripMenuItem1.Name = "viewToolStripMenuItem1"; + viewToolStripMenuItem1.Size = new System.Drawing.Size(144, 22); + viewToolStripMenuItem1.Text = "View"; // // helpToolStripMenuItem // - this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.iISHelpToolStripMenuItem, - this.iISOnMSDNOnlineToolStripMenuItem, - this.iISNETOnlineToolStripMenuItem, - this.iISKBsOnlineToolStripMenuItem, - this.toolStripMenuItem28, - this.btnUpdate, - this.toolStripMenuItem18, - this.btnAbout}); - this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; - this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20); - this.helpToolStripMenuItem.Text = "Help"; + helpToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { iISHelpToolStripMenuItem, iISOnMSDNOnlineToolStripMenuItem, iISNETOnlineToolStripMenuItem, iISKBsOnlineToolStripMenuItem, toolStripMenuItem28, btnUpdate, toolStripMenuItem18, btnAbout }); + helpToolStripMenuItem.Name = "helpToolStripMenuItem"; + helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20); + helpToolStripMenuItem.Text = "Help"; // // iISHelpToolStripMenuItem // - this.iISHelpToolStripMenuItem.Image = global::JexusManager.Main.Properties.Resources.help_16; - this.iISHelpToolStripMenuItem.Name = "iISHelpToolStripMenuItem"; - this.iISHelpToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F1; - this.iISHelpToolStripMenuItem.Size = new System.Drawing.Size(188, 22); - this.iISHelpToolStripMenuItem.Text = "IIS Help"; + iISHelpToolStripMenuItem.Image = Main.Properties.Resources.help_16; + iISHelpToolStripMenuItem.Name = "iISHelpToolStripMenuItem"; + iISHelpToolStripMenuItem.ShortcutKeys = Keys.F1; + iISHelpToolStripMenuItem.Size = new System.Drawing.Size(188, 22); + iISHelpToolStripMenuItem.Text = "IIS Help"; // // iISOnMSDNOnlineToolStripMenuItem // - this.iISOnMSDNOnlineToolStripMenuItem.Name = "iISOnMSDNOnlineToolStripMenuItem"; - this.iISOnMSDNOnlineToolStripMenuItem.Size = new System.Drawing.Size(188, 22); - this.iISOnMSDNOnlineToolStripMenuItem.Text = "IIS on MSDN Online"; - this.iISOnMSDNOnlineToolStripMenuItem.Click += new System.EventHandler(this.iISOnMSDNOnlineToolStripMenuItem_Click); + iISOnMSDNOnlineToolStripMenuItem.Name = "iISOnMSDNOnlineToolStripMenuItem"; + iISOnMSDNOnlineToolStripMenuItem.Size = new System.Drawing.Size(188, 22); + iISOnMSDNOnlineToolStripMenuItem.Text = "IIS on MSDN Online"; + iISOnMSDNOnlineToolStripMenuItem.Click += iISOnMSDNOnlineToolStripMenuItem_Click; // // iISNETOnlineToolStripMenuItem // - this.iISNETOnlineToolStripMenuItem.Name = "iISNETOnlineToolStripMenuItem"; - this.iISNETOnlineToolStripMenuItem.Size = new System.Drawing.Size(188, 22); - this.iISNETOnlineToolStripMenuItem.Text = "IIS.NET Online"; - this.iISNETOnlineToolStripMenuItem.Click += new System.EventHandler(this.iISNETOnlineToolStripMenuItem_Click); + iISNETOnlineToolStripMenuItem.Name = "iISNETOnlineToolStripMenuItem"; + iISNETOnlineToolStripMenuItem.Size = new System.Drawing.Size(188, 22); + iISNETOnlineToolStripMenuItem.Text = "IIS.NET Online"; + iISNETOnlineToolStripMenuItem.Click += iISNETOnlineToolStripMenuItem_Click; // // iISKBsOnlineToolStripMenuItem // - this.iISKBsOnlineToolStripMenuItem.Name = "iISKBsOnlineToolStripMenuItem"; - this.iISKBsOnlineToolStripMenuItem.Size = new System.Drawing.Size(188, 22); - this.iISKBsOnlineToolStripMenuItem.Text = "IIS KBs Online"; - this.iISKBsOnlineToolStripMenuItem.Click += new System.EventHandler(this.iISKBsOnlineToolStripMenuItem_Click); + iISKBsOnlineToolStripMenuItem.Name = "iISKBsOnlineToolStripMenuItem"; + iISKBsOnlineToolStripMenuItem.Size = new System.Drawing.Size(188, 22); + iISKBsOnlineToolStripMenuItem.Text = "IIS KBs Online"; + iISKBsOnlineToolStripMenuItem.Click += iISKBsOnlineToolStripMenuItem_Click; // // toolStripMenuItem28 // - this.toolStripMenuItem28.Name = "toolStripMenuItem28"; - this.toolStripMenuItem28.Size = new System.Drawing.Size(185, 6); + toolStripMenuItem28.Name = "toolStripMenuItem28"; + toolStripMenuItem28.Size = new System.Drawing.Size(185, 6); // // btnUpdate // - this.btnUpdate.Image = global::JexusManager.Main.Properties.Resources.update_16; - this.btnUpdate.Name = "btnUpdate"; - this.btnUpdate.Size = new System.Drawing.Size(188, 22); - this.btnUpdate.Text = "Check Update"; - this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click); + btnUpdate.Image = Main.Properties.Resources.update_16; + btnUpdate.Name = "btnUpdate"; + btnUpdate.Size = new System.Drawing.Size(188, 22); + btnUpdate.Text = "Check Update"; + btnUpdate.Click += btnUpdate_Click; // // toolStripMenuItem18 // - this.toolStripMenuItem18.Name = "toolStripMenuItem18"; - this.toolStripMenuItem18.Size = new System.Drawing.Size(185, 6); + toolStripMenuItem18.Name = "toolStripMenuItem18"; + toolStripMenuItem18.Size = new System.Drawing.Size(185, 6); // // btnAbout // - this.btnAbout.Name = "btnAbout"; - this.btnAbout.Size = new System.Drawing.Size(188, 22); - this.btnAbout.Text = "About Jexus Manager"; - this.btnAbout.Click += new System.EventHandler(this.btnAbout_Click); + btnAbout.Name = "btnAbout"; + btnAbout.Size = new System.Drawing.Size(188, 22); + btnAbout.Text = "About Jexus Manager"; + btnAbout.Click += btnAbout_Click; // // actionList1 // - this.actionList1.Actions.Add(this.actDisconnect); - this.actionList1.Actions.Add(this.actUp); - this.actionList1.Actions.Add(this.actConnectServer); - this.actionList1.Actions.Add(this.actConnectSite); - this.actionList1.Actions.Add(this.actConnectionApplication); - this.actionList1.Actions.Add(this.actSave); - this.actionList1.Actions.Add(this.actCreateSite); - this.actionList1.Actions.Add(this.actCreateApplication); - this.actionList1.Actions.Add(this.actCreateVirtualDirectory); - this.actionList1.Actions.Add(this.actExplore); - this.actionList1.Actions.Add(this.actEditPermissions); - this.actionList1.Actions.Add(this.actBrowse); - this.actionList1.Actions.Add(this.actRunAsAdmin); - this.actionList1.Actions.Add(this.actBack); - this.actionList1.Actions.Add(this.actForward); - this.actionList1.ContainerControl = this; + actionList1.Actions.Add(actDisconnect); + actionList1.Actions.Add(actUp); + actionList1.Actions.Add(actConnectServer); + actionList1.Actions.Add(actConnectSite); + actionList1.Actions.Add(actConnectionApplication); + actionList1.Actions.Add(actSave); + actionList1.Actions.Add(actCreateSite); + actionList1.Actions.Add(actCreateApplication); + actionList1.Actions.Add(actCreateVirtualDirectory); + actionList1.Actions.Add(actExplore); + actionList1.Actions.Add(actEditPermissions); + actionList1.Actions.Add(actBrowse); + actionList1.Actions.Add(actRunAsAdmin); + actionList1.Actions.Add(actBack); + actionList1.Actions.Add(actForward); + actionList1.ContainerControl = this; // // actConnectServer // - this.actConnectServer.Image = global::JexusManager.Main.Properties.Resources.server_16; - this.actConnectServer.Text = "Connect to a Server..."; - this.actConnectServer.ToolTipText = "Connect to a Server..."; - this.actConnectServer.Execute += new System.EventHandler(this.actConnectServer_Execute); + actConnectServer.Image = Main.Properties.Resources.server_16; + actConnectServer.Text = "Connect to a Server..."; + actConnectServer.ToolTipText = "Connect to a Server..."; + actConnectServer.Execute += actConnectServer_Execute; // // actSave // - this.actSave.Enabled = false; - this.actSave.Image = global::JexusManager.Main.Properties.Resources.save_16; - this.actSave.Text = "Save Connections"; - this.actSave.ToolTipText = "Save Connections"; - this.actSave.Execute += new System.EventHandler(this.actSave_Execute); + actSave.Enabled = false; + actSave.Image = Main.Properties.Resources.save_16; + actSave.Text = "Save Connections"; + actSave.ToolTipText = "Save Connections"; + actSave.Execute += actSave_Execute; // // actUp // - this.actUp.Enabled = false; - this.actUp.Image = global::JexusManager.Main.Properties.Resources.up_16; - this.actUp.Text = "Up One Level"; - this.actUp.ToolTipText = "Up One Level"; - this.actUp.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.Up))); - this.actUp.Execute += new System.EventHandler(this.actUp_Execute); + actUp.Enabled = false; + actUp.Image = Main.Properties.Resources.up_16; + actUp.ShortcutKeys = Keys.Alt | Keys.Up; + actUp.Text = "Up One Level"; + actUp.ToolTipText = "Up One Level"; + actUp.Execute += actUp_Execute; // // actDisconnect // - this.actDisconnect.Enabled = false; - this.actDisconnect.Image = global::JexusManager.Main.Properties.Resources.disconnected_16; - this.actDisconnect.Text = "Disconnect"; - this.actDisconnect.ToolTipText = "Disconnect"; - this.actDisconnect.Execute += new System.EventHandler(this.actDisconnect_Execute); + actDisconnect.Enabled = false; + actDisconnect.Image = Main.Properties.Resources.disconnected_16; + actDisconnect.Text = "Disconnect"; + actDisconnect.ToolTipText = "Disconnect"; + actDisconnect.Execute += actDisconnect_Execute; // // actCreateSite // - this.actCreateSite.Image = global::JexusManager.Main.Properties.Resources.site_new_16; - this.actCreateSite.Text = "Add Website..."; - this.actCreateSite.Execute += new System.EventHandler(this.actCreateSite_Execute); + actCreateSite.Image = Main.Properties.Resources.site_new_16; + actCreateSite.Text = "Add Website..."; + actCreateSite.Execute += actCreateSite_Execute; // // actExplore // - this.actExplore.Image = global::JexusManager.Main.Properties.Resources.explore_16; - this.actExplore.Text = "Explore"; - this.actExplore.Execute += new System.EventHandler(this.actExplore_Execute); + actExplore.Image = Main.Properties.Resources.explore_16; + actExplore.Text = "Explore"; + actExplore.Execute += actExplore_Execute; // // actEditPermissions // - this.actEditPermissions.Text = "Edit Permissions..."; - this.actEditPermissions.Execute += new System.EventHandler(this.actEditPermissions_Execute); + actEditPermissions.Text = "Edit Permissions..."; + actEditPermissions.Execute += actEditPermissions_Execute; // // actCreateApplication // - this.actCreateApplication.Image = global::JexusManager.Main.Properties.Resources.application_new_16; - this.actCreateApplication.Text = "Add Application..."; - this.actCreateApplication.Execute += new System.EventHandler(this.actCreateApplication_Execute); + actCreateApplication.Image = Main.Properties.Resources.application_new_16; + actCreateApplication.Text = "Add Application..."; + actCreateApplication.Execute += actCreateApplication_Execute; // // actCreateVirtualDirectory // - this.actCreateVirtualDirectory.Image = global::JexusManager.Main.Properties.Resources.virtual_directory_new_16; - this.actCreateVirtualDirectory.Text = "Add Virtual Directory..."; - this.actCreateVirtualDirectory.Execute += new System.EventHandler(this.actCreateVirtualDirectory_Execute); + actCreateVirtualDirectory.Image = Main.Properties.Resources.virtual_directory_new_16; + actCreateVirtualDirectory.Text = "Add Virtual Directory..."; + actCreateVirtualDirectory.Execute += actCreateVirtualDirectory_Execute; // // actBrowse // - this.actBrowse.Image = global::JexusManager.Main.Properties.Resources.browse_16; - this.actBrowse.Text = "Browse"; - this.actBrowse.Execute += new System.EventHandler(this.actBrowse_Execute); + actBrowse.Image = Main.Properties.Resources.browse_16; + actBrowse.Text = "Browse"; + actBrowse.Execute += actBrowse_Execute; // // actConnectSite // - this.actConnectSite.Enabled = false; - this.actConnectSite.Image = global::JexusManager.Main.Properties.Resources.site_16; - this.actConnectSite.Text = "Connect to a Website..."; - this.actConnectSite.ToolTipText = "Connect to a Website..."; - this.actConnectSite.Execute += new System.EventHandler(this.actConnectSite_Execute); + actConnectSite.Enabled = false; + actConnectSite.Image = Main.Properties.Resources.site_16; + actConnectSite.Text = "Connect to a Website..."; + actConnectSite.ToolTipText = "Connect to a Website..."; + actConnectSite.Execute += actConnectSite_Execute; // // actConnectionApplication // - this.actConnectionApplication.Enabled = false; - this.actConnectionApplication.Image = global::JexusManager.Main.Properties.Resources.application_16; - this.actConnectionApplication.Text = "Connect to an Application..."; - this.actConnectionApplication.ToolTipText = "Connect to an Application..."; + actConnectionApplication.Enabled = false; + actConnectionApplication.Image = Main.Properties.Resources.application_16; + actConnectionApplication.Text = "Connect to an Application..."; + actConnectionApplication.ToolTipText = "Connect to an Application..."; // // actRunAsAdmin // - this.actRunAsAdmin.Text = "Run as Administrator"; - this.actRunAsAdmin.Execute += new System.EventHandler(this.actRunAsAdmin_Execute); + actRunAsAdmin.Text = "Run as Administrator"; + actRunAsAdmin.Execute += actRunAsAdmin_Execute; // // actBack // - this.actBack.Text = "Back"; - this.actBack.Image = global::JexusManager.Main.Properties.Resources.back_16; - this.actBack.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.Left))); - this.actBack.Execute += new System.EventHandler(this.actBack_Execute); + actBack.Image = Main.Properties.Resources.back_16; + actBack.ShortcutKeys = Keys.Alt | Keys.Left; + actBack.Text = "Back"; + actBack.Execute += actBack_Execute; // // actForward // - this.actForward.Text = "Forward"; - this.actForward.Image = global::JexusManager.Main.Properties.Resources.forward_16; - this.actForward.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.Right))); - this.actForward.Execute += new System.EventHandler(this.actForward_Execute); + actForward.Image = Main.Properties.Resources.forward_16; + actForward.ShortcutKeys = Keys.Alt | Keys.Right; + actForward.Text = "Forward"; + actForward.Execute += actForward_Execute; // // connectToAServerToolStripMenuItem1 // - this.actionList1.SetAction(this.connectToAServerToolStripMenuItem1, this.actConnectServer); - this.connectToAServerToolStripMenuItem1.Name = "connectToAServerToolStripMenuItem1"; - this.connectToAServerToolStripMenuItem1.Size = new System.Drawing.Size(238, 38); - this.connectToAServerToolStripMenuItem1.Text = "Connect to a Server..."; - this.connectToAServerToolStripMenuItem1.ToolTipText = "Connect to a Server..."; + actionList1.SetAction(connectToAServerToolStripMenuItem1, actConnectServer); + connectToAServerToolStripMenuItem1.Image = Main.Properties.Resources.server_16; + connectToAServerToolStripMenuItem1.Name = "connectToAServerToolStripMenuItem1"; + connectToAServerToolStripMenuItem1.Size = new System.Drawing.Size(238, 38); + connectToAServerToolStripMenuItem1.Text = "Connect to a Server..."; + connectToAServerToolStripMenuItem1.ToolTipText = "Connect to a Server..."; // // connectToAWebsiteToolStripMenuItem1 // - this.actionList1.SetAction(this.connectToAWebsiteToolStripMenuItem1, this.actConnectSite); - this.connectToAWebsiteToolStripMenuItem1.Enabled = false; - this.connectToAWebsiteToolStripMenuItem1.Name = "connectToAWebsiteToolStripMenuItem1"; - this.connectToAWebsiteToolStripMenuItem1.Size = new System.Drawing.Size(238, 38); - this.connectToAWebsiteToolStripMenuItem1.Text = "Connect to a Website..."; - this.connectToAWebsiteToolStripMenuItem1.ToolTipText = "Connect to a Website..."; + actionList1.SetAction(connectToAWebsiteToolStripMenuItem1, actConnectSite); + connectToAWebsiteToolStripMenuItem1.Enabled = false; + connectToAWebsiteToolStripMenuItem1.Image = Main.Properties.Resources.site_16; + connectToAWebsiteToolStripMenuItem1.Name = "connectToAWebsiteToolStripMenuItem1"; + connectToAWebsiteToolStripMenuItem1.Size = new System.Drawing.Size(238, 38); + connectToAWebsiteToolStripMenuItem1.Text = "Connect to a Website..."; + connectToAWebsiteToolStripMenuItem1.ToolTipText = "Connect to a Website..."; // // connectToAnApplicationToolStripMenuItem1 // - this.actionList1.SetAction(this.connectToAnApplicationToolStripMenuItem1, this.actConnectionApplication); - this.connectToAnApplicationToolStripMenuItem1.Enabled = false; - this.connectToAnApplicationToolStripMenuItem1.Name = "connectToAnApplicationToolStripMenuItem1"; - this.connectToAnApplicationToolStripMenuItem1.Size = new System.Drawing.Size(238, 38); - this.connectToAnApplicationToolStripMenuItem1.Text = "Connect to an Application..."; - this.connectToAnApplicationToolStripMenuItem1.ToolTipText = "Connect to an Application..."; + actionList1.SetAction(connectToAnApplicationToolStripMenuItem1, actConnectionApplication); + connectToAnApplicationToolStripMenuItem1.Enabled = false; + connectToAnApplicationToolStripMenuItem1.Image = Main.Properties.Resources.application_16; + connectToAnApplicationToolStripMenuItem1.Name = "connectToAnApplicationToolStripMenuItem1"; + connectToAnApplicationToolStripMenuItem1.Size = new System.Drawing.Size(238, 38); + connectToAnApplicationToolStripMenuItem1.Text = "Connect to an Application..."; + connectToAnApplicationToolStripMenuItem1.ToolTipText = "Connect to an Application..."; // // addApplicationToolStripMenuItem // - this.actionList1.SetAction(this.addApplicationToolStripMenuItem, this.actCreateApplication); - this.addApplicationToolStripMenuItem.AutoToolTip = true; - this.addApplicationToolStripMenuItem.Name = "addApplicationToolStripMenuItem"; - this.addApplicationToolStripMenuItem.Size = new System.Drawing.Size(213, 38); - this.addApplicationToolStripMenuItem.Text = "Add Application..."; + actionList1.SetAction(addApplicationToolStripMenuItem, actCreateApplication); + addApplicationToolStripMenuItem.Image = Main.Properties.Resources.application_new_16; + addApplicationToolStripMenuItem.Name = "addApplicationToolStripMenuItem"; + addApplicationToolStripMenuItem.Size = new System.Drawing.Size(213, 38); + addApplicationToolStripMenuItem.Text = "Add Application..."; // // toolStripMenuItem38 // - this.actionList1.SetAction(this.toolStripMenuItem38, this.actCreateApplication); - this.toolStripMenuItem38.Name = "toolStripMenuItem38"; - this.toolStripMenuItem38.Size = new System.Drawing.Size(221, 38); - this.toolStripMenuItem38.Text = "Add Application..."; + actionList1.SetAction(toolStripMenuItem38, actCreateApplication); + toolStripMenuItem38.AutoToolTip = true; + toolStripMenuItem38.Image = Main.Properties.Resources.application_new_16; + toolStripMenuItem38.Name = "toolStripMenuItem38"; + toolStripMenuItem38.Size = new System.Drawing.Size(221, 38); + toolStripMenuItem38.Text = "Add Application..."; // // toolStripMenuItem49 // - this.actionList1.SetAction(this.toolStripMenuItem49, this.actCreateApplication); - this.toolStripMenuItem49.AutoToolTip = true; - this.toolStripMenuItem49.Name = "toolStripMenuItem49"; - this.toolStripMenuItem49.Size = new System.Drawing.Size(213, 38); - this.toolStripMenuItem49.Text = "Add Application..."; + actionList1.SetAction(toolStripMenuItem49, actCreateApplication); + toolStripMenuItem49.Image = Main.Properties.Resources.application_new_16; + toolStripMenuItem49.Name = "toolStripMenuItem49"; + toolStripMenuItem49.Size = new System.Drawing.Size(213, 38); + toolStripMenuItem49.Text = "Add Application..."; // // exploreToolStripMenuItem1 // - this.actionList1.SetAction(this.exploreToolStripMenuItem1, this.actExplore); - this.exploreToolStripMenuItem1.AutoToolTip = true; - this.exploreToolStripMenuItem1.Name = "exploreToolStripMenuItem1"; - this.exploreToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); - this.exploreToolStripMenuItem1.Text = "Explore"; + actionList1.SetAction(exploreToolStripMenuItem1, actExplore); + exploreToolStripMenuItem1.Image = Main.Properties.Resources.explore_16; + exploreToolStripMenuItem1.Name = "exploreToolStripMenuItem1"; + exploreToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); + exploreToolStripMenuItem1.Text = "Explore"; // // editPermissionsToolStripMenuItem1 // - this.actionList1.SetAction(this.editPermissionsToolStripMenuItem1, this.actEditPermissions); - this.editPermissionsToolStripMenuItem1.AutoToolTip = true; - this.editPermissionsToolStripMenuItem1.Name = "editPermissionsToolStripMenuItem1"; - this.editPermissionsToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); - this.editPermissionsToolStripMenuItem1.Text = "Edit Permissions..."; + actionList1.SetAction(editPermissionsToolStripMenuItem1, actEditPermissions); + editPermissionsToolStripMenuItem1.Name = "editPermissionsToolStripMenuItem1"; + editPermissionsToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); + editPermissionsToolStripMenuItem1.Text = "Edit Permissions..."; // // addVirtualDirectoryToolStripMenuItem1 // - this.actionList1.SetAction(this.addVirtualDirectoryToolStripMenuItem1, this.actCreateVirtualDirectory); - this.addVirtualDirectoryToolStripMenuItem1.AutoToolTip = true; - this.addVirtualDirectoryToolStripMenuItem1.Name = "addVirtualDirectoryToolStripMenuItem1"; - this.addVirtualDirectoryToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); - this.addVirtualDirectoryToolStripMenuItem1.Text = "Add Virtual Directory..."; + actionList1.SetAction(addVirtualDirectoryToolStripMenuItem1, actCreateVirtualDirectory); + addVirtualDirectoryToolStripMenuItem1.Image = Main.Properties.Resources.virtual_directory_new_16; + addVirtualDirectoryToolStripMenuItem1.Name = "addVirtualDirectoryToolStripMenuItem1"; + addVirtualDirectoryToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); + addVirtualDirectoryToolStripMenuItem1.Text = "Add Virtual Directory..."; // // btnBrowseApplication // - this.actionList1.SetAction(this.btnBrowseApplication, this.actBrowse); - this.btnBrowseApplication.AutoToolTip = true; - this.btnBrowseApplication.Name = "btnBrowseApplication"; - this.btnBrowseApplication.Size = new System.Drawing.Size(181, 22); - this.btnBrowseApplication.Text = "Browse"; + actionList1.SetAction(btnBrowseApplication, actBrowse); + btnBrowseApplication.Image = Main.Properties.Resources.browse_16; + btnBrowseApplication.Name = "btnBrowseApplication"; + btnBrowseApplication.Size = new System.Drawing.Size(181, 22); + btnBrowseApplication.Text = "Browse"; // // toolStripMenuItem36 // - this.actionList1.SetAction(this.toolStripMenuItem36, this.actExplore); - this.toolStripMenuItem36.AutoToolTip = true; - this.toolStripMenuItem36.Name = "toolStripMenuItem36"; - this.toolStripMenuItem36.Size = new System.Drawing.Size(221, 38); - this.toolStripMenuItem36.Text = "Explore"; + actionList1.SetAction(toolStripMenuItem36, actExplore); + toolStripMenuItem36.Image = Main.Properties.Resources.explore_16; + toolStripMenuItem36.Name = "toolStripMenuItem36"; + toolStripMenuItem36.Size = new System.Drawing.Size(221, 38); + toolStripMenuItem36.Text = "Explore"; // // toolStripMenuItem37 // - this.actionList1.SetAction(this.toolStripMenuItem37, this.actEditPermissions); - this.toolStripMenuItem37.AutoToolTip = true; - this.toolStripMenuItem37.Name = "toolStripMenuItem37"; - this.toolStripMenuItem37.Size = new System.Drawing.Size(221, 38); - this.toolStripMenuItem37.Text = "Edit Permissions..."; + actionList1.SetAction(toolStripMenuItem37, actEditPermissions); + toolStripMenuItem37.Name = "toolStripMenuItem37"; + toolStripMenuItem37.Size = new System.Drawing.Size(221, 38); + toolStripMenuItem37.Text = "Edit Permissions..."; // // toolStripMenuItem39 // - this.actionList1.SetAction(this.toolStripMenuItem39, this.actCreateVirtualDirectory); - this.toolStripMenuItem39.AutoToolTip = true; - this.toolStripMenuItem39.Name = "toolStripMenuItem39"; - this.toolStripMenuItem39.Size = new System.Drawing.Size(221, 38); - this.toolStripMenuItem39.Text = "Add Virtual Directory..."; + actionList1.SetAction(toolStripMenuItem39, actCreateVirtualDirectory); + toolStripMenuItem39.Image = Main.Properties.Resources.virtual_directory_new_16; + toolStripMenuItem39.Name = "toolStripMenuItem39"; + toolStripMenuItem39.Size = new System.Drawing.Size(221, 38); + toolStripMenuItem39.Text = "Add Virtual Directory..."; // // toolStripMenuItem41 // - this.actionList1.SetAction(this.toolStripMenuItem41, this.actBrowse); - this.toolStripMenuItem41.AutoToolTip = true; - this.toolStripMenuItem41.Name = "toolStripMenuItem41"; - this.toolStripMenuItem41.Size = new System.Drawing.Size(181, 22); - this.toolStripMenuItem41.Text = "Browse"; + actionList1.SetAction(toolStripMenuItem41, actBrowse); + toolStripMenuItem41.Image = Main.Properties.Resources.browse_16; + toolStripMenuItem41.Name = "toolStripMenuItem41"; + toolStripMenuItem41.Size = new System.Drawing.Size(181, 22); + toolStripMenuItem41.Text = "Browse"; // // toolStripMenuItem46 // - this.actionList1.SetAction(this.toolStripMenuItem46, this.actExplore); - this.toolStripMenuItem46.AutoToolTip = true; - this.toolStripMenuItem46.Name = "toolStripMenuItem46"; - this.toolStripMenuItem46.Size = new System.Drawing.Size(213, 38); - this.toolStripMenuItem46.Text = "Explore"; + actionList1.SetAction(toolStripMenuItem46, actExplore); + toolStripMenuItem46.Image = Main.Properties.Resources.explore_16; + toolStripMenuItem46.Name = "toolStripMenuItem46"; + toolStripMenuItem46.Size = new System.Drawing.Size(213, 38); + toolStripMenuItem46.Text = "Explore"; // // toolStripMenuItem47 // - this.actionList1.SetAction(this.toolStripMenuItem47, this.actEditPermissions); - this.toolStripMenuItem47.AutoToolTip = true; - this.toolStripMenuItem47.Name = "toolStripMenuItem47"; - this.toolStripMenuItem47.Size = new System.Drawing.Size(213, 38); - this.toolStripMenuItem47.Text = "Edit Permissions..."; + actionList1.SetAction(toolStripMenuItem47, actEditPermissions); + toolStripMenuItem47.Name = "toolStripMenuItem47"; + toolStripMenuItem47.Size = new System.Drawing.Size(213, 38); + toolStripMenuItem47.Text = "Edit Permissions..."; // // toolStripMenuItem50 // - this.actionList1.SetAction(this.toolStripMenuItem50, this.actCreateVirtualDirectory); - this.toolStripMenuItem50.AutoToolTip = true; - this.toolStripMenuItem50.Name = "toolStripMenuItem50"; - this.toolStripMenuItem50.Size = new System.Drawing.Size(213, 38); - this.toolStripMenuItem50.Text = "Add Virtual Directory..."; + actionList1.SetAction(toolStripMenuItem50, actCreateVirtualDirectory); + toolStripMenuItem50.Image = Main.Properties.Resources.virtual_directory_new_16; + toolStripMenuItem50.Name = "toolStripMenuItem50"; + toolStripMenuItem50.Size = new System.Drawing.Size(213, 38); + toolStripMenuItem50.Text = "Add Virtual Directory..."; // // toolStripMenuItem52 // - this.actionList1.SetAction(this.toolStripMenuItem52, this.actBrowse); - this.toolStripMenuItem52.AutoToolTip = true; - this.toolStripMenuItem52.Name = "toolStripMenuItem52"; - this.toolStripMenuItem52.Size = new System.Drawing.Size(112, 22); - this.toolStripMenuItem52.Text = "Browse"; + actionList1.SetAction(toolStripMenuItem52, actBrowse); + toolStripMenuItem52.Image = Main.Properties.Resources.browse_16; + toolStripMenuItem52.Name = "toolStripMenuItem52"; + toolStripMenuItem52.Size = new System.Drawing.Size(112, 22); + toolStripMenuItem52.Text = "Browse"; // // cmsIis // - this.cmsIis.ImageScalingSize = new System.Drawing.Size(32, 32); - this.cmsIis.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.refreshToolStripMenuItem5, - this.toolStripMenuItem23, - this.connectToAServerToolStripMenuItem1, - this.connectToAWebsiteToolStripMenuItem1, - this.connectToAnApplicationToolStripMenuItem1}); - this.cmsIis.Name = "cmsIis"; - this.cmsIis.Size = new System.Drawing.Size(239, 162); + cmsIis.ImageScalingSize = new System.Drawing.Size(32, 32); + cmsIis.Items.AddRange(new ToolStripItem[] { refreshToolStripMenuItem5, toolStripMenuItem23, connectToAServerToolStripMenuItem1, connectToAWebsiteToolStripMenuItem1, connectToAnApplicationToolStripMenuItem1 }); + cmsIis.Name = "cmsIis"; + cmsIis.Size = new System.Drawing.Size(239, 162); // // refreshToolStripMenuItem5 // - this.refreshToolStripMenuItem5.Enabled = false; - this.refreshToolStripMenuItem5.Image = global::JexusManager.Main.Properties.Resources.refresh_16; - this.refreshToolStripMenuItem5.Name = "refreshToolStripMenuItem5"; - this.refreshToolStripMenuItem5.Size = new System.Drawing.Size(238, 38); - this.refreshToolStripMenuItem5.Text = "Refresh"; + refreshToolStripMenuItem5.Enabled = false; + refreshToolStripMenuItem5.Image = Main.Properties.Resources.refresh_16; + refreshToolStripMenuItem5.Name = "refreshToolStripMenuItem5"; + refreshToolStripMenuItem5.Size = new System.Drawing.Size(238, 38); + refreshToolStripMenuItem5.Text = "Refresh"; // // toolStripMenuItem23 // - this.toolStripMenuItem23.Name = "toolStripMenuItem23"; - this.toolStripMenuItem23.Size = new System.Drawing.Size(235, 6); + toolStripMenuItem23.Name = "toolStripMenuItem23"; + toolStripMenuItem23.Size = new System.Drawing.Size(235, 6); // // cmsApplication // - this.cmsApplication.ImageScalingSize = new System.Drawing.Size(32, 32); - this.cmsApplication.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.exploreToolStripMenuItem1, - this.editPermissionsToolStripMenuItem1, - this.toolStripMenuItem9, - this.addApplicationToolStripMenuItem, - this.addVirtualDirectoryToolStripMenuItem1, - this.toolStripMenuItem15, - this.manageApplicationToolStripMenuItem, - this.toolStripMenuItem16, - this.refreshToolStripMenuItem6, - this.removeToolStripMenuItem1, - this.toolStripMenuItem24, - this.switchToContentViewToolStripMenuItem3}); - this.cmsApplication.Name = "cmsApplication"; - this.cmsApplication.Size = new System.Drawing.Size(214, 332); + cmsApplication.ImageScalingSize = new System.Drawing.Size(32, 32); + cmsApplication.Items.AddRange(new ToolStripItem[] { exploreToolStripMenuItem1, editPermissionsToolStripMenuItem1, toolStripMenuItem9, addApplicationToolStripMenuItem, addVirtualDirectoryToolStripMenuItem1, toolStripMenuItem15, manageApplicationToolStripMenuItem, toolStripMenuItem16, refreshToolStripMenuItem6, removeToolStripMenuItem1, toolStripMenuItem24, switchToContentViewToolStripMenuItem3 }); + cmsApplication.Name = "cmsApplication"; + cmsApplication.Size = new System.Drawing.Size(214, 332); // // toolStripMenuItem9 // - this.toolStripMenuItem9.Name = "toolStripMenuItem9"; - this.toolStripMenuItem9.Size = new System.Drawing.Size(210, 6); + toolStripMenuItem9.Name = "toolStripMenuItem9"; + toolStripMenuItem9.Size = new System.Drawing.Size(210, 6); // // toolStripMenuItem15 // - this.toolStripMenuItem15.Name = "toolStripMenuItem15"; - this.toolStripMenuItem15.Size = new System.Drawing.Size(210, 6); + toolStripMenuItem15.Name = "toolStripMenuItem15"; + toolStripMenuItem15.Size = new System.Drawing.Size(210, 6); // // manageApplicationToolStripMenuItem // - this.manageApplicationToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.btnBrowseApplication, - this.toolStripMenuItem25, - this.advancedSettingsToolStripMenuItem}); - this.manageApplicationToolStripMenuItem.Name = "manageApplicationToolStripMenuItem"; - this.manageApplicationToolStripMenuItem.Size = new System.Drawing.Size(213, 38); - this.manageApplicationToolStripMenuItem.Text = "Manage Application"; + manageApplicationToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { btnBrowseApplication, toolStripMenuItem25, advancedSettingsToolStripMenuItem }); + manageApplicationToolStripMenuItem.Name = "manageApplicationToolStripMenuItem"; + manageApplicationToolStripMenuItem.Size = new System.Drawing.Size(213, 38); + manageApplicationToolStripMenuItem.Text = "Manage Application"; // // toolStripMenuItem25 // - this.toolStripMenuItem25.Name = "toolStripMenuItem25"; - this.toolStripMenuItem25.Size = new System.Drawing.Size(178, 6); + toolStripMenuItem25.Name = "toolStripMenuItem25"; + toolStripMenuItem25.Size = new System.Drawing.Size(178, 6); // // advancedSettingsToolStripMenuItem // - this.advancedSettingsToolStripMenuItem.Enabled = false; - this.advancedSettingsToolStripMenuItem.Name = "advancedSettingsToolStripMenuItem"; - this.advancedSettingsToolStripMenuItem.Size = new System.Drawing.Size(181, 22); - this.advancedSettingsToolStripMenuItem.Text = "Advanced Settings..."; + advancedSettingsToolStripMenuItem.Enabled = false; + advancedSettingsToolStripMenuItem.Name = "advancedSettingsToolStripMenuItem"; + advancedSettingsToolStripMenuItem.Size = new System.Drawing.Size(181, 22); + advancedSettingsToolStripMenuItem.Text = "Advanced Settings..."; // // toolStripMenuItem16 // - this.toolStripMenuItem16.Name = "toolStripMenuItem16"; - this.toolStripMenuItem16.Size = new System.Drawing.Size(210, 6); + toolStripMenuItem16.Name = "toolStripMenuItem16"; + toolStripMenuItem16.Size = new System.Drawing.Size(210, 6); // // refreshToolStripMenuItem6 // - this.refreshToolStripMenuItem6.Enabled = false; - this.refreshToolStripMenuItem6.Image = global::JexusManager.Main.Properties.Resources.refresh_16; - this.refreshToolStripMenuItem6.Name = "refreshToolStripMenuItem6"; - this.refreshToolStripMenuItem6.Size = new System.Drawing.Size(213, 38); - this.refreshToolStripMenuItem6.Text = "Refresh"; + refreshToolStripMenuItem6.Enabled = false; + refreshToolStripMenuItem6.Image = Main.Properties.Resources.refresh_16; + refreshToolStripMenuItem6.Name = "refreshToolStripMenuItem6"; + refreshToolStripMenuItem6.Size = new System.Drawing.Size(213, 38); + refreshToolStripMenuItem6.Text = "Refresh"; // // removeToolStripMenuItem1 // - this.removeToolStripMenuItem1.Name = "removeToolStripMenuItem1"; - this.removeToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); - this.removeToolStripMenuItem1.Text = "Remove"; - this.removeToolStripMenuItem1.Click += new System.EventHandler(this.btnRemoveApplication_Click); + removeToolStripMenuItem1.Name = "removeToolStripMenuItem1"; + removeToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); + removeToolStripMenuItem1.Text = "Remove"; + removeToolStripMenuItem1.Click += btnRemoveApplication_Click; // // toolStripMenuItem24 // - this.toolStripMenuItem24.Name = "toolStripMenuItem24"; - this.toolStripMenuItem24.Size = new System.Drawing.Size(210, 6); + toolStripMenuItem24.Name = "toolStripMenuItem24"; + toolStripMenuItem24.Size = new System.Drawing.Size(210, 6); // // switchToContentViewToolStripMenuItem3 // - this.switchToContentViewToolStripMenuItem3.Enabled = false; - this.switchToContentViewToolStripMenuItem3.Image = global::JexusManager.Main.Properties.Resources.switch_16; - this.switchToContentViewToolStripMenuItem3.Name = "switchToContentViewToolStripMenuItem3"; - this.switchToContentViewToolStripMenuItem3.Size = new System.Drawing.Size(213, 38); - this.switchToContentViewToolStripMenuItem3.Text = "Switch to Content View"; + switchToContentViewToolStripMenuItem3.Enabled = false; + switchToContentViewToolStripMenuItem3.Image = Main.Properties.Resources.switch_16; + switchToContentViewToolStripMenuItem3.Name = "switchToContentViewToolStripMenuItem3"; + switchToContentViewToolStripMenuItem3.Size = new System.Drawing.Size(213, 38); + switchToContentViewToolStripMenuItem3.Text = "Switch to Content View"; // // cmsFarm // - this.cmsFarm.ImageScalingSize = new System.Drawing.Size(32, 32); - this.cmsFarm.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.refreshToolStripMenuItem7, - this.toolStripMenuItem29, - this.btnCreateFarm, - this.toolStripMenuItem30, - this.switchToContentViewToolStripMenuItem4}); - this.cmsFarm.Name = "cmsFarm"; - this.cmsFarm.Size = new System.Drawing.Size(214, 130); + cmsFarm.ImageScalingSize = new System.Drawing.Size(32, 32); + cmsFarm.Items.AddRange(new ToolStripItem[] { refreshToolStripMenuItem7, toolStripMenuItem29, btnCreateFarm, toolStripMenuItem30, switchToContentViewToolStripMenuItem4 }); + cmsFarm.Name = "cmsFarm"; + cmsFarm.Size = new System.Drawing.Size(214, 130); // // refreshToolStripMenuItem7 // - this.refreshToolStripMenuItem7.Enabled = false; - this.refreshToolStripMenuItem7.Image = global::JexusManager.Main.Properties.Resources.refresh_16; - this.refreshToolStripMenuItem7.Name = "refreshToolStripMenuItem7"; - this.refreshToolStripMenuItem7.Size = new System.Drawing.Size(213, 38); - this.refreshToolStripMenuItem7.Text = "Refresh"; + refreshToolStripMenuItem7.Enabled = false; + refreshToolStripMenuItem7.Image = Main.Properties.Resources.refresh_16; + refreshToolStripMenuItem7.Name = "refreshToolStripMenuItem7"; + refreshToolStripMenuItem7.Size = new System.Drawing.Size(213, 38); + refreshToolStripMenuItem7.Text = "Refresh"; // // toolStripMenuItem29 // - this.toolStripMenuItem29.Name = "toolStripMenuItem29"; - this.toolStripMenuItem29.Size = new System.Drawing.Size(210, 6); + toolStripMenuItem29.Name = "toolStripMenuItem29"; + toolStripMenuItem29.Size = new System.Drawing.Size(210, 6); // // btnCreateFarm // - this.btnCreateFarm.Name = "btnCreateFarm"; - this.btnCreateFarm.Size = new System.Drawing.Size(213, 38); - this.btnCreateFarm.Text = "Create Server Farm..."; - this.btnCreateFarm.Click += new System.EventHandler(this.btnCreateFarm_Click); + btnCreateFarm.Name = "btnCreateFarm"; + btnCreateFarm.Size = new System.Drawing.Size(213, 38); + btnCreateFarm.Text = "Create Server Farm..."; + btnCreateFarm.Click += btnCreateFarm_Click; // // toolStripMenuItem30 // - this.toolStripMenuItem30.Name = "toolStripMenuItem30"; - this.toolStripMenuItem30.Size = new System.Drawing.Size(210, 6); + toolStripMenuItem30.Name = "toolStripMenuItem30"; + toolStripMenuItem30.Size = new System.Drawing.Size(210, 6); // // switchToContentViewToolStripMenuItem4 // - this.switchToContentViewToolStripMenuItem4.Enabled = false; - this.switchToContentViewToolStripMenuItem4.Image = global::JexusManager.Main.Properties.Resources.switch_16; - this.switchToContentViewToolStripMenuItem4.Name = "switchToContentViewToolStripMenuItem4"; - this.switchToContentViewToolStripMenuItem4.Size = new System.Drawing.Size(213, 38); - this.switchToContentViewToolStripMenuItem4.Text = "Switch to Content View"; + switchToContentViewToolStripMenuItem4.Enabled = false; + switchToContentViewToolStripMenuItem4.Image = Main.Properties.Resources.switch_16; + switchToContentViewToolStripMenuItem4.Name = "switchToContentViewToolStripMenuItem4"; + switchToContentViewToolStripMenuItem4.Size = new System.Drawing.Size(213, 38); + switchToContentViewToolStripMenuItem4.Text = "Switch to Content View"; // // cmsFarmServer // - this.cmsFarmServer.ImageScalingSize = new System.Drawing.Size(32, 32); - this.cmsFarmServer.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.refreshToolStripMenuItem8, - this.btnRemoveFarmServer, - this.toolStripMenuItem31, - this.btnAddFarmServer, - this.toolStripMenuItem32, - this.btnRenameFarmServer, - this.toolStripMenuItem33, - this.switchToContentViewToolStripMenuItem5}); - this.cmsFarmServer.Name = "cmsFarmServer"; - this.cmsFarmServer.Size = new System.Drawing.Size(214, 212); + cmsFarmServer.ImageScalingSize = new System.Drawing.Size(32, 32); + cmsFarmServer.Items.AddRange(new ToolStripItem[] { refreshToolStripMenuItem8, btnRemoveFarmServer, toolStripMenuItem31, btnAddFarmServer, toolStripMenuItem32, btnRenameFarmServer, toolStripMenuItem33, switchToContentViewToolStripMenuItem5 }); + cmsFarmServer.Name = "cmsFarmServer"; + cmsFarmServer.Size = new System.Drawing.Size(214, 212); // // refreshToolStripMenuItem8 // - this.refreshToolStripMenuItem8.Enabled = false; - this.refreshToolStripMenuItem8.Image = global::JexusManager.Main.Properties.Resources.refresh_16; - this.refreshToolStripMenuItem8.Name = "refreshToolStripMenuItem8"; - this.refreshToolStripMenuItem8.Size = new System.Drawing.Size(213, 38); - this.refreshToolStripMenuItem8.Text = "Refresh"; + refreshToolStripMenuItem8.Enabled = false; + refreshToolStripMenuItem8.Image = Main.Properties.Resources.refresh_16; + refreshToolStripMenuItem8.Name = "refreshToolStripMenuItem8"; + refreshToolStripMenuItem8.Size = new System.Drawing.Size(213, 38); + refreshToolStripMenuItem8.Text = "Refresh"; // // btnRemoveFarmServer // - this.btnRemoveFarmServer.Name = "btnRemoveFarmServer"; - this.btnRemoveFarmServer.Size = new System.Drawing.Size(213, 38); - this.btnRemoveFarmServer.Text = "Remove"; - this.btnRemoveFarmServer.Click += new System.EventHandler(this.btnRemoveFarmServer_Click); + btnRemoveFarmServer.Name = "btnRemoveFarmServer"; + btnRemoveFarmServer.Size = new System.Drawing.Size(213, 38); + btnRemoveFarmServer.Text = "Remove"; + btnRemoveFarmServer.Click += btnRemoveFarmServer_Click; // // toolStripMenuItem31 // - this.toolStripMenuItem31.Name = "toolStripMenuItem31"; - this.toolStripMenuItem31.Size = new System.Drawing.Size(210, 6); + toolStripMenuItem31.Name = "toolStripMenuItem31"; + toolStripMenuItem31.Size = new System.Drawing.Size(210, 6); // // btnAddFarmServer // - this.btnAddFarmServer.Name = "btnAddFarmServer"; - this.btnAddFarmServer.Size = new System.Drawing.Size(213, 38); - this.btnAddFarmServer.Text = "Add Server..."; - this.btnAddFarmServer.Click += new System.EventHandler(this.btnAddFarmServer_Click); + btnAddFarmServer.Name = "btnAddFarmServer"; + btnAddFarmServer.Size = new System.Drawing.Size(213, 38); + btnAddFarmServer.Text = "Add Server..."; + btnAddFarmServer.Click += btnAddFarmServer_Click; // // toolStripMenuItem32 // - this.toolStripMenuItem32.Name = "toolStripMenuItem32"; - this.toolStripMenuItem32.Size = new System.Drawing.Size(210, 6); + toolStripMenuItem32.Name = "toolStripMenuItem32"; + toolStripMenuItem32.Size = new System.Drawing.Size(210, 6); // // btnRenameFarmServer // - this.btnRenameFarmServer.Enabled = false; - this.btnRenameFarmServer.Name = "btnRenameFarmServer"; - this.btnRenameFarmServer.Size = new System.Drawing.Size(213, 38); - this.btnRenameFarmServer.Text = "Rename"; + btnRenameFarmServer.Enabled = false; + btnRenameFarmServer.Name = "btnRenameFarmServer"; + btnRenameFarmServer.Size = new System.Drawing.Size(213, 38); + btnRenameFarmServer.Text = "Rename"; // // toolStripMenuItem33 // - this.toolStripMenuItem33.Name = "toolStripMenuItem33"; - this.toolStripMenuItem33.Size = new System.Drawing.Size(210, 6); + toolStripMenuItem33.Name = "toolStripMenuItem33"; + toolStripMenuItem33.Size = new System.Drawing.Size(210, 6); // // switchToContentViewToolStripMenuItem5 // - this.switchToContentViewToolStripMenuItem5.Enabled = false; - this.switchToContentViewToolStripMenuItem5.Image = global::JexusManager.Main.Properties.Resources.switch_16; - this.switchToContentViewToolStripMenuItem5.Name = "switchToContentViewToolStripMenuItem5"; - this.switchToContentViewToolStripMenuItem5.Size = new System.Drawing.Size(213, 38); - this.switchToContentViewToolStripMenuItem5.Text = "Switch to Content View"; + switchToContentViewToolStripMenuItem5.Enabled = false; + switchToContentViewToolStripMenuItem5.Image = Main.Properties.Resources.switch_16; + switchToContentViewToolStripMenuItem5.Name = "switchToContentViewToolStripMenuItem5"; + switchToContentViewToolStripMenuItem5.Size = new System.Drawing.Size(213, 38); + switchToContentViewToolStripMenuItem5.Text = "Switch to Content View"; // // cmsServers // - this.cmsServers.ImageScalingSize = new System.Drawing.Size(32, 32); - this.cmsServers.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.refreshToolStripMenuItem9, - this.toolStripMenuItem34, - this.addServerToolStripMenuItem, - this.toolStripMenuItem35, - this.switchToContentViewToolStripMenuItem6}); - this.cmsServers.Name = "cmsServers"; - this.cmsServers.Size = new System.Drawing.Size(214, 130); + cmsServers.ImageScalingSize = new System.Drawing.Size(32, 32); + cmsServers.Items.AddRange(new ToolStripItem[] { refreshToolStripMenuItem9, toolStripMenuItem34, addServerToolStripMenuItem, toolStripMenuItem35, switchToContentViewToolStripMenuItem6 }); + cmsServers.Name = "cmsServers"; + cmsServers.Size = new System.Drawing.Size(214, 130); // // refreshToolStripMenuItem9 // - this.refreshToolStripMenuItem9.Image = global::JexusManager.Main.Properties.Resources.refresh_16; - this.refreshToolStripMenuItem9.Name = "refreshToolStripMenuItem9"; - this.refreshToolStripMenuItem9.Size = new System.Drawing.Size(213, 38); - this.refreshToolStripMenuItem9.Text = "Refresh"; + refreshToolStripMenuItem9.Image = Main.Properties.Resources.refresh_16; + refreshToolStripMenuItem9.Name = "refreshToolStripMenuItem9"; + refreshToolStripMenuItem9.Size = new System.Drawing.Size(213, 38); + refreshToolStripMenuItem9.Text = "Refresh"; // // toolStripMenuItem34 // - this.toolStripMenuItem34.Name = "toolStripMenuItem34"; - this.toolStripMenuItem34.Size = new System.Drawing.Size(210, 6); + toolStripMenuItem34.Name = "toolStripMenuItem34"; + toolStripMenuItem34.Size = new System.Drawing.Size(210, 6); // // addServerToolStripMenuItem // - this.addServerToolStripMenuItem.Name = "addServerToolStripMenuItem"; - this.addServerToolStripMenuItem.Size = new System.Drawing.Size(213, 38); - this.addServerToolStripMenuItem.Text = "Add Server..."; + addServerToolStripMenuItem.Name = "addServerToolStripMenuItem"; + addServerToolStripMenuItem.Size = new System.Drawing.Size(213, 38); + addServerToolStripMenuItem.Text = "Add Server..."; // // toolStripMenuItem35 // - this.toolStripMenuItem35.Name = "toolStripMenuItem35"; - this.toolStripMenuItem35.Size = new System.Drawing.Size(210, 6); + toolStripMenuItem35.Name = "toolStripMenuItem35"; + toolStripMenuItem35.Size = new System.Drawing.Size(210, 6); // // switchToContentViewToolStripMenuItem6 // - this.switchToContentViewToolStripMenuItem6.Image = global::JexusManager.Main.Properties.Resources.switch_16; - this.switchToContentViewToolStripMenuItem6.Name = "switchToContentViewToolStripMenuItem6"; - this.switchToContentViewToolStripMenuItem6.Size = new System.Drawing.Size(213, 38); - this.switchToContentViewToolStripMenuItem6.Text = "Switch to Content View"; + switchToContentViewToolStripMenuItem6.Image = Main.Properties.Resources.switch_16; + switchToContentViewToolStripMenuItem6.Name = "switchToContentViewToolStripMenuItem6"; + switchToContentViewToolStripMenuItem6.Size = new System.Drawing.Size(213, 38); + switchToContentViewToolStripMenuItem6.Text = "Switch to Content View"; // // cmsVirtualDirectory // - this.cmsVirtualDirectory.ImageScalingSize = new System.Drawing.Size(32, 32); - this.cmsVirtualDirectory.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripMenuItem36, - this.toolStripMenuItem37, - this.toolStripSeparator3, - this.convertToApplicationToolStripMenuItem, - this.toolStripMenuItem38, - this.toolStripMenuItem39, - this.toolStripSeparator4, - this.manageVirtualDirectoryToolStripMenuItem, - this.toolStripSeparator6, - this.toolStripMenuItem43, - this.toolStripMenuItem44, - this.toolStripSeparator7, - this.toolStripMenuItem45}); - this.cmsVirtualDirectory.Name = "cmsApplication"; - this.cmsVirtualDirectory.Size = new System.Drawing.Size(222, 370); + cmsVirtualDirectory.ImageScalingSize = new System.Drawing.Size(32, 32); + cmsVirtualDirectory.Items.AddRange(new ToolStripItem[] { toolStripMenuItem36, toolStripMenuItem37, toolStripSeparator3, convertToApplicationToolStripMenuItem, toolStripMenuItem38, toolStripMenuItem39, toolStripSeparator4, manageVirtualDirectoryToolStripMenuItem, toolStripSeparator6, toolStripMenuItem43, toolStripMenuItem44, toolStripSeparator7, toolStripMenuItem45 }); + cmsVirtualDirectory.Name = "cmsApplication"; + cmsVirtualDirectory.Size = new System.Drawing.Size(222, 370); // // toolStripSeparator3 // - this.toolStripSeparator3.Name = "toolStripSeparator3"; - this.toolStripSeparator3.Size = new System.Drawing.Size(218, 6); + toolStripSeparator3.Name = "toolStripSeparator3"; + toolStripSeparator3.Size = new System.Drawing.Size(218, 6); // // convertToApplicationToolStripMenuItem // - this.convertToApplicationToolStripMenuItem.Image = global::JexusManager.Main.Properties.Resources.application_new_16; - this.convertToApplicationToolStripMenuItem.Name = "convertToApplicationToolStripMenuItem"; - this.convertToApplicationToolStripMenuItem.Size = new System.Drawing.Size(221, 38); - this.convertToApplicationToolStripMenuItem.Text = "Convert to Application"; + convertToApplicationToolStripMenuItem.Image = Main.Properties.Resources.application_new_16; + convertToApplicationToolStripMenuItem.Name = "convertToApplicationToolStripMenuItem"; + convertToApplicationToolStripMenuItem.Size = new System.Drawing.Size(221, 38); + convertToApplicationToolStripMenuItem.Text = "Convert to Application"; // // toolStripSeparator4 // - this.toolStripSeparator4.Name = "toolStripSeparator4"; - this.toolStripSeparator4.Size = new System.Drawing.Size(218, 6); + toolStripSeparator4.Name = "toolStripSeparator4"; + toolStripSeparator4.Size = new System.Drawing.Size(218, 6); // // manageVirtualDirectoryToolStripMenuItem // - this.manageVirtualDirectoryToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripMenuItem41, - this.toolStripSeparator5, - this.toolStripMenuItem42}); - this.manageVirtualDirectoryToolStripMenuItem.Name = "manageVirtualDirectoryToolStripMenuItem"; - this.manageVirtualDirectoryToolStripMenuItem.Size = new System.Drawing.Size(221, 38); - this.manageVirtualDirectoryToolStripMenuItem.Text = "Manage Virtual Directory"; + manageVirtualDirectoryToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { toolStripMenuItem41, toolStripSeparator5, toolStripMenuItem42 }); + manageVirtualDirectoryToolStripMenuItem.Name = "manageVirtualDirectoryToolStripMenuItem"; + manageVirtualDirectoryToolStripMenuItem.Size = new System.Drawing.Size(221, 38); + manageVirtualDirectoryToolStripMenuItem.Text = "Manage Virtual Directory"; // // toolStripSeparator5 // - this.toolStripSeparator5.Name = "toolStripSeparator5"; - this.toolStripSeparator5.Size = new System.Drawing.Size(178, 6); + toolStripSeparator5.Name = "toolStripSeparator5"; + toolStripSeparator5.Size = new System.Drawing.Size(178, 6); // // toolStripMenuItem42 // - this.toolStripMenuItem42.Enabled = false; - this.toolStripMenuItem42.Name = "toolStripMenuItem42"; - this.toolStripMenuItem42.Size = new System.Drawing.Size(181, 22); - this.toolStripMenuItem42.Text = "Advanced Settings..."; + toolStripMenuItem42.Enabled = false; + toolStripMenuItem42.Name = "toolStripMenuItem42"; + toolStripMenuItem42.Size = new System.Drawing.Size(181, 22); + toolStripMenuItem42.Text = "Advanced Settings..."; // // toolStripSeparator6 // - this.toolStripSeparator6.Name = "toolStripSeparator6"; - this.toolStripSeparator6.Size = new System.Drawing.Size(218, 6); + toolStripSeparator6.Name = "toolStripSeparator6"; + toolStripSeparator6.Size = new System.Drawing.Size(218, 6); // // toolStripMenuItem43 // - this.toolStripMenuItem43.Enabled = false; - this.toolStripMenuItem43.Image = global::JexusManager.Main.Properties.Resources.refresh_16; - this.toolStripMenuItem43.Name = "toolStripMenuItem43"; - this.toolStripMenuItem43.Size = new System.Drawing.Size(221, 38); - this.toolStripMenuItem43.Text = "Refresh"; + toolStripMenuItem43.Enabled = false; + toolStripMenuItem43.Image = Main.Properties.Resources.refresh_16; + toolStripMenuItem43.Name = "toolStripMenuItem43"; + toolStripMenuItem43.Size = new System.Drawing.Size(221, 38); + toolStripMenuItem43.Text = "Refresh"; // // toolStripMenuItem44 // - this.toolStripMenuItem44.Name = "toolStripMenuItem44"; - this.toolStripMenuItem44.Size = new System.Drawing.Size(221, 38); - this.toolStripMenuItem44.Text = "Remove"; - this.toolStripMenuItem44.Click += new System.EventHandler(this.btnRemoveVirtualDirectory_Click); + toolStripMenuItem44.Name = "toolStripMenuItem44"; + toolStripMenuItem44.Size = new System.Drawing.Size(221, 38); + toolStripMenuItem44.Text = "Remove"; + toolStripMenuItem44.Click += btnRemoveVirtualDirectory_Click; // // toolStripSeparator7 // - this.toolStripSeparator7.Name = "toolStripSeparator7"; - this.toolStripSeparator7.Size = new System.Drawing.Size(218, 6); + toolStripSeparator7.Name = "toolStripSeparator7"; + toolStripSeparator7.Size = new System.Drawing.Size(218, 6); // // toolStripMenuItem45 // - this.toolStripMenuItem45.Enabled = false; - this.toolStripMenuItem45.Image = global::JexusManager.Main.Properties.Resources.switch_16; - this.toolStripMenuItem45.Name = "toolStripMenuItem45"; - this.toolStripMenuItem45.Size = new System.Drawing.Size(221, 38); - this.toolStripMenuItem45.Text = "Switch to Content View"; + toolStripMenuItem45.Enabled = false; + toolStripMenuItem45.Image = Main.Properties.Resources.switch_16; + toolStripMenuItem45.Name = "toolStripMenuItem45"; + toolStripMenuItem45.Size = new System.Drawing.Size(221, 38); + toolStripMenuItem45.Text = "Switch to Content View"; // // cmsPhysicalDirectory // - this.cmsPhysicalDirectory.ImageScalingSize = new System.Drawing.Size(32, 32); - this.cmsPhysicalDirectory.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripMenuItem46, - this.toolStripMenuItem47, - this.toolStripSeparator8, - this.toolStripMenuItem48, - this.toolStripMenuItem49, - this.toolStripMenuItem50, - this.toolStripSeparator9, - this.manageFolderToolStripMenuItem, - this.toolStripSeparator11, - this.toolStripMenuItem54, - this.toolStripSeparator12, - this.toolStripMenuItem56}); - this.cmsPhysicalDirectory.Name = "cmsPhysicalDirectory"; - this.cmsPhysicalDirectory.Size = new System.Drawing.Size(214, 332); + cmsPhysicalDirectory.ImageScalingSize = new System.Drawing.Size(32, 32); + cmsPhysicalDirectory.Items.AddRange(new ToolStripItem[] { toolStripMenuItem46, toolStripMenuItem47, toolStripSeparator8, toolStripMenuItem48, toolStripMenuItem49, toolStripMenuItem50, toolStripSeparator9, manageFolderToolStripMenuItem, toolStripSeparator11, toolStripMenuItem54, toolStripSeparator12, toolStripMenuItem56 }); + cmsPhysicalDirectory.Name = "cmsPhysicalDirectory"; + cmsPhysicalDirectory.Size = new System.Drawing.Size(214, 332); // // toolStripSeparator8 // - this.toolStripSeparator8.Name = "toolStripSeparator8"; - this.toolStripSeparator8.Size = new System.Drawing.Size(210, 6); + toolStripSeparator8.Name = "toolStripSeparator8"; + toolStripSeparator8.Size = new System.Drawing.Size(210, 6); // // toolStripMenuItem48 // - this.toolStripMenuItem48.Image = global::JexusManager.Main.Properties.Resources.application_new_16; - this.toolStripMenuItem48.Name = "toolStripMenuItem48"; - this.toolStripMenuItem48.Size = new System.Drawing.Size(213, 38); - this.toolStripMenuItem48.Text = "Convert to Application"; + toolStripMenuItem48.Image = Main.Properties.Resources.application_new_16; + toolStripMenuItem48.Name = "toolStripMenuItem48"; + toolStripMenuItem48.Size = new System.Drawing.Size(213, 38); + toolStripMenuItem48.Text = "Convert to Application"; // // toolStripSeparator9 // - this.toolStripSeparator9.Name = "toolStripSeparator9"; - this.toolStripSeparator9.Size = new System.Drawing.Size(210, 6); + toolStripSeparator9.Name = "toolStripSeparator9"; + toolStripSeparator9.Size = new System.Drawing.Size(210, 6); // // manageFolderToolStripMenuItem // - this.manageFolderToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripMenuItem52}); - this.manageFolderToolStripMenuItem.Name = "manageFolderToolStripMenuItem"; - this.manageFolderToolStripMenuItem.Size = new System.Drawing.Size(213, 38); - this.manageFolderToolStripMenuItem.Text = "Manage Folder"; + manageFolderToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { toolStripMenuItem52 }); + manageFolderToolStripMenuItem.Name = "manageFolderToolStripMenuItem"; + manageFolderToolStripMenuItem.Size = new System.Drawing.Size(213, 38); + manageFolderToolStripMenuItem.Text = "Manage Folder"; // // toolStripSeparator11 // - this.toolStripSeparator11.Name = "toolStripSeparator11"; - this.toolStripSeparator11.Size = new System.Drawing.Size(210, 6); + toolStripSeparator11.Name = "toolStripSeparator11"; + toolStripSeparator11.Size = new System.Drawing.Size(210, 6); // // toolStripMenuItem54 // - this.toolStripMenuItem54.Enabled = false; - this.toolStripMenuItem54.Image = global::JexusManager.Main.Properties.Resources.refresh_16; - this.toolStripMenuItem54.Name = "toolStripMenuItem54"; - this.toolStripMenuItem54.Size = new System.Drawing.Size(213, 38); - this.toolStripMenuItem54.Text = "Refresh"; + toolStripMenuItem54.Enabled = false; + toolStripMenuItem54.Image = Main.Properties.Resources.refresh_16; + toolStripMenuItem54.Name = "toolStripMenuItem54"; + toolStripMenuItem54.Size = new System.Drawing.Size(213, 38); + toolStripMenuItem54.Text = "Refresh"; // // toolStripSeparator12 // - this.toolStripSeparator12.Name = "toolStripSeparator12"; - this.toolStripSeparator12.Size = new System.Drawing.Size(210, 6); + toolStripSeparator12.Name = "toolStripSeparator12"; + toolStripSeparator12.Size = new System.Drawing.Size(210, 6); // // toolStripMenuItem56 // - this.toolStripMenuItem56.Enabled = false; - this.toolStripMenuItem56.Image = global::JexusManager.Main.Properties.Resources.switch_16; - this.toolStripMenuItem56.Name = "toolStripMenuItem56"; - this.toolStripMenuItem56.Size = new System.Drawing.Size(213, 38); - this.toolStripMenuItem56.Text = "Switch to Content View"; + toolStripMenuItem56.Enabled = false; + toolStripMenuItem56.Image = Main.Properties.Resources.switch_16; + toolStripMenuItem56.Name = "toolStripMenuItem56"; + toolStripMenuItem56.Size = new System.Drawing.Size(213, 38); + toolStripMenuItem56.Text = "Switch to Content View"; // // _logSplitter // - this._logSplitter.Dock = System.Windows.Forms.DockStyle.Fill; - this._logSplitter.Location = new System.Drawing.Point(0, 24); - this._logSplitter.Name = "_logSplitter"; - this._logSplitter.Orientation = System.Windows.Forms.Orientation.Horizontal; + _logSplitter.Dock = DockStyle.Fill; + _logSplitter.Location = new System.Drawing.Point(0, 24); + _logSplitter.Name = "_logSplitter"; + _logSplitter.Orientation = Orientation.Horizontal; // // _logSplitter.Panel1 // - this._logSplitter.Panel1.Controls.Add(this.scMain); - this._logSplitter.Panel1MinSize = 100; + _logSplitter.Panel1.Controls.Add(scMain); + _logSplitter.Panel1MinSize = 100; // // _logSplitter.Panel2 // - this._logSplitter.Panel2.Controls.Add(this._logPanel); - this._logSplitter.Panel2Collapsed = true; - this._logSplitter.Panel2MinSize = 50; - this._logSplitter.Size = new System.Drawing.Size(915, 451); - this._logSplitter.SplitterDistance = 350; - this._logSplitter.SplitterWidth = 5; - this._logSplitter.TabIndex = 6; + _logSplitter.Panel2.Controls.Add(_logPanel); + _logSplitter.Panel2Collapsed = true; + _logSplitter.Panel2MinSize = 50; + _logSplitter.Size = new System.Drawing.Size(915, 451); + _logSplitter.SplitterDistance = 100; + _logSplitter.SplitterWidth = 5; + _logSplitter.TabIndex = 6; // // _logPanel // - this._logPanel.Dock = System.Windows.Forms.DockStyle.Fill; - this._logPanel.Location = new System.Drawing.Point(0, 0); - this._logPanel.Name = "_logPanel"; - this._logPanel.Size = new System.Drawing.Size(915, 96); - this._logPanel.TabIndex = 0; + _logPanel.Dock = DockStyle.Fill; + _logPanel.Location = new System.Drawing.Point(0, 0); + _logPanel.Name = "_logPanel"; + _logPanel.Size = new System.Drawing.Size(915, 100); + _logPanel.TabIndex = 0; // // MainForm // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(915, 497); - this.Controls.Add(this._logSplitter); - this.Controls.Add(this.statusStrip1); - this.Controls.Add(this.menuStrip1); - this.KeyPreview = true; - this.MainMenuStrip = this.menuStrip1; - this.MinimumSize = new System.Drawing.Size(738, 504); - this.Name = "MainForm"; - this.Text = "Jexus Manager"; - this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1FormClosing); - this.Load += new System.EventHandler(this.MainForm_Load); - this.scMain.Panel1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.scMain)).EndInit(); - this.scMain.ResumeLayout(false); - this.tableLayoutPanel1.ResumeLayout(false); - this.panel2.ResumeLayout(false); - this.panel2.PerformLayout(); - this.toolStrip2.ResumeLayout(false); - this.toolStrip2.PerformLayout(); - this.panel1.ResumeLayout(false); - this.panel1.PerformLayout(); - this.cmsServer.ResumeLayout(false); - this.cmsApplicationPools.ResumeLayout(false); - this.cmsSites.ResumeLayout(false); - this.cmsSite.ResumeLayout(false); - this.statusStrip1.ResumeLayout(false); - this.statusStrip1.PerformLayout(); - this.menuStrip1.ResumeLayout(false); - this.menuStrip1.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.actionList1)).EndInit(); - this.cmsIis.ResumeLayout(false); - this.cmsApplication.ResumeLayout(false); - this.cmsFarm.ResumeLayout(false); - this.cmsFarmServer.ResumeLayout(false); - this.cmsServers.ResumeLayout(false); - this.cmsVirtualDirectory.ResumeLayout(false); - this.cmsPhysicalDirectory.ResumeLayout(false); - this._logSplitter.Panel1.ResumeLayout(false); - this._logSplitter.Panel2.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this._logSplitter)).EndInit(); - this._logSplitter.ResumeLayout(false); - this._logPanel.ResumeLayout(false); - this.ResumeLayout(false); - this.PerformLayout(); - + AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new System.Drawing.Size(915, 497); + Controls.Add(_logSplitter); + Controls.Add(statusStrip1); + Controls.Add(menuStrip1); + KeyPreview = true; + MainMenuStrip = menuStrip1; + MinimumSize = new System.Drawing.Size(738, 504); + Name = "MainForm"; + Text = "Jexus Manager"; + FormClosing += Form1FormClosing; + Load += MainForm_Load; + scMain.Panel1.ResumeLayout(false); + ((ISupportInitialize)scMain).EndInit(); + scMain.ResumeLayout(false); + tableLayoutPanel1.ResumeLayout(false); + panel2.ResumeLayout(false); + panel2.PerformLayout(); + toolStrip2.ResumeLayout(false); + toolStrip2.PerformLayout(); + panel1.ResumeLayout(false); + panel1.PerformLayout(); + cmsServer.ResumeLayout(false); + cmsApplicationPools.ResumeLayout(false); + cmsSites.ResumeLayout(false); + cmsSite.ResumeLayout(false); + statusStrip1.ResumeLayout(false); + statusStrip1.PerformLayout(); + menuStrip1.ResumeLayout(false); + menuStrip1.PerformLayout(); + ((ISupportInitialize)actionList1).EndInit(); + cmsIis.ResumeLayout(false); + cmsApplication.ResumeLayout(false); + cmsFarm.ResumeLayout(false); + cmsFarmServer.ResumeLayout(false); + cmsServers.ResumeLayout(false); + cmsVirtualDirectory.ResumeLayout(false); + cmsPhysicalDirectory.ResumeLayout(false); + _logSplitter.Panel1.ResumeLayout(false); + _logSplitter.Panel2.ResumeLayout(false); + ((ISupportInitialize)_logSplitter).EndInit(); + _logSplitter.ResumeLayout(false); + ResumeLayout(false); + PerformLayout(); } #endregion diff --git a/JexusManager/MainForm.resx b/JexusManager/MainForm.resx index c58a7b67..f6c15f92 100644 --- a/JexusManager/MainForm.resx +++ b/JexusManager/MainForm.resx @@ -1,4 +1,64 @@ - + + + @@ -58,93 +118,99 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - 473, 17 + 686, 17 - 919, 17 + 1027, 17 - 17, 56 + 1132, 17 - 127, 56 + 1243, 17 - 255, 56 + 1372, 17 - 338, 56 + 1457, 17 - 485, 56 + 1604, 17 - 618, 56 + 1738, 17 - 810, 56 + 1931, 17 - 903, 56 + 2025, 17 - 17, 95 + 17, 54 - 852, 95 + 858, 54 - 17, 134 + 1044, 54 - 125, 134 + 1152, 54 - 506, 134 + 1537, 54 - 688, 134 + 1645, 54 + + + 17, 17 + + + 112, 17 240 - 583, 17 + 797, 17 - 804, 17 + 912, 17 - 17, 17 + 225, 17 - 124, 17 + 333, 17 - 289, 17 + 499, 17 - 278, 134 + 1305, 54 - 388, 17 + 599, 17 - 371, 134 + 1400, 54 - 182, 95 + 182, 54 - 282, 95 + 285, 54 - 416, 95 + 420, 54 - 528, 95 + 533, 54 - 686, 95 + 691, 54 \ No newline at end of file From 57c27045b5056df8248fa3bc4c3bb2ace232e6a3 Mon Sep 17 00:00:00 2001 From: Lex Li Date: Sun, 6 Apr 2025 16:25:05 -0700 Subject: [PATCH 07/10] Fixed broken DPI scaling. --- JexusManager/MainForm.Designer.cs | 173 ++++++++++++------------------ 1 file changed, 71 insertions(+), 102 deletions(-) diff --git a/JexusManager/MainForm.Designer.cs b/JexusManager/MainForm.Designer.cs index 52a9923e..e2e0da48 100644 --- a/JexusManager/MainForm.Designer.cs +++ b/JexusManager/MainForm.Designer.cs @@ -324,7 +324,6 @@ private void InitializeComponent() // toolStrip2 // toolStrip2.GripStyle = ToolStripGripStyle.Hidden; - toolStrip2.ImageScalingSize = new System.Drawing.Size(32, 32); toolStrip2.Items.AddRange(new ToolStripItem[] { toolStripButton3, btnSave, toolStripSeparator2, btnUp, toolStripSeparator1, btnDisconnect }); toolStrip2.Location = new System.Drawing.Point(0, 0); toolStrip2.Name = "toolStrip2"; @@ -433,7 +432,6 @@ private void InitializeComponent() // // cmsServer // - cmsServer.ImageScalingSize = new System.Drawing.Size(32, 32); cmsServer.Items.AddRange(new ToolStripItem[] { refreshToolStripMenuItem, toolStripMenuItem1, removeConnectionToolStripMenuItem, toolStripMenuItem4, addWebsiteToolStripMenuItem, toolStripMenuItem2, btnStartServer, btnStopServer, toolStripMenuItem3, btnRenameServer, toolStripMenuItem5, btnOpenConfig, toolStripMenuItem40, switchToContentViewToolStripMenuItem }); cmsServer.Name = "cmsServer"; cmsServer.Size = new System.Drawing.Size(218, 344); @@ -443,7 +441,7 @@ private void InitializeComponent() refreshToolStripMenuItem.Enabled = false; refreshToolStripMenuItem.Image = Main.Properties.Resources.refresh_16; refreshToolStripMenuItem.Name = "refreshToolStripMenuItem"; - refreshToolStripMenuItem.Size = new System.Drawing.Size(217, 38); + refreshToolStripMenuItem.Size = new System.Drawing.Size(217, 22); refreshToolStripMenuItem.Text = "Refresh"; // // toolStripMenuItem1 @@ -456,7 +454,7 @@ private void InitializeComponent() actionList1.SetAction(removeConnectionToolStripMenuItem, actDisconnect); removeConnectionToolStripMenuItem.Enabled = false; removeConnectionToolStripMenuItem.Name = "removeConnectionToolStripMenuItem"; - removeConnectionToolStripMenuItem.Size = new System.Drawing.Size(217, 38); + removeConnectionToolStripMenuItem.Size = new System.Drawing.Size(217, 22); removeConnectionToolStripMenuItem.Text = "Disconnect"; removeConnectionToolStripMenuItem.ToolTipText = "Disconnect"; // @@ -470,7 +468,7 @@ private void InitializeComponent() actionList1.SetAction(addWebsiteToolStripMenuItem, actCreateSite); addWebsiteToolStripMenuItem.AutoToolTip = true; addWebsiteToolStripMenuItem.Name = "addWebsiteToolStripMenuItem"; - addWebsiteToolStripMenuItem.Size = new System.Drawing.Size(217, 38); + addWebsiteToolStripMenuItem.Size = new System.Drawing.Size(217, 22); addWebsiteToolStripMenuItem.Text = "Add Website..."; // // toolStripMenuItem2 @@ -483,7 +481,7 @@ private void InitializeComponent() btnStartServer.Enabled = false; btnStartServer.Image = Main.Properties.Resources.start_16; btnStartServer.Name = "btnStartServer"; - btnStartServer.Size = new System.Drawing.Size(217, 38); + btnStartServer.Size = new System.Drawing.Size(217, 22); btnStartServer.Text = "Start"; // // btnStopServer @@ -491,7 +489,7 @@ private void InitializeComponent() btnStopServer.Enabled = false; btnStopServer.Image = Main.Properties.Resources.stop_16; btnStopServer.Name = "btnStopServer"; - btnStopServer.Size = new System.Drawing.Size(217, 38); + btnStopServer.Size = new System.Drawing.Size(217, 22); btnStopServer.Text = "Stop"; // // toolStripMenuItem3 @@ -503,7 +501,7 @@ private void InitializeComponent() // btnRenameServer.Enabled = false; btnRenameServer.Name = "btnRenameServer"; - btnRenameServer.Size = new System.Drawing.Size(217, 38); + btnRenameServer.Size = new System.Drawing.Size(217, 22); btnRenameServer.Text = "Rename"; // // toolStripMenuItem5 @@ -514,7 +512,7 @@ private void InitializeComponent() // btnOpenConfig // btnOpenConfig.Name = "btnOpenConfig"; - btnOpenConfig.Size = new System.Drawing.Size(217, 38); + btnOpenConfig.Size = new System.Drawing.Size(217, 22); btnOpenConfig.Text = "Open Configuration File"; btnOpenConfig.Click += btnOpenConfig_Click; // @@ -528,12 +526,11 @@ private void InitializeComponent() switchToContentViewToolStripMenuItem.Enabled = false; switchToContentViewToolStripMenuItem.Image = Main.Properties.Resources.switch_16; switchToContentViewToolStripMenuItem.Name = "switchToContentViewToolStripMenuItem"; - switchToContentViewToolStripMenuItem.Size = new System.Drawing.Size(217, 38); + switchToContentViewToolStripMenuItem.Size = new System.Drawing.Size(217, 22); switchToContentViewToolStripMenuItem.Text = "Switch to Content View"; // // cmsApplicationPools // - cmsApplicationPools.ImageScalingSize = new System.Drawing.Size(32, 32); cmsApplicationPools.Items.AddRange(new ToolStripItem[] { addApplicationPoolToolStripMenuItem, toolStripMenuItem6, refreshToolStripMenuItem1 }); cmsApplicationPools.Name = "cmsApplicationPools"; cmsApplicationPools.Size = new System.Drawing.Size(213, 86); @@ -542,7 +539,7 @@ private void InitializeComponent() // addApplicationPoolToolStripMenuItem.Enabled = false; addApplicationPoolToolStripMenuItem.Name = "addApplicationPoolToolStripMenuItem"; - addApplicationPoolToolStripMenuItem.Size = new System.Drawing.Size(212, 38); + addApplicationPoolToolStripMenuItem.Size = new System.Drawing.Size(212, 22); addApplicationPoolToolStripMenuItem.Text = "Add Application Pool..."; // // toolStripMenuItem6 @@ -555,12 +552,11 @@ private void InitializeComponent() refreshToolStripMenuItem1.Enabled = false; refreshToolStripMenuItem1.Image = Main.Properties.Resources.refresh_16; refreshToolStripMenuItem1.Name = "refreshToolStripMenuItem1"; - refreshToolStripMenuItem1.Size = new System.Drawing.Size(212, 38); + refreshToolStripMenuItem1.Size = new System.Drawing.Size(212, 22); refreshToolStripMenuItem1.Text = "Refresh"; // // cmsSites // - cmsSites.ImageScalingSize = new System.Drawing.Size(32, 32); cmsSites.Items.AddRange(new ToolStripItem[] { addWebsiteToolStripMenuItem1, toolStripMenuItem7, refreshToolStripMenuItem2, toolStripMenuItem8, switchToContentViewToolStripMenuItem1 }); cmsSites.Name = "cmsSites"; cmsSites.Size = new System.Drawing.Size(214, 130); @@ -570,7 +566,7 @@ private void InitializeComponent() actionList1.SetAction(addWebsiteToolStripMenuItem1, actCreateSite); addWebsiteToolStripMenuItem1.AutoToolTip = true; addWebsiteToolStripMenuItem1.Name = "addWebsiteToolStripMenuItem1"; - addWebsiteToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); + addWebsiteToolStripMenuItem1.Size = new System.Drawing.Size(213, 22); addWebsiteToolStripMenuItem1.Text = "Add Website..."; // // toolStripMenuItem7 @@ -582,7 +578,7 @@ private void InitializeComponent() // refreshToolStripMenuItem2.Enabled = false; refreshToolStripMenuItem2.Name = "refreshToolStripMenuItem2"; - refreshToolStripMenuItem2.Size = new System.Drawing.Size(213, 38); + refreshToolStripMenuItem2.Size = new System.Drawing.Size(213, 22); refreshToolStripMenuItem2.Text = "Refresh"; // // toolStripMenuItem8 @@ -594,12 +590,11 @@ private void InitializeComponent() // switchToContentViewToolStripMenuItem1.Enabled = false; switchToContentViewToolStripMenuItem1.Name = "switchToContentViewToolStripMenuItem1"; - switchToContentViewToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); + switchToContentViewToolStripMenuItem1.Size = new System.Drawing.Size(213, 22); switchToContentViewToolStripMenuItem1.Text = "Switch to Content View"; // // cmsSite // - cmsSite.ImageScalingSize = new System.Drawing.Size(32, 32); cmsSite.Items.AddRange(new ToolStripItem[] { exploreToolStripMenuItem, editPermissionsToolStripMenuItem, toolStripMenuItem10, btnApplication, addVirtualDirectoryToolStripMenuItem, toolStripMenuItem11, editBindingsToolStripMenuItem, toolStripMenuItem12, manageWebsiteToolStripMenuItem, toolStripMenuItem13, refreshToolStripMenuItem3, removeToolStripMenuItem, toolStripMenuItem14, renameToolStripMenuItem1, toolStripMenuItem17, switchToContentViewToolStripMenuItem2 }); cmsSite.Name = "cmsSite"; cmsSite.Size = new System.Drawing.Size(214, 420); @@ -609,7 +604,7 @@ private void InitializeComponent() actionList1.SetAction(exploreToolStripMenuItem, actExplore); exploreToolStripMenuItem.AutoToolTip = true; exploreToolStripMenuItem.Name = "exploreToolStripMenuItem"; - exploreToolStripMenuItem.Size = new System.Drawing.Size(213, 38); + exploreToolStripMenuItem.Size = new System.Drawing.Size(213, 22); exploreToolStripMenuItem.Text = "Explore"; // // editPermissionsToolStripMenuItem @@ -617,7 +612,7 @@ private void InitializeComponent() actionList1.SetAction(editPermissionsToolStripMenuItem, actEditPermissions); editPermissionsToolStripMenuItem.AutoToolTip = true; editPermissionsToolStripMenuItem.Name = "editPermissionsToolStripMenuItem"; - editPermissionsToolStripMenuItem.Size = new System.Drawing.Size(213, 38); + editPermissionsToolStripMenuItem.Size = new System.Drawing.Size(213, 22); editPermissionsToolStripMenuItem.Text = "Edit Permissions..."; // // toolStripMenuItem10 @@ -630,7 +625,7 @@ private void InitializeComponent() actionList1.SetAction(btnApplication, actCreateApplication); btnApplication.AutoToolTip = true; btnApplication.Name = "btnApplication"; - btnApplication.Size = new System.Drawing.Size(213, 38); + btnApplication.Size = new System.Drawing.Size(213, 22); btnApplication.Text = "Add Application..."; // // addVirtualDirectoryToolStripMenuItem @@ -638,7 +633,7 @@ private void InitializeComponent() actionList1.SetAction(addVirtualDirectoryToolStripMenuItem, actCreateVirtualDirectory); addVirtualDirectoryToolStripMenuItem.AutoToolTip = true; addVirtualDirectoryToolStripMenuItem.Name = "addVirtualDirectoryToolStripMenuItem"; - addVirtualDirectoryToolStripMenuItem.Size = new System.Drawing.Size(213, 38); + addVirtualDirectoryToolStripMenuItem.Size = new System.Drawing.Size(213, 22); addVirtualDirectoryToolStripMenuItem.Text = "Add Virtual Directory..."; // // toolStripMenuItem11 @@ -649,7 +644,7 @@ private void InitializeComponent() // editBindingsToolStripMenuItem // editBindingsToolStripMenuItem.Name = "editBindingsToolStripMenuItem"; - editBindingsToolStripMenuItem.Size = new System.Drawing.Size(213, 38); + editBindingsToolStripMenuItem.Size = new System.Drawing.Size(213, 22); editBindingsToolStripMenuItem.Text = "Edit Bindings..."; editBindingsToolStripMenuItem.Click += editBindingsToolStripMenuItem_Click; // @@ -662,7 +657,7 @@ private void InitializeComponent() // manageWebsiteToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { btnRestartSite, startToolStripMenuItem1, stopToolStripMenuItem2, toolStripMenuItem26, btnBrowseSite, toolStripMenuItem27, advancedSettingsToolStripMenuItem1 }); manageWebsiteToolStripMenuItem.Name = "manageWebsiteToolStripMenuItem"; - manageWebsiteToolStripMenuItem.Size = new System.Drawing.Size(213, 38); + manageWebsiteToolStripMenuItem.Size = new System.Drawing.Size(213, 22); manageWebsiteToolStripMenuItem.Text = "Manage Website"; // // btnRestartSite @@ -724,13 +719,13 @@ private void InitializeComponent() refreshToolStripMenuItem3.Enabled = false; refreshToolStripMenuItem3.Image = Main.Properties.Resources.refresh_16; refreshToolStripMenuItem3.Name = "refreshToolStripMenuItem3"; - refreshToolStripMenuItem3.Size = new System.Drawing.Size(213, 38); + refreshToolStripMenuItem3.Size = new System.Drawing.Size(213, 22); refreshToolStripMenuItem3.Text = "Refresh"; // // removeToolStripMenuItem // removeToolStripMenuItem.Name = "removeToolStripMenuItem"; - removeToolStripMenuItem.Size = new System.Drawing.Size(213, 38); + removeToolStripMenuItem.Size = new System.Drawing.Size(213, 22); removeToolStripMenuItem.Text = "Remove"; removeToolStripMenuItem.Click += btnRemoveSite_Click; // @@ -742,7 +737,7 @@ private void InitializeComponent() // renameToolStripMenuItem1 // renameToolStripMenuItem1.Name = "renameToolStripMenuItem1"; - renameToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); + renameToolStripMenuItem1.Size = new System.Drawing.Size(213, 22); renameToolStripMenuItem1.Text = "Rename"; renameToolStripMenuItem1.Click += renameToolStripMenuItem1_Click; // @@ -756,12 +751,11 @@ private void InitializeComponent() switchToContentViewToolStripMenuItem2.Enabled = false; switchToContentViewToolStripMenuItem2.Image = Main.Properties.Resources.switch_16; switchToContentViewToolStripMenuItem2.Name = "switchToContentViewToolStripMenuItem2"; - switchToContentViewToolStripMenuItem2.Size = new System.Drawing.Size(213, 38); + switchToContentViewToolStripMenuItem2.Size = new System.Drawing.Size(213, 22); switchToContentViewToolStripMenuItem2.Text = "Switch to Content View"; // // statusStrip1 // - statusStrip1.ImageScalingSize = new System.Drawing.Size(32, 32); statusStrip1.Items.AddRange(new ToolStripItem[] { txtInfo }); statusStrip1.Location = new System.Drawing.Point(0, 475); statusStrip1.Name = "statusStrip1"; @@ -780,7 +774,6 @@ private void InitializeComponent() // // menuStrip1 // - menuStrip1.ImageScalingSize = new System.Drawing.Size(32, 32); menuStrip1.Items.AddRange(new ToolStripItem[] { fileToolStripMenuItem, viewToolStripMenuItem, helpToolStripMenuItem }); menuStrip1.Location = new System.Drawing.Point(0, 0); menuStrip1.Name = "menuStrip1"; @@ -800,7 +793,7 @@ private void InitializeComponent() // actionList1.SetAction(connectToAServerToolStripMenuItem, actConnectServer); connectToAServerToolStripMenuItem.Name = "connectToAServerToolStripMenuItem"; - connectToAServerToolStripMenuItem.Size = new System.Drawing.Size(238, 38); + connectToAServerToolStripMenuItem.Size = new System.Drawing.Size(238, 22); connectToAServerToolStripMenuItem.Text = "Connect to a Server..."; connectToAServerToolStripMenuItem.ToolTipText = "Connect to a Server..."; // @@ -809,7 +802,7 @@ private void InitializeComponent() actionList1.SetAction(connectToAWebsiteToolStripMenuItem, actConnectSite); connectToAWebsiteToolStripMenuItem.Enabled = false; connectToAWebsiteToolStripMenuItem.Name = "connectToAWebsiteToolStripMenuItem"; - connectToAWebsiteToolStripMenuItem.Size = new System.Drawing.Size(238, 38); + connectToAWebsiteToolStripMenuItem.Size = new System.Drawing.Size(238, 22); connectToAWebsiteToolStripMenuItem.Text = "Connect to a Website..."; connectToAWebsiteToolStripMenuItem.ToolTipText = "Connect to a Website..."; // @@ -818,7 +811,7 @@ private void InitializeComponent() actionList1.SetAction(connectToAnApplicationToolStripMenuItem, actConnectionApplication); connectToAnApplicationToolStripMenuItem.Enabled = false; connectToAnApplicationToolStripMenuItem.Name = "connectToAnApplicationToolStripMenuItem"; - connectToAnApplicationToolStripMenuItem.Size = new System.Drawing.Size(238, 38); + connectToAnApplicationToolStripMenuItem.Size = new System.Drawing.Size(238, 22); connectToAnApplicationToolStripMenuItem.Text = "Connect to an Application..."; connectToAnApplicationToolStripMenuItem.ToolTipText = "Connect to an Application..."; // @@ -832,7 +825,7 @@ private void InitializeComponent() actionList1.SetAction(saveConnectionsToolStripMenuItem, actSave); saveConnectionsToolStripMenuItem.Enabled = false; saveConnectionsToolStripMenuItem.Name = "saveConnectionsToolStripMenuItem"; - saveConnectionsToolStripMenuItem.Size = new System.Drawing.Size(238, 38); + saveConnectionsToolStripMenuItem.Size = new System.Drawing.Size(238, 22); saveConnectionsToolStripMenuItem.Text = "Save Connections"; saveConnectionsToolStripMenuItem.ToolTipText = "Save Connections"; // @@ -841,7 +834,7 @@ private void InitializeComponent() actionList1.SetAction(disconnectToolStripMenuItem, actDisconnect); disconnectToolStripMenuItem.Enabled = false; disconnectToolStripMenuItem.Name = "disconnectToolStripMenuItem"; - disconnectToolStripMenuItem.Size = new System.Drawing.Size(238, 38); + disconnectToolStripMenuItem.Size = new System.Drawing.Size(238, 22); disconnectToolStripMenuItem.Text = "Disconnect"; disconnectToolStripMenuItem.ToolTipText = "Disconnect"; // @@ -855,13 +848,13 @@ private void InitializeComponent() actionList1.SetAction(runAsAdministratorToolStripMenuItem, actRunAsAdmin); runAsAdministratorToolStripMenuItem.AutoToolTip = true; runAsAdministratorToolStripMenuItem.Name = "runAsAdministratorToolStripMenuItem"; - runAsAdministratorToolStripMenuItem.Size = new System.Drawing.Size(238, 38); + runAsAdministratorToolStripMenuItem.Size = new System.Drawing.Size(238, 22); runAsAdministratorToolStripMenuItem.Text = "Run as Administrator"; // // exitToolStripMenuItem // exitToolStripMenuItem.Name = "exitToolStripMenuItem"; - exitToolStripMenuItem.Size = new System.Drawing.Size(238, 38); + exitToolStripMenuItem.Size = new System.Drawing.Size(238, 22); exitToolStripMenuItem.Text = "Exit"; exitToolStripMenuItem.Click += exitToolStripMenuItem_Click; // @@ -1133,9 +1126,8 @@ private void InitializeComponent() // connectToAServerToolStripMenuItem1 // actionList1.SetAction(connectToAServerToolStripMenuItem1, actConnectServer); - connectToAServerToolStripMenuItem1.Image = Main.Properties.Resources.server_16; connectToAServerToolStripMenuItem1.Name = "connectToAServerToolStripMenuItem1"; - connectToAServerToolStripMenuItem1.Size = new System.Drawing.Size(238, 38); + connectToAServerToolStripMenuItem1.Size = new System.Drawing.Size(238, 22); connectToAServerToolStripMenuItem1.Text = "Connect to a Server..."; connectToAServerToolStripMenuItem1.ToolTipText = "Connect to a Server..."; // @@ -1143,9 +1135,8 @@ private void InitializeComponent() // actionList1.SetAction(connectToAWebsiteToolStripMenuItem1, actConnectSite); connectToAWebsiteToolStripMenuItem1.Enabled = false; - connectToAWebsiteToolStripMenuItem1.Image = Main.Properties.Resources.site_16; connectToAWebsiteToolStripMenuItem1.Name = "connectToAWebsiteToolStripMenuItem1"; - connectToAWebsiteToolStripMenuItem1.Size = new System.Drawing.Size(238, 38); + connectToAWebsiteToolStripMenuItem1.Size = new System.Drawing.Size(238, 22); connectToAWebsiteToolStripMenuItem1.Text = "Connect to a Website..."; connectToAWebsiteToolStripMenuItem1.ToolTipText = "Connect to a Website..."; // @@ -1153,64 +1144,56 @@ private void InitializeComponent() // actionList1.SetAction(connectToAnApplicationToolStripMenuItem1, actConnectionApplication); connectToAnApplicationToolStripMenuItem1.Enabled = false; - connectToAnApplicationToolStripMenuItem1.Image = Main.Properties.Resources.application_16; connectToAnApplicationToolStripMenuItem1.Name = "connectToAnApplicationToolStripMenuItem1"; - connectToAnApplicationToolStripMenuItem1.Size = new System.Drawing.Size(238, 38); + connectToAnApplicationToolStripMenuItem1.Size = new System.Drawing.Size(238, 22); connectToAnApplicationToolStripMenuItem1.Text = "Connect to an Application..."; connectToAnApplicationToolStripMenuItem1.ToolTipText = "Connect to an Application..."; // // addApplicationToolStripMenuItem // actionList1.SetAction(addApplicationToolStripMenuItem, actCreateApplication); - addApplicationToolStripMenuItem.Image = Main.Properties.Resources.application_new_16; addApplicationToolStripMenuItem.Name = "addApplicationToolStripMenuItem"; - addApplicationToolStripMenuItem.Size = new System.Drawing.Size(213, 38); + addApplicationToolStripMenuItem.Size = new System.Drawing.Size(213, 22); addApplicationToolStripMenuItem.Text = "Add Application..."; // // toolStripMenuItem38 // actionList1.SetAction(toolStripMenuItem38, actCreateApplication); - toolStripMenuItem38.AutoToolTip = true; - toolStripMenuItem38.Image = Main.Properties.Resources.application_new_16; toolStripMenuItem38.Name = "toolStripMenuItem38"; - toolStripMenuItem38.Size = new System.Drawing.Size(221, 38); + toolStripMenuItem38.Size = new System.Drawing.Size(221, 22); toolStripMenuItem38.Text = "Add Application..."; // // toolStripMenuItem49 // actionList1.SetAction(toolStripMenuItem49, actCreateApplication); - toolStripMenuItem49.Image = Main.Properties.Resources.application_new_16; toolStripMenuItem49.Name = "toolStripMenuItem49"; - toolStripMenuItem49.Size = new System.Drawing.Size(213, 38); + toolStripMenuItem49.Size = new System.Drawing.Size(213, 22); toolStripMenuItem49.Text = "Add Application..."; // // exploreToolStripMenuItem1 // actionList1.SetAction(exploreToolStripMenuItem1, actExplore); - exploreToolStripMenuItem1.Image = Main.Properties.Resources.explore_16; exploreToolStripMenuItem1.Name = "exploreToolStripMenuItem1"; - exploreToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); + exploreToolStripMenuItem1.Size = new System.Drawing.Size(213, 22); exploreToolStripMenuItem1.Text = "Explore"; // // editPermissionsToolStripMenuItem1 // actionList1.SetAction(editPermissionsToolStripMenuItem1, actEditPermissions); editPermissionsToolStripMenuItem1.Name = "editPermissionsToolStripMenuItem1"; - editPermissionsToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); + editPermissionsToolStripMenuItem1.Size = new System.Drawing.Size(213, 22); editPermissionsToolStripMenuItem1.Text = "Edit Permissions..."; // // addVirtualDirectoryToolStripMenuItem1 // actionList1.SetAction(addVirtualDirectoryToolStripMenuItem1, actCreateVirtualDirectory); - addVirtualDirectoryToolStripMenuItem1.Image = Main.Properties.Resources.virtual_directory_new_16; addVirtualDirectoryToolStripMenuItem1.Name = "addVirtualDirectoryToolStripMenuItem1"; - addVirtualDirectoryToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); + addVirtualDirectoryToolStripMenuItem1.Size = new System.Drawing.Size(213, 22); addVirtualDirectoryToolStripMenuItem1.Text = "Add Virtual Directory..."; // // btnBrowseApplication // actionList1.SetAction(btnBrowseApplication, actBrowse); - btnBrowseApplication.Image = Main.Properties.Resources.browse_16; btnBrowseApplication.Name = "btnBrowseApplication"; btnBrowseApplication.Size = new System.Drawing.Size(181, 22); btnBrowseApplication.Text = "Browse"; @@ -1218,30 +1201,27 @@ private void InitializeComponent() // toolStripMenuItem36 // actionList1.SetAction(toolStripMenuItem36, actExplore); - toolStripMenuItem36.Image = Main.Properties.Resources.explore_16; toolStripMenuItem36.Name = "toolStripMenuItem36"; - toolStripMenuItem36.Size = new System.Drawing.Size(221, 38); + toolStripMenuItem36.Size = new System.Drawing.Size(221, 22); toolStripMenuItem36.Text = "Explore"; // // toolStripMenuItem37 // actionList1.SetAction(toolStripMenuItem37, actEditPermissions); toolStripMenuItem37.Name = "toolStripMenuItem37"; - toolStripMenuItem37.Size = new System.Drawing.Size(221, 38); + toolStripMenuItem37.Size = new System.Drawing.Size(221, 22); toolStripMenuItem37.Text = "Edit Permissions..."; // // toolStripMenuItem39 // actionList1.SetAction(toolStripMenuItem39, actCreateVirtualDirectory); - toolStripMenuItem39.Image = Main.Properties.Resources.virtual_directory_new_16; toolStripMenuItem39.Name = "toolStripMenuItem39"; - toolStripMenuItem39.Size = new System.Drawing.Size(221, 38); + toolStripMenuItem39.Size = new System.Drawing.Size(221, 22); toolStripMenuItem39.Text = "Add Virtual Directory..."; // // toolStripMenuItem41 // actionList1.SetAction(toolStripMenuItem41, actBrowse); - toolStripMenuItem41.Image = Main.Properties.Resources.browse_16; toolStripMenuItem41.Name = "toolStripMenuItem41"; toolStripMenuItem41.Size = new System.Drawing.Size(181, 22); toolStripMenuItem41.Text = "Browse"; @@ -1249,37 +1229,33 @@ private void InitializeComponent() // toolStripMenuItem46 // actionList1.SetAction(toolStripMenuItem46, actExplore); - toolStripMenuItem46.Image = Main.Properties.Resources.explore_16; toolStripMenuItem46.Name = "toolStripMenuItem46"; - toolStripMenuItem46.Size = new System.Drawing.Size(213, 38); + toolStripMenuItem46.Size = new System.Drawing.Size(213, 22); toolStripMenuItem46.Text = "Explore"; // // toolStripMenuItem47 // actionList1.SetAction(toolStripMenuItem47, actEditPermissions); toolStripMenuItem47.Name = "toolStripMenuItem47"; - toolStripMenuItem47.Size = new System.Drawing.Size(213, 38); + toolStripMenuItem47.Size = new System.Drawing.Size(213, 22); toolStripMenuItem47.Text = "Edit Permissions..."; // // toolStripMenuItem50 // actionList1.SetAction(toolStripMenuItem50, actCreateVirtualDirectory); - toolStripMenuItem50.Image = Main.Properties.Resources.virtual_directory_new_16; toolStripMenuItem50.Name = "toolStripMenuItem50"; - toolStripMenuItem50.Size = new System.Drawing.Size(213, 38); + toolStripMenuItem50.Size = new System.Drawing.Size(213, 22); toolStripMenuItem50.Text = "Add Virtual Directory..."; // // toolStripMenuItem52 // actionList1.SetAction(toolStripMenuItem52, actBrowse); - toolStripMenuItem52.Image = Main.Properties.Resources.browse_16; toolStripMenuItem52.Name = "toolStripMenuItem52"; toolStripMenuItem52.Size = new System.Drawing.Size(112, 22); toolStripMenuItem52.Text = "Browse"; // // cmsIis // - cmsIis.ImageScalingSize = new System.Drawing.Size(32, 32); cmsIis.Items.AddRange(new ToolStripItem[] { refreshToolStripMenuItem5, toolStripMenuItem23, connectToAServerToolStripMenuItem1, connectToAWebsiteToolStripMenuItem1, connectToAnApplicationToolStripMenuItem1 }); cmsIis.Name = "cmsIis"; cmsIis.Size = new System.Drawing.Size(239, 162); @@ -1289,7 +1265,7 @@ private void InitializeComponent() refreshToolStripMenuItem5.Enabled = false; refreshToolStripMenuItem5.Image = Main.Properties.Resources.refresh_16; refreshToolStripMenuItem5.Name = "refreshToolStripMenuItem5"; - refreshToolStripMenuItem5.Size = new System.Drawing.Size(238, 38); + refreshToolStripMenuItem5.Size = new System.Drawing.Size(238, 22); refreshToolStripMenuItem5.Text = "Refresh"; // // toolStripMenuItem23 @@ -1299,7 +1275,6 @@ private void InitializeComponent() // // cmsApplication // - cmsApplication.ImageScalingSize = new System.Drawing.Size(32, 32); cmsApplication.Items.AddRange(new ToolStripItem[] { exploreToolStripMenuItem1, editPermissionsToolStripMenuItem1, toolStripMenuItem9, addApplicationToolStripMenuItem, addVirtualDirectoryToolStripMenuItem1, toolStripMenuItem15, manageApplicationToolStripMenuItem, toolStripMenuItem16, refreshToolStripMenuItem6, removeToolStripMenuItem1, toolStripMenuItem24, switchToContentViewToolStripMenuItem3 }); cmsApplication.Name = "cmsApplication"; cmsApplication.Size = new System.Drawing.Size(214, 332); @@ -1318,7 +1293,7 @@ private void InitializeComponent() // manageApplicationToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { btnBrowseApplication, toolStripMenuItem25, advancedSettingsToolStripMenuItem }); manageApplicationToolStripMenuItem.Name = "manageApplicationToolStripMenuItem"; - manageApplicationToolStripMenuItem.Size = new System.Drawing.Size(213, 38); + manageApplicationToolStripMenuItem.Size = new System.Drawing.Size(213, 22); manageApplicationToolStripMenuItem.Text = "Manage Application"; // // toolStripMenuItem25 @@ -1343,13 +1318,13 @@ private void InitializeComponent() refreshToolStripMenuItem6.Enabled = false; refreshToolStripMenuItem6.Image = Main.Properties.Resources.refresh_16; refreshToolStripMenuItem6.Name = "refreshToolStripMenuItem6"; - refreshToolStripMenuItem6.Size = new System.Drawing.Size(213, 38); + refreshToolStripMenuItem6.Size = new System.Drawing.Size(213, 22); refreshToolStripMenuItem6.Text = "Refresh"; // // removeToolStripMenuItem1 // removeToolStripMenuItem1.Name = "removeToolStripMenuItem1"; - removeToolStripMenuItem1.Size = new System.Drawing.Size(213, 38); + removeToolStripMenuItem1.Size = new System.Drawing.Size(213, 22); removeToolStripMenuItem1.Text = "Remove"; removeToolStripMenuItem1.Click += btnRemoveApplication_Click; // @@ -1363,12 +1338,11 @@ private void InitializeComponent() switchToContentViewToolStripMenuItem3.Enabled = false; switchToContentViewToolStripMenuItem3.Image = Main.Properties.Resources.switch_16; switchToContentViewToolStripMenuItem3.Name = "switchToContentViewToolStripMenuItem3"; - switchToContentViewToolStripMenuItem3.Size = new System.Drawing.Size(213, 38); + switchToContentViewToolStripMenuItem3.Size = new System.Drawing.Size(213, 22); switchToContentViewToolStripMenuItem3.Text = "Switch to Content View"; // // cmsFarm // - cmsFarm.ImageScalingSize = new System.Drawing.Size(32, 32); cmsFarm.Items.AddRange(new ToolStripItem[] { refreshToolStripMenuItem7, toolStripMenuItem29, btnCreateFarm, toolStripMenuItem30, switchToContentViewToolStripMenuItem4 }); cmsFarm.Name = "cmsFarm"; cmsFarm.Size = new System.Drawing.Size(214, 130); @@ -1378,7 +1352,7 @@ private void InitializeComponent() refreshToolStripMenuItem7.Enabled = false; refreshToolStripMenuItem7.Image = Main.Properties.Resources.refresh_16; refreshToolStripMenuItem7.Name = "refreshToolStripMenuItem7"; - refreshToolStripMenuItem7.Size = new System.Drawing.Size(213, 38); + refreshToolStripMenuItem7.Size = new System.Drawing.Size(213, 22); refreshToolStripMenuItem7.Text = "Refresh"; // // toolStripMenuItem29 @@ -1389,7 +1363,7 @@ private void InitializeComponent() // btnCreateFarm // btnCreateFarm.Name = "btnCreateFarm"; - btnCreateFarm.Size = new System.Drawing.Size(213, 38); + btnCreateFarm.Size = new System.Drawing.Size(213, 22); btnCreateFarm.Text = "Create Server Farm..."; btnCreateFarm.Click += btnCreateFarm_Click; // @@ -1403,12 +1377,11 @@ private void InitializeComponent() switchToContentViewToolStripMenuItem4.Enabled = false; switchToContentViewToolStripMenuItem4.Image = Main.Properties.Resources.switch_16; switchToContentViewToolStripMenuItem4.Name = "switchToContentViewToolStripMenuItem4"; - switchToContentViewToolStripMenuItem4.Size = new System.Drawing.Size(213, 38); + switchToContentViewToolStripMenuItem4.Size = new System.Drawing.Size(213, 22); switchToContentViewToolStripMenuItem4.Text = "Switch to Content View"; // // cmsFarmServer // - cmsFarmServer.ImageScalingSize = new System.Drawing.Size(32, 32); cmsFarmServer.Items.AddRange(new ToolStripItem[] { refreshToolStripMenuItem8, btnRemoveFarmServer, toolStripMenuItem31, btnAddFarmServer, toolStripMenuItem32, btnRenameFarmServer, toolStripMenuItem33, switchToContentViewToolStripMenuItem5 }); cmsFarmServer.Name = "cmsFarmServer"; cmsFarmServer.Size = new System.Drawing.Size(214, 212); @@ -1418,13 +1391,13 @@ private void InitializeComponent() refreshToolStripMenuItem8.Enabled = false; refreshToolStripMenuItem8.Image = Main.Properties.Resources.refresh_16; refreshToolStripMenuItem8.Name = "refreshToolStripMenuItem8"; - refreshToolStripMenuItem8.Size = new System.Drawing.Size(213, 38); + refreshToolStripMenuItem8.Size = new System.Drawing.Size(213, 22); refreshToolStripMenuItem8.Text = "Refresh"; // // btnRemoveFarmServer // btnRemoveFarmServer.Name = "btnRemoveFarmServer"; - btnRemoveFarmServer.Size = new System.Drawing.Size(213, 38); + btnRemoveFarmServer.Size = new System.Drawing.Size(213, 22); btnRemoveFarmServer.Text = "Remove"; btnRemoveFarmServer.Click += btnRemoveFarmServer_Click; // @@ -1436,7 +1409,7 @@ private void InitializeComponent() // btnAddFarmServer // btnAddFarmServer.Name = "btnAddFarmServer"; - btnAddFarmServer.Size = new System.Drawing.Size(213, 38); + btnAddFarmServer.Size = new System.Drawing.Size(213, 22); btnAddFarmServer.Text = "Add Server..."; btnAddFarmServer.Click += btnAddFarmServer_Click; // @@ -1449,7 +1422,7 @@ private void InitializeComponent() // btnRenameFarmServer.Enabled = false; btnRenameFarmServer.Name = "btnRenameFarmServer"; - btnRenameFarmServer.Size = new System.Drawing.Size(213, 38); + btnRenameFarmServer.Size = new System.Drawing.Size(213, 22); btnRenameFarmServer.Text = "Rename"; // // toolStripMenuItem33 @@ -1462,12 +1435,11 @@ private void InitializeComponent() switchToContentViewToolStripMenuItem5.Enabled = false; switchToContentViewToolStripMenuItem5.Image = Main.Properties.Resources.switch_16; switchToContentViewToolStripMenuItem5.Name = "switchToContentViewToolStripMenuItem5"; - switchToContentViewToolStripMenuItem5.Size = new System.Drawing.Size(213, 38); + switchToContentViewToolStripMenuItem5.Size = new System.Drawing.Size(213, 22); switchToContentViewToolStripMenuItem5.Text = "Switch to Content View"; // // cmsServers // - cmsServers.ImageScalingSize = new System.Drawing.Size(32, 32); cmsServers.Items.AddRange(new ToolStripItem[] { refreshToolStripMenuItem9, toolStripMenuItem34, addServerToolStripMenuItem, toolStripMenuItem35, switchToContentViewToolStripMenuItem6 }); cmsServers.Name = "cmsServers"; cmsServers.Size = new System.Drawing.Size(214, 130); @@ -1476,7 +1448,7 @@ private void InitializeComponent() // refreshToolStripMenuItem9.Image = Main.Properties.Resources.refresh_16; refreshToolStripMenuItem9.Name = "refreshToolStripMenuItem9"; - refreshToolStripMenuItem9.Size = new System.Drawing.Size(213, 38); + refreshToolStripMenuItem9.Size = new System.Drawing.Size(213, 22); refreshToolStripMenuItem9.Text = "Refresh"; // // toolStripMenuItem34 @@ -1487,7 +1459,7 @@ private void InitializeComponent() // addServerToolStripMenuItem // addServerToolStripMenuItem.Name = "addServerToolStripMenuItem"; - addServerToolStripMenuItem.Size = new System.Drawing.Size(213, 38); + addServerToolStripMenuItem.Size = new System.Drawing.Size(213, 22); addServerToolStripMenuItem.Text = "Add Server..."; // // toolStripMenuItem35 @@ -1499,12 +1471,11 @@ private void InitializeComponent() // switchToContentViewToolStripMenuItem6.Image = Main.Properties.Resources.switch_16; switchToContentViewToolStripMenuItem6.Name = "switchToContentViewToolStripMenuItem6"; - switchToContentViewToolStripMenuItem6.Size = new System.Drawing.Size(213, 38); + switchToContentViewToolStripMenuItem6.Size = new System.Drawing.Size(213, 22); switchToContentViewToolStripMenuItem6.Text = "Switch to Content View"; // // cmsVirtualDirectory // - cmsVirtualDirectory.ImageScalingSize = new System.Drawing.Size(32, 32); cmsVirtualDirectory.Items.AddRange(new ToolStripItem[] { toolStripMenuItem36, toolStripMenuItem37, toolStripSeparator3, convertToApplicationToolStripMenuItem, toolStripMenuItem38, toolStripMenuItem39, toolStripSeparator4, manageVirtualDirectoryToolStripMenuItem, toolStripSeparator6, toolStripMenuItem43, toolStripMenuItem44, toolStripSeparator7, toolStripMenuItem45 }); cmsVirtualDirectory.Name = "cmsApplication"; cmsVirtualDirectory.Size = new System.Drawing.Size(222, 370); @@ -1518,7 +1489,7 @@ private void InitializeComponent() // convertToApplicationToolStripMenuItem.Image = Main.Properties.Resources.application_new_16; convertToApplicationToolStripMenuItem.Name = "convertToApplicationToolStripMenuItem"; - convertToApplicationToolStripMenuItem.Size = new System.Drawing.Size(221, 38); + convertToApplicationToolStripMenuItem.Size = new System.Drawing.Size(221, 22); convertToApplicationToolStripMenuItem.Text = "Convert to Application"; // // toolStripSeparator4 @@ -1530,7 +1501,7 @@ private void InitializeComponent() // manageVirtualDirectoryToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { toolStripMenuItem41, toolStripSeparator5, toolStripMenuItem42 }); manageVirtualDirectoryToolStripMenuItem.Name = "manageVirtualDirectoryToolStripMenuItem"; - manageVirtualDirectoryToolStripMenuItem.Size = new System.Drawing.Size(221, 38); + manageVirtualDirectoryToolStripMenuItem.Size = new System.Drawing.Size(221, 22); manageVirtualDirectoryToolStripMenuItem.Text = "Manage Virtual Directory"; // // toolStripSeparator5 @@ -1555,13 +1526,13 @@ private void InitializeComponent() toolStripMenuItem43.Enabled = false; toolStripMenuItem43.Image = Main.Properties.Resources.refresh_16; toolStripMenuItem43.Name = "toolStripMenuItem43"; - toolStripMenuItem43.Size = new System.Drawing.Size(221, 38); + toolStripMenuItem43.Size = new System.Drawing.Size(221, 22); toolStripMenuItem43.Text = "Refresh"; // // toolStripMenuItem44 // toolStripMenuItem44.Name = "toolStripMenuItem44"; - toolStripMenuItem44.Size = new System.Drawing.Size(221, 38); + toolStripMenuItem44.Size = new System.Drawing.Size(221, 22); toolStripMenuItem44.Text = "Remove"; toolStripMenuItem44.Click += btnRemoveVirtualDirectory_Click; // @@ -1575,12 +1546,11 @@ private void InitializeComponent() toolStripMenuItem45.Enabled = false; toolStripMenuItem45.Image = Main.Properties.Resources.switch_16; toolStripMenuItem45.Name = "toolStripMenuItem45"; - toolStripMenuItem45.Size = new System.Drawing.Size(221, 38); + toolStripMenuItem45.Size = new System.Drawing.Size(221, 22); toolStripMenuItem45.Text = "Switch to Content View"; // // cmsPhysicalDirectory // - cmsPhysicalDirectory.ImageScalingSize = new System.Drawing.Size(32, 32); cmsPhysicalDirectory.Items.AddRange(new ToolStripItem[] { toolStripMenuItem46, toolStripMenuItem47, toolStripSeparator8, toolStripMenuItem48, toolStripMenuItem49, toolStripMenuItem50, toolStripSeparator9, manageFolderToolStripMenuItem, toolStripSeparator11, toolStripMenuItem54, toolStripSeparator12, toolStripMenuItem56 }); cmsPhysicalDirectory.Name = "cmsPhysicalDirectory"; cmsPhysicalDirectory.Size = new System.Drawing.Size(214, 332); @@ -1594,7 +1564,7 @@ private void InitializeComponent() // toolStripMenuItem48.Image = Main.Properties.Resources.application_new_16; toolStripMenuItem48.Name = "toolStripMenuItem48"; - toolStripMenuItem48.Size = new System.Drawing.Size(213, 38); + toolStripMenuItem48.Size = new System.Drawing.Size(213, 22); toolStripMenuItem48.Text = "Convert to Application"; // // toolStripSeparator9 @@ -1606,7 +1576,7 @@ private void InitializeComponent() // manageFolderToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { toolStripMenuItem52 }); manageFolderToolStripMenuItem.Name = "manageFolderToolStripMenuItem"; - manageFolderToolStripMenuItem.Size = new System.Drawing.Size(213, 38); + manageFolderToolStripMenuItem.Size = new System.Drawing.Size(213, 22); manageFolderToolStripMenuItem.Text = "Manage Folder"; // // toolStripSeparator11 @@ -1619,7 +1589,7 @@ private void InitializeComponent() toolStripMenuItem54.Enabled = false; toolStripMenuItem54.Image = Main.Properties.Resources.refresh_16; toolStripMenuItem54.Name = "toolStripMenuItem54"; - toolStripMenuItem54.Size = new System.Drawing.Size(213, 38); + toolStripMenuItem54.Size = new System.Drawing.Size(213, 22); toolStripMenuItem54.Text = "Refresh"; // // toolStripSeparator12 @@ -1632,7 +1602,7 @@ private void InitializeComponent() toolStripMenuItem56.Enabled = false; toolStripMenuItem56.Image = Main.Properties.Resources.switch_16; toolStripMenuItem56.Name = "toolStripMenuItem56"; - toolStripMenuItem56.Size = new System.Drawing.Size(213, 38); + toolStripMenuItem56.Size = new System.Drawing.Size(213, 22); toolStripMenuItem56.Text = "Switch to Content View"; // // _logSplitter @@ -1667,8 +1637,7 @@ private void InitializeComponent() // // MainForm // - AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); - AutoScaleMode = AutoScaleMode.Font; + AutoScaleMode = AutoScaleMode.Dpi; ClientSize = new System.Drawing.Size(915, 497); Controls.Add(_logSplitter); Controls.Add(statusStrip1); From 98f8201d2a593ed6141118802d4213ea7812f0e2 Mon Sep 17 00:00:00 2001 From: Lex Li Date: Sun, 6 Apr 2025 16:37:20 -0700 Subject: [PATCH 08/10] Updated HTTP API page. --- .../HttpApiPage.Designer.cs | 6 ++ JexusManager.Features.HttpApi/HttpApiPage.cs | 57 ++++++++++++++++--- 2 files changed, 54 insertions(+), 9 deletions(-) diff --git a/JexusManager.Features.HttpApi/HttpApiPage.Designer.cs b/JexusManager.Features.HttpApi/HttpApiPage.Designer.cs index db971d85..71afa92a 100644 --- a/JexusManager.Features.HttpApi/HttpApiPage.Designer.cs +++ b/JexusManager.Features.HttpApi/HttpApiPage.Designer.cs @@ -164,6 +164,8 @@ private void InitializeComponent() this.lvIP.TabIndex = 1; this.lvIP.UseCompatibleStateImageBehavior = false; this.lvIP.View = System.Windows.Forms.View.Details; + this.lvIP.KeyDown += new System.Windows.Forms.KeyEventHandler(this.LvIPKeyDown); + this.lvIP.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.LvIPMouseDoubleClick); this.lvIP.SelectedIndexChanged += new System.EventHandler(this.LvIPSelectedIndexChanged); // // chAddress @@ -233,6 +235,8 @@ private void InitializeComponent() this.lvSni.TabIndex = 2; this.lvSni.UseCompatibleStateImageBehavior = false; this.lvSni.View = System.Windows.Forms.View.Details; + this.lvSni.KeyDown += new System.Windows.Forms.KeyEventHandler(this.LvSniKeyDown); + this.lvSni.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.LvSniMouseDoubleClick); this.lvSni.SelectedIndexChanged += new System.EventHandler(this.LvSniSelectedIndexChanged); // // columnHeader1 @@ -297,6 +301,8 @@ private void InitializeComponent() this.lvURL.TabIndex = 2; this.lvURL.UseCompatibleStateImageBehavior = false; this.lvURL.View = System.Windows.Forms.View.Details; + this.lvURL.KeyDown += new System.Windows.Forms.KeyEventHandler(this.LvURLKeyDown); + this.lvURL.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.LvURLMouseDoubleClick); this.lvURL.SelectedIndexChanged += new System.EventHandler(this.LvURLSelectedIndexChanged); // // columnHeader7 diff --git a/JexusManager.Features.HttpApi/HttpApiPage.cs b/JexusManager.Features.HttpApi/HttpApiPage.cs index 5c8bd4e0..96c034d9 100644 --- a/JexusManager.Features.HttpApi/HttpApiPage.cs +++ b/JexusManager.Features.HttpApi/HttpApiPage.cs @@ -253,30 +253,69 @@ protected override void Refresh() base.Refresh(); } + private void LvSniKeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Delete && lvSni.SelectedItems.Count > 0) + { + var feature = (SniMappingFeature)tpSNI.Tag; + feature.Remove(); + } + } + + private void LvSniMouseDoubleClick(object sender, MouseEventArgs e) + { + var feature = (SniMappingFeature)tpSNI.Tag; + feature.HandleMouseDoubleClick(lvSni); + } + private void LvSniSelectedIndexChanged(object sender, EventArgs e) { var feature = (SniMappingFeature)tpSNI.Tag; - feature.SelectedItem = lvSni.SelectedItems.Count > 0 - ? ((SniMappingListViewItem)lvSni.SelectedItems[0]).Item - : null; + feature.HandleSelectedIndexChanged(lvSni); Refresh(); } + private void LvIPKeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Delete && lvIP.SelectedItems.Count > 0) + { + var feature = (IpMappingFeature)tpIP.Tag; + feature.Remove(); + } + } + + private void LvIPMouseDoubleClick(object sender, MouseEventArgs e) + { + var feature = (IpMappingFeature)tpIP.Tag; + feature.HandleMouseDoubleClick(lvIP); + } + private void LvIPSelectedIndexChanged(object sender, EventArgs e) { var feature = (IpMappingFeature)tpIP.Tag; - feature.SelectedItem = lvIP.SelectedItems.Count > 0 - ? ((IpMappingListViewItem)lvIP.SelectedItems[0]).Item - : null; + feature.HandleSelectedIndexChanged(lvIP); Refresh(); } + private void LvURLKeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Delete && lvURL.SelectedItems.Count > 0) + { + var feature = (ReservedUrlsFeature)tpURL.Tag; + feature.Remove(); + } + } + + private void LvURLMouseDoubleClick(object sender, MouseEventArgs e) + { + var feature = (ReservedUrlsFeature)tpURL.Tag; + feature.HandleMouseDoubleClick(lvURL); + } + private void LvURLSelectedIndexChanged(object sender, EventArgs e) { var feature = (ReservedUrlsFeature)tpURL.Tag; - feature.SelectedItem = lvURL.SelectedItems.Count > 0 - ? ((ReservedUrlListViewItem)lvURL.SelectedItems[0]).Item - : null; + feature.HandleSelectedIndexChanged(lvURL); Refresh(); } From f23efb50524d8132c846c0a4258ccd22d3059f22 Mon Sep 17 00:00:00 2001 From: Lex Li Date: Sun, 6 Apr 2025 16:46:43 -0700 Subject: [PATCH 09/10] Upgraded to .NET 9. --- CertificateInstaller/CertificateInstaller.csproj | 2 +- .../JexusManager.Features.Access.csproj | 2 +- JexusManager.Features.Asp/JexusManager.Features.Asp.csproj | 2 +- .../JexusManager.Features.Authentication.csproj | 2 +- .../JexusManager.Features.Authorization.csproj | 2 +- .../JexusManager.Features.Caching.csproj | 2 +- .../JexusManager.Features.Certificates.csproj | 2 +- JexusManager.Features.Cgi/JexusManager.Features.Cgi.csproj | 2 +- .../JexusManager.Features.Compression.csproj | 2 +- .../JexusManager.Features.DefaultDocument.csproj | 2 +- .../JexusManager.Features.DirectoryBrowse.csproj | 2 +- .../JexusManager.Features.FastCgi.csproj | 2 +- .../JexusManager.Features.Handlers.csproj | 2 +- .../JexusManager.Features.HttpApi.csproj | 2 +- .../JexusManager.Features.HttpErrors.csproj | 2 +- .../JexusManager.Features.HttpRedirect.csproj | 2 +- .../JexusManager.Features.IpSecurity.csproj | 2 +- .../JexusManager.Features.IsapiCgiRestriction.csproj | 2 +- .../JexusManager.Features.IsapiFilters.csproj | 2 +- .../JexusManager.Features.Jexus.csproj | 2 +- .../JexusManager.Features.Logging.csproj | 2 +- .../JexusManager.Features.MimeMap.csproj | 2 +- .../JexusManager.Features.Modules.csproj | 2 +- .../JexusManager.Features.RequestFiltering.csproj | 2 +- .../JexusManager.Features.ResponseHeaders.csproj | 2 +- .../JexusManager.Features.Rewrite.csproj | 2 +- .../JexusManager.Features.TraceFailedRequests.csproj | 2 +- JexusManager.Shared/JexusManager.Shared.csproj | 2 +- JexusManager/JexusManager.csproj | 2 +- Microsoft.Web.Administration/CertificateInstallerLocator.cs | 4 ++-- .../Microsoft.Web.Administration.csproj | 2 +- Microsoft.Web.Management/Microsoft.Web.Management.csproj | 4 ++-- Tests.JexusManager/Tests.JexusManager.csproj | 2 +- Tests/Tests.csproj | 2 +- 34 files changed, 36 insertions(+), 36 deletions(-) diff --git a/CertificateInstaller/CertificateInstaller.csproj b/CertificateInstaller/CertificateInstaller.csproj index 10044cfb..a343ce0e 100644 --- a/CertificateInstaller/CertificateInstaller.csproj +++ b/CertificateInstaller/CertificateInstaller.csproj @@ -7,7 +7,7 @@ CertificateInstaller true ..\JexusManager\JexusManager.snk - net8.0-windows + net9.0-windows app.manifest diff --git a/JexusManager.Features.Access/JexusManager.Features.Access.csproj b/JexusManager.Features.Access/JexusManager.Features.Access.csproj index 25cfde22..2b235ffd 100644 --- a/JexusManager.Features.Access/JexusManager.Features.Access.csproj +++ b/JexusManager.Features.Access/JexusManager.Features.Access.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.Asp/JexusManager.Features.Asp.csproj b/JexusManager.Features.Asp/JexusManager.Features.Asp.csproj index 5c0d51ef..01f96cb2 100644 --- a/JexusManager.Features.Asp/JexusManager.Features.Asp.csproj +++ b/JexusManager.Features.Asp/JexusManager.Features.Asp.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.Authentication/JexusManager.Features.Authentication.csproj b/JexusManager.Features.Authentication/JexusManager.Features.Authentication.csproj index f0ab8332..69868045 100644 --- a/JexusManager.Features.Authentication/JexusManager.Features.Authentication.csproj +++ b/JexusManager.Features.Authentication/JexusManager.Features.Authentication.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.Authorization/JexusManager.Features.Authorization.csproj b/JexusManager.Features.Authorization/JexusManager.Features.Authorization.csproj index f9a7a649..04f2c6b8 100644 --- a/JexusManager.Features.Authorization/JexusManager.Features.Authorization.csproj +++ b/JexusManager.Features.Authorization/JexusManager.Features.Authorization.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.Caching/JexusManager.Features.Caching.csproj b/JexusManager.Features.Caching/JexusManager.Features.Caching.csproj index c1f57181..abf55457 100644 --- a/JexusManager.Features.Caching/JexusManager.Features.Caching.csproj +++ b/JexusManager.Features.Caching/JexusManager.Features.Caching.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.Certificates/JexusManager.Features.Certificates.csproj b/JexusManager.Features.Certificates/JexusManager.Features.Certificates.csproj index eb8d4f5c..33243965 100644 --- a/JexusManager.Features.Certificates/JexusManager.Features.Certificates.csproj +++ b/JexusManager.Features.Certificates/JexusManager.Features.Certificates.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.Cgi/JexusManager.Features.Cgi.csproj b/JexusManager.Features.Cgi/JexusManager.Features.Cgi.csproj index 3811ed9f..af4392d1 100644 --- a/JexusManager.Features.Cgi/JexusManager.Features.Cgi.csproj +++ b/JexusManager.Features.Cgi/JexusManager.Features.Cgi.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.Compression/JexusManager.Features.Compression.csproj b/JexusManager.Features.Compression/JexusManager.Features.Compression.csproj index fb914fbc..489134a7 100644 --- a/JexusManager.Features.Compression/JexusManager.Features.Compression.csproj +++ b/JexusManager.Features.Compression/JexusManager.Features.Compression.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.DefaultDocument/JexusManager.Features.DefaultDocument.csproj b/JexusManager.Features.DefaultDocument/JexusManager.Features.DefaultDocument.csproj index 73b9488c..14e6072f 100644 --- a/JexusManager.Features.DefaultDocument/JexusManager.Features.DefaultDocument.csproj +++ b/JexusManager.Features.DefaultDocument/JexusManager.Features.DefaultDocument.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.DirectoryBrowse/JexusManager.Features.DirectoryBrowse.csproj b/JexusManager.Features.DirectoryBrowse/JexusManager.Features.DirectoryBrowse.csproj index 340a155f..9bd89b7c 100644 --- a/JexusManager.Features.DirectoryBrowse/JexusManager.Features.DirectoryBrowse.csproj +++ b/JexusManager.Features.DirectoryBrowse/JexusManager.Features.DirectoryBrowse.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.FastCgi/JexusManager.Features.FastCgi.csproj b/JexusManager.Features.FastCgi/JexusManager.Features.FastCgi.csproj index a08e0ec9..4d90fa37 100644 --- a/JexusManager.Features.FastCgi/JexusManager.Features.FastCgi.csproj +++ b/JexusManager.Features.FastCgi/JexusManager.Features.FastCgi.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.Handlers/JexusManager.Features.Handlers.csproj b/JexusManager.Features.Handlers/JexusManager.Features.Handlers.csproj index 63c1cdfd..c4dd4ab7 100644 --- a/JexusManager.Features.Handlers/JexusManager.Features.Handlers.csproj +++ b/JexusManager.Features.Handlers/JexusManager.Features.Handlers.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.HttpApi/JexusManager.Features.HttpApi.csproj b/JexusManager.Features.HttpApi/JexusManager.Features.HttpApi.csproj index beb5218b..8c90d4f9 100644 --- a/JexusManager.Features.HttpApi/JexusManager.Features.HttpApi.csproj +++ b/JexusManager.Features.HttpApi/JexusManager.Features.HttpApi.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.HttpErrors/JexusManager.Features.HttpErrors.csproj b/JexusManager.Features.HttpErrors/JexusManager.Features.HttpErrors.csproj index 7bf82f69..b3d125fb 100644 --- a/JexusManager.Features.HttpErrors/JexusManager.Features.HttpErrors.csproj +++ b/JexusManager.Features.HttpErrors/JexusManager.Features.HttpErrors.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.HttpRedirect/JexusManager.Features.HttpRedirect.csproj b/JexusManager.Features.HttpRedirect/JexusManager.Features.HttpRedirect.csproj index 913a374a..242129c1 100644 --- a/JexusManager.Features.HttpRedirect/JexusManager.Features.HttpRedirect.csproj +++ b/JexusManager.Features.HttpRedirect/JexusManager.Features.HttpRedirect.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.IpSecurity/JexusManager.Features.IpSecurity.csproj b/JexusManager.Features.IpSecurity/JexusManager.Features.IpSecurity.csproj index c2287364..dd113e25 100644 --- a/JexusManager.Features.IpSecurity/JexusManager.Features.IpSecurity.csproj +++ b/JexusManager.Features.IpSecurity/JexusManager.Features.IpSecurity.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.IsapiCgiRestriction/JexusManager.Features.IsapiCgiRestriction.csproj b/JexusManager.Features.IsapiCgiRestriction/JexusManager.Features.IsapiCgiRestriction.csproj index 104ceeb6..a0cddf20 100644 --- a/JexusManager.Features.IsapiCgiRestriction/JexusManager.Features.IsapiCgiRestriction.csproj +++ b/JexusManager.Features.IsapiCgiRestriction/JexusManager.Features.IsapiCgiRestriction.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.IsapiFilters/JexusManager.Features.IsapiFilters.csproj b/JexusManager.Features.IsapiFilters/JexusManager.Features.IsapiFilters.csproj index 24bf581c..e46ed872 100644 --- a/JexusManager.Features.IsapiFilters/JexusManager.Features.IsapiFilters.csproj +++ b/JexusManager.Features.IsapiFilters/JexusManager.Features.IsapiFilters.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.Jexus/JexusManager.Features.Jexus.csproj b/JexusManager.Features.Jexus/JexusManager.Features.Jexus.csproj index 8d749d00..21698003 100644 --- a/JexusManager.Features.Jexus/JexusManager.Features.Jexus.csproj +++ b/JexusManager.Features.Jexus/JexusManager.Features.Jexus.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.Logging/JexusManager.Features.Logging.csproj b/JexusManager.Features.Logging/JexusManager.Features.Logging.csproj index e443920f..dab66c13 100644 --- a/JexusManager.Features.Logging/JexusManager.Features.Logging.csproj +++ b/JexusManager.Features.Logging/JexusManager.Features.Logging.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.MimeMap/JexusManager.Features.MimeMap.csproj b/JexusManager.Features.MimeMap/JexusManager.Features.MimeMap.csproj index 28394fa0..71910cd7 100644 --- a/JexusManager.Features.MimeMap/JexusManager.Features.MimeMap.csproj +++ b/JexusManager.Features.MimeMap/JexusManager.Features.MimeMap.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.Modules/JexusManager.Features.Modules.csproj b/JexusManager.Features.Modules/JexusManager.Features.Modules.csproj index 4de75da9..67c3d61d 100644 --- a/JexusManager.Features.Modules/JexusManager.Features.Modules.csproj +++ b/JexusManager.Features.Modules/JexusManager.Features.Modules.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.RequestFiltering/JexusManager.Features.RequestFiltering.csproj b/JexusManager.Features.RequestFiltering/JexusManager.Features.RequestFiltering.csproj index a5790fa2..bd1e095f 100644 --- a/JexusManager.Features.RequestFiltering/JexusManager.Features.RequestFiltering.csproj +++ b/JexusManager.Features.RequestFiltering/JexusManager.Features.RequestFiltering.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.ResponseHeaders/JexusManager.Features.ResponseHeaders.csproj b/JexusManager.Features.ResponseHeaders/JexusManager.Features.ResponseHeaders.csproj index 6b6cf7f6..38530f49 100644 --- a/JexusManager.Features.ResponseHeaders/JexusManager.Features.ResponseHeaders.csproj +++ b/JexusManager.Features.ResponseHeaders/JexusManager.Features.ResponseHeaders.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.Rewrite/JexusManager.Features.Rewrite.csproj b/JexusManager.Features.Rewrite/JexusManager.Features.Rewrite.csproj index a1f5b643..3ea19122 100644 --- a/JexusManager.Features.Rewrite/JexusManager.Features.Rewrite.csproj +++ b/JexusManager.Features.Rewrite/JexusManager.Features.Rewrite.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Features.TraceFailedRequests/JexusManager.Features.TraceFailedRequests.csproj b/JexusManager.Features.TraceFailedRequests/JexusManager.Features.TraceFailedRequests.csproj index 9daa0985..e1f39540 100644 --- a/JexusManager.Features.TraceFailedRequests/JexusManager.Features.TraceFailedRequests.csproj +++ b/JexusManager.Features.TraceFailedRequests/JexusManager.Features.TraceFailedRequests.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager.Shared/JexusManager.Shared.csproj b/JexusManager.Shared/JexusManager.Shared.csproj index d8a1dcd7..eb1b669c 100644 --- a/JexusManager.Shared/JexusManager.Shared.csproj +++ b/JexusManager.Shared/JexusManager.Shared.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/JexusManager/JexusManager.csproj b/JexusManager/JexusManager.csproj index 02cdab5a..51b2c790 100644 --- a/JexusManager/JexusManager.csproj +++ b/JexusManager/JexusManager.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/Microsoft.Web.Administration/CertificateInstallerLocator.cs b/Microsoft.Web.Administration/CertificateInstallerLocator.cs index d1aa3344..16078ee9 100644 --- a/Microsoft.Web.Administration/CertificateInstallerLocator.cs +++ b/Microsoft.Web.Administration/CertificateInstallerLocator.cs @@ -23,13 +23,13 @@ private static string FindMainHelper(string executable) return defaultPath; } - var debugBuild = Path.Combine(Environment.CurrentDirectory, $@"..\..\..\..\CertificateInstaller\bin\Debug\net8.0-windows\{executable}"); + var debugBuild = Path.Combine(Environment.CurrentDirectory, $@"..\..\..\..\CertificateInstaller\bin\Debug\net9.0-windows\{executable}"); if (File.Exists(debugBuild)) { return debugBuild; } - var releaseBuild = Path.Combine(Environment.CurrentDirectory, $@"..\..\..\..\CertificateInstaller\bin\Release\net8.0-windows\{executable}"); + var releaseBuild = Path.Combine(Environment.CurrentDirectory, $@"..\..\..\..\CertificateInstaller\bin\Release\net9.0-windows\{executable}"); if (File.Exists(releaseBuild)) { return releaseBuild; diff --git a/Microsoft.Web.Administration/Microsoft.Web.Administration.csproj b/Microsoft.Web.Administration/Microsoft.Web.Administration.csproj index 10690f30..f031c570 100644 --- a/Microsoft.Web.Administration/Microsoft.Web.Administration.csproj +++ b/Microsoft.Web.Administration/Microsoft.Web.Administration.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/Microsoft.Web.Management/Microsoft.Web.Management.csproj b/Microsoft.Web.Management/Microsoft.Web.Management.csproj index 48540867..0398e3b3 100644 --- a/Microsoft.Web.Management/Microsoft.Web.Management.csproj +++ b/Microsoft.Web.Management/Microsoft.Web.Management.csproj @@ -1,14 +1,14 @@  - net8.0-windows + net9.0-windows true false {17E994B0-5A31-4F79-9796-83A45E87853D} Properties Microsoft.Web.Management Microsoft.Web.Management - net8.0-windows + net9.0-windows diff --git a/Tests.JexusManager/Tests.JexusManager.csproj b/Tests.JexusManager/Tests.JexusManager.csproj index 8aa59645..51a28c6b 100644 --- a/Tests.JexusManager/Tests.JexusManager.csproj +++ b/Tests.JexusManager/Tests.JexusManager.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj index 789f95d7..009af17f 100644 --- a/Tests/Tests.csproj +++ b/Tests/Tests.csproj @@ -1,7 +1,7 @@  - net8.0-windows + net9.0-windows true false true From 204d3fc8ad77930538b17fac10665f5ad44d694c Mon Sep 17 00:00:00 2001 From: Lex Li Date: Sun, 6 Apr 2025 17:27:24 -0700 Subject: [PATCH 10/10] Fixed .NET 9 related errors. --- .../CredentialsDialog.cs | 2 ++ JexusManager.Features.Authorization/NewRuleDialog.cs | 1 + JexusManager.Features.Caching/NewCachingDialog.cs | 1 + .../CompleteRequestDialog.cs | 2 ++ .../ImportCertificateDialog.cs | 2 ++ .../SelfCertificateDialog.cs | 2 ++ .../NewDefaultDocumentDialog.cs | 1 + JexusManager.Features.FastCgi/NewApplicationDialog.cs | 1 + JexusManager.Features.Handlers/NewHandlerDialog.cs | 1 + JexusManager.Features.Handlers/NewMappingDialog.cs | 1 + JexusManager.Features.Handlers/NewScriptMapDialog.cs | 1 + JexusManager.Features.Handlers/NewWildcardDialog.cs | 1 + JexusManager.Features.HttpApi/NewReservedUrlDialog.cs | 1 + JexusManager.Features.HttpErrors/NewErrorDialog.cs | 1 + .../NewRestrictionDialog.cs | 1 + .../NewRestrictionDialog.cs | 1 + JexusManager.Features.IsapiFilters/NewFilterDialog.cs | 1 + JexusManager.Features.Logging/AddFieldDialog.cs | 1 + JexusManager.Features.MimeMap/NewMapItemDialog.cs | 1 + JexusManager.Features.Modules/NativeModulesDialog.cs | 1 + JexusManager.Features.Modules/NewModuleDialog.cs | 1 + JexusManager.Features.Modules/NewNativeDialog.cs | 4 +++- .../NewExtensionDialog.cs | 1 + .../NewHeaderDialog.cs | 1 + .../NewHiddenSegmentDialog.cs | 1 + .../NewQueryDialog.cs | 1 + .../NewRuleDialog.cs | 1 + JexusManager.Features.RequestFiltering/NewUrlDialog.cs | 1 + .../NewVerbDialog.cs | 1 + .../NewHeaderDialog.cs | 1 + .../Inbound/AddAllowedVariableDialog.cs | 1 + .../Inbound/AddConditionDialog.cs | 1 + JexusManager.Features.Rewrite/Inbound/AddMapDialog.cs | 1 + JexusManager.Features.Rewrite/Inbound/AddMapsDialog.cs | 1 + .../Inbound/AddServerVariableDialog.cs | 1 + .../Inbound/InboundRulePage.cs | 5 ++++- JexusManager.Features.Rewrite/Inbound/MapPage.cs | 4 +++- JexusManager.Features.Rewrite/Inbound/MapsPage.cs | 4 +++- .../Inbound/ServerVariablesPage.cs | 2 ++ JexusManager.Features.Rewrite/NewRewriteRuleDialog.cs | 1 + .../Outbound/AddCustomTagDialog.cs | 1 + .../Outbound/AddCustomTagsDialog.cs | 1 + .../Outbound/AddPreconditionDialog.cs | 1 + .../Outbound/CustomTagsPage.cs | 4 +++- .../Outbound/OutboundRulePage.cs | 5 ++++- .../Outbound/PreConditionsPage.cs | 4 +++- .../NewTraceDialog.cs | 1 + .../Wizards/AddTraceWizard/AddTraceWizard.cs | 4 +++- JexusManager/Dialogs/CredentialsDialog.cs | 2 ++ JexusManager/Dialogs/NewApplicationDialog.cs | 1 + JexusManager/Dialogs/NewSiteDialog.cs | 1 + JexusManager/Dialogs/NewVirtualDirectoryDialog.cs | 1 + JexusManager/Dialogs/SelectPoolDialog.cs | 1 + .../Main/ApplicationPoolBasicSettingsDialog.cs | 1 + JexusManager/Features/Main/BindingDialog.cs | 1 + JexusManager/Features/Main/CredentialsDialog.cs | 2 ++ JexusManager/Features/Main/HomePage.cs | 10 ++-------- .../WebConfigurationManager.cs | 4 ++-- Microsoft.Web.Management/Client/Win32/BaseForm.cs | 2 ++ .../Client/Win32/ListPageListView.cs | 3 +++ .../Client/Win32/ManagementGroupBox.cs | 4 +++- .../Client/Win32/ManagementPanel.cs | 4 +++- .../Client/Win32/ManagementTabPage.cs | 4 +++- .../Client/Win32/ModuleListPage.cs | 2 ++ Microsoft.Web.Management/Client/Win32/ModulePage.cs | 2 ++ Microsoft.Web.Management/Client/Win32/WizardForm.cs | 8 ++++++++ Microsoft.Web.Management/Client/Win32/WizardPage.cs | 3 +++ Microsoft.Web.Management/Server/PropertyBag.cs | 6 +++--- .../Server/WebManagementServiceHandler.cs | 2 +- 69 files changed, 118 insertions(+), 25 deletions(-) diff --git a/JexusManager.Features.Authentication/CredentialsDialog.cs b/JexusManager.Features.Authentication/CredentialsDialog.cs index dc6d5fb2..c70c5e7f 100644 --- a/JexusManager.Features.Authentication/CredentialsDialog.cs +++ b/JexusManager.Features.Authentication/CredentialsDialog.cs @@ -59,8 +59,10 @@ public CredentialsDialog(IServiceProvider serviceProvider, string name, Authenti })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public string Password { get; set; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public string UserName { get; set; } } } diff --git a/JexusManager.Features.Authorization/NewRuleDialog.cs b/JexusManager.Features.Authorization/NewRuleDialog.cs index 06d53cd9..a4b530cd 100644 --- a/JexusManager.Features.Authorization/NewRuleDialog.cs +++ b/JexusManager.Features.Authorization/NewRuleDialog.cs @@ -130,6 +130,7 @@ public NewRuleDialog(IServiceProvider serviceProvider, AuthorizationRule existin })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public AuthorizationRule Item { get; private set; } } } diff --git a/JexusManager.Features.Caching/NewCachingDialog.cs b/JexusManager.Features.Caching/NewCachingDialog.cs index d3ce6434..808cc4bb 100644 --- a/JexusManager.Features.Caching/NewCachingDialog.cs +++ b/JexusManager.Features.Caching/NewCachingDialog.cs @@ -123,6 +123,7 @@ public NewCachingDialog(IServiceProvider serviceProvider, CachingItem existing, })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public CachingItem Item { get; set; } } } diff --git a/JexusManager.Features.Certificates/CompleteRequestDialog.cs b/JexusManager.Features.Certificates/CompleteRequestDialog.cs index 433e1430..defd143f 100644 --- a/JexusManager.Features.Certificates/CompleteRequestDialog.cs +++ b/JexusManager.Features.Certificates/CompleteRequestDialog.cs @@ -126,8 +126,10 @@ public CompleteRequestDialog(IServiceProvider serviceProvider, CertificatesFeatu })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public string Store { get; set; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public X509Certificate2 Item { get; set; } private void Install(string p12File, string p12pwd) diff --git a/JexusManager.Features.Certificates/ImportCertificateDialog.cs b/JexusManager.Features.Certificates/ImportCertificateDialog.cs index 1036ebd1..8918a2d3 100644 --- a/JexusManager.Features.Certificates/ImportCertificateDialog.cs +++ b/JexusManager.Features.Certificates/ImportCertificateDialog.cs @@ -129,8 +129,10 @@ public ImportCertificateDialog(IServiceProvider serviceProvider, CertificatesFea })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public string Store { get; set; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public X509Certificate2 Item { get; set; } private void Install(string fileName, string password) diff --git a/JexusManager.Features.Certificates/SelfCertificateDialog.cs b/JexusManager.Features.Certificates/SelfCertificateDialog.cs index d67bac46..fb28cf60 100644 --- a/JexusManager.Features.Certificates/SelfCertificateDialog.cs +++ b/JexusManager.Features.Certificates/SelfCertificateDialog.cs @@ -224,8 +224,10 @@ public SelfCertificateDialog(IServiceProvider serviceProvider, CertificatesFeatu })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public string Store { get; set; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public X509Certificate2 Item { get; set; } } } diff --git a/JexusManager.Features.DefaultDocument/NewDefaultDocumentDialog.cs b/JexusManager.Features.DefaultDocument/NewDefaultDocumentDialog.cs index 6b9bea36..1ebf9a8a 100644 --- a/JexusManager.Features.DefaultDocument/NewDefaultDocumentDialog.cs +++ b/JexusManager.Features.DefaultDocument/NewDefaultDocumentDialog.cs @@ -71,6 +71,7 @@ public NewDefaultDocumentDialog(IServiceProvider serviceProvider, DefaultDocumen })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public DocumentItem Item { get; set; } } } diff --git a/JexusManager.Features.FastCgi/NewApplicationDialog.cs b/JexusManager.Features.FastCgi/NewApplicationDialog.cs index 04cc9006..5df64358 100644 --- a/JexusManager.Features.FastCgi/NewApplicationDialog.cs +++ b/JexusManager.Features.FastCgi/NewApplicationDialog.cs @@ -76,6 +76,7 @@ public NewApplicationDialog(IServiceProvider serviceProvider, FastCgiItem existi })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public FastCgiItem Item { get; set; } } } diff --git a/JexusManager.Features.Handlers/NewHandlerDialog.cs b/JexusManager.Features.Handlers/NewHandlerDialog.cs index 7b293a66..17f899ff 100644 --- a/JexusManager.Features.Handlers/NewHandlerDialog.cs +++ b/JexusManager.Features.Handlers/NewHandlerDialog.cs @@ -83,6 +83,7 @@ public NewHandlerDialog(IServiceProvider serviceProvider, HandlersItem existing, })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public HandlersItem Item { get; set; } private void NewRestrictionDialogHelpButtonClicked(object sender, CancelEventArgs e) diff --git a/JexusManager.Features.Handlers/NewMappingDialog.cs b/JexusManager.Features.Handlers/NewMappingDialog.cs index 93b24886..8868e648 100644 --- a/JexusManager.Features.Handlers/NewMappingDialog.cs +++ b/JexusManager.Features.Handlers/NewMappingDialog.cs @@ -195,6 +195,7 @@ public NewMappingDialog(IServiceProvider serviceProvider, HandlersItem existing, })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public HandlersItem Item { get; set; } private void NewRestrictionDialogHelpButtonClicked(object sender, CancelEventArgs e) diff --git a/JexusManager.Features.Handlers/NewScriptMapDialog.cs b/JexusManager.Features.Handlers/NewScriptMapDialog.cs index 436097da..0f89eb4c 100644 --- a/JexusManager.Features.Handlers/NewScriptMapDialog.cs +++ b/JexusManager.Features.Handlers/NewScriptMapDialog.cs @@ -95,6 +95,7 @@ public NewScriptMapDialog(IServiceProvider serviceProvider, HandlersItem existin })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public HandlersItem Item { get; set; } private void NewRestrictionDialogHelpButtonClicked(object sender, CancelEventArgs e) diff --git a/JexusManager.Features.Handlers/NewWildcardDialog.cs b/JexusManager.Features.Handlers/NewWildcardDialog.cs index 4fbc8d74..0f6f0e65 100644 --- a/JexusManager.Features.Handlers/NewWildcardDialog.cs +++ b/JexusManager.Features.Handlers/NewWildcardDialog.cs @@ -83,6 +83,7 @@ public NewWildcardDialog(IServiceProvider serviceProvider, HandlersItem existing })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public HandlersItem Item { get; set; } private void NewRestrictionDialogHelpButtonClicked(object sender, CancelEventArgs e) diff --git a/JexusManager.Features.HttpApi/NewReservedUrlDialog.cs b/JexusManager.Features.HttpApi/NewReservedUrlDialog.cs index 1990cac0..89c9f773 100644 --- a/JexusManager.Features.HttpApi/NewReservedUrlDialog.cs +++ b/JexusManager.Features.HttpApi/NewReservedUrlDialog.cs @@ -60,6 +60,7 @@ public NewReservedUrlDialog(IServiceProvider serviceProvider, ReservedUrlsFeatur })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public ReservedUrlsItem Item { get; set; } } } diff --git a/JexusManager.Features.HttpErrors/NewErrorDialog.cs b/JexusManager.Features.HttpErrors/NewErrorDialog.cs index f2a87e1c..d09f32b0 100644 --- a/JexusManager.Features.HttpErrors/NewErrorDialog.cs +++ b/JexusManager.Features.HttpErrors/NewErrorDialog.cs @@ -219,6 +219,7 @@ private void UpdateUI(HttpErrorsItem item) cbLocalize.Enabled = btnSet.Enabled = txtStatic.Enabled = mode == "File"; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public HttpErrorsItem Item { get; set; } } } diff --git a/JexusManager.Features.IpSecurity/NewRestrictionDialog.cs b/JexusManager.Features.IpSecurity/NewRestrictionDialog.cs index 7197feac..e45521a2 100644 --- a/JexusManager.Features.IpSecurity/NewRestrictionDialog.cs +++ b/JexusManager.Features.IpSecurity/NewRestrictionDialog.cs @@ -134,6 +134,7 @@ public NewRestrictionDialog(IServiceProvider serviceProvider, bool allowed, IpSe })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public IpSecurityItem Item { get; set; } } } diff --git a/JexusManager.Features.IsapiCgiRestriction/NewRestrictionDialog.cs b/JexusManager.Features.IsapiCgiRestriction/NewRestrictionDialog.cs index 24285ea7..92f73741 100644 --- a/JexusManager.Features.IsapiCgiRestriction/NewRestrictionDialog.cs +++ b/JexusManager.Features.IsapiCgiRestriction/NewRestrictionDialog.cs @@ -78,6 +78,7 @@ public NewRestrictionDialog(IServiceProvider serviceProvider, IsapiCgiRestrictio })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public IsapiCgiRestrictionItem Item { get; set; } } } diff --git a/JexusManager.Features.IsapiFilters/NewFilterDialog.cs b/JexusManager.Features.IsapiFilters/NewFilterDialog.cs index 7cf1fd2b..b462c7a4 100644 --- a/JexusManager.Features.IsapiFilters/NewFilterDialog.cs +++ b/JexusManager.Features.IsapiFilters/NewFilterDialog.cs @@ -104,6 +104,7 @@ public NewFilterDialog(IServiceProvider serviceProvider, IsapiFiltersItem existi })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public IsapiFiltersItem Item { get; set; } } } diff --git a/JexusManager.Features.Logging/AddFieldDialog.cs b/JexusManager.Features.Logging/AddFieldDialog.cs index a1c78870..b3b2227e 100644 --- a/JexusManager.Features.Logging/AddFieldDialog.cs +++ b/JexusManager.Features.Logging/AddFieldDialog.cs @@ -15,6 +15,7 @@ namespace JexusManager.Features.Logging internal partial class AddFieldDialog : DialogForm { + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public CustomLogField Custom { get; private set; } public AddFieldDialog(IServiceProvider serviceProvider, CustomLogField custom, Fields logFile) diff --git a/JexusManager.Features.MimeMap/NewMapItemDialog.cs b/JexusManager.Features.MimeMap/NewMapItemDialog.cs index a46b3d88..cdf3d5ff 100644 --- a/JexusManager.Features.MimeMap/NewMapItemDialog.cs +++ b/JexusManager.Features.MimeMap/NewMapItemDialog.cs @@ -70,6 +70,7 @@ public NewMapItemDialog(IServiceProvider serviceProvider, MimeMapItem existing, })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public MimeMapItem Item { get; set; } } } diff --git a/JexusManager.Features.Modules/NativeModulesDialog.cs b/JexusManager.Features.Modules/NativeModulesDialog.cs index b88a7e59..80faa823 100644 --- a/JexusManager.Features.Modules/NativeModulesDialog.cs +++ b/JexusManager.Features.Modules/NativeModulesDialog.cs @@ -130,6 +130,7 @@ public NativeModulesDialog(IServiceProvider serviceProvider, ModulesFeature feat })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public List Items { get; set; } } } diff --git a/JexusManager.Features.Modules/NewModuleDialog.cs b/JexusManager.Features.Modules/NewModuleDialog.cs index 99313c34..796e8bc8 100644 --- a/JexusManager.Features.Modules/NewModuleDialog.cs +++ b/JexusManager.Features.Modules/NewModuleDialog.cs @@ -74,6 +74,7 @@ public NewModuleDialog(IServiceProvider serviceProvider, ModulesItem existing, M })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public ModulesItem Item { get; set; } } } diff --git a/JexusManager.Features.Modules/NewNativeDialog.cs b/JexusManager.Features.Modules/NewNativeDialog.cs index 94793839..85b70c3e 100644 --- a/JexusManager.Features.Modules/NewNativeDialog.cs +++ b/JexusManager.Features.Modules/NewNativeDialog.cs @@ -1,4 +1,5 @@ -// Copyright (c) Lex Li. All rights reserved. +using System.ComponentModel; +// Copyright (c) Lex Li. All rights reserved. // // Licensed under the MIT license. See LICENSE file in the project root for full license information. @@ -93,6 +94,7 @@ public NewNativeDialog(IServiceProvider serviceProvider, GlobalModule existing) })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public GlobalModule Item { get; set; } } } diff --git a/JexusManager.Features.RequestFiltering/NewExtensionDialog.cs b/JexusManager.Features.RequestFiltering/NewExtensionDialog.cs index 3628104d..061d21ff 100644 --- a/JexusManager.Features.RequestFiltering/NewExtensionDialog.cs +++ b/JexusManager.Features.RequestFiltering/NewExtensionDialog.cs @@ -56,6 +56,7 @@ public NewExtensionDialog(IServiceProvider serviceProvider, FileExtensionsFeatur })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public FileExtensionsItem Item { get; set; } private void NewHiddenSegmentDialogHelpButtonClicked(object sender, CancelEventArgs e) diff --git a/JexusManager.Features.RequestFiltering/NewHeaderDialog.cs b/JexusManager.Features.RequestFiltering/NewHeaderDialog.cs index 43c933d1..3071e561 100644 --- a/JexusManager.Features.RequestFiltering/NewHeaderDialog.cs +++ b/JexusManager.Features.RequestFiltering/NewHeaderDialog.cs @@ -44,6 +44,7 @@ public NewHeaderDialog(IServiceProvider serviceProvider) })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public HeadersItem Item { get; set; } private void NewHiddenSegmentDialogHelpButtonClicked(object sender, CancelEventArgs e) diff --git a/JexusManager.Features.RequestFiltering/NewHiddenSegmentDialog.cs b/JexusManager.Features.RequestFiltering/NewHiddenSegmentDialog.cs index 10d3ccae..9a62450f 100644 --- a/JexusManager.Features.RequestFiltering/NewHiddenSegmentDialog.cs +++ b/JexusManager.Features.RequestFiltering/NewHiddenSegmentDialog.cs @@ -43,6 +43,7 @@ public NewHiddenSegmentDialog(IServiceProvider serviceProvider) })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public HiddenSegmentsItem Item { get; set; } private void NewHiddenSegmentDialogHelpButtonClicked(object sender, CancelEventArgs e) diff --git a/JexusManager.Features.RequestFiltering/NewQueryDialog.cs b/JexusManager.Features.RequestFiltering/NewQueryDialog.cs index da09467a..03bac43d 100644 --- a/JexusManager.Features.RequestFiltering/NewQueryDialog.cs +++ b/JexusManager.Features.RequestFiltering/NewQueryDialog.cs @@ -43,6 +43,7 @@ public NewQueryDialog(IServiceProvider serviceProvider, bool allowed) })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public QueryStringsItem Item { get; set; } private void NewHiddenSegmentDialogHelpButtonClicked(object sender, CancelEventArgs e) diff --git a/JexusManager.Features.RequestFiltering/NewRuleDialog.cs b/JexusManager.Features.RequestFiltering/NewRuleDialog.cs index 14c28b92..1dbeb833 100644 --- a/JexusManager.Features.RequestFiltering/NewRuleDialog.cs +++ b/JexusManager.Features.RequestFiltering/NewRuleDialog.cs @@ -97,6 +97,7 @@ public NewRuleDialog(IServiceProvider serviceProvider, FilteringRulesItem existi })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public FilteringRulesItem Item { get; set; } private void NewHiddenSegmentDialogHelpButtonClicked(object sender, CancelEventArgs e) diff --git a/JexusManager.Features.RequestFiltering/NewUrlDialog.cs b/JexusManager.Features.RequestFiltering/NewUrlDialog.cs index 40be02d9..5a09d928 100644 --- a/JexusManager.Features.RequestFiltering/NewUrlDialog.cs +++ b/JexusManager.Features.RequestFiltering/NewUrlDialog.cs @@ -44,6 +44,7 @@ public NewUrlDialog(IServiceProvider serviceProvider, bool allowed) })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public UrlsItem Item { get; set; } private void NewHiddenSegmentDialogHelpButtonClicked(object sender, CancelEventArgs e) diff --git a/JexusManager.Features.RequestFiltering/NewVerbDialog.cs b/JexusManager.Features.RequestFiltering/NewVerbDialog.cs index 5c2f04d8..ae07426d 100644 --- a/JexusManager.Features.RequestFiltering/NewVerbDialog.cs +++ b/JexusManager.Features.RequestFiltering/NewVerbDialog.cs @@ -43,6 +43,7 @@ public NewVerbDialog(IServiceProvider serviceProvider, bool allowed) })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public VerbsItem Item { get; set; } private void NewHiddenSegmentDialogHelpButtonClicked(object sender, CancelEventArgs e) diff --git a/JexusManager.Features.ResponseHeaders/NewHeaderDialog.cs b/JexusManager.Features.ResponseHeaders/NewHeaderDialog.cs index 91b4754a..1e5adfd4 100644 --- a/JexusManager.Features.ResponseHeaders/NewHeaderDialog.cs +++ b/JexusManager.Features.ResponseHeaders/NewHeaderDialog.cs @@ -66,6 +66,7 @@ public NewHeaderDialog(IServiceProvider serviceProvider, ResponseHeadersItem sel })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public ResponseHeadersItem Item { get; set; } } } diff --git a/JexusManager.Features.Rewrite/Inbound/AddAllowedVariableDialog.cs b/JexusManager.Features.Rewrite/Inbound/AddAllowedVariableDialog.cs index d5193133..67590b79 100644 --- a/JexusManager.Features.Rewrite/Inbound/AddAllowedVariableDialog.cs +++ b/JexusManager.Features.Rewrite/Inbound/AddAllowedVariableDialog.cs @@ -64,6 +64,7 @@ private void AddVariableDialogHelpButtonClicked(object sender, CancelEventArgs e DialogHelper.ProcessStart("http://go.microsoft.com/fwlink/?LinkId=163108"); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public AllowedVariableItem Item { get; set; } } } diff --git a/JexusManager.Features.Rewrite/Inbound/AddConditionDialog.cs b/JexusManager.Features.Rewrite/Inbound/AddConditionDialog.cs index 0db4f714..df821710 100644 --- a/JexusManager.Features.Rewrite/Inbound/AddConditionDialog.cs +++ b/JexusManager.Features.Rewrite/Inbound/AddConditionDialog.cs @@ -92,6 +92,7 @@ public AddConditionDialog(IServiceProvider serviceProvider, ConditionItem existi })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public ConditionItem Item { get; private set; } private void AddConditionDialogHelpButtonClicked(object sender, CancelEventArgs e) diff --git a/JexusManager.Features.Rewrite/Inbound/AddMapDialog.cs b/JexusManager.Features.Rewrite/Inbound/AddMapDialog.cs index 85a956ab..4bc55d1e 100644 --- a/JexusManager.Features.Rewrite/Inbound/AddMapDialog.cs +++ b/JexusManager.Features.Rewrite/Inbound/AddMapDialog.cs @@ -20,6 +20,7 @@ namespace JexusManager.Features.Rewrite.Inbound internal partial class AddMapDialog : DialogForm { + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public MapRule Item { get; set; } public AddMapDialog(IServiceProvider serviceProvider, MapRule existing, MapsFeature feature) diff --git a/JexusManager.Features.Rewrite/Inbound/AddMapsDialog.cs b/JexusManager.Features.Rewrite/Inbound/AddMapsDialog.cs index 2948bed9..0d216dd6 100644 --- a/JexusManager.Features.Rewrite/Inbound/AddMapsDialog.cs +++ b/JexusManager.Features.Rewrite/Inbound/AddMapsDialog.cs @@ -64,6 +64,7 @@ private void AddVariableDialogHelpButtonClicked(object sender, CancelEventArgs e DialogHelper.ProcessStart("http://go.microsoft.com/fwlink/?LinkId=163108"); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public MapItem Item { get; set; } } } diff --git a/JexusManager.Features.Rewrite/Inbound/AddServerVariableDialog.cs b/JexusManager.Features.Rewrite/Inbound/AddServerVariableDialog.cs index 77691b4b..eeeba56b 100644 --- a/JexusManager.Features.Rewrite/Inbound/AddServerVariableDialog.cs +++ b/JexusManager.Features.Rewrite/Inbound/AddServerVariableDialog.cs @@ -64,6 +64,7 @@ public AddServerVariableDialog(IServiceProvider serviceProvider, ServerVariableI })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public ServerVariableItem Item { get; set; } private void AddServerVariableDialogHelpButtonClicked(object sender, CancelEventArgs e) diff --git a/JexusManager.Features.Rewrite/Inbound/InboundRulePage.cs b/JexusManager.Features.Rewrite/Inbound/InboundRulePage.cs index 853f5f41..e441b2f8 100644 --- a/JexusManager.Features.Rewrite/Inbound/InboundRulePage.cs +++ b/JexusManager.Features.Rewrite/Inbound/InboundRulePage.cs @@ -1,4 +1,5 @@ -// Copyright (c) Lex Li. All rights reserved. +using System.ComponentModel; +// Copyright (c) Lex Li. All rights reserved. // // Licensed under the MIT license. See LICENSE file in the project root for full license information. @@ -164,6 +165,7 @@ private void TxtNameTextChanged(object sender, EventArgs e) InformChanges(); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public InboundRule Rule { get; set; } private void BtnTestClick(object sender, EventArgs e) @@ -372,6 +374,7 @@ protected override void OnRefresh() Tasks.Fill(tsActionPanel, cmsActionPanel); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public IModulePage ParentPage { get; set; } private void CbActionSelectedIndexChanged(object sender, EventArgs e) diff --git a/JexusManager.Features.Rewrite/Inbound/MapPage.cs b/JexusManager.Features.Rewrite/Inbound/MapPage.cs index 315a605f..390cebe3 100644 --- a/JexusManager.Features.Rewrite/Inbound/MapPage.cs +++ b/JexusManager.Features.Rewrite/Inbound/MapPage.cs @@ -1,4 +1,5 @@ -// Copyright (c) Lex Li. All rights reserved. +using System.ComponentModel; +// Copyright (c) Lex Li. All rights reserved. // // Licensed under the MIT license. See LICENSE file in the project root for full license information. @@ -247,6 +248,7 @@ protected override TaskListCollection Tasks } } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public IModulePage ParentPage { get; set; } } } diff --git a/JexusManager.Features.Rewrite/Inbound/MapsPage.cs b/JexusManager.Features.Rewrite/Inbound/MapsPage.cs index f6301dc7..102354fc 100644 --- a/JexusManager.Features.Rewrite/Inbound/MapsPage.cs +++ b/JexusManager.Features.Rewrite/Inbound/MapsPage.cs @@ -1,4 +1,5 @@ -// Copyright (c) Lex Li. All rights reserved. +using System.ComponentModel; +// Copyright (c) Lex Li. All rights reserved. // // Licensed under the MIT license. See LICENSE file in the project root for full license information. @@ -186,6 +187,7 @@ protected override TaskListCollection Tasks } } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public IModulePage ParentPage { get; set; } } } diff --git a/JexusManager.Features.Rewrite/Inbound/ServerVariablesPage.cs b/JexusManager.Features.Rewrite/Inbound/ServerVariablesPage.cs index a99a5907..74a7a1cc 100644 --- a/JexusManager.Features.Rewrite/Inbound/ServerVariablesPage.cs +++ b/JexusManager.Features.Rewrite/Inbound/ServerVariablesPage.cs @@ -12,6 +12,7 @@ namespace JexusManager.Features.Rewrite.Inbound { using System; using System.Collections; + using System.ComponentModel; using System.Diagnostics; using System.Reflection; using System.Windows.Forms; @@ -184,6 +185,7 @@ protected override TaskListCollection Tasks } } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public IModulePage ParentPage { get; set; } } } diff --git a/JexusManager.Features.Rewrite/NewRewriteRuleDialog.cs b/JexusManager.Features.Rewrite/NewRewriteRuleDialog.cs index e77cd17d..510b8eaf 100644 --- a/JexusManager.Features.Rewrite/NewRewriteRuleDialog.cs +++ b/JexusManager.Features.Rewrite/NewRewriteRuleDialog.cs @@ -147,6 +147,7 @@ public NewRewriteRuleDialog(IServiceProvider serviceProvider) })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public int SelectedIndex { get; private set; } private void NewRewriteRuleDialogHelpButtonClicked(object sender, CancelEventArgs e) diff --git a/JexusManager.Features.Rewrite/Outbound/AddCustomTagDialog.cs b/JexusManager.Features.Rewrite/Outbound/AddCustomTagDialog.cs index fb32b403..b54646af 100644 --- a/JexusManager.Features.Rewrite/Outbound/AddCustomTagDialog.cs +++ b/JexusManager.Features.Rewrite/Outbound/AddCustomTagDialog.cs @@ -50,6 +50,7 @@ public AddCustomTagDialog(IServiceProvider serviceProvider) })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public CustomTagItem Item { get; set; } private void AddCustomTagDialogHelpButtonClicked(object sender, CancelEventArgs e) diff --git a/JexusManager.Features.Rewrite/Outbound/AddCustomTagsDialog.cs b/JexusManager.Features.Rewrite/Outbound/AddCustomTagsDialog.cs index 2ef95599..fc8f2f19 100644 --- a/JexusManager.Features.Rewrite/Outbound/AddCustomTagsDialog.cs +++ b/JexusManager.Features.Rewrite/Outbound/AddCustomTagsDialog.cs @@ -78,6 +78,7 @@ public AddCustomTagsDialog(IServiceProvider serviceProvider) })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public CustomTagsItem Item { get; set; } private void AddCustomTagsDialogHelpButtonClicked(object sender, CancelEventArgs e) diff --git a/JexusManager.Features.Rewrite/Outbound/AddPreconditionDialog.cs b/JexusManager.Features.Rewrite/Outbound/AddPreconditionDialog.cs index ae281a1a..b3254428 100644 --- a/JexusManager.Features.Rewrite/Outbound/AddPreconditionDialog.cs +++ b/JexusManager.Features.Rewrite/Outbound/AddPreconditionDialog.cs @@ -168,6 +168,7 @@ public AddPreConditionDialog(IServiceProvider serviceProvider, PreConditionItem })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public PreConditionItem Item { get; set; } private void AddPreconditionDialogHelpButtonClicked(object sender, CancelEventArgs e) diff --git a/JexusManager.Features.Rewrite/Outbound/CustomTagsPage.cs b/JexusManager.Features.Rewrite/Outbound/CustomTagsPage.cs index 93d42923..fc6886b9 100644 --- a/JexusManager.Features.Rewrite/Outbound/CustomTagsPage.cs +++ b/JexusManager.Features.Rewrite/Outbound/CustomTagsPage.cs @@ -1,4 +1,5 @@ -// Copyright (c) Lex Li. All rights reserved. +using System.ComponentModel; +// Copyright (c) Lex Li. All rights reserved. // // Licensed under the MIT license. See LICENSE file in the project root for full license information. @@ -194,6 +195,7 @@ protected override TaskListCollection Tasks } } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public IModulePage ParentPage { get; set; } } } diff --git a/JexusManager.Features.Rewrite/Outbound/OutboundRulePage.cs b/JexusManager.Features.Rewrite/Outbound/OutboundRulePage.cs index 30b90f2c..999e3299 100644 --- a/JexusManager.Features.Rewrite/Outbound/OutboundRulePage.cs +++ b/JexusManager.Features.Rewrite/Outbound/OutboundRulePage.cs @@ -1,4 +1,5 @@ -// Copyright (c) Lex Li. All rights reserved. +using System.ComponentModel; +// Copyright (c) Lex Li. All rights reserved. // // Licensed under the MIT license. See LICENSE file in the project root for full license information. @@ -196,6 +197,7 @@ private void TxtNameTextChanged(object sender, EventArgs e) InformChanges(); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public OutboundRule Rule { get; set; } private void BtnTestClick(object sender, EventArgs e) @@ -389,6 +391,7 @@ protected override void OnRefresh() Tasks.Fill(tsActionPanel, cmsActionPanel); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public IModulePage ParentPage { get; set; } private void CbActionSelectedIndexChanged(object sender, EventArgs e) diff --git a/JexusManager.Features.Rewrite/Outbound/PreConditionsPage.cs b/JexusManager.Features.Rewrite/Outbound/PreConditionsPage.cs index fb85fb18..bd3e3770 100644 --- a/JexusManager.Features.Rewrite/Outbound/PreConditionsPage.cs +++ b/JexusManager.Features.Rewrite/Outbound/PreConditionsPage.cs @@ -1,4 +1,5 @@ -// Copyright (c) Lex Li. All rights reserved. +using System.ComponentModel; +// Copyright (c) Lex Li. All rights reserved. // // Licensed under the MIT license. See LICENSE file in the project root for full license information. @@ -195,6 +196,7 @@ protected override TaskListCollection Tasks } } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public IModulePage ParentPage { get; set; } } } diff --git a/JexusManager.Features.TraceFailedRequests/NewTraceDialog.cs b/JexusManager.Features.TraceFailedRequests/NewTraceDialog.cs index 61daa8be..b982cb98 100644 --- a/JexusManager.Features.TraceFailedRequests/NewTraceDialog.cs +++ b/JexusManager.Features.TraceFailedRequests/NewTraceDialog.cs @@ -69,6 +69,7 @@ public NewTraceDialog(IServiceProvider serviceProvider, TraceFailedRequestsItem })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public TraceFailedRequestsItem Item { get; set; } private void NewRestrictionDialogHelpButtonClicked(object sender, CancelEventArgs e) diff --git a/JexusManager.Features.TraceFailedRequests/Wizards/AddTraceWizard/AddTraceWizard.cs b/JexusManager.Features.TraceFailedRequests/Wizards/AddTraceWizard/AddTraceWizard.cs index 2ca79704..cdd006c8 100644 --- a/JexusManager.Features.TraceFailedRequests/Wizards/AddTraceWizard/AddTraceWizard.cs +++ b/JexusManager.Features.TraceFailedRequests/Wizards/AddTraceWizard/AddTraceWizard.cs @@ -1,4 +1,5 @@ -// Copyright (c) Lex Li. All rights reserved. +using System.ComponentModel; +// Copyright (c) Lex Li. All rights reserved. // // Licensed under the MIT license. See LICENSE file in the project root for full license information. @@ -35,6 +36,7 @@ protected override object WizardData get { return _wizardData; } } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public TraceFailedRequestsItem Item { get; private set; } protected override void CompleteWizard() diff --git a/JexusManager/Dialogs/CredentialsDialog.cs b/JexusManager/Dialogs/CredentialsDialog.cs index 87a3da02..c655f65e 100644 --- a/JexusManager/Dialogs/CredentialsDialog.cs +++ b/JexusManager/Dialogs/CredentialsDialog.cs @@ -58,8 +58,10 @@ public CredentialsDialog(IServiceProvider serviceProvider, string name) })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public string Password { get; set; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public string UserName { get; set; } } } diff --git a/JexusManager/Dialogs/NewApplicationDialog.cs b/JexusManager/Dialogs/NewApplicationDialog.cs index 6f833753..3cf9e72b 100644 --- a/JexusManager/Dialogs/NewApplicationDialog.cs +++ b/JexusManager/Dialogs/NewApplicationDialog.cs @@ -196,6 +196,7 @@ private void RefreshButton() btnOK.Enabled = !string.IsNullOrWhiteSpace(txtAlias.Text) && !string.IsNullOrWhiteSpace(txtPhysicalPath.Text); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public Application Application { get; private set; } private void NewApplicationDialog_HelpButtonClicked(object sender, CancelEventArgs e) diff --git a/JexusManager/Dialogs/NewSiteDialog.cs b/JexusManager/Dialogs/NewSiteDialog.cs index f243edc2..26682006 100644 --- a/JexusManager/Dialogs/NewSiteDialog.cs +++ b/JexusManager/Dialogs/NewSiteDialog.cs @@ -323,6 +323,7 @@ private bool IPEndPointIsValid(out IPAddress address, out int port, bool showDia return Binding.PortIsValid(txtPort.Text, out port, Text, showDialog); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public Site NewSite { get; set; } private void NewSiteDialogHelpButtonClicked(object sender, CancelEventArgs e) diff --git a/JexusManager/Dialogs/NewVirtualDirectoryDialog.cs b/JexusManager/Dialogs/NewVirtualDirectoryDialog.cs index aa9e04c7..f4d376a9 100644 --- a/JexusManager/Dialogs/NewVirtualDirectoryDialog.cs +++ b/JexusManager/Dialogs/NewVirtualDirectoryDialog.cs @@ -171,6 +171,7 @@ private void RefreshButton() btnOK.Enabled = !string.IsNullOrWhiteSpace(txtAlias.Text) && !string.IsNullOrWhiteSpace(txtPhysicalPath.Text); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public VirtualDirectory VirtualDirectory { get; private set; } private void NewVirtualDirectoryDialog_HelpButtonClicked(object sender, CancelEventArgs e) diff --git a/JexusManager/Dialogs/SelectPoolDialog.cs b/JexusManager/Dialogs/SelectPoolDialog.cs index b8ff6ae7..e35b4934 100644 --- a/JexusManager/Dialogs/SelectPoolDialog.cs +++ b/JexusManager/Dialogs/SelectPoolDialog.cs @@ -63,6 +63,7 @@ private void SelectPoolDialog_HelpButtonClicked(object sender, CancelEventArgs e DialogHelper.ProcessStart("http://go.microsoft.com/fwlink/?LinkId=210458"); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] internal ApplicationPool Selected { get; set; } } } diff --git a/JexusManager/Features/Main/ApplicationPoolBasicSettingsDialog.cs b/JexusManager/Features/Main/ApplicationPoolBasicSettingsDialog.cs index 007c4f60..13fcc1ca 100644 --- a/JexusManager/Features/Main/ApplicationPoolBasicSettingsDialog.cs +++ b/JexusManager/Features/Main/ApplicationPoolBasicSettingsDialog.cs @@ -16,6 +16,7 @@ namespace JexusManager.Features.Main public sealed partial class ApplicationPoolBasicSettingsDialog : DialogForm { + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public ApplicationPool Pool { get; private set; } public ApplicationPoolBasicSettingsDialog(IServiceProvider serviceProvider, ApplicationPool pool, ApplicationPoolDefaults defaults, ApplicationPoolCollection collection) diff --git a/JexusManager/Features/Main/BindingDialog.cs b/JexusManager/Features/Main/BindingDialog.cs index bda4c986..9d56b685 100644 --- a/JexusManager/Features/Main/BindingDialog.cs +++ b/JexusManager/Features/Main/BindingDialog.cs @@ -297,6 +297,7 @@ public BindingDialog(IServiceProvider serviceProvider, Binding binding1, Site si })); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] internal Binding Binding { get; private set; } private void BindingDialogHelpButtonClicked(object sender, CancelEventArgs e) diff --git a/JexusManager/Features/Main/CredentialsDialog.cs b/JexusManager/Features/Main/CredentialsDialog.cs index 7877bc29..a66c2cbc 100644 --- a/JexusManager/Features/Main/CredentialsDialog.cs +++ b/JexusManager/Features/Main/CredentialsDialog.cs @@ -55,8 +55,10 @@ private void CredentialsDialogHelpButtonClicked(object sender, CancelEventArgs e DialogHelper.ProcessStart("http://go.microsoft.com/fwlink/?LinkId=210456#ApplicationPoolIdentity"); } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public string Password { get; set; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public string UserName { get; set; } } } diff --git a/JexusManager/Features/Main/HomePage.cs b/JexusManager/Features/Main/HomePage.cs index 19690ed9..37599b53 100644 --- a/JexusManager/Features/Main/HomePage.cs +++ b/JexusManager/Features/Main/HomePage.cs @@ -20,6 +20,8 @@ public HomePage() { InitializeComponent(); LoadUpdateInfo(); + // Configure ManualUpdate link label text wrapping + ConfigureManualUpdateLink(); } private async void LoadUpdateInfo() @@ -136,14 +138,6 @@ private void lblManualUpdate_LinkClicked(object sender, LinkLabelLinkClickedEven } } - protected override void OnLoad(EventArgs e) - { - base.OnLoad(e); - - // Configure ManualUpdate link label text wrapping - ConfigureManualUpdateLink(); - } - private void ConfigureManualUpdateLink() { // Enable text wrapping for the manual update link diff --git a/Microsoft.Web.Administration/WebConfigurationManager.cs b/Microsoft.Web.Administration/WebConfigurationManager.cs index 712a8096..95d1c671 100644 --- a/Microsoft.Web.Administration/WebConfigurationManager.cs +++ b/Microsoft.Web.Administration/WebConfigurationManager.cs @@ -14,7 +14,7 @@ public static ConfigurationSection GetSection(string sectionPath) return null; } -#if !NET8_0 +#if !NET8_0_OR_GREATER public static ConfigurationSection GetSection(HttpContext context, string sectionPath) { return null; @@ -24,7 +24,7 @@ public static ConfigurationSection GetSection(string siteName, string virtualPat { return null; } -#if !NET8_0 +#if !NET8_0_OR_GREATER public static ConfigurationSection GetSection(HttpContext context, string sectionPath, Type sectionType) { return null; diff --git a/Microsoft.Web.Management/Client/Win32/BaseForm.cs b/Microsoft.Web.Management/Client/Win32/BaseForm.cs index a75f2f62..2318eec5 100644 --- a/Microsoft.Web.Management/Client/Win32/BaseForm.cs +++ b/Microsoft.Web.Management/Client/Win32/BaseForm.cs @@ -5,6 +5,7 @@ using System; using System.Resources; using System.Windows.Forms; +using System.ComponentModel; namespace Microsoft.Web.Management.Client.Win32 { @@ -86,6 +87,7 @@ protected override void WndProc(ref Message m) protected virtual bool CanShowHelp { get; } = true; + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] protected internal IServiceProvider ServiceProvider { get; private set; } } } diff --git a/Microsoft.Web.Management/Client/Win32/ListPageListView.cs b/Microsoft.Web.Management/Client/Win32/ListPageListView.cs index a6129734..355739ee 100644 --- a/Microsoft.Web.Management/Client/Win32/ListPageListView.cs +++ b/Microsoft.Web.Management/Client/Win32/ListPageListView.cs @@ -3,6 +3,7 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Windows.Forms; +using System.ComponentModel; namespace Microsoft.Web.Management.Client.Win32 { @@ -20,8 +21,10 @@ public void ShowSortColumn(ColumnHeader column, SortOrder sortOrder) protected override void WndProc(ref Message m) { } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public override ContextMenuStrip ContextMenuStrip { get; set; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public new View View { get diff --git a/Microsoft.Web.Management/Client/Win32/ManagementGroupBox.cs b/Microsoft.Web.Management/Client/Win32/ManagementGroupBox.cs index 8f517291..0b264e67 100644 --- a/Microsoft.Web.Management/Client/Win32/ManagementGroupBox.cs +++ b/Microsoft.Web.Management/Client/Win32/ManagementGroupBox.cs @@ -4,6 +4,7 @@ using System; using System.Windows.Forms; +using System.ComponentModel; namespace Microsoft.Web.Management.Client.Win32 { @@ -15,6 +16,7 @@ EventArgs e { } protected override CreateParams CreateParams { get; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public bool RightToLeftLayout { get; set; } } -} \ No newline at end of file +} diff --git a/Microsoft.Web.Management/Client/Win32/ManagementPanel.cs b/Microsoft.Web.Management/Client/Win32/ManagementPanel.cs index c48d5e9b..88800c84 100644 --- a/Microsoft.Web.Management/Client/Win32/ManagementPanel.cs +++ b/Microsoft.Web.Management/Client/Win32/ManagementPanel.cs @@ -4,6 +4,7 @@ using System; using System.Windows.Forms; +using System.ComponentModel; namespace Microsoft.Web.Management.Client.Win32 { @@ -15,6 +16,7 @@ EventArgs e { } protected override CreateParams CreateParams { get; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public bool RightToLeftLayout { get; set; } } -} \ No newline at end of file +} diff --git a/Microsoft.Web.Management/Client/Win32/ManagementTabPage.cs b/Microsoft.Web.Management/Client/Win32/ManagementTabPage.cs index 95d47964..017e0227 100644 --- a/Microsoft.Web.Management/Client/Win32/ManagementTabPage.cs +++ b/Microsoft.Web.Management/Client/Win32/ManagementTabPage.cs @@ -4,6 +4,7 @@ using System; using System.Windows.Forms; +using System.ComponentModel; namespace Microsoft.Web.Management.Client.Win32 { @@ -15,6 +16,7 @@ EventArgs e { } protected override CreateParams CreateParams { get; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public bool RightToLeftLayout { get; set; } } -} \ No newline at end of file +} diff --git a/Microsoft.Web.Management/Client/Win32/ModuleListPage.cs b/Microsoft.Web.Management/Client/Win32/ModuleListPage.cs index 2f7b4311..d749e249 100644 --- a/Microsoft.Web.Management/Client/Win32/ModuleListPage.cs +++ b/Microsoft.Web.Management/Client/Win32/ModuleListPage.cs @@ -5,6 +5,7 @@ using System; using System.Collections; using System.Windows.Forms; +using System.ComponentModel; namespace Microsoft.Web.Management.Client.Win32 { @@ -169,6 +170,7 @@ protected ImageList LargeImageList protected ListView ListView { get; private set; } protected Control ListViewContainer { get; private set; } protected virtual ModuleListPageSearchField[] SearchFields { get; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public ModuleListPageGrouping SelectedGrouping { get; set; } protected ImageList SmallImageList diff --git a/Microsoft.Web.Management/Client/Win32/ModulePage.cs b/Microsoft.Web.Management/Client/Win32/ModulePage.cs index 485ac550..e6f11674 100644 --- a/Microsoft.Web.Management/Client/Win32/ModulePage.cs +++ b/Microsoft.Web.Management/Client/Win32/ModulePage.cs @@ -294,6 +294,7 @@ protected virtual bool CanRefresh } protected Connection Connection { get; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public override ContextMenuStrip ContextMenuStrip { get; set; } protected override CreateParams CreateParams { @@ -316,6 +317,7 @@ protected override CreateParams CreateParams protected virtual Guid PreferenceKey { get; } protected virtual bool ReadOnly { get; } protected virtual string ReadOnlyDescription { get; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public bool RightToLeftLayout { get; set; } public virtual string ScopeStatusSummary { get; } diff --git a/Microsoft.Web.Management/Client/Win32/WizardForm.cs b/Microsoft.Web.Management/Client/Win32/WizardForm.cs index 437aea1d..ca432ed3 100644 --- a/Microsoft.Web.Management/Client/Win32/WizardForm.cs +++ b/Microsoft.Web.Management/Client/Win32/WizardForm.cs @@ -218,10 +218,14 @@ protected internal IList Pages } protected virtual int StartPageIndex { get { return 0; } } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public string TaskCaption { get; set; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public BorderStyle TaskCaptionBorderStyle { get; set; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public string TaskDescription { get; set; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public Image TaskGlyph { get @@ -236,9 +240,13 @@ public Image TaskGlyph } } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public Color TaskProgressEndColor { get; set; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public int TaskProgressGradientSpeed { get; set; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public int TaskProgressScrollSpeed { get; set; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public Color TaskProgressStartColor { get; set; } protected internal virtual object WizardData { get; } diff --git a/Microsoft.Web.Management/Client/Win32/WizardPage.cs b/Microsoft.Web.Management/Client/Win32/WizardPage.cs index 63ecf0e8..fef156fc 100644 --- a/Microsoft.Web.Management/Client/Win32/WizardPage.cs +++ b/Microsoft.Web.Management/Client/Win32/WizardPage.cs @@ -103,6 +103,7 @@ protected override CreateParams CreateParams [Category("Appearance"), DefaultValue("")] public string Description { get; set; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] protected internal virtual WizardPage NextPage { get; private set; } protected IList Pages @@ -110,7 +111,9 @@ protected IList Pages get { return Wizard.Pages; } } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] protected internal virtual WizardPage PreviousPage { get; private set; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public bool RightToLeftLayout { get; set; } protected IServiceProvider ServiceProvider diff --git a/Microsoft.Web.Management/Server/PropertyBag.cs b/Microsoft.Web.Management/Server/PropertyBag.cs index 9799319e..080bf8ae 100644 --- a/Microsoft.Web.Management/Server/PropertyBag.cs +++ b/Microsoft.Web.Management/Server/PropertyBag.cs @@ -5,7 +5,7 @@ using System; using System.Collections; using System.Collections.Specialized; -#if !NET8_0 +#if !NET8_0_OR_GREATER using System.Web.UI; #endif @@ -71,7 +71,7 @@ public static PropertyBag CreatePropertyBagFromState(string state) public static PropertyBag CreatePropertyBagFromState(string state, bool readOnly) { -#if !NET8_0 +#if !NET8_0_OR_GREATER var formatter = new ObjectStateFormatter(); var bag = (PropertyBag)formatter.Deserialize(state); if (readOnly) @@ -86,7 +86,7 @@ public static PropertyBag CreatePropertyBagFromState(string state, bool readOnly public string GetState() { -#if !NET8_0 +#if !NET8_0_OR_GREATER var formatter = new ObjectStateFormatter(); return formatter.Serialize(this); #endif diff --git a/Microsoft.Web.Management/Server/WebManagementServiceHandler.cs b/Microsoft.Web.Management/Server/WebManagementServiceHandler.cs index 0d78b66a..a870b988 100644 --- a/Microsoft.Web.Management/Server/WebManagementServiceHandler.cs +++ b/Microsoft.Web.Management/Server/WebManagementServiceHandler.cs @@ -7,7 +7,7 @@ namespace Microsoft.Web.Management.Server { -#if !NET8_0 +#if !NET8_0_OR_GREATER public sealed class WebManagementServiceHandler : IHttpHandler { bool IHttpHandler.IsReusable