diff --git a/mRemoteNG/App/Windows.cs b/mRemoteNG/App/Windows.cs index 1070d1372..30530a713 100644 --- a/mRemoteNG/App/Windows.cs +++ b/mRemoteNG/App/Windows.cs @@ -8,7 +8,6 @@ namespace mRemoteNG.App public static class Windows { private static ActiveDirectoryImportWindow _adimportForm; - private static HelpWindow _helpForm; private static ExternalToolsWindow _externalappsForm; private static PortScanWindow _portscanForm; private static ScreenshotManagerWindow _screenshotmanagerForm; @@ -58,11 +57,6 @@ namespace mRemoteNG.App UpdateForm = new UpdateWindow(); UpdateForm.Show(dockPanel); break; - case WindowType.Help: - if (_helpForm == null || _helpForm.IsDisposed) - _helpForm = new HelpWindow(); - _helpForm.Show(dockPanel); - break; case WindowType.ExternalApps: if (_externalappsForm == null || _externalappsForm.IsDisposed) _externalappsForm = new ExternalToolsWindow(); diff --git a/mRemoteNG/UI/Window/HelpWindow.Designer.cs b/mRemoteNG/UI/Window/HelpWindow.Designer.cs deleted file mode 100644 index 8306555f6..000000000 --- a/mRemoteNG/UI/Window/HelpWindow.Designer.cs +++ /dev/null @@ -1,42 +0,0 @@ - -namespace mRemoteNG.UI.Window -{ - partial class HelpWindow - { - #region Windows Form Designer generated code - private void InitializeComponent() - { - this.cefBrwoser = new CefSharp.WinForms.ChromiumWebBrowser(); - this.SuspendLayout(); - // - // chromiumWebBrowser1 - // - this.cefBrwoser.ActivateBrowserOnCreation = false; - this.cefBrwoser.Dock = System.Windows.Forms.DockStyle.Fill; - this.cefBrwoser.Location = new System.Drawing.Point(0, 0); - this.cefBrwoser.Name = "chromiumWebBrowser1"; - this.cefBrwoser.Size = new System.Drawing.Size(1117, 705); - this.cefBrwoser.TabIndex = 0; - // - // HelpWindow - // - this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; - this.BackColor = System.Drawing.SystemColors.Control; - this.ClientSize = new System.Drawing.Size(1117, 705); - this.Controls.Add(this.cefBrwoser); - this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ForeColor = System.Drawing.SystemColors.ControlText; - this.Icon = global::mRemoteNG.Properties.Resources.Help_Icon; - this.Name = "HelpWindow"; - this.TabText = "Help"; - this.Text = "Help"; - this.Load += new System.EventHandler(this.HelpWindow_Load); - this.ResumeLayout(false); - - } - #endregion - - private CefSharp.WinForms.ChromiumWebBrowser cefBrwoser; - } -} diff --git a/mRemoteNG/UI/Window/HelpWindow.cs b/mRemoteNG/UI/Window/HelpWindow.cs deleted file mode 100644 index 286ca3a52..000000000 --- a/mRemoteNG/UI/Window/HelpWindow.cs +++ /dev/null @@ -1,24 +0,0 @@ -using CefSharp; -using mRemoteNG.Connection.Protocol.Http; -using System; -using WeifenLuo.WinFormsUI.Docking; - - -namespace mRemoteNG.UI.Window -{ - public partial class HelpWindow : BaseWindow - { - public HelpWindow() - { - WindowType = WindowType.Help; - DockPnl = new DockContent(); - InitializeComponent(); - } - - private void HelpWindow_Load(object sender, EventArgs e) - { - cefBrwoser.RequestHandler = new RequestHandler(); - cefBrwoser.Load($@"{Cef.CefCommitHash}://help/"); - } - } -} \ No newline at end of file diff --git a/mRemoteNG/UI/Window/HelpWindow.resx b/mRemoteNG/UI/Window/HelpWindow.resx deleted file mode 100644 index ca620d883..000000000 --- a/mRemoteNG/UI/Window/HelpWindow.resx +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 48 - - \ No newline at end of file diff --git a/mRemoteNG/UI/WindowType.cs b/mRemoteNG/UI/WindowType.cs index 0e3e73199..46fbf3632 100644 --- a/mRemoteNG/UI/WindowType.cs +++ b/mRemoteNG/UI/WindowType.cs @@ -11,7 +11,6 @@ Update = 9, SSHTransfer = 10, ActiveDirectoryImport = 11, - Help = 12, ExternalApps = 13, PortScan = 14, UltraVNCSC = 16, diff --git a/mRemoteNG/mRemoteNG.csproj b/mRemoteNG/mRemoteNG.csproj index ec1b44dbc..392c68b9c 100644 --- a/mRemoteNG/mRemoteNG.csproj +++ b/mRemoteNG/mRemoteNG.csproj @@ -741,13 +741,7 @@ Form - - Form - - - HelpWindow.cs - PortScanWindow.cs @@ -1033,10 +1027,6 @@ ExternalToolsWindow.cs Designer - - HelpWindow.cs - Designer - PortScanWindow.cs Designer