From b4b7dc667fb70acfbb293fce476101fc0b6e2564 Mon Sep 17 00:00:00 2001 From: David Sparer Date: Sun, 6 Mar 2016 18:03:06 -0700 Subject: [PATCH] more fixes --- mRemoteV1.v12.suo | Bin 227840 -> 196096 bytes mRemoteV1/CS/App/App.Info.cs | 46 +- mRemoteV1/CS/App/App.Runtime.cs | 73 +- mRemoteV1/CS/App/App.SupportedCultures.cs | 136 +- mRemoteV1/CS/App/App.Update.cs | 20 +- mRemoteV1/CS/App/Export.cs | 20 +- mRemoteV1/CS/App/Import.cs | 415 +- mRemoteV1/CS/ApplicationEvents.cs | 129 +- .../CS/Config/Config.Connections.Load.cs | 2 +- .../CS/Config/Config.Connections.Save.cs | 86 +- mRemoteV1/CS/Config/Config.Settings.Load.cs | 684 +- mRemoteV1/CS/Config/Config.Settings.Save.cs | 2 +- mRemoteV1/CS/Config/ConfirmClose.cs | 2 - mRemoteV1/CS/Config/Import/ActiveDirectory.cs | 6 +- mRemoteV1/CS/Config/Import/PortScan.cs | 159 +- .../Config/Import/PuttyConnectionManager.cs | 361 +- .../Config/Import/RemoteDesktopConnection.cs | 10 +- .../Import/RemoteDesktopConnectionManager.cs | 47 +- mRemoteV1/CS/Config/Import/mRemoteNG.cs | 87 +- mRemoteV1/CS/Config/KeyboardShortcuts.cs | 8 +- mRemoteV1/CS/Config/Putty/Provider.cs | 270 +- mRemoteV1/CS/Config/Putty/RegistryProvider.cs | 274 +- mRemoteV1/CS/Config/Putty/Sessions.cs | 381 +- mRemoteV1/CS/Config/Putty/XmingProvider.cs | 662 +- .../Connection/Connection.Info.Inheritance.cs | 62 +- mRemoteV1/CS/Connection/Connection.Info.cs | 11 +- .../Connection.InterfaceControl.Designer.cs | 55 +- .../Connection/Connection.InterfaceControl.cs | 34 +- .../CS/Connection/Connection.Protocol.Base.cs | 33 +- .../CS/Connection/Connection.Protocol.HTTP.cs | 32 +- .../Connection.Protocol.HTTPBase.cs | 23 +- .../Connection/Connection.Protocol.HTTPS.cs | 33 +- .../CS/Connection/Connection.Protocol.ICA.cs | 151 +- .../Connection.Protocol.IntegratedProgram.cs | 14 +- .../CS/Connection/Connection.Protocol.List.cs | 107 +- .../Connection.Protocol.Protocols.cs | 4 - .../Connection.Protocol.PuttyBase.cs | 22 +- .../CS/Connection/Connection.Protocol.RAW.cs | 23 +- .../CS/Connection/Connection.Protocol.RDP.cs | 73 +- .../Connection/Connection.Protocol.Rlogin.cs | 22 +- .../CS/Connection/Connection.Protocol.SSH1.cs | 24 +- .../CS/Connection/Connection.Protocol.SSH2.cs | 24 +- .../Connection/Connection.Protocol.Serial.cs | 22 +- .../Connection/Connection.Protocol.Telnet.cs | 22 +- .../CS/Connection/Connection.Protocol.VNC.cs | 41 +- mRemoteV1/CS/Container/Container.Info.cs | 11 +- mRemoteV1/CS/Container/Container.List.cs | 137 +- mRemoteV1/CS/Controls/TextBox.cs | 81 - mRemoteV1/CS/Credential/Credential.Info.cs | 171 +- mRemoteV1/CS/Credential/Credential.List.cs | 111 +- mRemoteV1/CS/Forms/ExportForm.Designer.cs | 315 - mRemoteV1/CS/Forms/ExportForm.cs | 341 - mRemoteV1/CS/Forms/OptionsForm.Designer.cs | 117 - .../OptionsPages/AdvancedPage.Designer.cs | 286 - .../CS/Forms/OptionsPages/AdvancedPage.cs | 226 - .../OptionsPages/AppearancePage.Designer.cs | 149 - .../CS/Forms/OptionsPages/AppearancePage.cs | 112 - .../OptionsPages/ConnectionsPage.Designer.cs | 414 - .../CS/Forms/OptionsPages/ConnectionsPage.cs | 182 - .../CS/Forms/OptionsPages/OptionsPage.cs | 54 - .../OptionsPages/SqlServerPage.Designer.cs | 210 - .../CS/Forms/OptionsPages/SqlServerPage.cs | 94 - .../OptionsPages/StartupExitPage.Designer.cs | 114 - .../CS/Forms/OptionsPages/StartupExitPage.cs | 64 - .../OptionsPages/TabsPanelsPage.Designer.cs | 220 - .../CS/Forms/OptionsPages/TabsPanelsPage.cs | 100 - .../Forms/OptionsPages/ThemePage.Designer.cs | 113 - mRemoteV1/CS/Forms/OptionsPages/ThemePage.cs | 143 - .../OptionsPages/UpdatesPage.Designer.cs | 305 - .../CS/Forms/OptionsPages/UpdatesPage.cs | 261 - mRemoteV1/CS/Forms/PasswordForm.Designer.cs | 183 - mRemoteV1/CS/Forms/PasswordForm.cs | 159 - mRemoteV1/CS/Language/Language.Designer.cs | 15067 +++++++--------- mRemoteV1/CS/Messages/Messages.Collector.cs | 45 +- mRemoteV1/CS/Messages/Messages.Message.cs | 70 +- mRemoteV1/CS/Properties/Resources.Designer.cs | 258 +- mRemoteV1/CS/Properties/Settings.Designer.cs | 5405 +++--- mRemoteV1/CS/Properties/Settings.settings | 2 +- mRemoteV1/CS/Root/PuttySessions.Info.cs | 9 +- mRemoteV1/CS/Root/Root.Info.cs | 27 +- mRemoteV1/CS/Security/Security.Save.cs | 123 +- mRemoteV1/CS/Settings.cs | 28 + mRemoteV1/CS/Themes/ThemeInfo.cs | 30 +- mRemoteV1/CS/Themes/ThemeManager.cs | 265 +- mRemoteV1/CS/Themes/ThemeSerializer.cs | 229 +- mRemoteV1/CS/Tools/Authenticode.cs | 4 +- mRemoteV1/CS/Tools/CommandLineArguments.cs | 247 +- mRemoteV1/CS/Tools/EnumWindows.cs | 83 +- mRemoteV1/CS/Tools/EnvironmentInfo.cs | 91 +- mRemoteV1/CS/Tools/ProcessController.cs | 383 +- mRemoteV1/CS/Tools/PropertyGridCommandSite.cs | 38 +- mRemoteV1/CS/Tools/ReconnectGroup.Designer.cs | 2 +- mRemoteV1/CS/Tools/ReconnectGroup.cs | 4 +- mRemoteV1/CS/Tools/Tools.Controls.cs | 6 +- mRemoteV1/CS/Tree/Tree.Node.cs | 18 +- mRemoteV1/CS/{ => UI}/Controls/ListView.cs | 2 +- .../{ => UI}/Controls/QuickConnectComboBox.cs | 7 +- mRemoteV1/CS/UI/Controls/TextBox.cs | 74 + .../{ => UI}/Controls/ToolStripSplitButton.cs | 6 +- mRemoteV1/CS/UI/Forms/ExportForm.Designer.cs | 313 + mRemoteV1/CS/UI/Forms/ExportForm.cs | 338 + mRemoteV1/CS/{ => UI}/Forms/ExportForm.resx | 0 mRemoteV1/CS/UI/Forms/OptionsForm.Designer.cs | 115 + mRemoteV1/CS/{ => UI}/Forms/OptionsForm.cs | 10 +- mRemoteV1/CS/{ => UI}/Forms/OptionsForm.resx | 0 .../OptionsPages/AdvancedPage.Designer.cs | 284 + .../CS/UI/Forms/OptionsPages/AdvancedPage.cs | 224 + .../Forms/OptionsPages/AdvancedPage.resx | 0 .../OptionsPages/AppearancePage.Designer.cs | 147 + .../UI/Forms/OptionsPages/AppearancePage.cs | 109 + .../Forms/OptionsPages/AppearancePage.resx | 0 .../OptionsPages/ConnectionsPage.Designer.cs | 412 + .../UI/Forms/OptionsPages/ConnectionsPage.cs | 179 + .../Forms/OptionsPages/ConnectionsPage.resx | 0 .../OptionsPages/KeyboardPage.Designer.cs | 4 +- .../Forms/OptionsPages/KeyboardPage.cs | 7 +- .../Forms/OptionsPages/KeyboardPage.resx | 0 .../CS/UI/Forms/OptionsPages/OptionsPage.cs | 52 + .../OptionsPages/SqlServerPage.Designer.cs | 208 + .../CS/UI/Forms/OptionsPages/SqlServerPage.cs | 90 + .../Forms/OptionsPages/SqlServerPage.resx | 0 .../OptionsPages/StartupExitPage.Designer.cs | 112 + .../UI/Forms/OptionsPages/StartupExitPage.cs | 61 + .../Forms/OptionsPages/StartupExitPage.resx | 0 .../OptionsPages/TabsPanelsPage.Designer.cs | 218 + .../UI/Forms/OptionsPages/TabsPanelsPage.cs | 97 + .../Forms/OptionsPages/TabsPanelsPage.resx | 0 .../Forms/OptionsPages/ThemePage.Designer.cs | 111 + .../CS/UI/Forms/OptionsPages/ThemePage.cs | 140 + .../Forms/OptionsPages/ThemePage.resx | 0 .../OptionsPages/UpdatesPage.Designer.cs | 302 + .../CS/UI/Forms/OptionsPages/UpdatesPage.cs | 257 + .../Forms/OptionsPages/UpdatesPage.resx | 0 .../CS/UI/Forms/PasswordForm.Designer.cs | 183 + mRemoteV1/CS/UI/Forms/PasswordForm.cs | 155 + mRemoteV1/CS/{ => UI}/Forms/PasswordForm.resx | 0 .../{ => UI}/Forms/frmChoosePanel.Designer.cs | 11 +- mRemoteV1/CS/{ => UI}/Forms/frmChoosePanel.cs | 13 +- .../CS/{ => UI}/Forms/frmChoosePanel.resx | 0 .../CS/{ => UI}/Forms/frmMain.Designer.cs | 122 +- mRemoteV1/CS/{ => UI}/Forms/frmMain.cs | 289 +- mRemoteV1/CS/{ => UI}/Forms/frmMain.resx | 0 mRemoteV1/CS/UI/UI.Window.About.cs | 4 +- ...I.Window.ActiveDirectoryImport.Designer.cs | 187 +- .../CS/UI/UI.Window.Announcement.Designer.cs | 69 +- mRemoteV1/CS/UI/UI.Window.ComponentsCheck.cs | 26 +- mRemoteV1/CS/UI/UI.Window.Config.cs | 20 +- mRemoteV1/CS/UI/UI.Window.Connection.cs | 130 +- mRemoteV1/CS/UI/UI.Window.ErrorsAndInfos.cs | 28 +- .../CS/UI/UI.Window.ExternalTools.Designer.cs | 12 +- mRemoteV1/CS/UI/UI.Window.Help.cs | 8 +- .../CS/UI/UI.Window.PortScan.Designer.cs | 616 +- mRemoteV1/CS/UI/UI.Window.PortScan.cs | 9 +- mRemoteV1/CS/UI/UI.Window.SSHTransfer.cs | 8 +- .../CS/UI/UI.Window.ScreenshotManager.cs | 18 +- .../CS/UI/UI.Window.Sessions.Designer.cs | 201 +- mRemoteV1/CS/UI/UI.Window.Sessions.cs | 23 +- mRemoteV1/CS/UI/UI.Window.Tree.Designer.cs | 52 +- mRemoteV1/CS/UI/UI.Window.Tree.cs | 124 +- mRemoteV1/CS/UI/UI.Window.Type.cs | 40 +- mRemoteV1/CS/UI/UI.Window.UltraVNCSC.cs | 2 +- mRemoteV1/CS/UI/UI.Window.Update.Designer.cs | 389 +- mRemoteV1/CS/app.config | 564 + .../bin/Debug Portable/mRemoteNG.exe.config | 564 + .../mRemoteNG.vshost.exe.config | 564 + mRemoteV1/CS/mRemoteV1.csproj | 105 +- mRemoteV1/CS/mRemoteV1.v12.suo | Bin 212992 -> 313856 bytes .../mRemoteV1.csproj.GenerateResource.Cache | Bin 11427 -> 12581 bytes mRemoteV1/Settings.vb | 11 + .../DesignTimeResolveAssemblyReferences.cache | Bin 188392 -> 192634 bytes 170 files changed, 19868 insertions(+), 20377 deletions(-) delete mode 100644 mRemoteV1/CS/Controls/TextBox.cs delete mode 100644 mRemoteV1/CS/Forms/ExportForm.Designer.cs delete mode 100644 mRemoteV1/CS/Forms/ExportForm.cs delete mode 100644 mRemoteV1/CS/Forms/OptionsForm.Designer.cs delete mode 100644 mRemoteV1/CS/Forms/OptionsPages/AdvancedPage.Designer.cs delete mode 100644 mRemoteV1/CS/Forms/OptionsPages/AdvancedPage.cs delete mode 100644 mRemoteV1/CS/Forms/OptionsPages/AppearancePage.Designer.cs delete mode 100644 mRemoteV1/CS/Forms/OptionsPages/AppearancePage.cs delete mode 100644 mRemoteV1/CS/Forms/OptionsPages/ConnectionsPage.Designer.cs delete mode 100644 mRemoteV1/CS/Forms/OptionsPages/ConnectionsPage.cs delete mode 100644 mRemoteV1/CS/Forms/OptionsPages/OptionsPage.cs delete mode 100644 mRemoteV1/CS/Forms/OptionsPages/SqlServerPage.Designer.cs delete mode 100644 mRemoteV1/CS/Forms/OptionsPages/SqlServerPage.cs delete mode 100644 mRemoteV1/CS/Forms/OptionsPages/StartupExitPage.Designer.cs delete mode 100644 mRemoteV1/CS/Forms/OptionsPages/StartupExitPage.cs delete mode 100644 mRemoteV1/CS/Forms/OptionsPages/TabsPanelsPage.Designer.cs delete mode 100644 mRemoteV1/CS/Forms/OptionsPages/TabsPanelsPage.cs delete mode 100644 mRemoteV1/CS/Forms/OptionsPages/ThemePage.Designer.cs delete mode 100644 mRemoteV1/CS/Forms/OptionsPages/ThemePage.cs delete mode 100644 mRemoteV1/CS/Forms/OptionsPages/UpdatesPage.Designer.cs delete mode 100644 mRemoteV1/CS/Forms/OptionsPages/UpdatesPage.cs delete mode 100644 mRemoteV1/CS/Forms/PasswordForm.Designer.cs delete mode 100644 mRemoteV1/CS/Forms/PasswordForm.cs create mode 100644 mRemoteV1/CS/Settings.cs rename mRemoteV1/CS/{ => UI}/Controls/ListView.cs (99%) rename mRemoteV1/CS/{ => UI}/Controls/QuickConnectComboBox.cs (98%) create mode 100644 mRemoteV1/CS/UI/Controls/TextBox.cs rename mRemoteV1/CS/{ => UI}/Controls/ToolStripSplitButton.cs (89%) create mode 100644 mRemoteV1/CS/UI/Forms/ExportForm.Designer.cs create mode 100644 mRemoteV1/CS/UI/Forms/ExportForm.cs rename mRemoteV1/CS/{ => UI}/Forms/ExportForm.resx (100%) create mode 100644 mRemoteV1/CS/UI/Forms/OptionsForm.Designer.cs rename mRemoteV1/CS/{ => UI}/Forms/OptionsForm.cs (96%) rename mRemoteV1/CS/{ => UI}/Forms/OptionsForm.resx (100%) create mode 100644 mRemoteV1/CS/UI/Forms/OptionsPages/AdvancedPage.Designer.cs create mode 100644 mRemoteV1/CS/UI/Forms/OptionsPages/AdvancedPage.cs rename mRemoteV1/CS/{ => UI}/Forms/OptionsPages/AdvancedPage.resx (100%) create mode 100644 mRemoteV1/CS/UI/Forms/OptionsPages/AppearancePage.Designer.cs create mode 100644 mRemoteV1/CS/UI/Forms/OptionsPages/AppearancePage.cs rename mRemoteV1/CS/{ => UI}/Forms/OptionsPages/AppearancePage.resx (100%) create mode 100644 mRemoteV1/CS/UI/Forms/OptionsPages/ConnectionsPage.Designer.cs create mode 100644 mRemoteV1/CS/UI/Forms/OptionsPages/ConnectionsPage.cs rename mRemoteV1/CS/{ => UI}/Forms/OptionsPages/ConnectionsPage.resx (100%) rename mRemoteV1/CS/{ => UI}/Forms/OptionsPages/KeyboardPage.Designer.cs (99%) rename mRemoteV1/CS/{ => UI}/Forms/OptionsPages/KeyboardPage.cs (96%) rename mRemoteV1/CS/{ => UI}/Forms/OptionsPages/KeyboardPage.resx (100%) create mode 100644 mRemoteV1/CS/UI/Forms/OptionsPages/OptionsPage.cs create mode 100644 mRemoteV1/CS/UI/Forms/OptionsPages/SqlServerPage.Designer.cs create mode 100644 mRemoteV1/CS/UI/Forms/OptionsPages/SqlServerPage.cs rename mRemoteV1/CS/{ => UI}/Forms/OptionsPages/SqlServerPage.resx (100%) create mode 100644 mRemoteV1/CS/UI/Forms/OptionsPages/StartupExitPage.Designer.cs create mode 100644 mRemoteV1/CS/UI/Forms/OptionsPages/StartupExitPage.cs rename mRemoteV1/CS/{ => UI}/Forms/OptionsPages/StartupExitPage.resx (100%) create mode 100644 mRemoteV1/CS/UI/Forms/OptionsPages/TabsPanelsPage.Designer.cs create mode 100644 mRemoteV1/CS/UI/Forms/OptionsPages/TabsPanelsPage.cs rename mRemoteV1/CS/{ => UI}/Forms/OptionsPages/TabsPanelsPage.resx (100%) create mode 100644 mRemoteV1/CS/UI/Forms/OptionsPages/ThemePage.Designer.cs create mode 100644 mRemoteV1/CS/UI/Forms/OptionsPages/ThemePage.cs rename mRemoteV1/CS/{ => UI}/Forms/OptionsPages/ThemePage.resx (100%) create mode 100644 mRemoteV1/CS/UI/Forms/OptionsPages/UpdatesPage.Designer.cs create mode 100644 mRemoteV1/CS/UI/Forms/OptionsPages/UpdatesPage.cs rename mRemoteV1/CS/{ => UI}/Forms/OptionsPages/UpdatesPage.resx (100%) create mode 100644 mRemoteV1/CS/UI/Forms/PasswordForm.Designer.cs create mode 100644 mRemoteV1/CS/UI/Forms/PasswordForm.cs rename mRemoteV1/CS/{ => UI}/Forms/PasswordForm.resx (100%) rename mRemoteV1/CS/{ => UI}/Forms/frmChoosePanel.Designer.cs (94%) rename mRemoteV1/CS/{ => UI}/Forms/frmChoosePanel.cs (87%) rename mRemoteV1/CS/{ => UI}/Forms/frmChoosePanel.resx (100%) rename mRemoteV1/CS/{ => UI}/Forms/frmMain.Designer.cs (91%) rename mRemoteV1/CS/{ => UI}/Forms/frmMain.cs (79%) rename mRemoteV1/CS/{ => UI}/Forms/frmMain.resx (100%) create mode 100644 mRemoteV1/Settings.vb diff --git a/mRemoteV1.v12.suo b/mRemoteV1.v12.suo index 5b25db4b2a9c9609e267ea270353ff875b9da81e..3bb4ebae2991b9d1e0dae271ebc3aca7f8a405e4 100644 GIT binary patch delta 9586 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 3) + if (System.Convert.ToInt32(ReasonCode) > 3) { if (!string.IsNullOrEmpty(ReasonDescription)) { @@ -2049,7 +2048,7 @@ namespace mRemoteNG.App { try { - Connection.Protocol.Base Prot = sender; + Connection.Protocol.Base Prot = (Connection.Protocol.Base)sender; Runtime.MessageCollector.AddMessage(Messages.MessageClass.InformationMsg, My.Language.strConnenctionCloseEvent, true); @@ -2079,7 +2078,7 @@ namespace mRemoteNG.App public static void Prot_Event_Connected(object sender) { - mRemoteNG.Connection.Protocol.Base prot = sender; + mRemoteNG.Connection.Protocol.Base prot = (Connection.Protocol.Base)sender; Runtime.MessageCollector.AddMessage(Messages.MessageClass.InformationMsg, My.Language.strConnectionEventConnected, true); Runtime.MessageCollector.AddMessage(Messages.MessageClass.ReportMsg, string.Format(My.Language.strConnectionEventConnectedDetail, prot.InterfaceControl.Info.Hostname, prot.InterfaceControl.Info.Protocol.ToString(), (new Microsoft.VisualBasic.ApplicationServices.User()).Name, prot.InterfaceControl.Info.Description, prot.InterfaceControl.Info.UserField)); @@ -2090,12 +2089,12 @@ namespace mRemoteNG.App try { Runtime.MessageCollector.AddMessage(Messages.MessageClass.InformationMsg, My.Language.strConnectionEventErrorOccured, true); - - Connection.Protocol.Base Prot = sender; + + Connection.Protocol.Base Prot = (Connection.Protocol.Base)sender; if (Prot.InterfaceControl.Info.Protocol == Connection.Protocol.Protocols.RDP) { - if (ErrorMessage > -1) + if (System.Convert.ToInt32(ErrorMessage) > -1) { Runtime.MessageCollector.AddMessage(Messages.MessageClass.WarningMsg, string.Format(My.Language.strConnectionRdpErrorDetail, ErrorMessage, Connection.Protocol.RDP.FatalErrors.GetError(ErrorMessage))); } @@ -2221,7 +2220,7 @@ namespace mRemoteNG.App { if (WindowList[i] is UI.Window.Connection) { - UI.Window.Connection conW = WindowList[i]; + UI.Window.Connection conW = (UI.Window.Connection)WindowList[i]; if (conW.TabController != null) { @@ -2231,7 +2230,7 @@ namespace mRemoteNG.App { if (t.Controls[0] is Connection.InterfaceControl) { - Connection.InterfaceControl IC = t.Controls[0]; + Connection.InterfaceControl IC = (Connection.InterfaceControl)t.Controls[0]; if (IC.Info == ConI) { return IC; diff --git a/mRemoteV1/CS/App/App.SupportedCultures.cs b/mRemoteV1/CS/App/App.SupportedCultures.cs index 4304381c3..a0195b822 100644 --- a/mRemoteV1/CS/App/App.SupportedCultures.cs +++ b/mRemoteV1/CS/App/App.SupportedCultures.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,85 +8,84 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports namespace mRemoteNG.App { public class SupportedCultures : System.Collections.Generic.Dictionary + { + + private SupportedCultures() { - - private SupportedCultures() + System.Globalization.CultureInfo CultureInfo = default(System.Globalization.CultureInfo); + foreach (string CultureName in My.Settings.Default.SupportedUICultures.Split(',')) { - System.Globalization.CultureInfo CultureInfo = default(System.Globalization.CultureInfo); - foreach (string CultureName in My.Settings.Default.SupportedUICultures.Split(",")) + try { - try - { - CultureInfo = new System.Globalization.CultureInfo(CultureName.Trim()); - Add(CultureInfo.Name, CultureInfo.TextInfo.ToTitleCase(CultureInfo.NativeName)); - } - catch (Exception ex) - { - Debug.Print(string.Format("An exception occurred while adding the culture \'{0}\' to the list of supported cultures. {1}", CultureName, ex.ToString())); - } + CultureInfo = new System.Globalization.CultureInfo(CultureName.Trim()); + Add(CultureInfo.Name, CultureInfo.TextInfo.ToTitleCase(CultureInfo.NativeName)); } - } - - private static SupportedCultures _Instance = null; - public static void InstantiateSingleton() - { - if (_Instance == null) + catch (Exception ex) { - _Instance = new SupportedCultures(); - } - } - - public static bool IsNameSupported(string CultureName) - { - return _Instance.ContainsKey(CultureName); - } - - public static bool IsNativeNameSupported(string CultureNativeName) - { - return _Instance.ContainsValue(CultureNativeName); - } - - public static string get_CultureName(string CultureNativeName) - { - string[] Names = new string[_Instance.Count + 1]; - string[] NativeNames = new string[_Instance.Count + 1]; - - _Instance.Keys.CopyTo(Names, 0); - _Instance.Values.CopyTo(NativeNames, 0); - - for (int Index = 0; Index <= _Instance.Count; Index++) - { - if (NativeNames[Index] == CultureNativeName) - { - return Names[Index]; - } - } - - throw (new System.Collections.Generic.KeyNotFoundException()); - } - - public static string get_CultureNativeName(string CultureName) - { - return _Instance[CultureName]; - } - -public static List CultureNativeNames - { - get - { - List ValueList = new List(); - foreach (string Value in _Instance.Values) - { - ValueList.Add(Value); - } - return ValueList; + Debug.Print(string.Format("An exception occurred while adding the culture \'{0}\' to the list of supported cultures. {1}", CultureName, ex.ToString())); } } } + + private static SupportedCultures _Instance = null; + public static void InstantiateSingleton() + { + if (_Instance == null) + { + _Instance = new SupportedCultures(); + } + } + + public static bool IsNameSupported(string CultureName) + { + return _Instance.ContainsKey(CultureName); + } + + public static bool IsNativeNameSupported(string CultureNativeName) + { + return _Instance.ContainsValue(CultureNativeName); + } + + public static string get_CultureName(string CultureNativeName) + { + string[] Names = new string[_Instance.Count + 1]; + string[] NativeNames = new string[_Instance.Count + 1]; + + _Instance.Keys.CopyTo(Names, 0); + _Instance.Values.CopyTo(NativeNames, 0); + + for (int Index = 0; Index <= _Instance.Count; Index++) + { + if (NativeNames[Index] == CultureNativeName) + { + return Names[Index]; + } + } + + throw (new System.Collections.Generic.KeyNotFoundException()); + } + + public static string get_CultureNativeName(string CultureName) + { + return _Instance[CultureName]; + } + + public static List CultureNativeNames + { + get + { + List ValueList = new List(); + foreach (string Value in _Instance.Values) + { + ValueList.Add(Value); + } + return ValueList; + } + } + } } diff --git a/mRemoteV1/CS/App/App.Update.cs b/mRemoteV1/CS/App/App.Update.cs index fd7475379..6cbedfdcc 100644 --- a/mRemoteV1/CS/App/App.Update.cs +++ b/mRemoteV1/CS/App/App.Update.cs @@ -329,12 +329,12 @@ namespace mRemoteNG.App private static DownloadStringCompletedEventArgs NewDownloadStringCompletedEventArgs(string result, Exception exception, bool cancelled, object userToken) { Type type = typeof(DownloadStringCompletedEventArgs); - const BindingFlags bindingFlags = bindingFlags.NonPublic | bindingFlags.Instance; + const BindingFlags bindingFlags = BindingFlags.NonPublic | BindingFlags.Instance; Type[] argumentTypes = new Type[] {typeof(string), typeof(Exception), typeof(bool), typeof(object)}; ConstructorInfo constructor = type.GetConstructor(bindingFlags, null, argumentTypes, null); object[] arguments = new object[] {result, exception, cancelled, userToken}; - - return constructor.Invoke(arguments); + + return (DownloadStringCompletedEventArgs)constructor.Invoke(arguments); } private DownloadStringCompletedEventArgs DownloadString(Uri address) @@ -430,7 +430,7 @@ namespace mRemoteNG.App updateAuthenticode.RequireThumbprintMatch = true; updateAuthenticode.ThumbprintToMatch = _currentUpdateInfo.CertificateThumbprint; - if (!(updateAuthenticode.Verify() == (int) Authenticode.StatusValue.Verified)) + if (!(updateAuthenticode.Verify() == Authenticode.StatusValue.Verified)) { if (updateAuthenticode.Status == Authenticode.StatusValue.UnhandledException) { @@ -566,17 +566,17 @@ namespace mRemoteNG.App string[] lines = content.Split(lineSeparators.ToString().ToCharArray(), StringSplitOptions.RemoveEmptyEntries); foreach (string line in lines) { - line = line.Trim(); - if (line.Length == 0) + string trimmedLine = line.Trim(); + if (trimmedLine.Length == 0) { continue; } - if (!(line.Substring(0, 1).IndexOfAny(commentCharacters.ToString().ToCharArray()) == -1)) + if (!(trimmedLine.Substring(0, 1).IndexOfAny(commentCharacters.ToString().ToCharArray()) == -1)) { continue; } - - string[] parts = line.Split(keyValueSeparators.ToString().ToCharArray(), 2); + + string[] parts = trimmedLine.Split(keyValueSeparators.ToString().ToCharArray(), 2); if (!(parts.Length == 2)) { continue; @@ -597,7 +597,7 @@ namespace mRemoteNG.App { return string.Empty; } - return this[key]; + return this._items[key]; } public Version GetVersion(string key) diff --git a/mRemoteV1/CS/App/Export.cs b/mRemoteV1/CS/App/Export.cs index 4fbb53761..9273359c6 100644 --- a/mRemoteV1/CS/App/Export.cs +++ b/mRemoteV1/CS/App/Export.cs @@ -45,10 +45,10 @@ namespace mRemoteNG.App switch (exportForm.Scope) { - case exportForm.ExportScope.SelectedFolder: + case mRemoteNG.Forms.ExportForm.ExportScope.SelectedFolder: exportTreeNode = exportForm.SelectedFolder; break; - case exportForm.ExportScope.SelectedConnection: + case mRemoteNG.Forms.ExportForm.ExportScope.SelectedConnection: exportTreeNode = exportForm.SelectedConnection; break; default: @@ -77,19 +77,19 @@ namespace mRemoteNG.App try { - if (TimerSqlWatcher != null) + if (Runtime.TimerSqlWatcher != null) { - previousTimerEnabled = TimerSqlWatcher.Enabled; - TimerSqlWatcher.Enabled = false; + previousTimerEnabled = Runtime.TimerSqlWatcher.Enabled; + Runtime.TimerSqlWatcher.Enabled = false; } Config.Connections.Save connectionsSave = new Config.Connections.Save(); connectionsSave.Export = true; connectionsSave.ConnectionFileName = fileName; connectionsSave.SaveFormat = saveFormat; - - connectionsSave.ConnectionList = ConnectionList; - connectionsSave.ContainerList = ContainerList; + + connectionsSave.ConnectionList = Runtime.ConnectionList; + connectionsSave.ContainerList = Runtime.ContainerList; connectionsSave.RootTreeNode = rootNode; connectionsSave.SaveSecurity = saveSecurity; @@ -102,9 +102,9 @@ namespace mRemoteNG.App } finally { - if (TimerSqlWatcher != null) + if (Runtime.TimerSqlWatcher != null) { - TimerSqlWatcher.Enabled = previousTimerEnabled; + Runtime.TimerSqlWatcher.Enabled = previousTimerEnabled; } } } diff --git a/mRemoteV1/CS/App/Import.cs b/mRemoteV1/CS/App/Import.cs index 3c30cc4ce..7044536d2 100644 --- a/mRemoteV1/CS/App/Import.cs +++ b/mRemoteV1/CS/App/Import.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,240 +8,238 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports - using System.IO; using mRemoteNG.My; -//using mRemoteNG.App.Runtime; +using mRemoteNG.App; using PSTaskDialog; namespace mRemoteNG.App { public class Import + { + #region Public Methods + public static void ImportFromFile(TreeNode rootTreeNode, TreeNode selectedTreeNode, bool alwaysUseSelectedTreeNode = false) { -#region Public Methods - public static void ImportFromFile(TreeNode rootTreeNode, TreeNode selectedTreeNode, bool alwaysUseSelectedTreeNode = false) + try { - try + using (OpenFileDialog openFileDialog = new OpenFileDialog()) { - using (OpenFileDialog openFileDialog = new OpenFileDialog()) + openFileDialog.CheckFileExists = true; + openFileDialog.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Personal); + openFileDialog.Multiselect = true; + + List fileTypes = new List(); + fileTypes.AddRange(new[] {Language.strFilterAllImportable, "*.xml;*.rdp;*.rdg;*.dat"}); + fileTypes.AddRange(new[] {Language.strFiltermRemoteXML, "*.xml"}); + fileTypes.AddRange(new[] {Language.strFilterRDP, "*.rdp"}); + fileTypes.AddRange(new[] {Language.strFilterRdgFiles, "*.rdg"}); + fileTypes.AddRange(new[] {Language.strFilterPuttyConnectionManager, "*.dat"}); + fileTypes.AddRange(new[] {Language.strFilterAll, "*.*"}); + + openFileDialog.Filter = string.Join("|", fileTypes.ToArray()); + + if (!(openFileDialog.ShowDialog() == DialogResult.OK)) { - openFileDialog.CheckFileExists = true; - openFileDialog.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Personal); - openFileDialog.Multiselect = true; - - List fileTypes = new List(); - fileTypes.AddRange(new[] {Language.strFilterAllImportable, "*.xml;*.rdp;*.rdg;*.dat"}); - fileTypes.AddRange(new[] {Language.strFiltermRemoteXML, "*.xml"}); - fileTypes.AddRange(new[] {Language.strFilterRDP, "*.rdp"}); - fileTypes.AddRange(new[] {Language.strFilterRdgFiles, "*.rdg"}); - fileTypes.AddRange(new[] {Language.strFilterPuttyConnectionManager, "*.dat"}); - fileTypes.AddRange(new[] {Language.strFilterAll, "*.*"}); - - openFileDialog.Filter = string.Join("|", fileTypes.ToArray()); - - if (!(openFileDialog.ShowDialog() == DialogResult.OK)) - { - return ; - } - - TreeNode parentTreeNode = GetParentTreeNode(rootTreeNode, selectedTreeNode, alwaysUseSelectedTreeNode); - if (parentTreeNode == null) - { - return ; - } - - foreach (string fileName in openFileDialog.FileNames) - { - try - { - switch (DetermineFileType(fileName)) - { - case FileType.mRemoteXml: - Config.Import.mRemoteNG.Import(fileName, parentTreeNode); - break; - case FileType.RemoteDesktopConnection: - Config.Import.RemoteDesktopConnection.Import(fileName, parentTreeNode); - break; - case FileType.RemoteDesktopConnectionManager: - Config.Import.RemoteDesktopConnectionManager.Import(fileName, parentTreeNode); - break; - case FileType.PuttyConnectionManager: - Config.Import.PuttyConnectionManager.Import(fileName, parentTreeNode); - break; - default: - throw (new FileFormatException("Unrecognized file format.")); - break; - } - } - catch (Exception ex) - { - cTaskDialog.ShowTaskDialogBox(System.Windows.Forms.Application.ProductName, Language.strImportFileFailedMainInstruction, string.Format(Language.strImportFileFailedContent, fileName), Tools.Misc.GetExceptionMessageRecursive(ex), "", "", "", "", eTaskDialogButtons.OK, eSysIcons.Error, null); - } - } - - parentTreeNode.Expand(); - Container.Info parentContainer = parentTreeNode.Tag as Container.Info; - if (parentContainer != null) - { - parentContainer.IsExpanded = true; - } - - SaveConnectionsBG(); + return ; } - - } - catch (Exception ex) - { - Runtime.MessageCollector.AddExceptionMessage(message: "App.Import.ImportFromFile() failed.", ex: ex, logOnly: true); - } - } - - public static void ImportFromActiveDirectory(string ldapPath) - { - try - { - TreeNode rootTreeNode = Tree.Node.TreeView.Nodes[0]; - TreeNode selectedTreeNode = Tree.Node.TreeView.SelectedNode; - - TreeNode parentTreeNode = GetParentTreeNode(rootTreeNode, selectedTreeNode); + + TreeNode parentTreeNode = GetParentTreeNode(rootTreeNode, selectedTreeNode, alwaysUseSelectedTreeNode); if (parentTreeNode == null) { return ; } - - Config.Import.ActiveDirectory.Import(ldapPath, parentTreeNode); - + + foreach (string fileName in openFileDialog.FileNames) + { + try + { + switch (DetermineFileType(fileName)) + { + case FileType.mRemoteXml: + Config.Import.mRemoteNG.Import(fileName, parentTreeNode); + break; + case FileType.RemoteDesktopConnection: + Config.Import.RemoteDesktopConnection.Import(fileName, parentTreeNode); + break; + case FileType.RemoteDesktopConnectionManager: + Config.Import.RemoteDesktopConnectionManager.Import(fileName, parentTreeNode); + break; + case FileType.PuttyConnectionManager: + Config.Import.PuttyConnectionManager.Import(fileName, parentTreeNode); + break; + default: + throw (new FileFormatException("Unrecognized file format.")); + break; + } + } + catch (Exception ex) + { + cTaskDialog.ShowTaskDialogBox(System.Windows.Forms.Application.ProductName, Language.strImportFileFailedMainInstruction, string.Format(Language.strImportFileFailedContent, fileName), Tools.Misc.GetExceptionMessageRecursive(ex), "", "", "", "", eTaskDialogButtons.OK, eSysIcons.Error, eSysIcons.Error); + } + } + parentTreeNode.Expand(); Container.Info parentContainer = parentTreeNode.Tag as Container.Info; if (parentContainer != null) { parentContainer.IsExpanded = true; } + + Runtime.SaveConnectionsBG(); + } - SaveConnectionsBG(); - } - catch (Exception ex) - { - Runtime.MessageCollector.AddExceptionMessage(message: "App.Import.ImportFromActiveDirectory() failed.", ex: ex, logOnly: true); - } } - - public static void ImportFromPortScan(IEnumerable hosts, Connection.Protocol.Protocols protocol) + catch (Exception ex) { - try - { - TreeNode rootTreeNode = Tree.Node.TreeView.Nodes[0]; - TreeNode selectedTreeNode = Tree.Node.TreeView.SelectedNode; - - TreeNode parentTreeNode = GetParentTreeNode(rootTreeNode, selectedTreeNode); - if (parentTreeNode == null) - { - return ; - } - - Config.import.PortScan.Import(hosts, protocol, parentTreeNode); - - parentTreeNode.Expand(); - Container.Info parentContainer = parentTreeNode.Tag as Container.Info; - if (parentContainer != null) - { - parentContainer.IsExpanded = true; - } - - SaveConnectionsBG(); - } - catch (Exception ex) - { - Runtime.MessageCollector.AddExceptionMessage(message: "App.Import.ImportFromPortScan() failed.", ex: ex, logOnly: true); - } + Runtime.MessageCollector.AddExceptionMessage(message: "App.Import.ImportFromFile() failed.", ex: ex, logOnly: true); } -#endregion - -#region Private Methods - private static TreeNode GetParentTreeNode(TreeNode rootTreeNode, TreeNode selectedTreeNode, bool alwaysUseSelectedTreeNode = false) - { - TreeNode parentTreeNode = default(TreeNode); - - selectedTreeNode = GetContainerTreeNode(selectedTreeNode); - if (selectedTreeNode == null || selectedTreeNode == rootTreeNode) - { - parentTreeNode = rootTreeNode; - } - else - { - if (alwaysUseSelectedTreeNode) - { - parentTreeNode = GetContainerTreeNode(selectedTreeNode); - } - else - { - cTaskDialog.ShowCommandBox(System.Windows.Forms.Application.ProductName, Language.strImportLocationMainInstruction, Language.strImportLocationContent, "", "", "", string.Format(Language.strImportLocationCommandButtons, Constants.vbLf, rootTreeNode.Text, selectedTreeNode.Text), true, eSysIcons.Question, (PSTaskDialog.eSysIcons) 0); - switch (cTaskDialog.CommandButtonResult) - { - case 0: // Root - parentTreeNode = rootTreeNode; - break; - case 1: // Selected Folder - parentTreeNode = GetContainerTreeNode(selectedTreeNode); - break; - default: // Cancel - parentTreeNode = null; - break; - } - } - } - - return parentTreeNode; - } - - private static TreeNode GetContainerTreeNode(TreeNode treeNode) - { - if ((Tree.Node.GetNodeType(treeNode) == Tree.Node.Type.Root) || (Tree.Node.GetNodeType(treeNode) == Tree.Node.Type.Container)) - { - return treeNode; - } - else if (Tree.Node.GetNodeType(treeNode) == Tree.Node.Type.Connection) - { - return treeNode.Parent; - } - else - { - return null; - } - } - - private static FileType DetermineFileType(string fileName) - { - // TODO: Use the file contents to determine the file type instead of trusting the extension - string fileExtension = System.Convert.ToString(Path.GetExtension(fileName).ToLowerInvariant()); - switch (fileExtension) - { - case ".xml": - return FileType.mRemoteXml; - case ".rdp": - return FileType.RemoteDesktopConnection; - case ".rdg": - return FileType.RemoteDesktopConnectionManager; - case ".dat": - return FileType.PuttyConnectionManager; - default: - return FileType.Unknown; - } - } -#endregion - -#region Private Enumerations - private enum FileType - { - Unknown = 0, - // ReSharper disable once InconsistentNaming - mRemoteXml, - RemoteDesktopConnection, - RemoteDesktopConnectionManager, - PuttyConnectionManager - } -#endregion } + + public static void ImportFromActiveDirectory(string ldapPath) + { + try + { + TreeNode rootTreeNode = Tree.Node.TreeView.Nodes[0]; + TreeNode selectedTreeNode = Tree.Node.TreeView.SelectedNode; + + TreeNode parentTreeNode = GetParentTreeNode(rootTreeNode, selectedTreeNode); + if (parentTreeNode == null) + { + return ; + } + + Config.Import.ActiveDirectory.Import(ldapPath, parentTreeNode); + + parentTreeNode.Expand(); + Container.Info parentContainer = parentTreeNode.Tag as Container.Info; + if (parentContainer != null) + { + parentContainer.IsExpanded = true; + } + + Runtime.SaveConnectionsBG(); + } + catch (Exception ex) + { + Runtime.MessageCollector.AddExceptionMessage(message: "App.Import.ImportFromActiveDirectory() failed.", ex: ex, logOnly: true); + } + } + + public static void ImportFromPortScan(IEnumerable hosts, Connection.Protocol.Protocols protocol) + { + try + { + TreeNode rootTreeNode = Tree.Node.TreeView.Nodes[0]; + TreeNode selectedTreeNode = Tree.Node.TreeView.SelectedNode; + + TreeNode parentTreeNode = GetParentTreeNode(rootTreeNode, selectedTreeNode); + if (parentTreeNode == null) + { + return ; + } + + Config.Import.PortScan.Import(hosts, protocol, parentTreeNode); + + parentTreeNode.Expand(); + Container.Info parentContainer = parentTreeNode.Tag as Container.Info; + if (parentContainer != null) + { + parentContainer.IsExpanded = true; + } + + Runtime.SaveConnectionsBG(); + } + catch (Exception ex) + { + Runtime.MessageCollector.AddExceptionMessage(message: "App.Import.ImportFromPortScan() failed.", ex: ex, logOnly: true); + } + } + #endregion + + #region Private Methods + private static TreeNode GetParentTreeNode(TreeNode rootTreeNode, TreeNode selectedTreeNode, bool alwaysUseSelectedTreeNode = false) + { + TreeNode parentTreeNode = default(TreeNode); + + selectedTreeNode = GetContainerTreeNode(selectedTreeNode); + if (selectedTreeNode == null || selectedTreeNode == rootTreeNode) + { + parentTreeNode = rootTreeNode; + } + else + { + if (alwaysUseSelectedTreeNode) + { + parentTreeNode = GetContainerTreeNode(selectedTreeNode); + } + else + { + cTaskDialog.ShowCommandBox(System.Windows.Forms.Application.ProductName, Language.strImportLocationMainInstruction, Language.strImportLocationContent, "", "", "", string.Format(Language.strImportLocationCommandButtons, Constants.vbLf, rootTreeNode.Text, selectedTreeNode.Text), true, eSysIcons.Question, (PSTaskDialog.eSysIcons) 0); + switch (cTaskDialog.CommandButtonResult) + { + case 0: // Root + parentTreeNode = rootTreeNode; + break; + case 1: // Selected Folder + parentTreeNode = GetContainerTreeNode(selectedTreeNode); + break; + default: // Cancel + parentTreeNode = null; + break; + } + } + } + + return parentTreeNode; + } + + private static TreeNode GetContainerTreeNode(TreeNode treeNode) + { + if ((Tree.Node.GetNodeType(treeNode) == Tree.Node.Type.Root) || (Tree.Node.GetNodeType(treeNode) == Tree.Node.Type.Container)) + { + return treeNode; + } + else if (Tree.Node.GetNodeType(treeNode) == Tree.Node.Type.Connection) + { + return treeNode.Parent; + } + else + { + return null; + } + } + + private static FileType DetermineFileType(string fileName) + { + // TODO: Use the file contents to determine the file type instead of trusting the extension + string fileExtension = System.Convert.ToString(Path.GetExtension(fileName).ToLowerInvariant()); + switch (fileExtension) + { + case ".xml": + return FileType.mRemoteXml; + case ".rdp": + return FileType.RemoteDesktopConnection; + case ".rdg": + return FileType.RemoteDesktopConnectionManager; + case ".dat": + return FileType.PuttyConnectionManager; + default: + return FileType.Unknown; + } + } + #endregion + + #region Private Enumerations + private enum FileType + { + Unknown = 0, + // ReSharper disable once InconsistentNaming + mRemoteXml, + RemoteDesktopConnection, + RemoteDesktopConnectionManager, + PuttyConnectionManager + } + #endregion + } } diff --git a/mRemoteV1/CS/ApplicationEvents.cs b/mRemoteV1/CS/ApplicationEvents.cs index da37319e9..df2ea1814 100644 --- a/mRemoteV1/CS/ApplicationEvents.cs +++ b/mRemoteV1/CS/ApplicationEvents.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,8 +8,6 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports - using Microsoft.VisualBasic.CompilerServices; namespace mRemoteNG.My @@ -23,75 +20,75 @@ namespace mRemoteNG.My // StartupNextInstance: Raised when launching a single-instance application and the application is already active. // NetworkAvailabilityChanged: Raised when the network connection is connected or disconnected. partial class MyApplication : global::Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase + { + public System.Threading.Mutex mutex; + + private void MyApplication_Startup(object sender, Microsoft.VisualBasic.ApplicationServices.StartupEventArgs e) { - public System.Threading.Mutex mutex; - - private void MyApplication_Startup(object sender, Microsoft.VisualBasic.ApplicationServices.StartupEventArgs e) + if (My.Settings.Default.SingleInstance) { - if (My.Settings.Default.SingleInstance) + string mutexID = "mRemoteNG_SingleInstanceMutex"; + + mutex = new System.Threading.Mutex(false, mutexID); + + if (!mutex.WaitOne(0, false)) { - string mutexID = "mRemoteNG_SingleInstanceMutex"; - - mutex = new System.Threading.Mutex(false, mutexID); - - if (!mutex.WaitOne(0, false)) + try { - try - { - SwitchToCurrentInstance(); - } - catch (Exception) - { - } + SwitchToCurrentInstance(); + } + catch (Exception) + { + } - ProjectData.EndApp(); - } + ProjectData.EndApp(); + } - GC.KeepAlive(mutex); - } - } - - private IntPtr GetCurrentInstanceWindowHandle() - { - IntPtr hWnd = IntPtr.Zero; - Process curProc = Process.GetCurrentProcess(); - - foreach (Process proc in Process.GetProcessesByName(curProc.ProcessName)) - { - if (proc.Id != curProc.Id && proc.MainModule.FileName == curProc.MainModule.FileName && proc.MainWindowHandle != IntPtr.Zero) - { - hWnd = proc.MainWindowHandle; - break; - } - } - - return hWnd; - } - - private void SwitchToCurrentInstance() - { - IntPtr hWnd = GetCurrentInstanceWindowHandle(); - - if (hWnd != IntPtr.Zero) - { - //Restore window if minimized. Do not restore if already in - //normal or maximised window state, since we don't want to - //change the current state of the window. - if (App.Native.IsIconic(hWnd) != 0) - { - App.Native.ShowWindow(hWnd, App.Native.SW_RESTORE); - } - - App.Native.SetForegroundWindow(hWnd); - } - } - - private void MyApplication_Shutdown(object sender, System.EventArgs e) - { - if (mutex != null) - { - mutex.Close(); - } + GC.KeepAlive(mutex); } } + + private IntPtr GetCurrentInstanceWindowHandle() + { + IntPtr hWnd = IntPtr.Zero; + Process curProc = Process.GetCurrentProcess(); + + foreach (Process proc in Process.GetProcessesByName(curProc.ProcessName)) + { + if (proc.Id != curProc.Id && proc.MainModule.FileName == curProc.MainModule.FileName && proc.MainWindowHandle != IntPtr.Zero) + { + hWnd = proc.MainWindowHandle; + break; + } + } + + return hWnd; + } + + private void SwitchToCurrentInstance() + { + IntPtr hWnd = GetCurrentInstanceWindowHandle(); + + if (hWnd != IntPtr.Zero) + { + //Restore window if minimized. Do not restore if already in + //normal or maximised window state, since we don't want to + //change the current state of the window. + if (App.Native.IsIconic(hWnd) != 0) + { + App.Native.ShowWindow(hWnd, App.Native.SW_RESTORE); + } + + App.Native.SetForegroundWindow(hWnd); + } + } + + private void MyApplication_Shutdown(object sender, System.EventArgs e) + { + if (mutex != null) + { + mutex.Close(); + } + } + } } diff --git a/mRemoteV1/CS/Config/Config.Connections.Load.cs b/mRemoteV1/CS/Config/Config.Connections.Load.cs index 89fcfd678..fe3ed617d 100644 --- a/mRemoteV1/CS/Config/Config.Connections.Load.cs +++ b/mRemoteV1/CS/Config/Config.Connections.Load.cs @@ -115,7 +115,7 @@ namespace mRemoteNG.Config.Connections #endregion #region Public Methods - public void Load_Renamed(bool import) + public void Load(bool import) { if (UseSQL) { diff --git a/mRemoteV1/CS/Config/Config.Connections.Save.cs b/mRemoteV1/CS/Config/Config.Connections.Save.cs index fa8d5a598..180524bbf 100644 --- a/mRemoteV1/CS/Config/Config.Connections.Save.cs +++ b/mRemoteV1/CS/Config/Config.Connections.Save.cs @@ -13,7 +13,7 @@ using System.IO; using System.Globalization; using mRemoteNG.App; using System.Data.SqlClient; -//using mRemoteNG.Tools.Misc; +using mRemoteNG.Tools; namespace mRemoteNG.Config.Connections @@ -59,7 +59,7 @@ namespace mRemoteNG.Config.Connections #endregion #region Public Methods - public void Save_Renamed() + public void Save() { switch (SaveFormat) { @@ -182,7 +182,7 @@ namespace mRemoteNG.Config.Connections } TreeNode tN = default(TreeNode); - tN = RootTreeNode.Clone(); + tN = (TreeNode)RootTreeNode.Clone(); string strProtected = ""; if (tN.Tag != null) @@ -204,8 +204,8 @@ namespace mRemoteNG.Config.Connections _sqlQuery = new SqlCommand("DELETE FROM tblRoot", _sqlConnection); _sqlQuery.ExecuteNonQuery(); - - _sqlQuery = new SqlCommand("INSERT INTO tblRoot (Name, Export, Protected, ConfVersion) VALUES(\'" + PrepareValueForDB(tN.Text) + "\', 0, \'" + strProtected + "\'," + App.Info.Connections.ConnectionFileVersion.ToString(CultureInfo.InvariantCulture) + ")", _sqlConnection); + + _sqlQuery = new SqlCommand("INSERT INTO tblRoot (Name, Export, Protected, ConfVersion) VALUES(\'" + Misc.PrepareValueForDB(tN.Text) + "\', 0, \'" + strProtected + "\'," + App.Info.Connections.ConnectionFileVersion.ToString(CultureInfo.InvariantCulture) + ")", _sqlConnection); _sqlQuery.ExecuteNonQuery(); _sqlQuery = new SqlCommand("DELETE FROM tblCons", _sqlConnection); @@ -238,14 +238,14 @@ namespace mRemoteNG.Config.Connections if (Tree.Node.GetNodeType(node) == Tree.Node.Type.Connection | Tree.Node.GetNodeType(node) == Tree.Node.Type.Container) { //_xmlTextWriter.WriteStartElement("Node") - _sqlQuery.CommandText += "\'" + PrepareValueForDB(node.Text) + "\',"; //Name + _sqlQuery.CommandText += "\'" + Misc.PrepareValueForDB(node.Text) + "\',"; //Name _sqlQuery.CommandText += "\'" + Tree.Node.GetNodeType(node).ToString() + "\',"; //Type } if (Tree.Node.GetNodeType(node) == Tree.Node.Type.Container) //container { - _sqlQuery.CommandText += "\'" + this._ContainerList[node.Tag].IsExpanded + "\',"; //Expanded - curConI = this._ContainerList[node.Tag].ConnectionInfo; + _sqlQuery.CommandText += "\'" + this.ContainerList[node.Tag].IsExpanded + "\',"; //Expanded + curConI = this.ContainerList[node.Tag].ConnectionInfo; SaveConnectionFieldsSQL(curConI); _sqlQuery.CommandText = Tools.Misc.PrepareForDB(_sqlQuery.CommandText); @@ -258,7 +258,7 @@ namespace mRemoteNG.Config.Connections if (Tree.Node.GetNodeType(node) == Tree.Node.Type.Connection) { _sqlQuery.CommandText += "\'" + System.Convert.ToString(false) + "\',"; - curConI = this._ConnectionList[node.Tag]; + curConI = this.ConnectionList[node.Tag]; SaveConnectionFieldsSQL(curConI); //_xmlTextWriter.WriteEndElement() _sqlQuery.CommandText = Tools.Misc.PrepareForDB(_sqlQuery.CommandText); @@ -272,40 +272,40 @@ namespace mRemoteNG.Config.Connections private void SaveConnectionFieldsSQL(Connection.Info curConI) { Connection.Info with_1 = curConI; - _sqlQuery.CommandText += "\'" + PrepareValueForDB(with_1.Description) + "\',"; - _sqlQuery.CommandText += "\'" + PrepareValueForDB(with_1.Icon) + "\',"; - _sqlQuery.CommandText += "\'" + PrepareValueForDB(with_1.Panel) + "\',"; + _sqlQuery.CommandText += "\'" + Misc.PrepareValueForDB(with_1.Description) + "\',"; + _sqlQuery.CommandText += "\'" + Misc.PrepareValueForDB(with_1.Icon) + "\',"; + _sqlQuery.CommandText += "\'" + Misc.PrepareValueForDB(with_1.Panel) + "\',"; - if (this._SaveSecurity.Username == true) + if (this.SaveSecurity.Username == true) { - _sqlQuery.CommandText += "\'" + PrepareValueForDB(with_1.Username) + "\',"; + _sqlQuery.CommandText += "\'" + Misc.PrepareValueForDB(with_1.Username) + "\',"; } else { _sqlQuery.CommandText += "\'" + "" + "\',"; } - if (this._SaveSecurity.Domain == true) + if (this.SaveSecurity.Domain == true) { - _sqlQuery.CommandText += "\'" + PrepareValueForDB(with_1.Domain) + "\',"; + _sqlQuery.CommandText += "\'" + Misc.PrepareValueForDB(with_1.Domain) + "\',"; } else { _sqlQuery.CommandText += "\'" + "" + "\',"; } - if (this._SaveSecurity.Password == true) + if (this.SaveSecurity.Password == true) { - _sqlQuery.CommandText += "\'" + PrepareValueForDB(Security.Crypt.Encrypt(with_1.Password, _password)) + "\',"; + _sqlQuery.CommandText += "\'" + Misc.PrepareValueForDB(Security.Crypt.Encrypt(with_1.Password, _password)) + "\',"; } else { _sqlQuery.CommandText += "\'" + "" + "\',"; } - - _sqlQuery.CommandText += "\'" + PrepareValueForDB(with_1.Hostname) + "\',"; + + _sqlQuery.CommandText += "\'" + Misc.PrepareValueForDB(with_1.Hostname) + "\',"; _sqlQuery.CommandText += "\'" + with_1.Protocol.ToString() + "\',"; - _sqlQuery.CommandText += "\'" + PrepareValueForDB(with_1.PuttySession) + "\',"; + _sqlQuery.CommandText += "\'" + Misc.PrepareValueForDB(with_1.PuttySession) + "\',"; _sqlQuery.CommandText += "\'" + System.Convert.ToString(with_1.Port) + "\',"; _sqlQuery.CommandText += "\'" + System.Convert.ToString(with_1.UseConsoleSession) + "\',"; _sqlQuery.CommandText += "\'" + with_1.RenderingEngine.ToString() + "\',"; @@ -358,7 +358,7 @@ namespace mRemoteNG.Config.Connections _sqlQuery.CommandText += "\'" + with_1.RDGatewayHostname + "\',"; _sqlQuery.CommandText += "\'" + with_1.RDGatewayUseConnectionCredentials.ToString() + "\',"; - if (this._SaveSecurity.Username == true) + if (this.SaveSecurity.Username == true) { _sqlQuery.CommandText += "\'" + with_1.RDGatewayUsername + "\',"; } @@ -367,7 +367,7 @@ namespace mRemoteNG.Config.Connections _sqlQuery.CommandText += "\'" + "" + "\',"; } - if (this._SaveSecurity.Password == true) + if (this.SaveSecurity.Password == true) { _sqlQuery.CommandText += "\'" + Security.Crypt.Encrypt(with_1.RDGatewayPassword, _password) + "\',"; } @@ -376,7 +376,7 @@ namespace mRemoteNG.Config.Connections _sqlQuery.CommandText += "\'" + "" + "\',"; } - if (this._SaveSecurity.Domain == true) + if (this.SaveSecurity.Domain == true) { _sqlQuery.CommandText += "\'" + with_1.RDGatewayDomain + "\',"; } @@ -387,7 +387,7 @@ namespace mRemoteNG.Config.Connections _sqlQuery.CommandText += "\'" + System.Convert.ToString(with_1.UseCredSsp) + "\',"; - if (this._SaveSecurity.Inheritance == true) + if (this.SaveSecurity.Inheritance == true) { _sqlQuery.CommandText += "\'" + System.Convert.ToString(with_1.Inherit.CacheBitmaps) + "\',"; _sqlQuery.CommandText += "\'" + System.Convert.ToString(with_1.Inherit.Colors) + "\',"; @@ -552,7 +552,7 @@ namespace mRemoteNG.Config.Connections { try { - if (!IsConnectionsFileLoaded) + if (!Runtime.IsConnectionsFileLoaded) { return; } @@ -561,7 +561,7 @@ namespace mRemoteNG.Config.Connections if (Tree.Node.GetNodeType(RootTreeNode) == Tree.Node.Type.Root) { - treeNode = RootTreeNode.Clone(); + treeNode = (TreeNode)RootTreeNode.Clone(); } else { @@ -646,8 +646,8 @@ namespace mRemoteNG.Config.Connections if (Tree.Node.GetNodeType(node) == Tree.Node.Type.Container) //container { - _xmlTextWriter.WriteAttributeString("Expanded", "", System.Convert.ToString(this._ContainerList[node.Tag].TreeNode.IsExpanded)); - curConI = this._ContainerList[node.Tag].ConnectionInfo; + _xmlTextWriter.WriteAttributeString("Expanded", "", System.Convert.ToString(this.ContainerList[node.Tag].TreeNode.IsExpanded)); + curConI = this.ContainerList[node.Tag].ConnectionInfo; SaveConnectionFields(curConI); SaveNode(node.Nodes); _xmlTextWriter.WriteEndElement(); @@ -655,7 +655,7 @@ namespace mRemoteNG.Config.Connections if (Tree.Node.GetNodeType(node) == Tree.Node.Type.Connection) { - curConI = this._ConnectionList[node.Tag]; + curConI = this.ConnectionList[node.Tag]; SaveConnectionFields(curConI); _xmlTextWriter.WriteEndElement(); } @@ -677,7 +677,7 @@ namespace mRemoteNG.Config.Connections _xmlTextWriter.WriteAttributeString("Panel", "", curConI.Panel); - if (this._SaveSecurity.Username == true) + if (this.SaveSecurity.Username == true) { _xmlTextWriter.WriteAttributeString("Username", "", curConI.Username); } @@ -686,7 +686,7 @@ namespace mRemoteNG.Config.Connections _xmlTextWriter.WriteAttributeString("Username", "", ""); } - if (this._SaveSecurity.Domain == true) + if (this.SaveSecurity.Domain == true) { _xmlTextWriter.WriteAttributeString("Domain", "", curConI.Domain); } @@ -695,7 +695,7 @@ namespace mRemoteNG.Config.Connections _xmlTextWriter.WriteAttributeString("Domain", "", ""); } - if (this._SaveSecurity.Password == true) + if (this.SaveSecurity.Password == true) { _xmlTextWriter.WriteAttributeString("Password", "", Security.Crypt.Encrypt(curConI.Password, _password)); } @@ -784,7 +784,7 @@ namespace mRemoteNG.Config.Connections _xmlTextWriter.WriteAttributeString("RDGatewayUseConnectionCredentials", "", curConI.RDGatewayUseConnectionCredentials.ToString()); - if (this._SaveSecurity.Username == true) + if (this.SaveSecurity.Username == true) { _xmlTextWriter.WriteAttributeString("RDGatewayUsername", "", curConI.RDGatewayUsername); } @@ -793,7 +793,7 @@ namespace mRemoteNG.Config.Connections _xmlTextWriter.WriteAttributeString("RDGatewayUsername", "", ""); } - if (this._SaveSecurity.Password == true) + if (this.SaveSecurity.Password == true) { _xmlTextWriter.WriteAttributeString("RDGatewayPassword", "", Security.Crypt.Encrypt(curConI.RDGatewayPassword, _password)); } @@ -802,7 +802,7 @@ namespace mRemoteNG.Config.Connections _xmlTextWriter.WriteAttributeString("RDGatewayPassword", "", ""); } - if (this._SaveSecurity.Domain == true) + if (this.SaveSecurity.Domain == true) { _xmlTextWriter.WriteAttributeString("RDGatewayDomain", "", curConI.RDGatewayDomain); } @@ -811,7 +811,7 @@ namespace mRemoteNG.Config.Connections _xmlTextWriter.WriteAttributeString("RDGatewayDomain", "", ""); } - if (this._SaveSecurity.Inheritance == true) + if (this.SaveSecurity.Inheritance == true) { _xmlTextWriter.WriteAttributeString("InheritCacheBitmaps", "", System.Convert.ToString(curConI.Inherit.CacheBitmaps)); _xmlTextWriter.WriteAttributeString("InheritColors", "", System.Convert.ToString(curConI.Inherit.Colors)); @@ -937,7 +937,7 @@ namespace mRemoteNG.Config.Connections } TreeNode tN = default(TreeNode); - tN = RootTreeNode.Clone(); + tN = (TreeNode)RootTreeNode.Clone(); TreeNodeCollection tNC = default(TreeNodeCollection); tNC = tN.Nodes; @@ -984,7 +984,7 @@ namespace mRemoteNG.Config.Connections { if (Tree.Node.GetNodeType(node) == Tree.Node.Type.Connection) { - Connection.Info curConI = node.Tag; + Connection.Info curConI = (Connection.Info)node.Tag; WritemRCSVLine(curConI); } @@ -1052,7 +1052,7 @@ namespace mRemoteNG.Config.Connections } TreeNode tN = default(TreeNode); - tN = RootTreeNode.Clone(); + tN = (TreeNode)RootTreeNode.Clone(); TreeNodeCollection tNC = default(TreeNodeCollection); tNC = tN.Nodes; @@ -1070,7 +1070,7 @@ namespace mRemoteNG.Config.Connections { if (Tree.Node.GetNodeType(node) == Tree.Node.Type.Connection) { - Connection.Info curConI = node.Tag; + Connection.Info curConI = (Connection.Info)node.Tag; if (curConI.Protocol == Connection.Protocol.Protocols.RDP) { @@ -1114,7 +1114,7 @@ namespace mRemoteNG.Config.Connections } TreeNode tN = default(TreeNode); - tN = RootTreeNode.Clone(); + tN = (TreeNode)RootTreeNode.Clone(); TreeNodeCollection tNC = default(TreeNodeCollection); tNC = tN.Nodes; @@ -1143,7 +1143,7 @@ namespace mRemoteNG.Config.Connections { if (Tree.Node.GetNodeType(node) == Tree.Node.Type.Connection) { - Connection.Info curConI = node.Tag; + Connection.Info curConI = (Connection.Info)node.Tag; if (curConI.Protocol == Connection.Protocol.Protocols.RDP) { diff --git a/mRemoteV1/CS/Config/Config.Settings.Load.cs b/mRemoteV1/CS/Config/Config.Settings.Load.cs index 4df4a4a2f..8ba76b0b1 100644 --- a/mRemoteV1/CS/Config/Config.Settings.Load.cs +++ b/mRemoteV1/CS/Config/Config.Settings.Load.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,357 +8,354 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports - using System.IO; using WeifenLuo.WinFormsUI.Docking; -//using mRemoteNG.App.Runtime; +using mRemoteNG.App; using System.Xml; -//using System.Environment; namespace mRemoteNG.Config.Settings { public class Load + { + #region Public Properties + private frmMain _MainForm; + public frmMain MainForm + { + get { -#region Public Properties - private frmMain _MainForm; -public frmMain MainForm - { - get - { - return this._MainForm; - } - set - { - this._MainForm = value; - } - } -#endregion - -#region Public Methods - public Load(frmMain MainForm) - { - this._MainForm = MainForm; - } - - public void Load_Renamed() - { - try - { - // Migrate settings from previous version - if (My.Settings.Default.DoUpgrade) - { - try - { - My.Settings.Default.Upgrade(); - } - catch (Exception ex) - { - Log.Error("My.Settings.Upgrade() failed" + Constants.vbNewLine + ex.Message); - } - My.Settings.Default.DoUpgrade = false; - - // Clear pending update flag - // This is used for automatic updates, not for settings migration, but it - // needs to be cleared here because we know that we just updated. - My.Settings.Default.UpdatePending = false; - } - - App.SupportedCultures.InstantiateSingleton(); - if (!(My.Settings.Default.OverrideUICulture == "") && App.SupportedCultures.IsNameSupported(System.Convert.ToString(My.Settings.Default.OverrideUICulture))) - { - System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo(System.Convert.ToString(My.Settings.Default.OverrideUICulture)); - Log.InfoFormat("Override Culture: {0}/{1}", System.Threading.Thread.CurrentThread.CurrentUICulture.Name, System.Threading.Thread.CurrentThread.CurrentUICulture.NativeName); - } - - Themes.ThemeManager.LoadTheme(System.Convert.ToString(My.Settings.Default.ThemeName)); - - this._MainForm.WindowState = FormWindowState.Normal; - if (My.Settings.Default.MainFormState == FormWindowState.Normal) - { - if (!My.Settings.Default.MainFormLocation.IsEmpty) - { - this._MainForm.Location = My.Settings.Default.MainFormLocation; - } - if (!My.Settings.Default.MainFormSize.IsEmpty) - { - this._MainForm.Size = My.Settings.Default.MainFormSize; - } - } - else - { - if (!My.Settings.Default.MainFormRestoreLocation.IsEmpty) - { - this._MainForm.Location = My.Settings.Default.MainFormRestoreLocation; - } - if (!My.Settings.Default.MainFormRestoreSize.IsEmpty) - { - this._MainForm.Size = My.Settings.Default.MainFormRestoreSize; - } - } - if (My.Settings.Default.MainFormState == FormWindowState.Maximized) - { - this._MainForm.WindowState = FormWindowState.Maximized; - } - - // Make sure the form is visible on the screen - const int minHorizontal = 300; - const int minVertical = 150; - System.Drawing.Rectangle screenBounds = Screen.FromHandle(this._MainForm.Handle).Bounds; - System.Drawing.Rectangle newBounds = this._MainForm.Bounds; - - if (newBounds.Right < screenBounds.Left + minHorizontal) - { - newBounds.X = screenBounds.Left + minHorizontal - newBounds.Width; - } - if (newBounds.Left > screenBounds.Right - minHorizontal) - { - newBounds.X = screenBounds.Right - minHorizontal; - } - if (newBounds.Bottom < screenBounds.Top + minVertical) - { - newBounds.Y = screenBounds.Top + minVertical - newBounds.Height; - } - if (newBounds.Top > screenBounds.Bottom - minVertical) - { - newBounds.Y = screenBounds.Bottom - minVertical; - } - - this._MainForm.Location = newBounds.Location; - - if (My.Settings.Default.MainFormKiosk == true) - { - this._MainForm.Fullscreen.Value = true; - this._MainForm.mMenViewFullscreen.Checked = true; - } - - if (My.Settings.Default.UseCustomPuttyPath) - { - Connection.Protocol.PuttyBase.PuttyPath = System.Convert.ToString(My.Settings.Default.CustomPuttyPath); - } - else - { - Connection.Protocol.PuttyBase.PuttyPath = App.Info.General.PuttyPath; - } - - if (My.Settings.Default.ShowSystemTrayIcon) - { - App.Runtime.NotificationAreaIcon = new Tools.Controls.NotificationAreaIcon(); - } - - if (My.Settings.Default.AutoSaveEveryMinutes > 0) - { - this._MainForm.tmrAutoSave.Interval = System.Convert.ToInt32(My.Settings.Default.AutoSaveEveryMinutes * 60000); - this._MainForm.tmrAutoSave.Enabled = true; - } - - My.Settings.Default.ConDefaultPassword = Security.Crypt.Decrypt(System.Convert.ToString(My.Settings.Default.ConDefaultPassword), App.Info.General.EncryptionKey); - - this.LoadPanelsFromXML(); - this.LoadExternalAppsFromXML(); - - if (My.Settings.Default.AlwaysShowPanelTabs) - { - frmMain.Default.pnlDock.DocumentStyle = DocumentStyle.DockingWindow; - } - - if (My.Settings.Default.ResetToolbars == false) - { - LoadToolbarsFromSettings(); - } - else - { - SetToolbarsDefault(); - } - } - catch (Exception ex) - { - Log.Error("Loading settings failed" + Constants.vbNewLine + ex.Message); - } - } - - public void SetToolbarsDefault() - { - ToolStripPanelFromString("top").Join(MainForm.tsQuickConnect, new Point(300, 0)); - MainForm.tsQuickConnect.Visible = true; - ToolStripPanelFromString("bottom").Join(MainForm.tsExternalTools, new Point(3, 0)); - MainForm.tsExternalTools.Visible = false; - } - - public void LoadToolbarsFromSettings() - { - if (My.Settings.Default.QuickyTBLocation.X > My.Settings.Default.ExtAppsTBLocation.X) - { - AddDynamicPanels(); - AddStaticPanels(); - } - else - { - AddStaticPanels(); - AddDynamicPanels(); - } - } - - private void AddStaticPanels() - { - ToolStripPanelFromString(System.Convert.ToString(My.Settings.Default.QuickyTBParentDock)).Join(MainForm.tsQuickConnect, My.Settings.Default.QuickyTBLocation); - MainForm.tsQuickConnect.Visible = System.Convert.ToBoolean(My.Settings.Default.QuickyTBVisible); - } - - private void AddDynamicPanels() - { - ToolStripPanelFromString(System.Convert.ToString(My.Settings.Default.ExtAppsTBParentDock)).Join(MainForm.tsExternalTools, My.Settings.Default.ExtAppsTBLocation); - MainForm.tsExternalTools.Visible = System.Convert.ToBoolean(My.Settings.Default.ExtAppsTBVisible); - } - - private ToolStripPanel ToolStripPanelFromString(string Panel) - { - switch (Panel.ToLower()) - { - case "top": - return MainForm.tsContainer.TopToolStripPanel; - case "bottom": - return MainForm.tsContainer.BottomToolStripPanel; - case "left": - return MainForm.tsContainer.LeftToolStripPanel; - case "right": - return MainForm.tsContainer.RightToolStripPanel; - default: - return MainForm.tsContainer.TopToolStripPanel; - } - } - - public void LoadPanelsFromXML() - { - try - { - Windows.treePanel = null; - Windows.configPanel = null; - Windows.errorsPanel = null; - - while (MainForm.pnlDock.Contents.Count > 0) - { - WeifenLuo.WinFormsUI.Docking.DockContent dc = MainForm.pnlDock.Contents[0]; - dc.Close(); - } - - Startup.CreatePanels(); - - string oldPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.LocalApplicationData) + "\\" + (new Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase()).Info.ProductName + "\\" + App.Info.Settings.LayoutFileName; - string newPath = App.Info.Settings.SettingsPath + "\\" + App.Info.Settings.LayoutFileName; - if (File.Exists(newPath)) - { - MainForm.pnlDock.LoadFromXml(newPath, GetContentFromPersistString); -#if !PORTABLE - } - else if (File.Exists(oldPath)) - { - MainForm.pnlDock.LoadFromXml(oldPath, GetContentFromPersistString); -#endif - } - else - { - Startup.SetDefaultLayout(); - } - } - catch (Exception ex) - { - Log.Error("LoadPanelsFromXML failed" + Constants.vbNewLine + ex.Message); - } - } - - public void LoadExternalAppsFromXML() - { - string oldPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.LocalApplicationData) + "\\" + (new Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase()).Info.ProductName + "\\" + App.Info.Settings.ExtAppsFilesName; - string newPath = App.Info.Settings.SettingsPath + "\\" + App.Info.Settings.ExtAppsFilesName; - XmlDocument xDom = new XmlDocument(); - if (File.Exists(newPath)) - { - xDom.Load(newPath); -#if !PORTABLE - } - else if (File.Exists(oldPath)) - { - xDom.Load(oldPath); -#endif - } - else - { - return; - } - - foreach (XmlElement xEl in xDom.DocumentElement.ChildNodes) - { - Tools.ExternalTool extA = new Tools.ExternalTool(); - extA.DisplayName = xEl.Attributes["DisplayName"].Value; - extA.FileName = xEl.Attributes["FileName"].Value; - extA.Arguments = xEl.Attributes["Arguments"].Value; - - if (xEl.HasAttribute("WaitForExit")) - { - extA.WaitForExit = bool.Parse(xEl.Attributes["WaitForExit"].Value); - } - - if (xEl.HasAttribute("TryToIntegrate")) - { - extA.TryIntegrate = bool.Parse(xEl.Attributes["TryToIntegrate"].Value); - } - - ExternalTools.Add(extA); - } - - MainForm.SwitchToolBarText(System.Convert.ToBoolean(My.Settings.Default.ExtAppsTBShowText)); - - xDom = null; - - frmMain.Default.AddExternalToolsToToolBar(); - } -#endregion - -#region Private Methods - private IDockContent GetContentFromPersistString(string persistString) - { - // pnlLayout.xml persistence XML fix for refactoring to mRemoteNG - if (persistString.StartsWith("mRemote.")) - { - persistString = persistString.Replace("mRemote.", "mRemoteNG."); - } - - try - { - if (persistString == typeof(UI.Window.Config).ToString()) - { - return Windows.configPanel; - } - - if (persistString == typeof(UI.Window.Tree).ToString()) - { - return Windows.treePanel; - } - - if (persistString == typeof(UI.Window.ErrorsAndInfos).ToString()) - { - return Windows.errorsPanel; - } - - if (persistString == typeof(UI.Window.Sessions).ToString()) - { - return Windows.sessionsPanel; - } - - if (persistString == typeof(UI.Window.ScreenshotManager).ToString()) - { - return Windows.screenshotPanel; - } - } - catch (Exception ex) - { - Log.Error("GetContentFromPersistString failed" + Constants.vbNewLine + ex.Message); - } - - return null; - } -#endregion + return this._MainForm; } + set + { + this._MainForm = value; + } + } + #endregion + + #region Public Methods + public Load(frmMain MainForm) + { + this._MainForm = MainForm; + } + + public void Load_Renamed() + { + try + { + // Migrate settings from previous version + if (My.Settings.Default.DoUpgrade) + { + try + { + My.Settings.Default.Upgrade(); + } + catch (Exception ex) + { + Runtime.Log.Error("My.Settings.Upgrade() failed" + Constants.vbNewLine + ex.Message); + } + My.Settings.Default.DoUpgrade = false; + + // Clear pending update flag + // This is used for automatic updates, not for settings migration, but it + // needs to be cleared here because we know that we just updated. + My.Settings.Default.UpdatePending = false; + } + + App.SupportedCultures.InstantiateSingleton(); + if (!(My.Settings.Default.OverrideUICulture == "") && App.SupportedCultures.IsNameSupported(System.Convert.ToString(My.Settings.Default.OverrideUICulture))) + { + System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo(System.Convert.ToString(My.Settings.Default.OverrideUICulture)); + Runtime.Log.InfoFormat("Override Culture: {0}/{1}", System.Threading.Thread.CurrentThread.CurrentUICulture.Name, System.Threading.Thread.CurrentThread.CurrentUICulture.NativeName); + } + + Themes.ThemeManager.LoadTheme(System.Convert.ToString(My.Settings.Default.ThemeName)); + + this._MainForm.WindowState = FormWindowState.Normal; + if (My.Settings.Default.MainFormState == FormWindowState.Normal) + { + if (!My.Settings.Default.MainFormLocation.IsEmpty) + { + this._MainForm.Location = My.Settings.Default.MainFormLocation; + } + if (!My.Settings.Default.MainFormSize.IsEmpty) + { + this._MainForm.Size = My.Settings.Default.MainFormSize; + } + } + else + { + if (!My.Settings.Default.MainFormRestoreLocation.IsEmpty) + { + this._MainForm.Location = My.Settings.Default.MainFormRestoreLocation; + } + if (!My.Settings.Default.MainFormRestoreSize.IsEmpty) + { + this._MainForm.Size = My.Settings.Default.MainFormRestoreSize; + } + } + if (My.Settings.Default.MainFormState == FormWindowState.Maximized) + { + this._MainForm.WindowState = FormWindowState.Maximized; + } + + // Make sure the form is visible on the screen + const int minHorizontal = 300; + const int minVertical = 150; + System.Drawing.Rectangle screenBounds = Screen.FromHandle(this._MainForm.Handle).Bounds; + System.Drawing.Rectangle newBounds = this._MainForm.Bounds; + + if (newBounds.Right < screenBounds.Left + minHorizontal) + { + newBounds.X = screenBounds.Left + minHorizontal - newBounds.Width; + } + if (newBounds.Left > screenBounds.Right - minHorizontal) + { + newBounds.X = screenBounds.Right - minHorizontal; + } + if (newBounds.Bottom < screenBounds.Top + minVertical) + { + newBounds.Y = screenBounds.Top + minVertical - newBounds.Height; + } + if (newBounds.Top > screenBounds.Bottom - minVertical) + { + newBounds.Y = screenBounds.Bottom - minVertical; + } + + this._MainForm.Location = newBounds.Location; + + if (My.Settings.Default.MainFormKiosk == true) + { + this._MainForm.Fullscreen.Value = true; + this._MainForm.mMenViewFullscreen.Checked = true; + } + + if (My.Settings.Default.UseCustomPuttyPath) + { + Connection.Protocol.PuttyBase.PuttyPath = System.Convert.ToString(My.Settings.Default.CustomPuttyPath); + } + else + { + Connection.Protocol.PuttyBase.PuttyPath = App.Info.General.PuttyPath; + } + + if (My.Settings.Default.ShowSystemTrayIcon) + { + App.Runtime.NotificationAreaIcon = new Tools.Controls.NotificationAreaIcon(); + } + + if (My.Settings.Default.AutoSaveEveryMinutes > 0) + { + this._MainForm.tmrAutoSave.Interval = System.Convert.ToInt32(My.Settings.Default.AutoSaveEveryMinutes * 60000); + this._MainForm.tmrAutoSave.Enabled = true; + } + + My.Settings.Default.ConDefaultPassword = Security.Crypt.Decrypt(System.Convert.ToString(My.Settings.Default.ConDefaultPassword), App.Info.General.EncryptionKey); + + this.LoadPanelsFromXML(); + this.LoadExternalAppsFromXML(); + + if (My.Settings.Default.AlwaysShowPanelTabs) + { + frmMain.Default.pnlDock.DocumentStyle = DocumentStyle.DockingWindow; + } + + if (My.Settings.Default.ResetToolbars == false) + { + LoadToolbarsFromSettings(); + } + else + { + SetToolbarsDefault(); + } + } + catch (Exception ex) + { + Runtime.Log.Error("Loading settings failed" + Constants.vbNewLine + ex.Message); + } + } + + public void SetToolbarsDefault() + { + ToolStripPanelFromString("top").Join(MainForm.tsQuickConnect, new Point(300, 0)); + MainForm.tsQuickConnect.Visible = true; + ToolStripPanelFromString("bottom").Join(MainForm.tsExternalTools, new Point(3, 0)); + MainForm.tsExternalTools.Visible = false; + } + + public void LoadToolbarsFromSettings() + { + if (My.Settings.Default.QuickyTBLocation.X > My.Settings.Default.ExtAppsTBLocation.X) + { + AddDynamicPanels(); + AddStaticPanels(); + } + else + { + AddStaticPanels(); + AddDynamicPanels(); + } + } + + private void AddStaticPanels() + { + ToolStripPanelFromString(System.Convert.ToString(My.Settings.Default.QuickyTBParentDock)).Join(MainForm.tsQuickConnect, My.Settings.Default.QuickyTBLocation); + MainForm.tsQuickConnect.Visible = System.Convert.ToBoolean(My.Settings.Default.QuickyTBVisible); + } + + private void AddDynamicPanels() + { + ToolStripPanelFromString(System.Convert.ToString(My.Settings.Default.ExtAppsTBParentDock)).Join(MainForm.tsExternalTools, My.Settings.Default.ExtAppsTBLocation); + MainForm.tsExternalTools.Visible = System.Convert.ToBoolean(My.Settings.Default.ExtAppsTBVisible); + } + + private ToolStripPanel ToolStripPanelFromString(string Panel) + { + switch (Panel.ToLower()) + { + case "top": + return MainForm.tsContainer.TopToolStripPanel; + case "bottom": + return MainForm.tsContainer.BottomToolStripPanel; + case "left": + return MainForm.tsContainer.LeftToolStripPanel; + case "right": + return MainForm.tsContainer.RightToolStripPanel; + default: + return MainForm.tsContainer.TopToolStripPanel; + } + } + + public void LoadPanelsFromXML() + { + try + { + Runtime.Windows.treePanel = null; + Runtime.Windows.configPanel = null; + Runtime.Windows.errorsPanel = null; + + while (MainForm.pnlDock.Contents.Count > 0) + { + WeifenLuo.WinFormsUI.Docking.DockContent dc = (WeifenLuo.WinFormsUI.Docking.DockContent)MainForm.pnlDock.Contents[0]; + dc.Close(); + } + + Runtime.Startup.CreatePanels(); + + string oldPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.LocalApplicationData) + "\\" + (new Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase()).Info.ProductName + "\\" + App.Info.Settings.LayoutFileName; + string newPath = App.Info.Settings.SettingsPath + "\\" + App.Info.Settings.LayoutFileName; + if (File.Exists(newPath)) + { + MainForm.pnlDock.LoadFromXml(newPath, GetContentFromPersistString); + #if !PORTABLE + } + else if (File.Exists(oldPath)) + { + MainForm.pnlDock.LoadFromXml(oldPath, GetContentFromPersistString); + #endif + } + else + { + Runtime.Startup.SetDefaultLayout(); + } + } + catch (Exception ex) + { + Runtime.Log.Error("LoadPanelsFromXML failed" + Constants.vbNewLine + ex.Message); + } + } + + public void LoadExternalAppsFromXML() + { + string oldPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.LocalApplicationData) + "\\" + (new Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase()).Info.ProductName + "\\" + App.Info.Settings.ExtAppsFilesName; + string newPath = App.Info.Settings.SettingsPath + "\\" + App.Info.Settings.ExtAppsFilesName; + XmlDocument xDom = new XmlDocument(); + if (File.Exists(newPath)) + { + xDom.Load(newPath); + #if !PORTABLE + } + else if (File.Exists(oldPath)) + { + xDom.Load(oldPath); + #endif + } + else + { + return; + } + + foreach (XmlElement xEl in xDom.DocumentElement.ChildNodes) + { + Tools.ExternalTool extA = new Tools.ExternalTool(); + extA.DisplayName = xEl.Attributes["DisplayName"].Value; + extA.FileName = xEl.Attributes["FileName"].Value; + extA.Arguments = xEl.Attributes["Arguments"].Value; + + if (xEl.HasAttribute("WaitForExit")) + { + extA.WaitForExit = bool.Parse(xEl.Attributes["WaitForExit"].Value); + } + + if (xEl.HasAttribute("TryToIntegrate")) + { + extA.TryIntegrate = bool.Parse(xEl.Attributes["TryToIntegrate"].Value); + } + + Runtime.ExternalTools.Add(extA); + } + + MainForm.SwitchToolBarText(System.Convert.ToBoolean(My.Settings.Default.ExtAppsTBShowText)); + + xDom = null; + + frmMain.Default.AddExternalToolsToToolBar(); + } + #endregion + + #region Private Methods + private IDockContent GetContentFromPersistString(string persistString) + { + // pnlLayout.xml persistence XML fix for refactoring to mRemoteNG + if (persistString.StartsWith("mRemote.")) + { + persistString = persistString.Replace("mRemote.", "mRemoteNG."); + } + + try + { + if (persistString == typeof(UI.Window.Config).ToString()) + { + return Runtime.Windows.configPanel; + } + + if (persistString == typeof(UI.Window.Tree).ToString()) + { + return Runtime.Windows.treePanel; + } + + if (persistString == typeof(UI.Window.ErrorsAndInfos).ToString()) + { + return Runtime.Windows.errorsPanel; + } + + if (persistString == typeof(UI.Window.Sessions).ToString()) + { + return Runtime.Windows.sessionsPanel; + } + + if (persistString == typeof(UI.Window.ScreenshotManager).ToString()) + { + return Runtime.Windows.screenshotPanel; + } + } + catch (Exception ex) + { + Runtime.Log.Error("GetContentFromPersistString failed" + Constants.vbNewLine + ex.Message); + } + + return null; + } + #endregion + } } diff --git a/mRemoteV1/CS/Config/Config.Settings.Save.cs b/mRemoteV1/CS/Config/Config.Settings.Save.cs index 72ec58df7..65e80f7ab 100644 --- a/mRemoteV1/CS/Config/Config.Settings.Save.cs +++ b/mRemoteV1/CS/Config/Config.Settings.Save.cs @@ -109,7 +109,7 @@ namespace mRemoteNG.Config.Settings xmlTextWriter.WriteStartDocument(); xmlTextWriter.WriteStartElement("Apps"); - foreach (Tools.ExternalTool extA in ExternalTools) + foreach (Tools.ExternalTool extA in Runtime.ExternalTools) { xmlTextWriter.WriteStartElement("App"); xmlTextWriter.WriteAttributeString("DisplayName", "", extA.DisplayName); diff --git a/mRemoteV1/CS/Config/ConfirmClose.cs b/mRemoteV1/CS/Config/ConfirmClose.cs index 6329665b2..53bd2a526 100644 --- a/mRemoteV1/CS/Config/ConfirmClose.cs +++ b/mRemoteV1/CS/Config/ConfirmClose.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,7 +8,6 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports namespace mRemoteNG.Config diff --git a/mRemoteV1/CS/Config/Import/ActiveDirectory.cs b/mRemoteV1/CS/Config/Import/ActiveDirectory.cs index f4b4341bc..a4766415d 100644 --- a/mRemoteV1/CS/Config/Import/ActiveDirectory.cs +++ b/mRemoteV1/CS/Config/Import/ActiveDirectory.cs @@ -54,7 +54,7 @@ namespace mRemoteNG.Config.Import treeNode.Text = name; treeNode.Name = name; treeNode.Tag = containerInfo; - ContainerList.Add(containerInfo); + Runtime.ContainerList.Add(containerInfo); ImportComputers(ldapPath, treeNode); @@ -102,7 +102,7 @@ namespace mRemoteNG.Config.Import inheritanceInfo.Description = false; if (parentTreeNode.Tag is Container.Info) { - connectionInfo.Parent = parentTreeNode.Tag; + connectionInfo.Parent = (Container.Info)parentTreeNode.Tag; } connectionInfo.Inherit = inheritanceInfo; connectionInfo.Name = strDisplayName; @@ -112,7 +112,7 @@ namespace mRemoteNG.Config.Import treeNode.Name = strDisplayName; treeNode.Tag = connectionInfo; //set the nodes tag to the conI //add connection to connections - ConnectionList.Add(connectionInfo); + Runtime.ConnectionList.Add(connectionInfo); parentTreeNode.Nodes.Add(treeNode); } diff --git a/mRemoteV1/CS/Config/Import/PortScan.cs b/mRemoteV1/CS/Config/Import/PortScan.cs index febb106fe..fb11a7751 100644 --- a/mRemoteV1/CS/Config/Import/PortScan.cs +++ b/mRemoteV1/CS/Config/Import/PortScan.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,99 +8,97 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports - -//using mRemoteNG.App.Runtime; +using mRemoteNG.App; namespace mRemoteNG.Config.Import { public class PortScan + { + public static void Import(IEnumerable hosts, Connection.Protocol.Protocols protocol, TreeNode parentTreeNode) { - public static void Import(IEnumerable hosts, Connection.Protocol.Protocols protocol, TreeNode parentTreeNode) + foreach (Tools.PortScan.ScanHost host in hosts) { - foreach (Tools.PortScan.ScanHost host in hosts) + Connection.Protocol.Protocols finalProtocol = default(Connection.Protocol.Protocols); + bool protocolValid = false; + + TreeNode treeNode = Tree.Node.AddNode(Tree.Node.Type.Connection, host.HostNameWithoutDomain); + + Connection.Info connectionInfo = new Connection.Info(); + connectionInfo.Inherit = new Connection.Info.Inheritance(connectionInfo); + + connectionInfo.Name = host.HostNameWithoutDomain; + connectionInfo.Hostname = host.HostName; + + switch (protocol) { - Connection.Protocol.Protocols finalProtocol = default(Connection.Protocol.Protocols); - bool protocolValid = false; - - TreeNode treeNode = Tree.Node.AddNode(Tree.Node.Type.Connection, host.HostNameWithoutDomain); - - Connection.Info connectionInfo = new Connection.Info(); - connectionInfo.Inherit = new Connection.Info.Inheritance(connectionInfo); - - connectionInfo.Name = host.HostNameWithoutDomain; - connectionInfo.Hostname = host.HostName; - - switch (protocol) - { - case Connection.Protocol.Protocols.SSH2: - if (host.SSH) - { - finalProtocol = Connection.Protocol.Protocols.SSH2; - protocolValid = true; - } - break; - case Connection.Protocol.Protocols.Telnet: - if (host.Telnet) - { - finalProtocol = Connection.Protocol.Protocols.Telnet; - protocolValid = true; - } - break; - case Connection.Protocol.Protocols.HTTP: - if (host.HTTP) - { - finalProtocol = Connection.Protocol.Protocols.HTTP; - protocolValid = true; - } - break; - case Connection.Protocol.Protocols.HTTPS: - if (host.HTTPS) - { - finalProtocol = Connection.Protocol.Protocols.HTTPS; - protocolValid = true; - } - break; - case Connection.Protocol.Protocols.Rlogin: - if (host.Rlogin) - { - finalProtocol = Connection.Protocol.Protocols.Rlogin; - protocolValid = true; - } - break; - case Connection.Protocol.Protocols.RDP: - if (host.RDP) - { - finalProtocol = Connection.Protocol.Protocols.RDP; - protocolValid = true; - } - break; - case Connection.Protocol.Protocols.VNC: - if (host.VNC) - { - finalProtocol = Connection.Protocol.Protocols.VNC; - protocolValid = true; - } - break; - } - - if (protocolValid) - { - connectionInfo.Protocol = finalProtocol; - connectionInfo.SetDefaultPort(); - - treeNode.Tag = connectionInfo; - parentTreeNode.Nodes.Add(treeNode); - - if (parentTreeNode.Tag is Container.Info) + case Connection.Protocol.Protocols.SSH2: + if (host.SSH) { - connectionInfo.Parent = parentTreeNode.Tag; + finalProtocol = Connection.Protocol.Protocols.SSH2; + protocolValid = true; } + break; + case Connection.Protocol.Protocols.Telnet: + if (host.Telnet) + { + finalProtocol = Connection.Protocol.Protocols.Telnet; + protocolValid = true; + } + break; + case Connection.Protocol.Protocols.HTTP: + if (host.HTTP) + { + finalProtocol = Connection.Protocol.Protocols.HTTP; + protocolValid = true; + } + break; + case Connection.Protocol.Protocols.HTTPS: + if (host.HTTPS) + { + finalProtocol = Connection.Protocol.Protocols.HTTPS; + protocolValid = true; + } + break; + case Connection.Protocol.Protocols.Rlogin: + if (host.Rlogin) + { + finalProtocol = Connection.Protocol.Protocols.Rlogin; + protocolValid = true; + } + break; + case Connection.Protocol.Protocols.RDP: + if (host.RDP) + { + finalProtocol = Connection.Protocol.Protocols.RDP; + protocolValid = true; + } + break; + case Connection.Protocol.Protocols.VNC: + if (host.VNC) + { + finalProtocol = Connection.Protocol.Protocols.VNC; + protocolValid = true; + } + break; + } + + if (protocolValid) + { + connectionInfo.Protocol = finalProtocol; + connectionInfo.SetDefaultPort(); - ConnectionList.Add(connectionInfo); + treeNode.Tag = connectionInfo; + parentTreeNode.Nodes.Add(treeNode); + + if (parentTreeNode.Tag is Container.Info) + { + connectionInfo.Parent = (Container.Info)parentTreeNode.Tag; } + + Runtime.ConnectionList.Add(connectionInfo); } } } + } } diff --git a/mRemoteV1/CS/Config/Import/PuttyConnectionManager.cs b/mRemoteV1/CS/Config/Import/PuttyConnectionManager.cs index b25d3d90e..b5a64b07c 100644 --- a/mRemoteV1/CS/Config/Import/PuttyConnectionManager.cs +++ b/mRemoteV1/CS/Config/Import/PuttyConnectionManager.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,197 +8,195 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports - using System.Xml; using System.IO; -//using mRemoteNG.App.Runtime; +using mRemoteNG.App; using mRemoteNG.Connection.Protocol; namespace mRemoteNG.Config.Import { public class PuttyConnectionManager + { + public static void Import(string fileName, TreeNode parentTreeNode) { - public static void Import(string fileName, TreeNode parentTreeNode) + XmlDocument xmlDocument = new XmlDocument(); + xmlDocument.Load(fileName); + + XmlNode configurationNode = xmlDocument.SelectSingleNode("/configuration"); + //Dim version As New Version(configurationNode.Attributes("version").Value) + //If Not version = New Version(0, 7, 1, 136) Then + // Throw New FileFormatException(String.Format("Unsupported file version ({0}).", version)) + //End If + + foreach (XmlNode rootNode in configurationNode.SelectNodes("./root")) { - XmlDocument xmlDocument = new XmlDocument(); - xmlDocument.Load(fileName); - - XmlNode configurationNode = xmlDocument.SelectSingleNode("/configuration"); - //Dim version As New Version(configurationNode.Attributes("version").Value) - //If Not version = New Version(0, 7, 1, 136) Then - // Throw New FileFormatException(String.Format("Unsupported file version ({0}).", version)) - //End If - - foreach (XmlNode rootNode in configurationNode.SelectNodes("./root")) - { - ImportRootOrContainer(rootNode, parentTreeNode); - } - } - - private static void ImportRootOrContainer(XmlNode xmlNode, TreeNode parentTreeNode) - { - string xmlNodeType = xmlNode.Attributes["type"].Value; - switch (xmlNode.Name) - { - case "root": - if (!(string.Compare(strA: ref xmlNodeType, strB: "database", ignoreCase: true) == 0)) - { - throw (new FileFormatException(string.Format("Unrecognized root node type ({0}).", xmlNodeType))); - } - break; - case "container": - if (!(string.Compare(strA: ref xmlNodeType, strB: "folder", ignoreCase: true) == 0)) - { - throw (new FileFormatException(string.Format("Unrecognized root node type ({0}).", xmlNodeType))); - } - break; - default: - // ReSharper disable once LocalizableElement - throw (new ArgumentException("Argument must be either a root or a container node.", "xmlNode")); - break; - } - - if (parentTreeNode == null) - { - throw (new InvalidOperationException("parentInfo.TreeNode must not be null.")); - } - - string name = xmlNode.Attributes["name"].Value; - - TreeNode treeNode = new TreeNode(name); - parentTreeNode.Nodes.Add(treeNode); - - Container.Info containerInfo = new Container.Info(); - containerInfo.TreeNode = treeNode; - containerInfo.Name = name; - - Connection.Info connectionInfo = CreateConnectionInfo(name); - connectionInfo.Parent = containerInfo; - connectionInfo.IsContainer = true; - containerInfo.ConnectionInfo = connectionInfo; - - // We can only inherit from a container node, not the root node or connection nodes - if (Tree.Node.GetNodeType(parentTreeNode) == Tree.Node.Type.Container) - { - containerInfo.Parent = parentTreeNode.Tag; - } - else - { - connectionInfo.Inherit.TurnOffInheritanceCompletely(); - } - - treeNode.Name = name; - treeNode.Tag = containerInfo; - treeNode.ImageIndex = Images.Enums.TreeImage.Container; - treeNode.SelectedImageIndex = Images.Enums.TreeImage.Container; - - foreach (XmlNode childNode in xmlNode.SelectNodes("./*")) - { - switch (childNode.Name) - { - case "container": - ImportRootOrContainer(childNode, treeNode); - break; - case "connection": - ImportConnection(childNode, treeNode); - break; - default: - throw (new FileFormatException(string.Format("Unrecognized child node ({0}).", childNode.Name))); - break; - } - } - - containerInfo.IsExpanded = bool.Parse(xmlNode.Attributes["expanded"].InnerText); - if (containerInfo.IsExpanded) - { - treeNode.Expand(); - } - - ContainerList.Add(containerInfo); - } - - private static void ImportConnection(XmlNode connectionNode, TreeNode parentTreeNode) - { - string connectionNodeType = connectionNode.Attributes["type"].Value; - if (!(string.Compare(strA: ref connectionNodeType, strB: "PuTTY", ignoreCase: true) == 0)) - { - throw (new FileFormatException(string.Format("Unrecognized connection node type ({0}).", connectionNodeType))); - } - - string name = connectionNode.Attributes["name"].Value; - TreeNode treeNode = new TreeNode(name); - parentTreeNode.Nodes.Add(treeNode); - - Connection.Info connectionInfo = ConnectionInfoFromXml(connectionNode); - connectionInfo.TreeNode = treeNode; - connectionInfo.Parent = parentTreeNode.Tag; - - treeNode.Name = name; - treeNode.Tag = connectionInfo; - treeNode.ImageIndex = Images.Enums.TreeImage.ConnectionClosed; - treeNode.SelectedImageIndex = Images.Enums.TreeImage.ConnectionClosed; - - ConnectionList.Add(connectionInfo); - } - - private static Connection.Info CreateConnectionInfo(string name) - { - Connection.Info connectionInfo = new Connection.Info(); - connectionInfo.Inherit = new Connection.Info.Inheritance(connectionInfo); - connectionInfo.Name = name; - return connectionInfo; - } - - private static Connection.Info ConnectionInfoFromXml(XmlNode xmlNode) - { - XmlNode connectionInfoNode = xmlNode.SelectSingleNode("./connection_info"); - - string name = connectionInfoNode.SelectSingleNode("./name").InnerText; - Connection.Info connectionInfo = CreateConnectionInfo(name); - - string protocol = connectionInfoNode.SelectSingleNode("./protocol").InnerText; - switch (protocol.ToLowerInvariant()) - { - case "telnet": - connectionInfo.Protocol = Protocols.Telnet; - break; - case "ssh": - connectionInfo.Protocol = Protocols.SSH2; - break; - default: - throw (new FileFormatException(string.Format("Unrecognized protocol ({0}).", protocol))); - break; - } - - connectionInfo.Hostname = connectionInfoNode.SelectSingleNode("./host").InnerText; - connectionInfo.Port = (int) (connectionInfoNode.SelectSingleNode("./port").InnerText); - connectionInfo.PuttySession = connectionInfoNode.SelectSingleNode("./session").InnerText; - // ./commandline - connectionInfo.Description = connectionInfoNode.SelectSingleNode("./description").InnerText; - - XmlNode loginNode = xmlNode.SelectSingleNode("./login"); - connectionInfo.Username = loginNode.SelectSingleNode("login").InnerText; - connectionInfo.Password = loginNode.SelectSingleNode("password").InnerText; - // ./prompt - - // ./timeout/connectiontimeout - // ./timeout/logintimeout - // ./timeout/passwordtimeout - // ./timeout/commandtimeout - - // ./command/command1 - // ./command/command2 - // ./command/command3 - // ./command/command4 - // ./command/command5 - - // ./options/loginmacro - // ./options/postcommands - // ./options/endlinechar - - return connectionInfo; + ImportRootOrContainer(rootNode, parentTreeNode); } } + + private static void ImportRootOrContainer(XmlNode xmlNode, TreeNode parentTreeNode) + { + string xmlNodeType = xmlNode.Attributes["type"].Value; + switch (xmlNode.Name) + { + case "root": + if (!(string.Compare(xmlNodeType, "database", ignoreCase: true) == 0)) + { + throw (new FileFormatException(string.Format("Unrecognized root node type ({0}).", xmlNodeType))); + } + break; + case "container": + if (!(string.Compare(xmlNodeType, "folder", ignoreCase: true) == 0)) + { + throw (new FileFormatException(string.Format("Unrecognized root node type ({0}).", xmlNodeType))); + } + break; + default: + // ReSharper disable once LocalizableElement + throw (new ArgumentException("Argument must be either a root or a container node.", "xmlNode")); + break; + } + + if (parentTreeNode == null) + { + throw (new InvalidOperationException("parentInfo.TreeNode must not be null.")); + } + + string name = xmlNode.Attributes["name"].Value; + + TreeNode treeNode = new TreeNode(name); + parentTreeNode.Nodes.Add(treeNode); + + Container.Info containerInfo = new Container.Info(); + containerInfo.TreeNode = treeNode; + containerInfo.Name = name; + + Connection.Info connectionInfo = CreateConnectionInfo(name); + connectionInfo.Parent = containerInfo; + connectionInfo.IsContainer = true; + containerInfo.ConnectionInfo = connectionInfo; + + // We can only inherit from a container node, not the root node or connection nodes + if (Tree.Node.GetNodeType(parentTreeNode) == Tree.Node.Type.Container) + { + containerInfo.Parent = parentTreeNode.Tag; + } + else + { + connectionInfo.Inherit.TurnOffInheritanceCompletely(); + } + + treeNode.Name = name; + treeNode.Tag = containerInfo; + treeNode.ImageIndex = (int)Images.Enums.TreeImage.Container; + treeNode.SelectedImageIndex = (int)Images.Enums.TreeImage.Container; + + foreach (XmlNode childNode in xmlNode.SelectNodes("./*")) + { + switch (childNode.Name) + { + case "container": + ImportRootOrContainer(childNode, treeNode); + break; + case "connection": + ImportConnection(childNode, treeNode); + break; + default: + throw (new FileFormatException(string.Format("Unrecognized child node ({0}).", childNode.Name))); + break; + } + } + + containerInfo.IsExpanded = bool.Parse(xmlNode.Attributes["expanded"].InnerText); + if (containerInfo.IsExpanded) + { + treeNode.Expand(); + } + + Runtime.ContainerList.Add(containerInfo); + } + + private static void ImportConnection(XmlNode connectionNode, TreeNode parentTreeNode) + { + string connectionNodeType = connectionNode.Attributes["type"].Value; + if (!(string.Compare(connectionNodeType, "PuTTY", ignoreCase: true) == 0)) + { + throw (new FileFormatException(string.Format("Unrecognized connection node type ({0}).", connectionNodeType))); + } + + string name = connectionNode.Attributes["name"].Value; + TreeNode treeNode = new TreeNode(name); + parentTreeNode.Nodes.Add(treeNode); + + Connection.Info connectionInfo = ConnectionInfoFromXml(connectionNode); + connectionInfo.TreeNode = treeNode; + connectionInfo.Parent = (Container.Info)parentTreeNode.Tag; + + treeNode.Name = name; + treeNode.Tag = connectionInfo; + treeNode.ImageIndex = (int)Images.Enums.TreeImage.ConnectionClosed; + treeNode.SelectedImageIndex = (int)Images.Enums.TreeImage.ConnectionClosed; + + Runtime.ConnectionList.Add(connectionInfo); + } + + private static Connection.Info CreateConnectionInfo(string name) + { + Connection.Info connectionInfo = new Connection.Info(); + connectionInfo.Inherit = new Connection.Info.Inheritance(connectionInfo); + connectionInfo.Name = name; + return connectionInfo; + } + + private static Connection.Info ConnectionInfoFromXml(XmlNode xmlNode) + { + XmlNode connectionInfoNode = xmlNode.SelectSingleNode("./connection_info"); + + string name = connectionInfoNode.SelectSingleNode("./name").InnerText; + Connection.Info connectionInfo = CreateConnectionInfo(name); + + string protocol = connectionInfoNode.SelectSingleNode("./protocol").InnerText; + switch (protocol.ToLowerInvariant()) + { + case "telnet": + connectionInfo.Protocol = Protocols.Telnet; + break; + case "ssh": + connectionInfo.Protocol = Protocols.SSH2; + break; + default: + throw (new FileFormatException(string.Format("Unrecognized protocol ({0}).", protocol))); + break; + } + + connectionInfo.Hostname = connectionInfoNode.SelectSingleNode("./host").InnerText; + connectionInfo.Port = System.Convert.ToInt32(connectionInfoNode.SelectSingleNode("./port").InnerText); + connectionInfo.PuttySession = connectionInfoNode.SelectSingleNode("./session").InnerText; + // ./commandline + connectionInfo.Description = connectionInfoNode.SelectSingleNode("./description").InnerText; + + XmlNode loginNode = xmlNode.SelectSingleNode("./login"); + connectionInfo.Username = loginNode.SelectSingleNode("login").InnerText; + connectionInfo.Password = loginNode.SelectSingleNode("password").InnerText; + // ./prompt + + // ./timeout/connectiontimeout + // ./timeout/logintimeout + // ./timeout/passwordtimeout + // ./timeout/commandtimeout + + // ./command/command1 + // ./command/command2 + // ./command/command3 + // ./command/command4 + // ./command/command5 + + // ./options/loginmacro + // ./options/postcommands + // ./options/endlinechar + + return connectionInfo; + } + } } diff --git a/mRemoteV1/CS/Config/Import/RemoteDesktopConnection.cs b/mRemoteV1/CS/Config/Import/RemoteDesktopConnection.cs index b781e3696..06ed3d6ef 100644 --- a/mRemoteV1/CS/Config/Import/RemoteDesktopConnection.cs +++ b/mRemoteV1/CS/Config/Import/RemoteDesktopConnection.cs @@ -31,13 +31,13 @@ namespace mRemoteNG.Config.Import if (treeNode.Parent.Tag is Container.Info) { - connectionInfo.Parent = treeNode.Parent.Tag; + connectionInfo.Parent = (Container.Info)treeNode.Parent.Tag; } treeNode.Name = name; treeNode.Tag = connectionInfo; - treeNode.ImageIndex = Images.Enums.TreeImage.ConnectionClosed; - treeNode.SelectedImageIndex = Images.Enums.TreeImage.ConnectionClosed; + treeNode.ImageIndex = (int)Images.Enums.TreeImage.ConnectionClosed; + treeNode.SelectedImageIndex = (int)Images.Enums.TreeImage.ConnectionClosed; foreach (string line in lines) { @@ -53,7 +53,7 @@ namespace mRemoteNG.Config.Import SetConnectionInfoParameter(connectionInfo, key, value); } - ConnectionList.Add(connectionInfo); + Runtime.ConnectionList.Add(connectionInfo); } private static void SetConnectionInfoParameter(Connection.Info connectionInfo, string key, string value) @@ -72,7 +72,7 @@ namespace mRemoteNG.Config.Import } break; case "server port": - connectionInfo.Port = value; + connectionInfo.Port = System.Convert.ToInt32(value); break; case "username": connectionInfo.Username = value; diff --git a/mRemoteV1/CS/Config/Import/RemoteDesktopConnectionManager.cs b/mRemoteV1/CS/Config/Import/RemoteDesktopConnectionManager.cs index 5747e5c82..396f4dcb8 100644 --- a/mRemoteV1/CS/Config/Import/RemoteDesktopConnectionManager.cs +++ b/mRemoteV1/CS/Config/Import/RemoteDesktopConnectionManager.cs @@ -25,7 +25,7 @@ namespace mRemoteNG.Config.Import xmlDocument.Load(fileName); XmlNode rdcManNode = xmlDocument.SelectSingleNode("/RDCMan"); - int schemaVersion = (int) (rdcManNode.Attributes["schemaVersion"].Value); + int schemaVersion = System.Convert.ToInt32(rdcManNode.Attributes["schemaVersion"].Value); if (!(schemaVersion == 1)) { throw (new FileFormatException(string.Format("Unsupported schema version ({0}).", schemaVersion))); @@ -71,8 +71,8 @@ namespace mRemoteNG.Config.Import treeNode.Name = name; treeNode.Tag = containerInfo; - treeNode.ImageIndex = Images.Enums.TreeImage.Container; - treeNode.SelectedImageIndex = Images.Enums.TreeImage.Container; + treeNode.ImageIndex = (int)Images.Enums.TreeImage.Container; + treeNode.SelectedImageIndex = (int)Images.Enums.TreeImage.Container; foreach (XmlNode childNode in xmlNode.SelectNodes("./group|./server")) { @@ -104,12 +104,12 @@ namespace mRemoteNG.Config.Import Connection.Info connectionInfo = ConnectionInfoFromXml(serverNode); connectionInfo.TreeNode = treeNode; - connectionInfo.Parent = parentTreeNode.Tag; + connectionInfo.Parent = (Container.Info)parentTreeNode.Tag; treeNode.Name = name; treeNode.Tag = connectionInfo; - treeNode.ImageIndex = Images.Enums.TreeImage.ConnectionClosed; - treeNode.SelectedImageIndex = Images.Enums.TreeImage.ConnectionClosed; + treeNode.ImageIndex = (int)Images.Enums.TreeImage.ConnectionClosed; + treeNode.SelectedImageIndex = (int)Images.Enums.TreeImage.ConnectionClosed; Runtime.ConnectionList.Add(connectionInfo); } @@ -166,7 +166,7 @@ namespace mRemoteNG.Config.Import connectionInfo.UseConsoleSession = bool.Parse(connectionSettingsNode.SelectSingleNode("./connectToConsole").InnerText); // ./startProgram // ./workingDir - connectionInfo.Port = (int) (connectionSettingsNode.SelectSingleNode("./port").InnerText); + connectionInfo.Port = System.Convert.ToInt32(connectionSettingsNode.SelectSingleNode("./port").InnerText); } else { @@ -219,7 +219,7 @@ namespace mRemoteNG.Config.Import string resolutionString = System.Convert.ToString(remoteDesktopNode.SelectSingleNode("./size").InnerText.Replace(" ", "")); try { - connectionInfo.Resolution = "Res" + System.Convert.ToString(Tools.Misc.StringToEnum(typeof(Connection.Protocol.RDP.RDPResolutions), resolutionString)); + connectionInfo.Resolution = (Connection.Protocol.RDP.RDPResolutions)Enum.Parse(typeof(Connection.Protocol.RDP.RDPResolutions), "Res" + resolutionString); } catch (ArgumentException) { @@ -235,8 +235,9 @@ namespace mRemoteNG.Config.Import { connectionInfo.Resolution = RDP.RDPResolutions.Fullscreen; } - - connectionInfo.Colors = remoteDesktopNode.SelectSingleNode("./colorDepth").InnerText; + + + connectionInfo.Colors = (Connection.Protocol.RDP.RDPColors)Enum.Parse(typeof(Connection.Protocol.RDP.RDPColors), remoteDesktopNode.SelectSingleNode("./colorDepth").InnerText); } else { @@ -249,13 +250,13 @@ namespace mRemoteNG.Config.Import { switch (localResourcesNode.SelectSingleNode("./audioRedirection").InnerText) { - case 0: // Bring to this computer + case "0": // Bring to this computer connectionInfo.RedirectSound = RDP.RDPSounds.BringToThisComputer; break; - case 1: // Leave at remote computer + case "1": // Leave at remote computer connectionInfo.RedirectSound = RDP.RDPSounds.LeaveAtRemoteComputer; break; - case 2: // Do not play + case "2": // Do not play connectionInfo.RedirectSound = RDP.RDPSounds.DoNotPlay; break; } @@ -265,13 +266,13 @@ namespace mRemoteNG.Config.Import switch (localResourcesNode.SelectSingleNode("./keyboardHook").InnerText) { - case 0: // On the local computer + case "0": // On the local computer connectionInfo.RedirectKeys = false; break; - case 1: // On the remote computer + case "1": // On the remote computer connectionInfo.RedirectKeys = true; break; - case 2: // In full screen mode only + case "2": // In full screen mode only connectionInfo.RedirectKeys = false; break; } @@ -297,13 +298,13 @@ namespace mRemoteNG.Config.Import { switch (securitySettingsNode.SelectSingleNode("./authentication").InnerText) { - case 0: // No authentication + case "0": // No authentication connectionInfo.RDPAuthenticationLevel = RDP.AuthenticationLevel.NoAuth; break; - case 1: // Do not connect if authentication fails + case "1": // Do not connect if authentication fails connectionInfo.RDPAuthenticationLevel = RDP.AuthenticationLevel.AuthRequired; break; - case 2: // Warn if authentication fails + case "2": // Warn if authentication fails connectionInfo.RDPAuthenticationLevel = RDP.AuthenticationLevel.WarnOnFailedAuth; break; } @@ -337,10 +338,10 @@ namespace mRemoteNG.Config.Import Win32.DATA_BLOB ciphertextData = new Win32.DATA_BLOB(); ciphertextData.cbData = ciphertextArray.Length; ciphertextData.pbData = gcHandle.AddrOfPinnedObject(); - - Win32.DATA_BLOB temp_optionalEntropy = null; - IntPtr temp_promptStruct = null; - if (!Win32.CryptUnprotectData(ref ciphertextData, null, ref temp_optionalEntropy, null, ref temp_promptStruct, 0, ref plaintextData)) + + Win32.DATA_BLOB temp_optionalEntropy = new Win32.DATA_BLOB(); + IntPtr temp_promptStruct = IntPtr.Zero; + if (!Win32.CryptUnprotectData(ref ciphertextData, null, ref temp_optionalEntropy, IntPtr.Zero, ref temp_promptStruct, 0, ref plaintextData)) { return null; } diff --git a/mRemoteV1/CS/Config/Import/mRemoteNG.cs b/mRemoteV1/CS/Config/Import/mRemoteNG.cs index cdecdf49c..46437dcd4 100644 --- a/mRemoteV1/CS/Config/Import/mRemoteNG.cs +++ b/mRemoteV1/CS/Config/Import/mRemoteNG.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,59 +8,57 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports - using System.IO; -//using mRemoteNG.App.Runtime; +using mRemoteNG.App; namespace mRemoteNG.Config.Import { // ReSharper disable once InconsistentNaming public class mRemoteNG + { + public static void Import(string fileName, TreeNode parentTreeNode) { - public static void Import(string fileName, TreeNode parentTreeNode) + string name = Path.GetFileNameWithoutExtension(fileName); + TreeNode treeNode = new TreeNode(name); + parentTreeNode.Nodes.Add(treeNode); + + Container.Info containerInfo = new Container.Info(); + containerInfo.TreeNode = treeNode; + containerInfo.Name = name; + + Connection.Info connectionInfo = new Connection.Info(); + connectionInfo.Inherit = new Connection.Info.Inheritance(connectionInfo); + connectionInfo.Name = name; + connectionInfo.TreeNode = treeNode; + connectionInfo.Parent = containerInfo; + connectionInfo.IsContainer = true; + containerInfo.ConnectionInfo = connectionInfo; + + // We can only inherit from a container node, not the root node or connection nodes + if (Tree.Node.GetNodeType(parentTreeNode) == Tree.Node.Type.Container) { - string name = Path.GetFileNameWithoutExtension(fileName); - TreeNode treeNode = new TreeNode(name); - parentTreeNode.Nodes.Add(treeNode); - - Container.Info containerInfo = new Container.Info(); - containerInfo.TreeNode = treeNode; - containerInfo.Name = name; - - Connection.Info connectionInfo = new Connection.Info(); - connectionInfo.Inherit = new Connection.Info.Inheritance(connectionInfo); - connectionInfo.Name = name; - connectionInfo.TreeNode = treeNode; - connectionInfo.Parent = containerInfo; - connectionInfo.IsContainer = true; - containerInfo.ConnectionInfo = connectionInfo; - - // We can only inherit from a container node, not the root node or connection nodes - if (Tree.Node.GetNodeType(parentTreeNode) == Tree.Node.Type.Container) - { - containerInfo.Parent = parentTreeNode.Tag; - } - else - { - connectionInfo.Inherit.TurnOffInheritanceCompletely(); - } - - treeNode.Name = name; - treeNode.Tag = containerInfo; - treeNode.ImageIndex = Images.Enums.TreeImage.Container; - treeNode.SelectedImageIndex = Images.Enums.TreeImage.Container; - - Connections.Load connectionsLoad = new Connections.Load(); - connectionsLoad.ConnectionFileName = fileName; - connectionsLoad.RootTreeNode = treeNode; - connectionsLoad.ConnectionList = ConnectionList; - connectionsLoad.ContainerList = ContainerList; - - connectionsLoad.Load_Renamed(true); - - ContainerList.Add(containerInfo); + containerInfo.Parent = parentTreeNode.Tag; } + else + { + connectionInfo.Inherit.TurnOffInheritanceCompletely(); + } + + treeNode.Name = name; + treeNode.Tag = containerInfo; + treeNode.ImageIndex = (int)Images.Enums.TreeImage.Container; + treeNode.SelectedImageIndex = (int)Images.Enums.TreeImage.Container; + + Connections.Load connectionsLoad = new Connections.Load(); + connectionsLoad.ConnectionFileName = fileName; + connectionsLoad.RootTreeNode = treeNode; + connectionsLoad.ConnectionList = Runtime.ConnectionList; + connectionsLoad.ContainerList = Runtime.ContainerList; + + connectionsLoad.Load_Renamed(true); + + Runtime.ContainerList.Add(containerInfo); } + } } diff --git a/mRemoteV1/CS/Config/KeyboardShortcuts.cs b/mRemoteV1/CS/Config/KeyboardShortcuts.cs index 5d47a3dae..9b98cfe96 100644 --- a/mRemoteV1/CS/Config/KeyboardShortcuts.cs +++ b/mRemoteV1/CS/Config/KeyboardShortcuts.cs @@ -69,7 +69,7 @@ namespace mRemoteNG.Config public static ShortcutCommand CommandFromHookKeyMessage(Message m) { - KeyboardHook.HookKeyMsgData msgData = Marshal.PtrToStructure(m.LParam, typeof(KeyboardHook.HookKeyMsgData)); + KeyboardHook.HookKeyMsgData msgData = (SharedLibraryNG.KeyboardHook.HookKeyMsgData)Marshal.PtrToStructure(m.LParam, typeof(KeyboardHook.HookKeyMsgData)); return Map.GetCommand(msgData.KeyCode, msgData.ModifierKeys); } #endregion @@ -386,7 +386,7 @@ namespace mRemoteNG.Config #region Public Methods public string ToConfigString() { - return string.Join("/", new string[] {KeyCode, Convert.ToInt32(ModifierKeys)}); + return string.Join("/", new string[] {KeyCode.ToString(), (Convert.ToInt32(ModifierKeys)).ToString()}); } public static ShortcutKey FromConfigString(string shortcutKeyString) @@ -396,12 +396,12 @@ namespace mRemoteNG.Config { throw (new ArgumentException(string.Format("ShortcutKey.FromString({0}) failed. parts.Length != 2", shortcutKeyString), shortcutKeyString)); } - return new ShortcutKey(Convert.ToInt32(parts[0]), Convert.ToInt32(parts[1])); + return new ShortcutKey(Convert.ToInt32(parts[0]), (SharedLibraryNG.KeyboardHook.ModifierKeys)Convert.ToInt32(parts[1])); } public override string ToString() { - return HotkeyControl.KeysToString(this); + return HotkeyControl.KeysToString((System.Windows.Forms.Keys)this.KeyCode); } public bool Equals(ShortcutKey other) diff --git a/mRemoteV1/CS/Config/Putty/Provider.cs b/mRemoteV1/CS/Config/Putty/Provider.cs index 66f95f089..0b5dbefe8 100644 --- a/mRemoteV1/CS/Config/Putty/Provider.cs +++ b/mRemoteV1/CS/Config/Putty/Provider.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,152 +8,149 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports - using mRemoteNG.My; namespace mRemoteNG.Config.Putty { public abstract class Provider + { + #region Public Methods + private TreeNode _rootTreeNode; + public TreeNode RootTreeNode { -#region Public Methods - private TreeNode _rootTreeNode; -public TreeNode RootTreeNode + get { - get + if (_rootTreeNode == null) { - if (_rootTreeNode == null) - { - _rootTreeNode = CreateRootTreeNode(); - } - return _rootTreeNode; + _rootTreeNode = CreateRootTreeNode(); } + return _rootTreeNode; } - - private Root.PuttySessions.Info _rootInfo; -public Root.PuttySessions.Info RootInfo - { - get - { - if (_rootInfo == null) - { - _rootInfo = CreateRootInfo(); - } - return _rootInfo; - } - } - - public abstract string[] GetSessionNames(bool raw = false); - public abstract Connection.PuttySession.Info GetSession(string sessionName); - - public virtual Connection.PuttySession.Info[] GetSessions() - { - List sessionList = new List(); - Connection.Info sessionInfo = default(Connection.Info); - foreach (string sessionName in GetSessionNames(true)) - { - sessionInfo = GetSession(sessionName); - if (sessionInfo == null || string.IsNullOrEmpty(sessionInfo.Hostname)) - { - continue; - } - sessionList.Add(sessionInfo); - } - return sessionList.ToArray(); - } - - public virtual void StartWatcher() - { - - } - - public virtual void StopWatcher() - { - - } -#endregion - -#region Public Events - public delegate void SessionChangedEventHandler(object sender, SessionChangedEventArgs e); - private SessionChangedEventHandler SessionChangedEvent; - - public event SessionChangedEventHandler SessionChanged - { - add - { - SessionChangedEvent = (SessionChangedEventHandler) System.Delegate.Combine(SessionChangedEvent, value); - } - remove - { - SessionChangedEvent = (SessionChangedEventHandler) System.Delegate.Remove(SessionChangedEvent, value); - } - } - -#endregion - -#region Public Classes - public class SessionChangedEventArgs : EventArgs - { - } -#endregion - -#region Protected Methods - private delegate TreeNode CreateRootTreeNodeDelegate(); - protected virtual TreeNode CreateRootTreeNode() - { - TreeView treeView = Tree.Node.TreeView; - if (treeView == null) - { - return null; - } - if (treeView.InvokeRequired) - { - return treeView.Invoke(new CreateRootTreeNodeDelegate(CreateRootTreeNode)); - } - - TreeNode newTreeNode = new TreeNode(); - RootInfo.TreeNode = newTreeNode; - - newTreeNode.Name = _rootInfo.Name; - newTreeNode.Text = _rootInfo.Name; - newTreeNode.Tag = _rootInfo; - newTreeNode.ImageIndex = Images.Enums.TreeImage.PuttySessions; - newTreeNode.SelectedImageIndex = Images.Enums.TreeImage.PuttySessions; - - return newTreeNode; - } - - protected virtual Root.PuttySessions.Info CreateRootInfo() - { - Root.PuttySessions.Info newRootInfo = new Root.PuttySessions.Info(); - - if (string.IsNullOrEmpty(System.Convert.ToString(My.Settings.Default.PuttySavedSessionsName))) - { - newRootInfo.Name = Language.strPuttySavedSessionsRootName; - } - else - { - newRootInfo.Name = System.Convert.ToString(My.Settings.Default.PuttySavedSessionsName); - } - - if (string.IsNullOrEmpty(System.Convert.ToString(My.Settings.Default.PuttySavedSessionsPanel))) - { - newRootInfo.Panel = Language.strGeneral; - } - else - { - newRootInfo.Panel = System.Convert.ToString(My.Settings.Default.PuttySavedSessionsPanel); - } - - return newRootInfo; - } - - protected virtual void OnSessionChanged(SessionChangedEventArgs e) - { - if (SessionChangedEvent != null) - SessionChangedEvent(this, new SessionChangedEventArgs()); - } -#endregion } + + private Root.PuttySessions.Info _rootInfo; + public Root.PuttySessions.Info RootInfo + { + get + { + if (_rootInfo == null) + { + _rootInfo = CreateRootInfo(); + } + return _rootInfo; + } + } + + public abstract string[] GetSessionNames(bool raw = false); + public abstract Connection.PuttySession.Info GetSession(string sessionName); + + public virtual Connection.PuttySession.Info[] GetSessions() + { + List sessionList = new List(); + Connection.PuttySession.Info sessionInfo = (Connection.PuttySession.Info)default(Connection.Info); + foreach (string sessionName in GetSessionNames(true)) + { + sessionInfo = GetSession(sessionName); + if (sessionInfo == null || string.IsNullOrEmpty(sessionInfo.Hostname)) + { + continue; + } + sessionList.Add(sessionInfo); + } + return sessionList.ToArray(); + } + + public virtual void StartWatcher() + { + + } + + public virtual void StopWatcher() + { + + } + #endregion + + #region Public Events + public delegate void SessionChangedEventHandler(object sender, SessionChangedEventArgs e); + private SessionChangedEventHandler SessionChangedEvent; + + public event SessionChangedEventHandler SessionChanged + { + add + { + SessionChangedEvent = (SessionChangedEventHandler) System.Delegate.Combine(SessionChangedEvent, value); + } + remove + { + SessionChangedEvent = (SessionChangedEventHandler) System.Delegate.Remove(SessionChangedEvent, value); + } + } + #endregion + + #region Public Classes + public class SessionChangedEventArgs : EventArgs + { + } + #endregion + + #region Protected Methods + private delegate TreeNode CreateRootTreeNodeDelegate(); + protected virtual TreeNode CreateRootTreeNode() + { + TreeView treeView = Tree.Node.TreeView; + if (treeView == null) + { + return null; + } + if (treeView.InvokeRequired) + { + return (TreeNode)treeView.Invoke(new CreateRootTreeNodeDelegate(CreateRootTreeNode)); + } + + TreeNode newTreeNode = new TreeNode(); + RootInfo.TreeNode = newTreeNode; + + newTreeNode.Name = _rootInfo.Name; + newTreeNode.Text = _rootInfo.Name; + newTreeNode.Tag = _rootInfo; + newTreeNode.ImageIndex = (int)Images.Enums.TreeImage.PuttySessions; + newTreeNode.SelectedImageIndex = (int)Images.Enums.TreeImage.PuttySessions; + + return newTreeNode; + } + + protected virtual Root.PuttySessions.Info CreateRootInfo() + { + Root.PuttySessions.Info newRootInfo = new Root.PuttySessions.Info(); + + if (string.IsNullOrEmpty(System.Convert.ToString(My.Settings.Default.PuttySavedSessionsName))) + { + newRootInfo.Name = Language.strPuttySavedSessionsRootName; + } + else + { + newRootInfo.Name = System.Convert.ToString(My.Settings.Default.PuttySavedSessionsName); + } + + if (string.IsNullOrEmpty(System.Convert.ToString(My.Settings.Default.PuttySavedSessionsPanel))) + { + newRootInfo.Panel = Language.strGeneral; + } + else + { + newRootInfo.Panel = System.Convert.ToString(My.Settings.Default.PuttySavedSessionsPanel); + } + + return newRootInfo; + } + + protected virtual void OnSessionChanged(SessionChangedEventArgs e) + { + if (SessionChangedEvent != null) + SessionChangedEvent(this, new SessionChangedEventArgs()); + } + #endregion + } } diff --git a/mRemoteV1/CS/Config/Putty/RegistryProvider.cs b/mRemoteV1/CS/Config/Putty/RegistryProvider.cs index 7f4846b4a..1aae912d5 100644 --- a/mRemoteV1/CS/Config/Putty/RegistryProvider.cs +++ b/mRemoteV1/CS/Config/Putty/RegistryProvider.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,8 +8,6 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports - using System.Management; using mRemoteNG.App; using mRemoteNG.Messages; @@ -22,158 +19,157 @@ using System.Security.Principal; namespace mRemoteNG.Config.Putty { public class RegistryProvider : Provider + { + #region Public Methods + public override string[] GetSessionNames(bool raw = false) { - -#region Public Methods - public override string[] GetSessionNames(bool raw = false) + RegistryKey sessionsKey = Registry.CurrentUser.OpenSubKey(PuttySessionsKey); + if (sessionsKey == null) { - RegistryKey sessionsKey = Registry.CurrentUser.OpenSubKey(PuttySessionsKey); - if (sessionsKey == null) - { - return new string[] {}; - } - - List sessionNames = new List(); - foreach (string sessionName in sessionsKey.GetSubKeyNames()) - { - if (raw) - { - sessionNames.Add(sessionName); - } - else - { - sessionNames.Add(System.Web.HttpUtility.UrlDecode(sessionName.Replace("+", "%2B"))); - } - } + return new string[] {}; + } + List sessionNames = new List(); + foreach (string sessionName in sessionsKey.GetSubKeyNames()) + { if (raw) { - if (!sessionNames.Contains("Default%20Settings")) // Do not localize - { - sessionNames.Insert(0, "Default%20Settings"); - } + sessionNames.Add(sessionName); } else { - if (!sessionNames.Contains("Default Settings")) - { - sessionNames.Insert(0, "Default Settings"); - } + sessionNames.Add(System.Web.HttpUtility.UrlDecode(sessionName.Replace("+", "%2B"))); } - - return sessionNames.ToArray(); } - - public override Connection.PuttySession.Info GetSession(string sessionName) + + if (raw) { - RegistryKey sessionsKey = Registry.CurrentUser.OpenSubKey(PuttySessionsKey); - if (sessionsKey == null) + if (!sessionNames.Contains("Default%20Settings")) // Do not localize { + sessionNames.Insert(0, "Default%20Settings"); + } + } + else + { + if (!sessionNames.Contains("Default Settings")) + { + sessionNames.Insert(0, "Default Settings"); + } + } + + return sessionNames.ToArray(); + } + + public override Connection.PuttySession.Info GetSession(string sessionName) + { + RegistryKey sessionsKey = Registry.CurrentUser.OpenSubKey(PuttySessionsKey); + if (sessionsKey == null) + { + return null; + } + + RegistryKey sessionKey = sessionsKey.OpenSubKey(sessionName); + if (sessionKey == null) + { + return null; + } + + sessionName = System.Web.HttpUtility.UrlDecode(sessionName.Replace("+", "%2B")); + + Connection.PuttySession.Info sessionInfo = new Connection.PuttySession.Info(); + sessionInfo.PuttySession = sessionName; + sessionInfo.Name = sessionName; + sessionInfo.Hostname = System.Convert.ToString(sessionKey.GetValue("HostName")); + sessionInfo.Username = System.Convert.ToString(sessionKey.GetValue("UserName")); + string protocol = System.Convert.ToString(sessionKey.GetValue("Protocol")); + if (protocol == null) + { + protocol = "ssh"; + } + switch (protocol.ToLowerInvariant()) + { + case "raw": + sessionInfo.Protocol = Protocols.RAW; + break; + case "rlogin": + sessionInfo.Protocol = Protocols.Rlogin; + break; + case "serial": return null; - } - - RegistryKey sessionKey = sessionsKey.OpenSubKey(sessionName); - if (sessionKey == null) - { - return null; - } - - sessionName = System.Web.HttpUtility.UrlDecode(sessionName.Replace("+", "%2B")); - - Connection.PuttySession.Info sessionInfo = new Connection.PuttySession.Info(); - sessionInfo.PuttySession = sessionName; - sessionInfo.Name = sessionName; - sessionInfo.Hostname = System.Convert.ToString(sessionKey.GetValue("HostName")); - sessionInfo.Username = System.Convert.ToString(sessionKey.GetValue("UserName")); - string protocol = System.Convert.ToString(sessionKey.GetValue("Protocol")); - if (protocol == null) - { - protocol = "ssh"; - } - switch (protocol.ToLowerInvariant()) - { - case "raw": - sessionInfo.Protocol = Protocols.RAW; - break; - case "rlogin": - sessionInfo.Protocol = Protocols.Rlogin; - break; - case "serial": - return null; - case "ssh": - object sshVersionObject = sessionKey.GetValue("SshProt"); - if (sshVersionObject != null) - { - int sshVersion = System.Convert.ToInt32(sshVersionObject); - if (sshVersion >= 2) - { - sessionInfo.Protocol = Protocols.SSH2; - } - else - { - sessionInfo.Protocol = Protocols.SSH1; - } - } - else + case "ssh": + object sshVersionObject = sessionKey.GetValue("SshProt"); + if (sshVersionObject != null) + { + int sshVersion = System.Convert.ToInt32(sshVersionObject); + if (sshVersion >= 2) { sessionInfo.Protocol = Protocols.SSH2; } - break; - case "telnet": - sessionInfo.Protocol = Protocols.Telnet; - break; - default: - return null; - } - sessionInfo.Port = System.Convert.ToInt32(sessionKey.GetValue("PortNumber")); + else + { + sessionInfo.Protocol = Protocols.SSH1; + } + } + else + { + sessionInfo.Protocol = Protocols.SSH2; + } + break; + case "telnet": + sessionInfo.Protocol = Protocols.Telnet; + break; + default: + return null; + } + sessionInfo.Port = System.Convert.ToInt32(sessionKey.GetValue("PortNumber")); - return sessionInfo; - } - - public override void StartWatcher() - { - if (_eventWatcher != null) - { - return ; - } - - try - { - string currentUserSid = WindowsIdentity.GetCurrent().User.Value; - string key = System.Convert.ToString(string.Join("\\", new[] {currentUserSid, PuttySessionsKey}).Replace("\\", "\\\\")); - WqlEventQuery query = new WqlEventQuery(string.Format("SELECT * FROM RegistryTreeChangeEvent WHERE Hive = \'HKEY_USERS\' AND RootPath = \'{0}\'", key)); - _eventWatcher = new ManagementEventWatcher(query); - _eventWatcher.EventArrived += OnManagementEventArrived; - _eventWatcher.Start(); - } - catch (Exception ex) - { - Runtime.MessageCollector.AddExceptionMessage("PuttySessions.Watcher.StartWatching() failed.", ex, MessageClass.WarningMsg, true); - } - } - - public override void StopWatcher() - { - if (_eventWatcher == null) - { - return ; - } - _eventWatcher.Stop(); - _eventWatcher.Dispose(); - _eventWatcher = null; - } -#endregion - -#region Private Fields - private const string PuttySessionsKey = "Software\\SimonTatham\\PuTTY\\Sessions"; - private static ManagementEventWatcher _eventWatcher; -#endregion - -#region Private Methods - private void OnManagementEventArrived(object sender, EventArrivedEventArgs e) - { - OnSessionChanged(new SessionChangedEventArgs()); - } -#endregion + return sessionInfo; } + + public override void StartWatcher() + { + if (_eventWatcher != null) + { + return ; + } + + try + { + string currentUserSid = WindowsIdentity.GetCurrent().User.Value; + string key = System.Convert.ToString(string.Join("\\", new[] {currentUserSid, PuttySessionsKey}).Replace("\\", "\\\\")); + WqlEventQuery query = new WqlEventQuery(string.Format("SELECT * FROM RegistryTreeChangeEvent WHERE Hive = \'HKEY_USERS\' AND RootPath = \'{0}\'", key)); + _eventWatcher = new ManagementEventWatcher(query); + _eventWatcher.EventArrived += OnManagementEventArrived; + _eventWatcher.Start(); + } + catch (Exception ex) + { + Runtime.MessageCollector.AddExceptionMessage("PuttySessions.Watcher.StartWatching() failed.", ex, MessageClass.WarningMsg, true); + } + } + + public override void StopWatcher() + { + if (_eventWatcher == null) + { + return ; + } + _eventWatcher.Stop(); + _eventWatcher.Dispose(); + _eventWatcher = null; + } + #endregion + + #region Private Fields + private const string PuttySessionsKey = "Software\\SimonTatham\\PuTTY\\Sessions"; + private static ManagementEventWatcher _eventWatcher; + #endregion + + #region Private Methods + private void OnManagementEventArrived(object sender, EventArrivedEventArgs e) + { + OnSessionChanged(new SessionChangedEventArgs()); + } + #endregion + } } diff --git a/mRemoteV1/CS/Config/Putty/Sessions.cs b/mRemoteV1/CS/Config/Putty/Sessions.cs index 88c525257..6022e5a40 100644 --- a/mRemoteV1/CS/Config/Putty/Sessions.cs +++ b/mRemoteV1/CS/Config/Putty/Sessions.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,8 +8,6 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports - using System.ComponentModel; using mRemoteNG.Tools; @@ -18,223 +15,223 @@ using mRemoteNG.Tools; namespace mRemoteNG.Config.Putty { public class Sessions + { + #region Public Methods + private delegate void AddSessionsToTreeDelegate(); + public static void AddSessionsToTree() { -#region Public Methods - private delegate void AddSessionsToTreeDelegate(); - public static void AddSessionsToTree() + TreeView treeView = Tree.Node.TreeView; + if (treeView == null) { - TreeView treeView = Tree.Node.TreeView; - if (treeView == null) - { - return ; - } - if (treeView.InvokeRequired) - { - treeView.Invoke(new AddSessionsToTreeDelegate(AddSessionsToTree)); - return ; - } + return ; + } + if (treeView.InvokeRequired) + { + treeView.Invoke(new AddSessionsToTreeDelegate(AddSessionsToTree)); + return ; + } - foreach (Provider provider in Providers) + foreach (Provider provider in Providers) + { + TreeNode rootTreeNode = provider.RootTreeNode; + bool inUpdate = false; + + List savedSessions = new List(provider.GetSessions()); + if (!IsProviderEnabled(provider) || savedSessions == null || savedSessions.Count == 0) { - TreeNode rootTreeNode = provider.RootTreeNode; - bool inUpdate = false; - - List savedSessions = new List(provider.GetSessions()); - if (!IsProviderEnabled(provider) || savedSessions == null || savedSessions.Count == 0) + if (rootTreeNode != null && treeView.Nodes.Contains(rootTreeNode)) { - if (rootTreeNode != null && treeView.Nodes.Contains(rootTreeNode)) - { - treeView.BeginUpdate(); - treeView.Nodes.Remove(rootTreeNode); - treeView.EndUpdate(); - } - continue; - } - - if (!treeView.Nodes.Contains(rootTreeNode)) - { - if (!inUpdate) - { - treeView.BeginUpdate(); - inUpdate = true; - } - treeView.Nodes.Add(rootTreeNode); - } - - List newTreeNodes = new List(); - foreach (Connection.PuttySession.Info sessionInfo in savedSessions) - { - TreeNode treeNode = default(TreeNode); - bool isNewNode = false; - if (rootTreeNode.Nodes.ContainsKey(sessionInfo.Name)) - { - treeNode = rootTreeNode.Nodes[sessionInfo.Name]; - isNewNode = false; - } - else - { - treeNode = Tree.Node.AddNode(Tree.Node.Type.PuttySession, sessionInfo.Name); - if (treeNode == null) - { - continue; - } - treeNode.Name = treeNode.Text; - treeNode.ImageIndex = Images.Enums.TreeImage.ConnectionClosed; - treeNode.SelectedImageIndex = Images.Enums.TreeImage.ConnectionClosed; - isNewNode = true; - } - - sessionInfo.RootPuttySessionsInfo = provider.RootInfo; - sessionInfo.TreeNode = treeNode; - sessionInfo.Inherit.TurnOffInheritanceCompletely(); - - treeNode.Tag = sessionInfo; - - if (isNewNode) - { - newTreeNodes.Add(treeNode); - } - } - - foreach (TreeNode treeNode in rootTreeNode.Nodes) - { - if (!savedSessions.Contains(treeNode.Tag)) - { - if (!inUpdate) - { - treeView.BeginUpdate(); - inUpdate = true; - } - rootTreeNode.Nodes.Remove(treeNode); - } - } - - if (!(newTreeNodes.Count == 0)) - { - if (!inUpdate) - { - treeView.BeginUpdate(); - inUpdate = true; - } - rootTreeNode.Nodes.AddRange(newTreeNodes.ToArray()); - } - - if (inUpdate) - { - Tree.Node.Sort(rootTreeNode, SortOrder.Ascending); - rootTreeNode.Expand(); + treeView.BeginUpdate(); + treeView.Nodes.Remove(rootTreeNode); treeView.EndUpdate(); } + continue; } - } - - public static void StartWatcher() - { - foreach (Provider provider in Providers) + + if (!treeView.Nodes.Contains(rootTreeNode)) { - provider.StartWatcher(); - provider.SessionChanged += SessionChanged; - } - } - - public static void StopWatcher() - { - foreach (Provider provider in Providers) - { - provider.StopWatcher(); - provider.SessionChanged -= SessionChanged; - } - } - - public static void SessionChanged(object sender, Provider.SessionChangedEventArgs e) - { - AddSessionsToTree(); - } -#endregion - -#region Private Methods - private static List _providers; -private static List Providers - { - get - { - if (_providers == null || _providers.Count == 0) + if (!inUpdate) { - AddProviders(); + treeView.BeginUpdate(); + inUpdate = true; } - return _providers; + treeView.Nodes.Add(rootTreeNode); } - } - - private static void AddProviders() - { - _providers = new List(); - _providers.Add(new RegistryProvider()); - _providers.Add(new XmingProvider()); - } - - private static string[] GetSessionNames(bool raw = false) - { - List sessionNames = new List(); - foreach (Provider provider in Providers) + + List newTreeNodes = new List(); + foreach (Connection.PuttySession.Info sessionInfo in savedSessions) { - if (!IsProviderEnabled(provider)) + TreeNode treeNode = default(TreeNode); + bool isNewNode = false; + if (rootTreeNode.Nodes.ContainsKey(sessionInfo.Name)) { - continue; + treeNode = rootTreeNode.Nodes[sessionInfo.Name]; + isNewNode = false; } - sessionNames.AddRange(provider.GetSessionNames(raw)); - } - return sessionNames.ToArray(); - } - - private static bool IsProviderEnabled(Provider provider) - { - bool enabled = true; - if (PuttyTypeDetector.GetPuttyType() == PuttyTypeDetector.PuttyType.Xming) - { - if ((provider) is RegistryProvider) + else { - enabled = false; + treeNode = Tree.Node.AddNode(Tree.Node.Type.PuttySession, sessionInfo.Name); + if (treeNode == null) + { + continue; + } + treeNode.Name = treeNode.Text; + treeNode.ImageIndex = (int)Images.Enums.TreeImage.ConnectionClosed; + treeNode.SelectedImageIndex = (int)Images.Enums.TreeImage.ConnectionClosed; + isNewNode = true; + } + + sessionInfo.RootPuttySessionsInfo = provider.RootInfo; + sessionInfo.TreeNode = treeNode; + sessionInfo.Inherit.TurnOffInheritanceCompletely(); + + treeNode.Tag = sessionInfo; + + if (isNewNode) + { + newTreeNodes.Add(treeNode); } } - else + + foreach (TreeNode treeNode in rootTreeNode.Nodes) { - if ((provider) is XmingProvider) + if (!savedSessions.Contains((Connection.Info)treeNode.Tag)) { - enabled = false; + if (!inUpdate) + { + treeView.BeginUpdate(); + inUpdate = true; + } + rootTreeNode.Nodes.Remove(treeNode); } } - return enabled; - } -#endregion - -#region Public Classes - public class SessionList : StringConverter - { - -public static string[] Names + + if (!(newTreeNodes.Count == 0)) { - get + if (!inUpdate) { - return GetSessionNames(); + treeView.BeginUpdate(); + inUpdate = true; } + rootTreeNode.Nodes.AddRange(newTreeNodes.ToArray()); } - - public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues(System.ComponentModel.ITypeDescriptorContext context) + + if (inUpdate) { - return new StandardValuesCollection(Names); - } - - public override bool GetStandardValuesExclusive(System.ComponentModel.ITypeDescriptorContext context) - { - return true; - } - - public override bool GetStandardValuesSupported(ITypeDescriptorContext context) - { - return true; + Tree.Node.Sort(rootTreeNode, SortOrder.Ascending); + rootTreeNode.Expand(); + treeView.EndUpdate(); } } -#endregion } + + public static void StartWatcher() + { + foreach (Provider provider in Providers) + { + provider.StartWatcher(); + provider.SessionChanged += SessionChanged; + } + } + + public static void StopWatcher() + { + foreach (Provider provider in Providers) + { + provider.StopWatcher(); + provider.SessionChanged -= SessionChanged; + } + } + + public static void SessionChanged(object sender, Provider.SessionChangedEventArgs e) + { + AddSessionsToTree(); + } + #endregion + + #region Private Methods + private static List _providers; + private static List Providers + { + get + { + if (_providers == null || _providers.Count == 0) + { + AddProviders(); + } + return _providers; + } + } + + private static void AddProviders() + { + _providers = new List(); + _providers.Add(new RegistryProvider()); + _providers.Add(new XmingProvider()); + } + + private static string[] GetSessionNames(bool raw = false) + { + List sessionNames = new List(); + foreach (Provider provider in Providers) + { + if (!IsProviderEnabled(provider)) + { + continue; + } + sessionNames.AddRange(provider.GetSessionNames(raw)); + } + return sessionNames.ToArray(); + } + + private static bool IsProviderEnabled(Provider provider) + { + bool enabled = true; + if (PuttyTypeDetector.GetPuttyType() == PuttyTypeDetector.PuttyType.Xming) + { + if ((provider) is RegistryProvider) + { + enabled = false; + } + } + else + { + if ((provider) is XmingProvider) + { + enabled = false; + } + } + return enabled; + } + #endregion + + #region Public Classes + public class SessionList : StringConverter + { + + public static string[] Names + { + get + { + return GetSessionNames(); + } + } + + public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues(System.ComponentModel.ITypeDescriptorContext context) + { + return new StandardValuesCollection(Names); + } + + public override bool GetStandardValuesExclusive(System.ComponentModel.ITypeDescriptorContext context) + { + return true; + } + + public override bool GetStandardValuesSupported(ITypeDescriptorContext context) + { + return true; + } + } + #endregion + } } diff --git a/mRemoteV1/CS/Config/Putty/XmingProvider.cs b/mRemoteV1/CS/Config/Putty/XmingProvider.cs index c84d0a35a..a0b2ac15a 100644 --- a/mRemoteV1/CS/Config/Putty/XmingProvider.cs +++ b/mRemoteV1/CS/Config/Putty/XmingProvider.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,8 +8,6 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports - using System.IO; using mRemoteNG.App; using mRemoteNG.Messages; @@ -21,373 +18,372 @@ using System.Text.RegularExpressions; namespace mRemoteNG.Config.Putty { public class XmingProvider : Provider + { + #region Public Methods + public override string[] GetSessionNames(bool raw = false) { - -#region Public Methods - public override string[] GetSessionNames(bool raw = false) + string sessionsFolderPath = GetSessionsFolderPath(); + if (!Directory.Exists(sessionsFolderPath)) { - string sessionsFolderPath = GetSessionsFolderPath(); - if (!Directory.Exists(sessionsFolderPath)) - { - return new string[] {}; - } - - List sessionNames = new List(); - foreach (string sessionName in Directory.GetFiles(sessionsFolderPath)) - { - sessionName = Path.GetFileName(sessionName); - if (raw) - { - sessionNames.Add(sessionName); - } - else - { - sessionNames.Add(System.Web.HttpUtility.UrlDecode(sessionName.Replace("+", "%2B"))); - } - } + return new string[] {}; + } + List sessionNames = new List(); + foreach (string sessionName in Directory.GetFiles(sessionsFolderPath)) + { + string _sessionFileName = Path.GetFileName(sessionName); if (raw) { - if (!sessionNames.Contains("Default%20Settings")) // Do not localize - { - sessionNames.Insert(0, "Default%20Settings"); - } + sessionNames.Add(_sessionFileName); } else { - if (!sessionNames.Contains("Default Settings")) - { - sessionNames.Insert(0, "Default Settings"); - } + sessionNames.Add(System.Web.HttpUtility.UrlDecode(_sessionFileName.Replace("+", "%2B"))); } - - List registrySessionNames = new List(); - foreach (string sessionName in RegistryProvider.GetSessionNames(raw)) - { - registrySessionNames.Add(string.Format(RegistrySessionNameFormat, sessionName)); - } - - sessionNames.AddRange(registrySessionNames); - sessionNames.Sort(); - - return sessionNames.ToArray(); } - - public override Connection.PuttySession.Info GetSession(string sessionName) + + if (raw) { - string registrySessionName = GetRegistrySessionName(sessionName); - if (!string.IsNullOrEmpty(registrySessionName)) + if (!sessionNames.Contains("Default%20Settings")) // Do not localize { - return ModifyRegistrySessionInfo(RegistryProvider.GetSession(registrySessionName)); + sessionNames.Insert(0, "Default%20Settings"); } - - string sessionsFolderPath = GetSessionsFolderPath(); - if (!Directory.Exists(sessionsFolderPath)) + } + else + { + if (!sessionNames.Contains("Default Settings")) { + sessionNames.Insert(0, "Default Settings"); + } + } + + List registrySessionNames = new List(); + foreach (string sessionName in RegistryProvider.GetSessionNames(raw)) + { + registrySessionNames.Add(string.Format(RegistrySessionNameFormat, sessionName)); + } + + sessionNames.AddRange(registrySessionNames); + sessionNames.Sort(); + + return sessionNames.ToArray(); + } + + public override Connection.PuttySession.Info GetSession(string sessionName) + { + string registrySessionName = GetRegistrySessionName(sessionName); + if (!string.IsNullOrEmpty(registrySessionName)) + { + return ModifyRegistrySessionInfo(RegistryProvider.GetSession(registrySessionName)); + } + + string sessionsFolderPath = GetSessionsFolderPath(); + if (!Directory.Exists(sessionsFolderPath)) + { + return null; + } + + string sessionFile = Path.Combine(sessionsFolderPath, sessionName); + if (!File.Exists(sessionFile)) + { + return null; + } + + sessionName = System.Web.HttpUtility.UrlDecode(sessionName.Replace("+", "%2B")); + + SessionFileReader sessionFileReader = new SessionFileReader(sessionFile); + Connection.PuttySession.Info sessionInfo = new Connection.PuttySession.Info(); + sessionInfo.PuttySession = sessionName; + sessionInfo.Name = sessionName; + sessionInfo.Hostname = sessionFileReader.GetValue("HostName"); + sessionInfo.Username = sessionFileReader.GetValue("UserName"); + string protocol = sessionFileReader.GetValue("Protocol"); + if (protocol == null) + { + protocol = "ssh"; + } + switch (protocol.ToLowerInvariant()) + { + case "raw": + sessionInfo.Protocol = Protocols.RAW; + break; + case "rlogin": + sessionInfo.Protocol = Protocols.Rlogin; + break; + case "serial": return null; - } - - string sessionFile = Path.Combine(sessionsFolderPath, sessionName); - if (!File.Exists(sessionFile)) - { - return null; - } - - sessionName = System.Web.HttpUtility.UrlDecode(sessionName.Replace("+", "%2B")); - - SessionFileReader sessionFileReader = new SessionFileReader(sessionFile); - Connection.PuttySession.Info sessionInfo = new Connection.PuttySession.Info(); - sessionInfo.PuttySession = sessionName; - sessionInfo.Name = sessionName; - sessionInfo.Hostname = sessionFileReader.GetValue("HostName"); - sessionInfo.Username = sessionFileReader.GetValue("UserName"); - string protocol = sessionFileReader.GetValue("Protocol"); - if (protocol == null) - { - protocol = "ssh"; - } - switch (protocol.ToLowerInvariant()) - { - case "raw": - sessionInfo.Protocol = Protocols.RAW; - break; - case "rlogin": - sessionInfo.Protocol = Protocols.Rlogin; - break; - case "serial": - return null; - case "ssh": - object sshVersionObject = sessionFileReader.GetValue("SshProt"); - if (sshVersionObject != null) - { - int sshVersion = System.Convert.ToInt32(sshVersionObject); - if (sshVersion >= 2) - { - sessionInfo.Protocol = Protocols.SSH2; - } - else - { - sessionInfo.Protocol = Protocols.SSH1; - } - } - else + case "ssh": + object sshVersionObject = sessionFileReader.GetValue("SshProt"); + if (sshVersionObject != null) + { + int sshVersion = System.Convert.ToInt32(sshVersionObject); + if (sshVersion >= 2) { sessionInfo.Protocol = Protocols.SSH2; } - break; - case "telnet": - sessionInfo.Protocol = Protocols.Telnet; - break; - default: - return null; - } - sessionInfo.Port = (int) (sessionFileReader.GetValue("PortNumber")); - - return sessionInfo; + else + { + sessionInfo.Protocol = Protocols.SSH1; + } + } + else + { + sessionInfo.Protocol = Protocols.SSH2; + } + break; + case "telnet": + sessionInfo.Protocol = Protocols.Telnet; + break; + default: + return null; } + sessionInfo.Port = System.Convert.ToInt32(sessionFileReader.GetValue("PortNumber")); - public override void StartWatcher() + return sessionInfo; + } + + public override void StartWatcher() + { + RegistryProvider.StartWatcher(); + RegistryProvider.SessionChanged += OnRegistrySessionChanged; + + if (_eventWatcher != null) { - RegistryProvider.StartWatcher(); - RegistryProvider.SessionChanged += OnRegistrySessionChanged; + return ; + } - if (_eventWatcher != null) - { - return ; - } + try + { + _eventWatcher = new FileSystemWatcher(GetSessionsFolderPath()); + _eventWatcher.NotifyFilter = (System.IO.NotifyFilters) (NotifyFilters.FileName | NotifyFilters.LastWrite); + _eventWatcher.Changed += OnFileSystemEventArrived; + _eventWatcher.Created += OnFileSystemEventArrived; + _eventWatcher.Deleted += OnFileSystemEventArrived; + _eventWatcher.Renamed += OnFileSystemEventArrived; + _eventWatcher.EnableRaisingEvents = true; + } + catch (Exception ex) + { + Runtime.MessageCollector.AddExceptionMessage("XmingPortablePuttySessions.Watcher.StartWatching() failed.", ex, MessageClass.WarningMsg, true); + } + } + + public override void StopWatcher() + { + RegistryProvider.StopWatcher(); + RegistryProvider.SessionChanged -= OnRegistrySessionChanged; + if (_eventWatcher == null) + { + return ; + } + _eventWatcher.EnableRaisingEvents = false; + _eventWatcher.Dispose(); + _eventWatcher = null; + } + #endregion + + #region Private Fields + private const string RegistrySessionNameFormat = "{0} [registry]"; + private const string RegistrySessionNamePattern = "(.*)\\ \\[registry\\]"; + + private static readonly RegistryProvider RegistryProvider = new RegistryProvider(); + private static FileSystemWatcher _eventWatcher; + #endregion + + #region Private Methods + private static string GetPuttyConfPath() + { + string puttyPath = ""; + if (My.Settings.Default.UseCustomPuttyPath) + { + puttyPath = System.Convert.ToString(My.Settings.Default.CustomPuttyPath); + } + else + { + puttyPath = App.Info.General.PuttyPath; + } + return Path.Combine(Path.GetDirectoryName(puttyPath), "putty.conf"); + } + + private static string GetSessionsFolderPath() + { + string puttyConfPath = GetPuttyConfPath(); + PuttyConfFileReader sessionFileReader = new PuttyConfFileReader(puttyConfPath); + string basePath = Environment.ExpandEnvironmentVariables(sessionFileReader.GetValue("sshk&sess")); + return Path.Combine(basePath, "sessions"); + } + + private static string GetRegistrySessionName(string sessionName) + { + Regex regex = new Regex(RegistrySessionNamePattern); + + MatchCollection matches = regex.Matches(sessionName); + if (matches.Count < 1) + { + return string.Empty; + } + + GroupCollection groups = matches[0].Groups; + if (groups.Count < 1) + { + return string.Empty; // This should always include at least one item, but check anyway + } + + return groups[1].Value; + } + + private static Connection.PuttySession.Info ModifyRegistrySessionInfo(Connection.PuttySession.Info sessionInfo) + { + sessionInfo.Name = string.Format(RegistrySessionNameFormat, sessionInfo.Name); + sessionInfo.PuttySession = string.Format(RegistrySessionNameFormat, sessionInfo.PuttySession); + return sessionInfo; + } + + private void OnFileSystemEventArrived(object sender, FileSystemEventArgs e) + { + OnSessionChanged(new SessionChangedEventArgs()); + } + + private void OnRegistrySessionChanged(object sender, SessionChangedEventArgs e) + { + OnSessionChanged(new SessionChangedEventArgs()); + } + #endregion + + #region Private Classes + private class PuttyConfFileReader + { + public PuttyConfFileReader(string puttyConfFile) + { + _puttyConfFile = puttyConfFile; + } + + private string _puttyConfFile; + private bool _configurationLoaded = false; + private Dictionary _configuration = new Dictionary(); + + private void LoadConfiguration() + { + _configurationLoaded = true; try { - _eventWatcher = new FileSystemWatcher(GetSessionsFolderPath()); - _eventWatcher.NotifyFilter = (System.IO.NotifyFilters) (NotifyFilters.FileName | NotifyFilters.LastWrite); - _eventWatcher.Changed += OnFileSystemEventArrived; - _eventWatcher.Created += OnFileSystemEventArrived; - _eventWatcher.Deleted += OnFileSystemEventArrived; - _eventWatcher.Renamed += OnFileSystemEventArrived; - _eventWatcher.EnableRaisingEvents = true; + if (!File.Exists(_puttyConfFile)) + { + return ; + } + using (StreamReader streamReader = new StreamReader(_puttyConfFile)) + { + string line = ""; + do + { + line = streamReader.ReadLine(); + if (line == null) + { + break; + } + line = line.Trim(); + if (line == string.Empty) + { + continue; // Blank line + } + if (line.Substring(0, 1) == ";") + { + continue; // Comment + } + string[] parts = line.Split(new char[] {'='}, 2); + if (parts.Length < 2) + { + continue; + } + if (_configuration.ContainsKey(parts[0])) + { + continue; // As per http://www.straightrunning.com/XmingNotes/portableputty.php only first entry is used + } + _configuration.Add(parts[0], parts[1]); + } while (true); + } + } catch (Exception ex) { - Runtime.MessageCollector.AddExceptionMessage("XmingPortablePuttySessions.Watcher.StartWatching() failed.", ex, MessageClass.WarningMsg, true); + Runtime.MessageCollector.AddExceptionMessage("PuttyConfFileReader.LoadConfiguration() failed.", ex, MessageClass.ErrorMsg, true); } } - - public override void StopWatcher() - { - RegistryProvider.StopWatcher(); - RegistryProvider.SessionChanged -= OnRegistrySessionChanged; - if (_eventWatcher == null) - { - return ; - } - _eventWatcher.EnableRaisingEvents = false; - _eventWatcher.Dispose(); - _eventWatcher = null; - } -#endregion - -#region Private Fields - private const string RegistrySessionNameFormat = "{0} [registry]"; - private const string RegistrySessionNamePattern = "(.*)\\ \\[registry\\]"; - - private static readonly RegistryProvider RegistryProvider = new RegistryProvider(); - private static FileSystemWatcher _eventWatcher; -#endregion - -#region Private Methods - private static string GetPuttyConfPath() + public string GetValue(string setting) { - string puttyPath = ""; - if (My.Settings.Default.UseCustomPuttyPath) + if (!_configurationLoaded) { - puttyPath = System.Convert.ToString(My.Settings.Default.CustomPuttyPath); + LoadConfiguration(); } - else - { - puttyPath = App.Info.General.PuttyPath; - } - return Path.Combine(Path.GetDirectoryName(puttyPath), "putty.conf"); - } - - private static string GetSessionsFolderPath() - { - string puttyConfPath = GetPuttyConfPath(); - PuttyConfFileReader sessionFileReader = new PuttyConfFileReader(puttyConfPath); - string basePath = Environment.ExpandEnvironmentVariables(sessionFileReader.GetValue("sshk&sess")); - return Path.Combine(basePath, "sessions"); - } - - private static string GetRegistrySessionName(string sessionName) - { - Regex regex = new Regex(RegistrySessionNamePattern); - - MatchCollection matches = regex.Matches(sessionName); - if (matches.Count < 1) + if (!_configuration.ContainsKey(setting)) { return string.Empty; } - - GroupCollection groups = matches[0].Groups; - if (groups.Count < 1) - { - return string.Empty; // This should always include at least one item, but check anyway - } - - return groups[1].Value; + return _configuration[setting]; } - - private static Connection.PuttySession.Info ModifyRegistrySessionInfo(Connection.PuttySession.Info sessionInfo) - { - sessionInfo.Name = string.Format(RegistrySessionNameFormat, sessionInfo.Name); - sessionInfo.PuttySession = string.Format(RegistrySessionNameFormat, sessionInfo.PuttySession); - return sessionInfo; - } - - private void OnFileSystemEventArrived(object sender, FileSystemEventArgs e) - { - OnSessionChanged(new SessionChangedEventArgs()); - } - - private void OnRegistrySessionChanged(object sender, SessionChangedEventArgs e) - { - OnSessionChanged(new SessionChangedEventArgs()); - } -#endregion - -#region Private Classes - private class PuttyConfFileReader - { - public PuttyConfFileReader(string puttyConfFile) - { - _puttyConfFile = puttyConfFile; - } - - private string _puttyConfFile; - private bool _configurationLoaded = false; - private Dictionary _configuration = new Dictionary(); - - private void LoadConfiguration() - { - _configurationLoaded = true; - try - { - if (!File.Exists(_puttyConfFile)) - { - return ; - } - using (StreamReader streamReader = new StreamReader(_puttyConfFile)) - { - string line = ""; - do - { - line = streamReader.ReadLine(); - if (line == null) - { - break; - } - line = line.Trim(); - if (line == string.Empty) - { - continue; // Blank line - } - if (line.Substring(0, 1) == ";") - { - continue; // Comment - } - string[] parts = line.Split(new char[] {'='}, 2); - if (parts.Length < 2) - { - continue; - } - if (_configuration.ContainsKey(parts[0])) - { - continue; // As per http://www.straightrunning.com/XmingNotes/portableputty.php only first entry is used - } - _configuration.Add(parts[0], parts[1]); - } while (true); - } - - } - catch (Exception ex) - { - Runtime.MessageCollector.AddExceptionMessage("PuttyConfFileReader.LoadConfiguration() failed.", ex, MessageClass.ErrorMsg, true); - } - } - - public string GetValue(string setting) - { - if (!_configurationLoaded) - { - LoadConfiguration(); - } - if (!_configuration.ContainsKey(setting)) - { - return string.Empty; - } - return _configuration[setting]; - } - } - - private class SessionFileReader - { - public SessionFileReader(string sessionFile) - { - _sessionFile = sessionFile; - } - - private string _sessionFile; - private bool _sessionInfoLoaded = false; - private Dictionary _sessionInfo = new Dictionary(); - - private void LoadSessionInfo() - { - _sessionInfoLoaded = true; - try - { - if (!File.Exists(_sessionFile)) - { - return ; - } - using (StreamReader streamReader = new StreamReader(_sessionFile)) - { - string line = ""; - do - { - line = streamReader.ReadLine(); - if (line == null) - { - break; - } - string[] parts = line.Split(new char[] {'\\'}); - if (parts.Length < 2) - { - continue; - } - _sessionInfo.Add(parts[0], parts[1]); - } while (true); - } - - } - catch (Exception ex) - { - Runtime.MessageCollector.AddExceptionMessage("SessionFileReader.LoadSessionInfo() failed.", ex, MessageClass.ErrorMsg, true); - } - } - - public string GetValue(string setting) - { - if (!_sessionInfoLoaded) - { - LoadSessionInfo(); - } - if (!_sessionInfo.ContainsKey(setting)) - { - return string.Empty; - } - return _sessionInfo[setting]; - } - } -#endregion } + + private class SessionFileReader + { + public SessionFileReader(string sessionFile) + { + _sessionFile = sessionFile; + } + + private string _sessionFile; + private bool _sessionInfoLoaded = false; + private Dictionary _sessionInfo = new Dictionary(); + + private void LoadSessionInfo() + { + _sessionInfoLoaded = true; + try + { + if (!File.Exists(_sessionFile)) + { + return ; + } + using (StreamReader streamReader = new StreamReader(_sessionFile)) + { + string line = ""; + do + { + line = streamReader.ReadLine(); + if (line == null) + { + break; + } + string[] parts = line.Split(new char[] {'\\'}); + if (parts.Length < 2) + { + continue; + } + _sessionInfo.Add(parts[0], parts[1]); + } while (true); + } + + } + catch (Exception ex) + { + Runtime.MessageCollector.AddExceptionMessage("SessionFileReader.LoadSessionInfo() failed.", ex, MessageClass.ErrorMsg, true); + } + } + + public string GetValue(string setting) + { + if (!_sessionInfoLoaded) + { + LoadSessionInfo(); + } + if (!_sessionInfo.ContainsKey(setting)) + { + return string.Empty; + } + return _sessionInfo[setting]; + } + } + #endregion + } } diff --git a/mRemoteV1/CS/Connection/Connection.Info.Inheritance.cs b/mRemoteV1/CS/Connection/Connection.Info.Inheritance.cs index 8cc51032e..86791e5d3 100644 --- a/mRemoteV1/CS/Connection/Connection.Info.Inheritance.cs +++ b/mRemoteV1/CS/Connection/Connection.Info.Inheritance.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -10,11 +9,8 @@ using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; using mRemoteNG.Tools; -// End of VB project level imports - using System.ComponentModel; using mRemoteNG.Tools; -//using mRemoteNG.Tools.LocalizedAttributes; namespace mRemoteNG.Connection @@ -23,8 +19,8 @@ namespace mRemoteNG.Connection { public class Inheritance { -#region Public Properties -#region General + #region Public Properties + #region General [LocalizedAttributes.LocalizedCategory("strCategoryGeneral", 1), LocalizedAttributes.LocalizedDisplayNameInheritAttribute("strPropertyNameAll"), LocalizedAttributes.LocalizedDescriptionInheritAttribute("strPropertyDescriptionAll"), @@ -55,8 +51,8 @@ namespace mRemoteNG.Connection SetAllValues(value); } } -#endregion -#region Display + #endregion + #region Display [LocalizedAttributes.LocalizedCategory("strCategoryDisplay", 2), LocalizedAttributes.LocalizedDisplayNameInheritAttribute("strPropertyNameDescription"), LocalizedAttributes.LocalizedDescriptionInheritAttribute("strPropertyDescriptionDescription"), @@ -71,8 +67,8 @@ namespace mRemoteNG.Connection LocalizedAttributes.LocalizedDisplayNameInheritAttribute("strPropertyNamePanel"), LocalizedAttributes.LocalizedDescriptionInheritAttribute("strPropertyDescriptionPanel"), TypeConverter(typeof(Tools.Misc.YesNoTypeConverter))]public bool Panel {get; set;} -#endregion -#region Connection + #endregion + #region Connection [LocalizedAttributes.LocalizedCategory("strCategoryConnection", 3), LocalizedAttributes.LocalizedDisplayNameInheritAttribute("strPropertyNameUsername"), LocalizedAttributes.LocalizedDescriptionInheritAttribute("strPropertyDescriptionUsername"), @@ -87,8 +83,8 @@ namespace mRemoteNG.Connection LocalizedAttributes.LocalizedDisplayNameInheritAttribute("strPropertyNameDomain"), LocalizedAttributes.LocalizedDescriptionInheritAttribute("strPropertyDescriptionDomain"), TypeConverter(typeof(Tools.Misc.YesNoTypeConverter))]public bool Domain {get; set;} -#endregion -#region Protocol + #endregion + #region Protocol [LocalizedAttributes.LocalizedCategory("strCategoryProtocol", 4), LocalizedAttributes.LocalizedDisplayNameInheritAttribute("strPropertyNameProtocol"), LocalizedAttributes.LocalizedDescriptionInheritAttribute("strPropertyDescriptionProtocol"), @@ -138,8 +134,8 @@ namespace mRemoteNG.Connection LocalizedAttributes.LocalizedDisplayNameInheritAttribute("strPropertyNameUseCredSsp"), LocalizedAttributes.LocalizedDescriptionInheritAttribute("strPropertyDescriptionUseCredSsp"), TypeConverter(typeof(Tools.Misc.YesNoTypeConverter))]public bool UseCredSsp {get; set;} -#endregion -#region RD Gateway + #endregion + #region RD Gateway [LocalizedAttributes.LocalizedCategory("strCategoryGateway", 5), LocalizedAttributes.LocalizedDisplayNameInheritAttribute("strPropertyNameRDGatewayUsageMethod"), LocalizedAttributes.LocalizedDescriptionInheritAttribute("strPropertyDescriptionRDGatewayUsageMethod"), @@ -175,8 +171,8 @@ namespace mRemoteNG.Connection LocalizedAttributes.LocalizedDescriptionInheritAttribute("strPropertyDescriptionRDGatewayDomain"), TypeConverter(typeof(Tools.Misc.YesNoTypeConverter))] public bool RDGatewayDomain {get; set;} -#endregion -#region Appearance + #endregion + #region Appearance [LocalizedAttributes.LocalizedCategory("strCategoryAppearance", 6), LocalizedAttributes.LocalizedDisplayNameInheritAttribute("strPropertyNameResolution"), LocalizedAttributes.LocalizedDescriptionInheritAttribute("strPropertyDescriptionResolution"), @@ -216,8 +212,8 @@ namespace mRemoteNG.Connection LocalizedAttributes.LocalizedDisplayNameInheritAttribute("strPropertyNameEnableDesktopComposition"), LocalizedAttributes.LocalizedDescriptionInheritAttribute("strPropertyDescriptionEnableEnableDesktopComposition"), TypeConverter(typeof(Tools.Misc.YesNoTypeConverter))]public bool EnableDesktopComposition {get; set;} -#endregion -#region Redirect + #endregion + #region Redirect [LocalizedAttributes.LocalizedCategory("strCategoryRedirect", 7), LocalizedAttributes.LocalizedDisplayNameInheritAttribute("strPropertyNameRedirectKeys"), LocalizedAttributes.LocalizedDescriptionInheritAttribute("strPropertyDescriptionRedirectKeys"), @@ -247,8 +243,8 @@ namespace mRemoteNG.Connection LocalizedAttributes.LocalizedDisplayNameInheritAttribute("strPropertyNameRedirectSounds"), LocalizedAttributes.LocalizedDescriptionInheritAttribute("strPropertyDescriptionRedirectSounds"), TypeConverter(typeof(Tools.Misc.YesNoTypeConverter))]public bool RedirectSound {get; set;} -#endregion -#region Misc + #endregion + #region Misc [LocalizedAttributes.LocalizedCategory("strCategoryMiscellaneous", 8), LocalizedAttributes.LocalizedDisplayNameInheritAttribute("strPropertyNameExternalToolBefore"), LocalizedAttributes.LocalizedDescriptionInheritAttribute("strPropertyDescriptionExternalToolBefore"), @@ -268,8 +264,8 @@ namespace mRemoteNG.Connection LocalizedAttributes.LocalizedDisplayNameInheritAttribute("strPropertyNameUser1"), LocalizedAttributes.LocalizedDescriptionInheritAttribute("strPropertyDescriptionUser1"), TypeConverter(typeof(Tools.Misc.YesNoTypeConverter))]public bool UserField {get; set;} -#endregion -#region VNC + #endregion + #region VNC [LocalizedAttributes.LocalizedCategory("strCategoryAppearance", 9), LocalizedAttributes.LocalizedDisplayNameInheritAttribute("strPropertyNameCompression"), LocalizedAttributes.LocalizedDescriptionInheritAttribute("strPropertyDescriptionCompression"), @@ -324,14 +320,16 @@ namespace mRemoteNG.Connection LocalizedAttributes.LocalizedDisplayNameInheritAttribute("strPropertyNameViewOnly"), LocalizedAttributes.LocalizedDescriptionInheritAttribute("strPropertyDescriptionViewOnly"), TypeConverter(typeof(Tools.Misc.YesNoTypeConverter))]public bool VNCViewOnly {get; set;} -#endregion + #endregion - [Browsable(false)]public object Parent {get; set;} + [Browsable(false)] + public object Parent {get; set;} - [Browsable(false)]public bool IsDefault {get; set;} -#endregion + [Browsable(false)] + public bool IsDefault {get; set;} + #endregion -#region Constructors + #region Constructors public Inheritance(object parent, bool inheritEverything = false) { this.Parent = parent; @@ -340,9 +338,9 @@ namespace mRemoteNG.Connection TurnOnInheritanceCompletely(); } } -#endregion + #endregion -#region Public Methods + #region Public Methods public Inheritance Copy() { return (Inheritance)MemberwiseClone(); @@ -357,9 +355,9 @@ namespace mRemoteNG.Connection { SetAllValues(false); } -#endregion + #endregion -#region Private Methods + #region Private Methods private void SetAllValues(bool value) { // Display @@ -429,7 +427,7 @@ namespace mRemoteNG.Connection VNCSmartSizeMode = value; VNCViewOnly = value; } -#endregion + #endregion } } } diff --git a/mRemoteV1/CS/Connection/Connection.Info.cs b/mRemoteV1/CS/Connection/Connection.Info.cs index 1ba0331f3..e9a2c0a33 100644 --- a/mRemoteV1/CS/Connection/Connection.Info.cs +++ b/mRemoteV1/CS/Connection/Connection.Info.cs @@ -9,7 +9,6 @@ using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; using System.ComponentModel; -using mRemoteNG.Config; using mRemoteNG.Tools; using System.Reflection; using mRemoteNG.App; @@ -203,8 +202,8 @@ namespace mRemoteNG.Connection private string _puttySession; // VBConversions Note: Initial value cannot be assigned here since it is non-static. Assignment has been moved to the class constructors. [LocalizedAttributes.LocalizedCategory("strCategoryProtocol", 3), LocalizedAttributes.LocalizedDisplayName("strPropertyNamePuttySession"), - LocalizedAttributes.LocalizedDescription("strPropertyDescriptionPuttySession"), - TypeConverter(typeof(Putty.Sessions.SessionList))] + LocalizedAttributes.LocalizedDescription("strPropertyDescriptionPuttySession"), + TypeConverter(typeof(Config.Putty.Sessions.SessionList))] public virtual string PuttySession { get @@ -1100,7 +1099,7 @@ namespace mRemoteNG.Connection Info parentConnectionInfo = default(Info); if (IsContainer) { - parentConnectionInfo = Parent.Parent.ConnectionInfo; + parentConnectionInfo = ((Container.Info)Parent.Parent).ConnectionInfo; } else { @@ -1109,7 +1108,7 @@ namespace mRemoteNG.Connection Type connectionInfoType = parentConnectionInfo.GetType(); PropertyInfo parentPropertyInfo = connectionInfoType.GetProperty(propertyName); - TPropertyType parentPropertyValue = parentPropertyInfo.GetValue(parentConnectionInfo, BindingFlags.GetProperty, null, null, null); + TPropertyType parentPropertyValue = (TPropertyType)parentPropertyInfo.GetValue(parentConnectionInfo, BindingFlags.GetProperty, null, null, null); return parentPropertyValue; } @@ -1167,10 +1166,12 @@ namespace mRemoteNG.Connection { return (int)Connection.Protocol.IntegratedProgram.Defaults.Port; } + return 0; } catch (Exception ex) { Runtime.MessageCollector.AddExceptionMessage(My.Language.strConnectionSetDefaultPortFailed, ex, Messages.MessageClass.ErrorMsg); + return 0; } } #endregion diff --git a/mRemoteV1/CS/Connection/Connection.InterfaceControl.Designer.cs b/mRemoteV1/CS/Connection/Connection.InterfaceControl.Designer.cs index ae7981291..d66606eee 100644 --- a/mRemoteV1/CS/Connection/Connection.InterfaceControl.Designer.cs +++ b/mRemoteV1/CS/Connection/Connection.InterfaceControl.Designer.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,46 +8,40 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports - -namespace mRemoteNG +namespace mRemoteNG.Connection { - namespace Protocol + [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()] + public partial class InterfaceControl : System.Windows.Forms.Panel { - [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()]public - partial class InterfaceControl : System.Windows.Forms.Panel + //UserControl overrides dispose to clean up the component list. + [System.Diagnostics.DebuggerNonUserCode()] + protected override void Dispose(bool disposing) { - - //UserControl overrides dispose to clean up the component list. - [System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing) + try { - try + if (disposing && components != null) { - if (disposing && components != null) - { - components.Dispose(); - } - } - finally - { - base.Dispose(disposing); + components.Dispose(); } } - - //Required by the Windows Form Designer - private System.ComponentModel.Container components = null; - - //NOTE: The following procedure is required by the Windows Form Designer - //It can be modified using the Windows Form Designer. - //Do not modify it using the code editor. - [System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent() + finally { - components = new System.ComponentModel.Container(); - //Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + base.Dispose(disposing); } } + + //Required by the Windows Form Designer + private System.ComponentModel.Container components = null; + + //NOTE: The following procedure is required by the Windows Form Designer + //It can be modified using the Windows Form Designer. + //Do not modify it using the code editor. + [System.Diagnostics.DebuggerStepThrough()] + private void InitializeComponent() + { + components = new System.ComponentModel.Container(); + //Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + } } - - } diff --git a/mRemoteV1/CS/Connection/Connection.InterfaceControl.cs b/mRemoteV1/CS/Connection/Connection.InterfaceControl.cs index 833f9255c..cb53b53ee 100644 --- a/mRemoteV1/CS/Connection/Connection.InterfaceControl.cs +++ b/mRemoteV1/CS/Connection/Connection.InterfaceControl.cs @@ -14,32 +14,20 @@ using mRemoteNG.App; namespace mRemoteNG.Connection { public partial class InterfaceControl - { - #region Properties - private Connection.Protocol.Base _Protocol; + { + #region Public Properties + private Connection.Protocol.Base _Protocol; public Connection.Protocol.Base Protocol { - get - { - return this._Protocol; - } - set - { - this._Protocol = value; - } + get { return this._Protocol; } + set { this._Protocol = value; } } private Info _Info; public Info Info { - get - { - return this._Info; - } - set - { - this._Info = value; - } + get { return this._Info; } + set { this._Info = value; } } #endregion @@ -50,10 +38,10 @@ namespace mRemoteNG.Connection { this._Protocol = Protocol; this._Info = Info; - this.Parent = Parent; - this.Location = new Point(0, 0); - this.Size = this.Parent.Size; - this.Anchor = (System.Windows.Forms.AnchorStyles) (AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top); + this.Parent = Parent; + this.Location = new Point(0, 0); + this.Size = this.Parent.Size; + this.Anchor = (System.Windows.Forms.AnchorStyles)(AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top); InitializeComponent(); } catch (Exception ex) diff --git a/mRemoteV1/CS/Connection/Connection.Protocol.Base.cs b/mRemoteV1/CS/Connection/Connection.Protocol.Base.cs index acb62f24e..f0acebf4c 100644 --- a/mRemoteV1/CS/Connection/Connection.Protocol.Base.cs +++ b/mRemoteV1/CS/Connection/Connection.Protocol.Base.cs @@ -21,23 +21,14 @@ namespace mRemoteNG.Connection.Protocol private string _Name; public string Name { - get - { - return this._Name; - } - set - { - this._Name = value; - } + get { return this._Name; } + set { this._Name = value; } } private UI.Window.Connection _connectionWindow; public UI.Window.Connection ConnectionWindow { - get - { - return _connectionWindow; - } + get { return _connectionWindow; } set { _connectionWindow = value; @@ -78,14 +69,8 @@ namespace mRemoteNG.Connection.Protocol private mRemoteNG.Connection.Info.Force _Force; public mRemoteNG.Connection.Info.Force Force { - get - { - return this._Force; - } - set - { - this._Force = value; - } + get { return this._Force; } + set { this._Force = value; } } public System.Timers.Timer tmrReconnect = new System.Timers.Timer(2000); @@ -149,9 +134,13 @@ namespace mRemoteNG.Connection.Protocol { if (InterfaceControl.Info.Protocol != Protocols.RDP) { - if (ConnectedEvent != null) - ConnectedEvent(this); + if (ConnectedEvent != null) + { + ConnectedEvent(this); + return true; + } } + return false; } public virtual void Disconnect() diff --git a/mRemoteV1/CS/Connection/Connection.Protocol.HTTP.cs b/mRemoteV1/CS/Connection/Connection.Protocol.HTTP.cs index 4b5975a71..135d77ac5 100644 --- a/mRemoteV1/CS/Connection/Connection.Protocol.HTTP.cs +++ b/mRemoteV1/CS/Connection/Connection.Protocol.HTTP.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,29 +8,28 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports namespace mRemoteNG.Connection.Protocol { public class HTTP : HTTPBase - { + { - public HTTP(RenderingEngine RenderingEngine) : base(RenderingEngine) - { - } + public HTTP(RenderingEngine RenderingEngine) : base(RenderingEngine) + { + } - public override void NewExtended() - { - base.NewExtended(); + public override void NewExtended() + { + base.NewExtended(); - httpOrS = "http"; - defaultPort = Defaults.Port; - } + httpOrS = "http"; + defaultPort = (int)Defaults.Port; + } - public enum Defaults - { - Port = 80 - } - } + public enum Defaults + { + Port = 80 + } + } } diff --git a/mRemoteV1/CS/Connection/Connection.Protocol.HTTPBase.cs b/mRemoteV1/CS/Connection/Connection.Protocol.HTTPBase.cs index 6b241b285..bf598dd97 100644 --- a/mRemoteV1/CS/Connection/Connection.Protocol.HTTPBase.cs +++ b/mRemoteV1/CS/Connection/Connection.Protocol.HTTPBase.cs @@ -10,8 +10,6 @@ using System.Collections; using System.Windows.Forms; using mRemoteNG.Tools; using mRemoteNG.App; -//using mRemoteNG.Tools.LocalizedAttributes; - namespace mRemoteNG.Connection.Protocol { @@ -72,7 +70,6 @@ namespace mRemoteNG.Connection.Protocol if (InterfaceControl.Info.RenderingEngine == RenderingEngine.Gecko) { MiniGeckoBrowser.MiniGeckoBrowser objMiniGeckoBrowser = wBrowser as MiniGeckoBrowser.MiniGeckoBrowser; - objMiniGeckoBrowser.TitleChanged += wBrowser_DocumentTitleChanged; objMiniGeckoBrowser.LastTabRemoved += wBrowser_LastTabRemoved; } @@ -80,9 +77,7 @@ namespace mRemoteNG.Connection.Protocol { WebBrowser objWebBrowser = wBrowser as WebBrowser; SHDocVw.WebBrowser objAxWebBrowser = (SHDocVw.WebBrowser) objWebBrowser.ActiveXInstance; - objWebBrowser.ScrollBarsEnabled = true; - objWebBrowser.Navigated += wBrowser_Navigated; objWebBrowser.DocumentTitleChanged += wBrowser_DocumentTitleChanged; objAxWebBrowser.NewWindow3 += wBrowser_NewWindow3; @@ -103,8 +98,8 @@ namespace mRemoteNG.Connection.Protocol { string strHost = System.Convert.ToString(this.InterfaceControl.Info.Hostname); string strAuth = ""; - - if (!((Force & Info.Force.NoCredentials) == (int) Info.Force.NoCredentials) && !string.IsNullOrEmpty(InterfaceControl.Info.Username) && !string.IsNullOrEmpty(InterfaceControl.Info.Password)) + + if (!(((int)Force & (int)Info.Force.NoCredentials) == (int)Info.Force.NoCredentials) && !string.IsNullOrEmpty(InterfaceControl.Info.Username) && !string.IsNullOrEmpty(InterfaceControl.Info.Password)) { strAuth = "Authorization: Basic " + Convert.ToBase64String(System.Text.Encoding.ASCII.GetBytes(this.InterfaceControl.Info.Username + ":" + this.InterfaceControl.Info.Password)) + Constants.vbNewLine; } @@ -123,14 +118,11 @@ namespace mRemoteNG.Connection.Protocol if (InterfaceControl.Info.RenderingEngine == RenderingEngine.Gecko) { - (wBrowser as MiniGeckoBrowser.MiniGeckoBrowser).Navigate(strHost + ":" + this.InterfaceControl.Info.Port); + ((MiniGeckoBrowser.MiniGeckoBrowser)wBrowser).Navigate(strHost + ":" + this.InterfaceControl.Info.Port); } else { - object temp_Flags = null; - object temp_TargetFrameName = null; - object null_object = null; - (wBrowser as WebBrowser).Navigate(strHost + ":" + this.InterfaceControl.Info.Port, ref temp_Flags, ref temp_TargetFrameName, ref strAuth, ref null_object); + ((WebBrowser)wBrowser).Navigate(strHost + ":" + this.InterfaceControl.Info.Port); } } else @@ -146,10 +138,7 @@ namespace mRemoteNG.Connection.Protocol } else { - object temp_Flags2 = null; - object temp_TargetFrameName2 = null; - object null_object2 = null; - (wBrowser as WebBrowser).Navigate(strHost, ref temp_Flags2, ref temp_TargetFrameName2, ref strAuth, ref null_object2); + ((WebBrowser)wBrowser).Navigate(strHost); } } @@ -184,7 +173,7 @@ namespace mRemoteNG.Connection.Protocol private void wBrowser_NewWindow3(object ppDisp, ref bool Cancel, long dwFlags, string bstrUrlContext, string bstrUrl) { - if (dwFlags & NWMF.NWMF_OVERRIDEKEY) + if ((dwFlags & (long)NWMF.NWMF_OVERRIDEKEY) > 0) { Cancel = false; } diff --git a/mRemoteV1/CS/Connection/Connection.Protocol.HTTPS.cs b/mRemoteV1/CS/Connection/Connection.Protocol.HTTPS.cs index 406a5f70e..bf3460c18 100644 --- a/mRemoteV1/CS/Connection/Connection.Protocol.HTTPS.cs +++ b/mRemoteV1/CS/Connection/Connection.Protocol.HTTPS.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,29 +8,27 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports namespace mRemoteNG.Connection.Protocol { public class HTTPS : HTTPBase - { + { - public HTTPS(RenderingEngine RenderingEngine) : base(RenderingEngine) - { - } + public HTTPS(RenderingEngine RenderingEngine) : base(RenderingEngine) + { + } - public override void NewExtended() - { - base.NewExtended(); - - httpOrS = "https"; - defaultPort = Defaults.Port; - } + public override void NewExtended() + { + base.NewExtended(); + httpOrS = "https"; + defaultPort = (int)Defaults.Port; + } - public enum Defaults - { - Port = 443 - } - } + public enum Defaults + { + Port = 443 + } + } } diff --git a/mRemoteV1/CS/Connection/Connection.Protocol.ICA.cs b/mRemoteV1/CS/Connection/Connection.Protocol.ICA.cs index 6f2c5b309..e51cd0b1b 100644 --- a/mRemoteV1/CS/Connection/Connection.Protocol.ICA.cs +++ b/mRemoteV1/CS/Connection/Connection.Protocol.ICA.cs @@ -11,7 +11,6 @@ using System.Windows.Forms; using mRemoteNG.App; using System.Threading; using mRemoteNG.Tools; -//using mRemoteNG.Tools.LocalizedAttributes; namespace mRemoteNG.Connection.Protocol @@ -31,7 +30,7 @@ namespace mRemoteNG.Connection.Protocol if (defaultInstance == null) { defaultInstance = new ICA(); - defaultInstance.FormClosed += new FormClosedEventHandler(defaultInstance_FormClosed); + //defaultInstance.FormClosed += new FormClosedEventHandler(defaultInstance_FormClosed); } return defaultInstance; @@ -47,10 +46,10 @@ namespace mRemoteNG.Connection.Protocol defaultInstance = null; } #endregion - + #region Private Properties - private AxICAClient ICAClient; - private Connection.Info Info; + private AxICAClient _ICAClient; + private Connection.Info _Info; #endregion #region Public Methods @@ -72,48 +71,48 @@ namespace mRemoteNG.Connection.Protocol try { - ICAClient = (AxICAClient)this.Control; - Info = this.InterfaceControl.Info; - ICAClient.CreateControl(); + _ICAClient = (AxICAClient)this.Control; + _Info = this.InterfaceControl.Info; + _ICAClient.CreateControl(); - while (!this.ICAClient.Created) + while (!this._ICAClient.Created) { Thread.Sleep(10); System.Windows.Forms.Application.DoEvents(); } - ICAClient.Address = Info.Hostname; + _ICAClient.Address = _Info.Hostname; this.SetCredentials(); this.SetResolution(); this.SetColors(); this.SetSecurity(); //Disable hotkeys for international users - ICAClient.Hotkey1Shift = null; - ICAClient.Hotkey1Char = null; - ICAClient.Hotkey2Shift = null; - ICAClient.Hotkey2Char = null; - ICAClient.Hotkey3Shift = null; - ICAClient.Hotkey3Char = null; - ICAClient.Hotkey4Shift = null; - ICAClient.Hotkey4Char = null; - ICAClient.Hotkey5Shift = null; - ICAClient.Hotkey5Char = null; - ICAClient.Hotkey6Shift = null; - ICAClient.Hotkey6Char = null; - ICAClient.Hotkey7Shift = null; - ICAClient.Hotkey7Char = null; - ICAClient.Hotkey8Shift = null; - ICAClient.Hotkey8Char = null; - ICAClient.Hotkey9Shift = null; - ICAClient.Hotkey9Char = null; - ICAClient.Hotkey10Shift = null; - ICAClient.Hotkey10Char = null; - ICAClient.Hotkey11Shift = null; - ICAClient.Hotkey11Char = null; + _ICAClient.Hotkey1Shift = null; + _ICAClient.Hotkey1Char = null; + _ICAClient.Hotkey2Shift = null; + _ICAClient.Hotkey2Char = null; + _ICAClient.Hotkey3Shift = null; + _ICAClient.Hotkey3Char = null; + _ICAClient.Hotkey4Shift = null; + _ICAClient.Hotkey4Char = null; + _ICAClient.Hotkey5Shift = null; + _ICAClient.Hotkey5Char = null; + _ICAClient.Hotkey6Shift = null; + _ICAClient.Hotkey6Char = null; + _ICAClient.Hotkey7Shift = null; + _ICAClient.Hotkey7Char = null; + _ICAClient.Hotkey8Shift = null; + _ICAClient.Hotkey8Char = null; + _ICAClient.Hotkey9Shift = null; + _ICAClient.Hotkey9Char = null; + _ICAClient.Hotkey10Shift = null; + _ICAClient.Hotkey10Char = null; + _ICAClient.Hotkey11Shift = null; + _ICAClient.Hotkey11Char = null; - ICAClient.PersistentCacheEnabled = Info.CacheBitmaps; - ICAClient.Title = Info.Name; + _ICAClient.PersistentCacheEnabled = _Info.CacheBitmaps; + _ICAClient.Title = _Info.Name; return true; } catch (Exception ex) @@ -129,7 +128,7 @@ namespace mRemoteNG.Connection.Protocol try { - ICAClient.Connect(); + _ICAClient.Connect(); base.Connect(); return true; } @@ -146,29 +145,29 @@ namespace mRemoteNG.Connection.Protocol { try { - if (((int)Force & (int)Info.Force.NoCredentials) == (int) Info.Force.NoCredentials) + if (((int)Force & (int)Connection.Info.Force.NoCredentials) == (int)Connection.Info.Force.NoCredentials) { return ; } - string _user = this.Info.Username; - string _pass = this.Info.Password; - string _dom = this.Info.Domain; + string _user = this._Info.Username; + string _pass = this._Info.Password; + string _dom = this._Info.Domain; if (string.IsNullOrEmpty(_user)) { if ((string) My.Settings.Default.EmptyCredentials == "windows") { - ICAClient.Username = Environment.UserName; + _ICAClient.Username = Environment.UserName; } else if ((string) My.Settings.Default.EmptyCredentials == "custom") { - ICAClient.Username = My.Settings.Default.DefaultUsername; + _ICAClient.Username = My.Settings.Default.DefaultUsername; } } else { - ICAClient.Username = _user; + _ICAClient.Username = _user; } if (string.IsNullOrEmpty(_pass)) @@ -177,29 +176,29 @@ namespace mRemoteNG.Connection.Protocol { if (My.Settings.Default.DefaultPassword != "") { - ICAClient.SetProp("ClearPassword", Security.Crypt.Decrypt(System.Convert.ToString(My.Settings.Default.DefaultPassword), App.Info.General.EncryptionKey)); + _ICAClient.SetProp("ClearPassword", Security.Crypt.Decrypt(System.Convert.ToString(My.Settings.Default.DefaultPassword), App.Info.General.EncryptionKey)); } } } else { - ICAClient.SetProp("ClearPassword", _pass); + _ICAClient.SetProp("ClearPassword", _pass); } if (string.IsNullOrEmpty(_dom)) { if ((string) My.Settings.Default.EmptyCredentials == "windows") { - ICAClient.Domain = Environment.UserDomainName; + _ICAClient.Domain = Environment.UserDomainName; } else if ((string) My.Settings.Default.EmptyCredentials == "custom") { - ICAClient.Domain = My.Settings.Default.DefaultDomain; + _ICAClient.Domain = My.Settings.Default.DefaultDomain; } } else { - ICAClient.Domain = _dom; + _ICAClient.Domain = _dom; } } catch (Exception ex) @@ -214,29 +213,29 @@ namespace mRemoteNG.Connection.Protocol { if ((this.Force & Connection.Info.Force.Fullscreen) == Connection.Info.Force.Fullscreen) { - ICAClient.SetWindowSize(WFICALib.ICAWindowType.WindowTypeClient, Screen.FromControl(frmMain.Default).Bounds.Width, Screen.FromControl(frmMain.Default).Bounds.Height, 0); - ICAClient.FullScreenWindow(); + _ICAClient.SetWindowSize(WFICALib.ICAWindowType.WindowTypeClient, Screen.FromControl(frmMain.Default).Bounds.Width, Screen.FromControl(frmMain.Default).Bounds.Height, 0); + _ICAClient.FullScreenWindow(); return; } if (this.InterfaceControl.Info.Resolution == RDP.RDPResolutions.FitToWindow) { - ICAClient.SetWindowSize(WFICALib.ICAWindowType.WindowTypeClient, this.InterfaceControl.Size.Width, this.InterfaceControl.Size.Height, 0); + _ICAClient.SetWindowSize(WFICALib.ICAWindowType.WindowTypeClient, this.InterfaceControl.Size.Width, this.InterfaceControl.Size.Height, 0); } else if (this.InterfaceControl.Info.Resolution == RDP.RDPResolutions.SmartSize) { - ICAClient.SetWindowSize(WFICALib.ICAWindowType.WindowTypeClient, this.InterfaceControl.Size.Width, this.InterfaceControl.Size.Height, 0); + _ICAClient.SetWindowSize(WFICALib.ICAWindowType.WindowTypeClient, this.InterfaceControl.Size.Width, this.InterfaceControl.Size.Height, 0); } else if (this.InterfaceControl.Info.Resolution == RDP.RDPResolutions.Fullscreen) { - ICAClient.SetWindowSize(WFICALib.ICAWindowType.WindowTypeClient, Screen.FromControl(frmMain.Default).Bounds.Width, Screen.FromControl(frmMain.Default).Bounds.Height, 0); - ICAClient.FullScreenWindow(); + _ICAClient.SetWindowSize(WFICALib.ICAWindowType.WindowTypeClient, Screen.FromControl(frmMain.Default).Bounds.Width, Screen.FromControl(frmMain.Default).Bounds.Height, 0); + _ICAClient.FullScreenWindow(); } else { - Rectangle resolution = RDP.GetResolutionRectangle(Info.Resolution); - ICAClient.SetWindowSize(WFICALib.ICAWindowType.WindowTypeClient, resolution.Width, resolution.Height, 0); + Rectangle resolution = RDP.GetResolutionRectangle(_Info.Resolution); + _ICAClient.SetWindowSize(WFICALib.ICAWindowType.WindowTypeClient, resolution.Width, resolution.Height, 0); } } catch (Exception ex) @@ -247,42 +246,42 @@ namespace mRemoteNG.Connection.Protocol private void SetColors() { - switch (Info.Colors) + switch (_Info.Colors) { case RDP.RDPColors.Colors256: - ICAClient.SetProp("DesiredColor", "2"); + _ICAClient.SetProp("DesiredColor", "2"); break; case RDP.RDPColors.Colors15Bit: - ICAClient.SetProp("DesiredColor", "4"); + _ICAClient.SetProp("DesiredColor", "4"); break; case RDP.RDPColors.Colors16Bit: - ICAClient.SetProp("DesiredColor", "4"); + _ICAClient.SetProp("DesiredColor", "4"); break; default: - ICAClient.SetProp("DesiredColor", "8"); + _ICAClient.SetProp("DesiredColor", "8"); break; } } private void SetSecurity() { - switch (Info.ICAEncryption) + switch (_Info.ICAEncryption) { case EncryptionStrength.Encr128BitLogonOnly: - ICAClient.Encrypt = true; - ICAClient.EncryptionLevelSession = "EncRC5-0"; + _ICAClient.Encrypt = true; + _ICAClient.EncryptionLevelSession = "EncRC5-0"; break; case EncryptionStrength.Encr40Bit: - ICAClient.Encrypt = true; - ICAClient.EncryptionLevelSession = "EncRC5-40"; + _ICAClient.Encrypt = true; + _ICAClient.EncryptionLevelSession = "EncRC5-40"; break; case EncryptionStrength.Encr56Bit: - ICAClient.Encrypt = true; - ICAClient.EncryptionLevelSession = "EncRC5-56"; + _ICAClient.Encrypt = true; + _ICAClient.EncryptionLevelSession = "EncRC5-56"; break; case EncryptionStrength.Encr128Bit: - ICAClient.Encrypt = true; - ICAClient.EncryptionLevelSession = "EncRC5-128"; + _ICAClient.Encrypt = true; + _ICAClient.EncryptionLevelSession = "EncRC5-128"; break; } } @@ -291,10 +290,10 @@ namespace mRemoteNG.Connection.Protocol { try { - ICAClient.OnConnecting += new System.EventHandler(ICAEvent_OnConnecting); - ICAClient.OnConnect += new System.EventHandler(ICAEvent_OnConnected); - ICAClient.OnConnectFailed += new System.EventHandler(ICAEvent_OnConnectFailed); - ICAClient.OnDisconnect += new System.EventHandler(ICAEvent_OnDisconnect); + _ICAClient.OnConnecting += new System.EventHandler(ICAEvent_OnConnecting); + _ICAClient.OnConnect += new System.EventHandler(ICAEvent_OnConnected); + _ICAClient.OnConnectFailed += new System.EventHandler(ICAEvent_OnConnectFailed); + _ICAClient.OnDisconnect += new System.EventHandler(ICAEvent_OnDisconnect); } catch (Exception ex) { @@ -326,7 +325,7 @@ namespace mRemoteNG.Connection.Protocol if (My.Settings.Default.ReconnectOnDisconnect) { ReconnectGroup = new ReconnectGroup(); - this.Load += ReconnectGroup_Load; + //this.Load += ReconnectGroup_Load; ReconnectGroup.Left = (int) (((double) Control.Width / 2) - ((double) ReconnectGroup.Width / 2)); ReconnectGroup.Top = (int) (((double) Control.Height / 2) - ((double) ReconnectGroup.Height / 2)); ReconnectGroup.Parent = Control; @@ -343,7 +342,7 @@ namespace mRemoteNG.Connection.Protocol #region Reconnect Stuff public void tmrReconnect_Elapsed(object sender, System.Timers.ElapsedEventArgs e) { - bool srvReady = Tools.PortScan.Scanner.IsPortOpen(Info.Hostname, System.Convert.ToString(Info.Port)); + bool srvReady = Tools.PortScan.Scanner.IsPortOpen(_Info.Hostname, System.Convert.ToString(_Info.Port)); ReconnectGroup.ServerReady = srvReady; @@ -351,7 +350,7 @@ namespace mRemoteNG.Connection.Protocol { tmrReconnect.Enabled = false; ReconnectGroup.DisposeReconnectGroup(); - ICAClient.Default.Connect(); + _ICAClient.Connect(); } } #endregion diff --git a/mRemoteV1/CS/Connection/Connection.Protocol.IntegratedProgram.cs b/mRemoteV1/CS/Connection/Connection.Protocol.IntegratedProgram.cs index bcff2b47a..9d2a67240 100644 --- a/mRemoteV1/CS/Connection/Connection.Protocol.IntegratedProgram.cs +++ b/mRemoteV1/CS/Connection/Connection.Protocol.IntegratedProgram.cs @@ -8,7 +8,6 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -//using mRemoteNG.App.Native; using System.Threading; using mRemoteNG.App; using mRemoteNG.Tools; @@ -23,7 +22,7 @@ namespace mRemoteNG.Connection.Protocol { if (InterfaceControl.Info != null) { - _externalTool = GetExtAppByName(System.Convert.ToString(InterfaceControl.Info.ExtApp)); + _externalTool = Runtime.GetExtAppByName(System.Convert.ToString(InterfaceControl.Info.ExtApp)); _externalTool.ConnectionInfo = InterfaceControl.Info; } @@ -38,7 +37,7 @@ namespace mRemoteNG.Connection.Protocol { _externalTool.Start(InterfaceControl.Info); Close(); - return null; + return false; } _process = new Process(); @@ -67,16 +66,13 @@ namespace mRemoteNG.Connection.Protocol } } - SetParent(_handle, InterfaceControl.Handle); - + Native.SetParent(_handle, InterfaceControl.Handle); Runtime.MessageCollector.AddMessage(Messages.MessageClass.InformationMsg, My.Language.strIntAppStuff, true); - Runtime.MessageCollector.AddMessage(Messages.MessageClass.InformationMsg, string.Format(My.Language.strIntAppHandle, _handle.ToString()), true); Runtime.MessageCollector.AddMessage(Messages.MessageClass.InformationMsg, string.Format(My.Language.strIntAppTitle, _process.MainWindowTitle), true); Runtime.MessageCollector.AddMessage(Messages.MessageClass.InformationMsg, string.Format(My.Language.strIntAppParentHandle, InterfaceControl.Parent.Handle.ToString()), true); Resize(this, new EventArgs()); - base.Connect(); return true; } @@ -95,7 +91,7 @@ namespace mRemoteNG.Connection.Protocol { return ; } - SetForegroundWindow(_handle); + Native.SetForegroundWindow(_handle); } catch (Exception ex) { @@ -111,7 +107,7 @@ namespace mRemoteNG.Connection.Protocol { return ; } - MoveWindow(_handle, System.Convert.ToInt32(- SystemInformation.FrameBorderSize.Width), System.Convert.ToInt32(- (SystemInformation.CaptionHeight + SystemInformation.FrameBorderSize.Height)), InterfaceControl.Width + (SystemInformation.FrameBorderSize.Width * 2), InterfaceControl.Height + SystemInformation.CaptionHeight + (SystemInformation.FrameBorderSize.Height * 2), true); + Native.MoveWindow(_handle, System.Convert.ToInt32(-SystemInformation.FrameBorderSize.Width), System.Convert.ToInt32(-(SystemInformation.CaptionHeight + SystemInformation.FrameBorderSize.Height)), InterfaceControl.Width + (SystemInformation.FrameBorderSize.Width * 2), InterfaceControl.Height + SystemInformation.CaptionHeight + (SystemInformation.FrameBorderSize.Height * 2), true); } catch (Exception ex) { diff --git a/mRemoteV1/CS/Connection/Connection.Protocol.List.cs b/mRemoteV1/CS/Connection/Connection.Protocol.List.cs index 47cc454b0..c34286394 100644 --- a/mRemoteV1/CS/Connection/Connection.Protocol.List.cs +++ b/mRemoteV1/CS/Connection/Connection.Protocol.List.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,69 +8,67 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports namespace mRemoteNG.Connection.Protocol { public class List : CollectionBase + { + #region Public Properties + public Connection.Protocol.Base this[object Index] + { + get { - -#region Public Properties -public Connection.Protocol.Base this[object Index] + if (Index is Connection.Protocol.Base) { - get - { - if (Index is Connection.Protocol.Base) - { - return Index; - } - else - { - return ((Connection.Protocol.Base.Default) (List[System.Convert.ToInt32(Index)])); - } - } + return (Connection.Protocol.Base)Index; } - -public new int Count + else { - get - { - return List.Count; - } + return ((Connection.Protocol.Base) (List[System.Convert.ToInt32(Index)])); } -#endregion - -#region Public Methods - public Connection.Protocol.Base Add(Connection.Protocol.Base cProt) - { - this.List.Add(cProt); - return cProt; - } - - public void AddRange(Connection.Protocol.Base[] cProt) - { - foreach (Connection.Protocol.Base cP in cProt) - { - List.Add(cP); - } - } - - public void Remove(Connection.Protocol.Base cProt) - { - try - { - this.List.Remove(cProt); - } - catch (Exception) - { - } - } - - public new void Clear() - { - this.List.Clear(); - } -#endregion } + } + + public new int Count + { + get + { + return List.Count; + } + } + #endregion + + #region Public Methods + public Connection.Protocol.Base Add(Connection.Protocol.Base cProt) + { + this.List.Add(cProt); + return cProt; + } + + public void AddRange(Connection.Protocol.Base[] cProt) + { + foreach (Connection.Protocol.Base cP in cProt) + { + List.Add(cP); + } + } + + public void Remove(Connection.Protocol.Base cProt) + { + try + { + this.List.Remove(cProt); + } + catch (Exception) + { + } + } + + public new void Clear() + { + this.List.Clear(); + } + #endregion + } } diff --git a/mRemoteV1/CS/Connection/Connection.Protocol.Protocols.cs b/mRemoteV1/CS/Connection/Connection.Protocol.Protocols.cs index a18d14dc1..1cafd9a99 100644 --- a/mRemoteV1/CS/Connection/Connection.Protocol.Protocols.cs +++ b/mRemoteV1/CS/Connection/Connection.Protocol.Protocols.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -10,9 +9,6 @@ using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; using mRemoteNG.Tools; -// End of VB project level imports - -//using mRemoteNG.Tools.LocalizedAttributes; namespace mRemoteNG.Connection.Protocol diff --git a/mRemoteV1/CS/Connection/Connection.Protocol.PuttyBase.cs b/mRemoteV1/CS/Connection/Connection.Protocol.PuttyBase.cs index 4e99a8cbc..e82a30d11 100644 --- a/mRemoteV1/CS/Connection/Connection.Protocol.PuttyBase.cs +++ b/mRemoteV1/CS/Connection/Connection.Protocol.PuttyBase.cs @@ -11,7 +11,6 @@ using System.Windows.Forms; using System.Runtime.InteropServices; using System.ComponentModel; using mRemoteNG.Messages; -//using mRemoteNG.App.Native; using System.Threading; using Microsoft.Win32; using mRemoteNG.App; @@ -101,7 +100,7 @@ namespace mRemoteNG.Connection.Protocol { get { - if (GetForegroundWindow() == PuttyHandle) + if (Native.GetForegroundWindow() == PuttyHandle) { return true; } @@ -116,7 +115,7 @@ namespace mRemoteNG.Connection.Protocol #region Private Events & Handlers private void ProcessExited(object sender, System.EventArgs e) { - base.EVENT_CLOSED(this); + base.Event_Closed(this); } #endregion @@ -180,7 +179,7 @@ namespace mRemoteNG.Connection.Protocol arguments.Add("-" + System.Convert.ToString(_PuttySSHVersion)); - if (!((Force & Info.Force.NoCredentials) == (int) Info.Force.NoCredentials)) + if (!(((int)Force & (int)Info.Force.NoCredentials) == (int)Info.Force.NoCredentials)) { if (!string.IsNullOrEmpty(username)) { @@ -215,7 +214,8 @@ namespace mRemoteNG.Connection.Protocol { if (_isPuttyNg) { - PuttyHandle = FindWindowEx(InterfaceControl.Handle, 0, Constants.vbNullString, Constants.vbNullString); + PuttyHandle = Native.FindWindowEx( + InterfaceControl.Handle, new IntPtr(0), Constants.vbNullString, Constants.vbNullString); } else { @@ -230,17 +230,15 @@ namespace mRemoteNG.Connection.Protocol if (!_isPuttyNg) { - SetParent(PuttyHandle, InterfaceControl.Handle); + Native.SetParent(PuttyHandle, InterfaceControl.Handle); } Runtime.MessageCollector.AddMessage(MessageClass.InformationMsg, My.Language.strPuttyStuff, true); - Runtime.MessageCollector.AddMessage(MessageClass.InformationMsg, string.Format(My.Language.strPuttyHandle, PuttyHandle.ToString()), true); Runtime.MessageCollector.AddMessage(MessageClass.InformationMsg, string.Format(My.Language.strPuttyTitle, PuttyProcess.MainWindowTitle), true); Runtime.MessageCollector.AddMessage(MessageClass.InformationMsg, string.Format(My.Language.strPuttyParentHandle, InterfaceControl.Parent.Handle.ToString()), true); Resize(this, new EventArgs()); - base.Connect(); return true; } @@ -259,7 +257,7 @@ namespace mRemoteNG.Connection.Protocol { return ; } - SetForegroundWindow(PuttyHandle); + Native.SetForegroundWindow(PuttyHandle); } catch (Exception ex) { @@ -275,7 +273,7 @@ namespace mRemoteNG.Connection.Protocol { return ; } - MoveWindow(PuttyHandle, System.Convert.ToInt32(- SystemInformation.FrameBorderSize.Width), System.Convert.ToInt32(- (SystemInformation.CaptionHeight + SystemInformation.FrameBorderSize.Height)), InterfaceControl.Width + (SystemInformation.FrameBorderSize.Width * 2), InterfaceControl.Height + SystemInformation.CaptionHeight + (SystemInformation.FrameBorderSize.Height * 2), true); + Native.MoveWindow(PuttyHandle, System.Convert.ToInt32(-SystemInformation.FrameBorderSize.Width), System.Convert.ToInt32(-(SystemInformation.CaptionHeight + SystemInformation.FrameBorderSize.Height)), InterfaceControl.Width + (SystemInformation.FrameBorderSize.Width * 2), InterfaceControl.Height + SystemInformation.CaptionHeight + (SystemInformation.FrameBorderSize.Height * 2), true); } catch (Exception ex) { @@ -313,8 +311,8 @@ namespace mRemoteNG.Connection.Protocol { try { - PostMessage(this.PuttyHandle, WM_SYSCOMMAND, IDM_RECONF, 0); - SetForegroundWindow(this.PuttyHandle); + Native.PostMessage(this.PuttyHandle, Native.WM_SYSCOMMAND, IDM_RECONF, 0); + Native.SetForegroundWindow(this.PuttyHandle); } catch (Exception ex) { diff --git a/mRemoteV1/CS/Connection/Connection.Protocol.RAW.cs b/mRemoteV1/CS/Connection/Connection.Protocol.RAW.cs index 6a9bdb544..ac420bdb2 100644 --- a/mRemoteV1/CS/Connection/Connection.Protocol.RAW.cs +++ b/mRemoteV1/CS/Connection/Connection.Protocol.RAW.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,22 +8,20 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports namespace mRemoteNG.Connection.Protocol { public class RAW : Connection.Protocol.PuttyBase - { + { + public RAW() + { + this.PuttyProtocol = Putty_Protocol.raw; + } - public RAW() - { - this.PuttyProtocol = Putty_Protocol.raw; - } - - public enum Defaults - { - Port = 23 - } - } + public enum Defaults + { + Port = 23 + } + } } diff --git a/mRemoteV1/CS/Connection/Connection.Protocol.RDP.cs b/mRemoteV1/CS/Connection/Connection.Protocol.RDP.cs index b4817247e..be13030f5 100644 --- a/mRemoteV1/CS/Connection/Connection.Protocol.RDP.cs +++ b/mRemoteV1/CS/Connection/Connection.Protocol.RDP.cs @@ -13,7 +13,6 @@ using EOLWTSCOM; using System.ComponentModel; using mRemoteNG.Messages; using mRemoteNG.App; -//using mRemoteNG.Tools.LocalizedAttributes; using MSTSCLib; using mRemoteNG.Tools; @@ -107,8 +106,8 @@ namespace mRemoteNG.Connection.Protocol Thread.Sleep(0); System.Windows.Forms.Application.DoEvents(); } - - _rdpClient = ((AxMsRdpClient5NotSafeForScripting) Control).GetOcx(); + + _rdpClient = (MsRdpClient5NotSafeForScripting)((AxMsRdpClient5NotSafeForScripting)Control).GetOcx(); } catch (System.Runtime.InteropServices.COMException ex) { @@ -135,7 +134,7 @@ namespace mRemoteNG.Connection.Protocol _rdpClient.AdvancedSettings2.overallConnectionTimeout = 20; - _rdpClient.AdvancedSettings2.BitmapPeristence = this._connectionInfo.CacheBitmaps; + _rdpClient.AdvancedSettings2.BitmapPeristence = System.Convert.ToInt32(this._connectionInfo.CacheBitmaps); if (_rdpVersion >= Versions.RDC61) { _rdpClient.AdvancedSettings7.EnableCredSspSupport = _connectionInfo.UseCredSsp; @@ -314,9 +313,9 @@ namespace mRemoteNG.Connection.Protocol { size = Screen.FromControl(Control).Bounds.Size; } - - IMsRdpClient8 msRdpClient8 = _rdpClient; - msRdpClient8.Reconnect(size.Width, size.Height); + + IMsRdpClient8 msRdpClient8 = (IMsRdpClient8)_rdpClient; + msRdpClient8.Reconnect((uint)size.Width, (uint)size.Height); } private void SetRdGateway() @@ -335,7 +334,7 @@ namespace mRemoteNG.Connection.Protocol if (!(_connectionInfo.RDGatewayUsageMethod == RDGatewayUsageMethod.Never)) { - _rdpClient.TransportSettings.GatewayUsageMethod = _connectionInfo.RDGatewayUsageMethod; + _rdpClient.TransportSettings.GatewayUsageMethod = (uint)_connectionInfo.RDGatewayUsageMethod; _rdpClient.TransportSettings.GatewayHostname = _connectionInfo.RDGatewayHostname; _rdpClient.TransportSettings.GatewayProfileUsageMethod = 1; // TSC_PROXY_PROFILE_MODE_EXPLICIT if (_connectionInfo.RDGatewayUseConnectionCredentials == RDGatewayUseConnectionCredentials.SmartCard) @@ -513,7 +512,7 @@ namespace mRemoteNG.Connection.Protocol { try { - if (_connectionInfo.Port != Defaults.Port) + if (_connectionInfo.Port != (int)Defaults.Port) { _rdpClient.AdvancedSettings2.RDPPort = _connectionInfo.Port; } @@ -577,7 +576,7 @@ namespace mRemoteNG.Connection.Protocol { try { - _rdpClient.AdvancedSettings5.AuthenticationLevel = this._connectionInfo.RDPAuthenticationLevel; + _rdpClient.AdvancedSettings5.AuthenticationLevel = (uint)this._connectionInfo.RDPAuthenticationLevel; } catch (Exception ex) { @@ -630,7 +629,7 @@ namespace mRemoteNG.Connection.Protocol const int UI_ERR_NORMAL_DISCONNECT = 0xB08; if (!(discReason == UI_ERR_NORMAL_DISCONNECT)) { - string reason = _rdpClient.GetErrorDescription(discReason, (System.UInt32) _rdpClient.ExtendedDisconnectReason); + string reason = _rdpClient.GetErrorDescription((uint)discReason, (System.UInt32) _rdpClient.ExtendedDisconnectReason); Event_Disconnected(this, discReason + "\r\n" + reason); } @@ -800,7 +799,7 @@ namespace mRemoteNG.Connection.Protocol string[] resolutionParts = null; if (!(resolution == RDPResolutions.FitToWindow) & !(resolution == RDPResolutions.Fullscreen) & !(resolution == RDPResolutions.SmartSize)) { - resolutionParts = resolution.ToString().Replace("Res", "").Split("x"); + resolutionParts = resolution.ToString().Replace("Res", "").Split('x'); } if (resolutionParts == null || !(resolutionParts.Length == 2)) { @@ -808,7 +807,7 @@ namespace mRemoteNG.Connection.Protocol } else { - return new Rectangle(0, 0, (int) (resolutionParts[0]), (int) (resolutionParts[1])); + return new Rectangle(0, 0, System.Convert.ToInt32(resolutionParts[0]), System.Convert.ToInt32(resolutionParts[1])); } } #endregion @@ -838,7 +837,7 @@ namespace mRemoteNG.Connection.Protocol } } - public long OpenConnection(string hostname) + public int OpenConnection(string hostname) { if (_wtsCom == null) { @@ -853,9 +852,10 @@ namespace mRemoteNG.Connection.Protocol { Runtime.MessageCollector.AddExceptionMessage(My.Language.strRdpOpenConnectionFailed, ex, MessageClass.ErrorMsg, true); } + return 0; } - public void CloseConnection(long serverHandle) + public void CloseConnection(int serverHandle) { if (_wtsCom == null) { @@ -871,8 +871,8 @@ namespace mRemoteNG.Connection.Protocol Runtime.MessageCollector.AddExceptionMessage(My.Language.strRdpCloseConnectionFailed, ex, MessageClass.ErrorMsg, true); } } - - public SessionsCollection GetSessions(long serverHandle) + + public SessionsCollection GetSessions(int serverHandle) { if (_wtsCom == null) { @@ -885,7 +885,7 @@ namespace mRemoteNG.Connection.Protocol { WTSSessions wtsSessions = _wtsCom.WTSEnumerateSessions(serverHandle); - long sessionId = 0; + int sessionId = 0; string sessionUser = ""; long sessionState; string sessionName = ""; @@ -917,8 +917,8 @@ namespace mRemoteNG.Connection.Protocol return sessions; } - - public bool KillSession(long serverHandle, long sessionId) + + public bool KillSession(int serverHandle, int sessionId) { if (_wtsCom == null) { @@ -955,11 +955,11 @@ namespace mRemoteNG.Connection.Protocol { get { - return List.Count(); + return List.Count; } } - public Session Add(long sessionId, string sessionState, string sessionUser, string sessionName) + public Session Add(int sessionId, string sessionState, string sessionUser, string sessionName) { Session newSession = new Session(); @@ -989,7 +989,7 @@ namespace mRemoteNG.Connection.Protocol public class Session : CollectionBase { - public long SessionId {get; set;} + public int SessionId {get; set;} public string SessionState {get; set;} public string SessionUser {get; set;} public string SessionName {get; set;} @@ -999,19 +999,30 @@ namespace mRemoteNG.Connection.Protocol #region Fatal Errors public class FatalErrors { - public FatalErrors() - { - // VBConversions Note: Non-static class variable initialization is below. Class variables cannot be initially assigned non-static values in C#. - _description = new string[] {System.Convert.ToString(0 == My.Language.strRdpErrorUnknown), System.Convert.ToString(1 == My.Language.strRdpErrorCode1), System.Convert.ToString(2 == My.Language.strRdpErrorOutOfMemory), System.Convert.ToString(3 == My.Language.strRdpErrorWindowCreation), System.Convert.ToString(4 == My.Language.strRdpErrorCode2), System.Convert.ToString(5 == My.Language.strRdpErrorCode3), System.Convert.ToString(6 == My.Language.strRdpErrorCode4), System.Convert.ToString(7 == My.Language.strRdpErrorConnection), System.Convert.ToString(100 == My.Language.strRdpErrorWinsock)}; - - } - protected static string[] _description; // VBConversions Note: Initial value cannot be assigned here since it is non-static. Assignment has been moved to the class constructors. + protected static Hashtable _description; + protected static void InitDescription() + { + _description = new Hashtable(); + _description.Add("0", "My.Language.strRdpErrorUnknown"); + _description.Add("1", "My.Language.strRdpErrorCode1"); + _description.Add("2", "My.Language.strRdpErrorOutOfMemory"); + _description.Add("3", "My.Language.strRdpErrorWindowCreation"); + _description.Add("4", "My.Language.strRdpErrorCode2"); + _description.Add("5", "My.Language.strRdpErrorCode3"); + _description.Add("6", "My.Language.strRdpErrorCode4"); + _description.Add("7", "My.Language.strRdpErrorConnection"); + _description.Add("100", "My.Language.strRdpErrorWinsock"); + } public static string GetError(string id) { + if (_description == null) + { + InitDescription(); + } try { - return (_description[int.Parse(id)]); + return ((string)_description[id]); } catch (Exception ex) { diff --git a/mRemoteV1/CS/Connection/Connection.Protocol.Rlogin.cs b/mRemoteV1/CS/Connection/Connection.Protocol.Rlogin.cs index 6feb6f6d7..67912994c 100644 --- a/mRemoteV1/CS/Connection/Connection.Protocol.Rlogin.cs +++ b/mRemoteV1/CS/Connection/Connection.Protocol.Rlogin.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,22 +8,21 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports namespace mRemoteNG.Connection.Protocol { public class Rlogin : PuttyBase - { + { - public Rlogin() - { - this.PuttyProtocol = Putty_Protocol.rlogin; - } + public Rlogin() + { + this.PuttyProtocol = Putty_Protocol.rlogin; + } - public enum Defaults - { - Port = 513 - } - } + public enum Defaults + { + Port = 513 + } + } } diff --git a/mRemoteV1/CS/Connection/Connection.Protocol.SSH1.cs b/mRemoteV1/CS/Connection/Connection.Protocol.SSH1.cs index b674aeaea..d934d4992 100644 --- a/mRemoteV1/CS/Connection/Connection.Protocol.SSH1.cs +++ b/mRemoteV1/CS/Connection/Connection.Protocol.SSH1.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,23 +8,22 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports namespace mRemoteNG.Connection.Protocol { public class SSH1 : PuttyBase - { + { - public SSH1() - { - this.PuttyProtocol = Putty_Protocol.ssh; - this.PuttySSHVersion = Putty_SSHVersion.ssh1; - } + public SSH1() + { + this.PuttyProtocol = Putty_Protocol.ssh; + this.PuttySSHVersion = Putty_SSHVersion.ssh1; + } - public enum Defaults - { - Port = 22 - } - } + public enum Defaults + { + Port = 22 + } + } } diff --git a/mRemoteV1/CS/Connection/Connection.Protocol.SSH2.cs b/mRemoteV1/CS/Connection/Connection.Protocol.SSH2.cs index 66f6b6441..785d14be4 100644 --- a/mRemoteV1/CS/Connection/Connection.Protocol.SSH2.cs +++ b/mRemoteV1/CS/Connection/Connection.Protocol.SSH2.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,23 +8,22 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports namespace mRemoteNG.Connection.Protocol { public class SSH2 : PuttyBase - { + { - public SSH2() - { - this.PuttyProtocol = Putty_Protocol.ssh; - this.PuttySSHVersion = Putty_SSHVersion.ssh2; - } + public SSH2() + { + this.PuttyProtocol = Putty_Protocol.ssh; + this.PuttySSHVersion = Putty_SSHVersion.ssh2; + } - public enum Defaults - { - Port = 22 - } - } + public enum Defaults + { + Port = 22 + } + } } diff --git a/mRemoteV1/CS/Connection/Connection.Protocol.Serial.cs b/mRemoteV1/CS/Connection/Connection.Protocol.Serial.cs index 6bd014557..5eeefdd24 100644 --- a/mRemoteV1/CS/Connection/Connection.Protocol.Serial.cs +++ b/mRemoteV1/CS/Connection/Connection.Protocol.Serial.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,22 +8,21 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports namespace mRemoteNG.Connection.Protocol { public class Serial : PuttyBase - { + { - public Serial() - { - this.PuttyProtocol = Putty_Protocol.serial; - } + public Serial() + { + this.PuttyProtocol = Putty_Protocol.serial; + } - public enum Defaults - { - Port = 9600 - } - } + public enum Defaults + { + Port = 9600 + } + } } diff --git a/mRemoteV1/CS/Connection/Connection.Protocol.Telnet.cs b/mRemoteV1/CS/Connection/Connection.Protocol.Telnet.cs index a8a652544..56687fb93 100644 --- a/mRemoteV1/CS/Connection/Connection.Protocol.Telnet.cs +++ b/mRemoteV1/CS/Connection/Connection.Protocol.Telnet.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,22 +8,21 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports namespace mRemoteNG.Connection.Protocol { public class Telnet : PuttyBase - { + { - public Telnet() - { - this.PuttyProtocol = Putty_Protocol.telnet; - } + public Telnet() + { + this.PuttyProtocol = Putty_Protocol.telnet; + } - public enum Defaults - { - Port = 23 - } - } + public enum Defaults + { + Port = 23 + } + } } diff --git a/mRemoteV1/CS/Connection/Connection.Protocol.VNC.cs b/mRemoteV1/CS/Connection/Connection.Protocol.VNC.cs index d87c8ab53..9942080be 100644 --- a/mRemoteV1/CS/Connection/Connection.Protocol.VNC.cs +++ b/mRemoteV1/CS/Connection/Connection.Protocol.VNC.cs @@ -11,7 +11,6 @@ using System.Windows.Forms; using mRemoteNG.App; using System.ComponentModel; using mRemoteNG.Tools; -//using mRemoteNG.Tools.LocalizedAttributes; namespace mRemoteNG.Connection.Protocol @@ -21,19 +20,19 @@ namespace mRemoteNG.Connection.Protocol #region Properties public bool SmartSize { - get { return VNC_Renamed.Scaled; } - set { VNC_Renamed.Scaled = value; } + get { return _VNC.Scaled; } + set { _VNC.Scaled = value; } } public bool ViewOnly { - get { return VNC_Renamed.ViewOnly; } - set { VNC_Renamed.ViewOnly = value; } + get { return _VNC.ViewOnly; } + set { _VNC.ViewOnly = value; } } #endregion #region Private Declarations - private VncSharp.RemoteDesktop VNC_Renamed; + private VncSharp.RemoteDesktop _VNC; private Connection.Info Info; #endregion @@ -49,11 +48,11 @@ namespace mRemoteNG.Connection.Protocol try { - VNC_Renamed = this.Control; + _VNC = (VncSharp.RemoteDesktop)this.Control; Info = this.InterfaceControl.Info; - VNC_Renamed.VncPort = this.Info.Port; + _VNC.VncPort = this.Info.Port; //If Info.VNCCompression <> Compression.CompNone Then // VNC.JPEGCompression = True @@ -133,7 +132,7 @@ namespace mRemoteNG.Connection.Protocol try { - VNC_Renamed.Connect(this.Info.Hostname, this.Info.VNCViewOnly, Info.VNCSmartSizeMode != SmartSizeMode.SmartSNo); + _VNC.Connect(this.Info.Hostname, this.Info.VNCViewOnly, Info.VNCSmartSizeMode != SmartSizeMode.SmartSNo); } catch (Exception ex) { @@ -148,7 +147,7 @@ namespace mRemoteNG.Connection.Protocol { try { - VNC_Renamed.Disconnect(); + _VNC.Disconnect(); } catch (Exception ex) { @@ -162,11 +161,11 @@ namespace mRemoteNG.Connection.Protocol { switch (Keys) { - case SpecialKeys.CtrlAltDel: - VNC_Renamed.SendSpecialKeys(SpecialKeys.CtrlAltDel); + case Connection.Protocol.VNC.SpecialKeys.CtrlAltDel: + _VNC.SendSpecialKeys(VncSharp.SpecialKeys.CtrlAltDel); break; - case SpecialKeys.CtrlEsc: - VNC_Renamed.SendSpecialKeys(SpecialKeys.CtrlEsc); + case Connection.Protocol.VNC.SpecialKeys.CtrlEsc: + _VNC.SendSpecialKeys(VncSharp.SpecialKeys.CtrlEsc); break; } } @@ -238,7 +237,7 @@ namespace mRemoteNG.Connection.Protocol { try { - VNC_Renamed.FullScreenUpdate(); + _VNC.FullScreenUpdate(); } catch (Exception ex) { @@ -252,12 +251,12 @@ namespace mRemoteNG.Connection.Protocol { try { - VNC_Renamed.ConnectComplete += VNCEvent_Connected; - VNC_Renamed.ConnectionLost += VNCEvent_Disconnected; + _VNC.ConnectComplete += VNCEvent_Connected; + _VNC.ConnectionLost += VNCEvent_Disconnected; mRemoteNG.frmMain.clipboardchange += VNCEvent_ClipboardChanged; - if (!((Force & Info.Force.NoCredentials) == (int) Info.Force.NoCredentials) && !string.IsNullOrEmpty(Info.Password)) + if (!(((int)Force & (int)Info.Force.NoCredentials) == (int)Info.Force.NoCredentials) && !string.IsNullOrEmpty(Info.Password)) { - VNC_Renamed.GetPassword = new System.EventHandler(VNCEvent_Authenticate); + _VNC.GetPassword = VNCEvent_Authenticate; } } catch (Exception ex) @@ -271,7 +270,7 @@ namespace mRemoteNG.Connection.Protocol private void VNCEvent_Connected(object sender, EventArgs e) { base.Event_Connected(this); - VNC_Renamed.AutoScroll = Info.VNCSmartSizeMode == SmartSizeMode.SmartSNo; + _VNC.AutoScroll = Info.VNCSmartSizeMode == SmartSizeMode.SmartSNo; } private void VNCEvent_Disconnected(object sender, EventArgs e) @@ -282,7 +281,7 @@ namespace mRemoteNG.Connection.Protocol private void VNCEvent_ClipboardChanged() { - this.VNC_Renamed.FillServerClipboard(); + this._VNC.FillServerClipboard(); } private string VNCEvent_Authenticate() diff --git a/mRemoteV1/CS/Container/Container.Info.cs b/mRemoteV1/CS/Container/Container.Info.cs index 87a19070f..97eabd33e 100644 --- a/mRemoteV1/CS/Container/Container.Info.cs +++ b/mRemoteV1/CS/Container/Container.Info.cs @@ -17,7 +17,7 @@ namespace mRemoteNG.Container [DefaultProperty("Name")] public class Info { -#region Properties + #region Properties [LocalizedAttributes.LocalizedCategory("strCategoryDisplay", 1), Browsable(true), ReadOnly(false), @@ -60,7 +60,8 @@ namespace mRemoteNG.Container private object _Parent; [Category(""), - Browsable(false)]public object Parent + Browsable(false)] + public object Parent { get { @@ -115,9 +116,9 @@ namespace mRemoteNG.Container this._ConnectionInfo = value; } } -#endregion + #endregion -#region Methods + #region Methods public Container.Info Copy() { return (Info)this.MemberwiseClone(); @@ -135,7 +136,7 @@ namespace mRemoteNG.Container this.IsExpanded = true; } } -#endregion + #endregion public class Attributes { diff --git a/mRemoteV1/CS/Container/Container.List.cs b/mRemoteV1/CS/Container/Container.List.cs index fccbe53db..7d14e6709 100644 --- a/mRemoteV1/CS/Container/Container.List.cs +++ b/mRemoteV1/CS/Container/Container.List.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,84 +8,82 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports namespace mRemoteNG.Container { public class List : CollectionBase + { + #region Public Properties + public Container.Info this[object Index] { - -#region Public Properties -public Container.Info this[object Index] + get { - get + if (Index is Container.Info) { - if (Index is Container.Info) - { - return Index; - } - else - { - return ((Container.Info) (List[System.Convert.ToInt32(Index)])); - } + return (Container.Info)Index; + } + else + { + return ((Container.Info) (List[System.Convert.ToInt32(Index)])); } } - -public new int Count - { - get - { - return List.Count; - } - } -#endregion - -#region Public Methods - public Container.Info Add(Container.Info cInfo) - { - this.List.Add(cInfo); - return cInfo; - } - - public void AddRange(Container.Info[] cInfo) - { - foreach (Container.Info cI in cInfo) - { - List.Add(cI); - } - } - - public Container.Info FindByConstantID(string id) - { - foreach (Container.Info contI in List) - { - if (contI.ConnectionInfo.ConstantID == id) - { - return contI; - } - } - - return null; - } - - public Container.List Copy() - { - try - { - return this.MemberwiseClone(); - } - catch (Exception) - { - } - - return null; - } - - public new void Clear() - { - this.List.Clear(); - } -#endregion } + + public new int Count + { + get + { + return List.Count; + } + } + #endregion + + #region Public Methods + public Container.Info Add(Container.Info cInfo) + { + this.List.Add(cInfo); + return cInfo; + } + + public void AddRange(Container.Info[] cInfo) + { + foreach (Container.Info cI in cInfo) + { + List.Add(cI); + } + } + + public Container.Info FindByConstantID(string id) + { + foreach (Container.Info contI in List) + { + if (contI.ConnectionInfo.ConstantID == id) + { + return contI; + } + } + + return null; + } + + public Container.List Copy() + { + try + { + return (Container.List)this.MemberwiseClone(); + } + catch (Exception) + { + } + + return null; + } + + public new void Clear() + { + this.List.Clear(); + } + #endregion + } } diff --git a/mRemoteV1/CS/Controls/TextBox.cs b/mRemoteV1/CS/Controls/TextBox.cs deleted file mode 100644 index 09f306469..000000000 --- a/mRemoteV1/CS/Controls/TextBox.cs +++ /dev/null @@ -1,81 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - -using System.ComponentModel; - - -// Adapted from http://stackoverflow.com/a/3678888/2101395 - -namespace mRemoteNG -{ - namespace Controls - { - public class TextBox : System.Windows.Forms.TextBox - { - -#region Public Properties - [Category("Behavior"), - DefaultValue(false)]private bool _SelectAllOnFocus = false; - private bool SelectAllOnFocus - { - get - { - return _SelectAllOnFocus; - } - set - { - _SelectAllOnFocus = value; - } - } -#endregion - -#region Protected Methods - protected override void OnEnter(EventArgs e) - { - base.OnEnter(e); - - if (MouseButtons == MouseButtons.None) - { - SelectAll(); - _focusHandled = true; - } - } - - protected override void OnLeave(EventArgs e) - { - base.OnLeave(e); - - _focusHandled = false; - } - - protected override void OnMouseUp(MouseEventArgs e) - { - base.OnMouseUp(e); - - if (!_focusHandled) - { - if (SelectionLength == 0) - { - SelectAll(); - } - _focusHandled = true; - } - } -#endregion - -#region Private Fields - private bool _focusHandled = false; -#endregion - } - } -} diff --git a/mRemoteV1/CS/Credential/Credential.Info.cs b/mRemoteV1/CS/Credential/Credential.Info.cs index f874df5bd..27168af16 100644 --- a/mRemoteV1/CS/Credential/Credential.Info.cs +++ b/mRemoteV1/CS/Credential/Credential.Info.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -10,102 +9,100 @@ using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; using mRemoteNG.Tools; -// End of VB project level imports - using System.ComponentModel; -//using mRemoteNG.Tools.LocalizedAttributes; namespace mRemoteNG.Credential { public class Info + { + #region 1 Display + private string _Name; + [LocalizedAttributes.LocalizedCategory("strCategoryDisplay", 1), + Browsable(true), + LocalizedAttributes.LocalizedDisplayName("strPropertyNameName"), + LocalizedAttributes.LocalizedDescription("strPropertyDescriptionName")] + public string Name { -#region 1 Display - private string _Name; -[LocalizedAttributes.LocalizedCategory("strCategoryDisplay", 1), -Browsable(true), -LocalizedAttributes.LocalizedDisplayName("strPropertyNameName"), -LocalizedAttributes.LocalizedDescription("strPropertyDescriptionName")] - public string Name + get { - get - { - return _Name; - } - set - { - _Name = value; - } + return _Name; } - - private string _Description; -[LocalizedAttributes.LocalizedCategory("strCategoryDisplay", 1), -Browsable(true), -LocalizedAttributes.LocalizedDisplayName("strPropertyNameDescription"), -LocalizedAttributes.LocalizedDescription("strPropertyDescriptionDescription")] - public string Description + set { - get - { - return _Description; - } - set - { - _Description = value; - } + _Name = value; } -#endregion -#region 2 Credentials - private string _Username; -[LocalizedAttributes.LocalizedCategory("strCategoryCredentials", 2), -Browsable(true), -LocalizedAttributes.LocalizedDisplayName("strPropertyNameUsername"), -LocalizedAttributes.LocalizedDescription("strPropertyDescriptionUsername")] - public string Username - { - get - { - return _Username; - } - set - { - _Username = value; - } - } - - private string _Password; -[LocalizedAttributes.LocalizedCategory("strCategoryCredentials", 2), -Browsable(true), -LocalizedAttributes.LocalizedDisplayName("strPropertyNamePassword"), -LocalizedAttributes.LocalizedDescription("strPropertyDescriptionPassword"), -PasswordPropertyText(true)]public string Password - { - get - { - return _Password; - } - set - { - _Password = value; - } - } - - private string _Domain; -[LocalizedAttributes.LocalizedCategory("strCategoryCredentials", 2), -Browsable(true), -LocalizedAttributes.LocalizedDisplayName("strPropertyNameDomain"), -LocalizedAttributes.LocalizedDescription("strPropertyDescriptionDomain")] - public string Domain - { - get - { - return _Domain; - } - set - { - _Domain = value; - } - } -#endregion } + + private string _Description; + [LocalizedAttributes.LocalizedCategory("strCategoryDisplay", 1), + Browsable(true), + LocalizedAttributes.LocalizedDisplayName("strPropertyNameDescription"), + LocalizedAttributes.LocalizedDescription("strPropertyDescriptionDescription")] + public string Description + { + get + { + return _Description; + } + set + { + _Description = value; + } + } + #endregion + + #region 2 Credentials + private string _Username; + [LocalizedAttributes.LocalizedCategory("strCategoryCredentials", 2), + Browsable(true), + LocalizedAttributes.LocalizedDisplayName("strPropertyNameUsername"), + LocalizedAttributes.LocalizedDescription("strPropertyDescriptionUsername")] + public string Username + { + get + { + return _Username; + } + set + { + _Username = value; + } + } + + private string _Password; + [LocalizedAttributes.LocalizedCategory("strCategoryCredentials", 2), + Browsable(true), + LocalizedAttributes.LocalizedDisplayName("strPropertyNamePassword"), + LocalizedAttributes.LocalizedDescription("strPropertyDescriptionPassword"), + PasswordPropertyText(true)]public string Password + { + get + { + return _Password; + } + set + { + _Password = value; + } + } + + private string _Domain; + [LocalizedAttributes.LocalizedCategory("strCategoryCredentials", 2), + Browsable(true), + LocalizedAttributes.LocalizedDisplayName("strPropertyNameDomain"), + LocalizedAttributes.LocalizedDescription("strPropertyDescriptionDomain")] + public string Domain + { + get + { + return _Domain; + } + set + { + _Domain = value; + } + } + #endregion + } } diff --git a/mRemoteV1/CS/Credential/Credential.List.cs b/mRemoteV1/CS/Credential/Credential.List.cs index 611384a13..368917b4c 100644 --- a/mRemoteV1/CS/Credential/Credential.List.cs +++ b/mRemoteV1/CS/Credential/Credential.List.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,71 +8,69 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports namespace mRemoteNG.Credential { public class List : CollectionBase + { + #region Public Properties + public Credential.Info this[object Index] { - -#region Public Properties -public Credential.Info this[object Index] + get { - get + if (Index is Credential.Info) { - if (Index is Credential.Info) - { - return Index; - } - else - { - return ((Credential.Info) (List[System.Convert.ToInt32(Index)])); - } + return (Credential.Info)Index; + } + else + { + return ((Credential.Info) (List[System.Convert.ToInt32(Index)])); } } - -public new int Count - { - get - { - return List.Count; - } - } -#endregion - -#region Public Methods - public Credential.Info Add(Credential.Info cInfo) - { - List.Add(cInfo); - return cInfo; - } - - public void AddRange(Credential.Info[] cInfo) - { - foreach (Credential.Info cI in cInfo) - { - List.Add(cI); - } - } - - public Credential.List Copy() - { - try - { - return this.MemberwiseClone(); - } - catch (Exception) - { - } - - return null; - } - - public new void Clear() - { - List.Clear(); - } -#endregion } + + public new int Count + { + get + { + return List.Count; + } + } + #endregion + + #region Public Methods + public Credential.Info Add(Credential.Info cInfo) + { + List.Add(cInfo); + return cInfo; + } + + public void AddRange(Credential.Info[] cInfo) + { + foreach (Credential.Info cI in cInfo) + { + List.Add(cI); + } + } + + public Credential.List Copy() + { + try + { + return (Credential.List)this.MemberwiseClone(); + } + catch (Exception) + { + } + + return null; + } + + public new void Clear() + { + List.Clear(); + } + #endregion + } } diff --git a/mRemoteV1/CS/Forms/ExportForm.Designer.cs b/mRemoteV1/CS/Forms/ExportForm.Designer.cs deleted file mode 100644 index 3541d0965..000000000 --- a/mRemoteV1/CS/Forms/ExportForm.Designer.cs +++ /dev/null @@ -1,315 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - - -namespace mRemoteNG.Forms -{ - public partial class ExportForm : Form - { -#region Windows Form Designer generated code - - private void InitializeComponent() - { - this.btnCancel = new System.Windows.Forms.Button(); - this.Load += new System.EventHandler(ExportForm_Load); - this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); - this.btnOK = new System.Windows.Forms.Button(); - this.btnOK.Click += new System.EventHandler(this.btnOK_Click); - this.lblUncheckProperties = new System.Windows.Forms.Label(); - this.chkUsername = new System.Windows.Forms.CheckBox(); - this.chkPassword = new System.Windows.Forms.CheckBox(); - this.chkDomain = new System.Windows.Forms.CheckBox(); - this.chkInheritance = new System.Windows.Forms.CheckBox(); - this.txtFileName = new System.Windows.Forms.TextBox(); - this.txtFileName.TextChanged += new System.EventHandler(this.txtFileName_TextChanged); - this.btnBrowse = new System.Windows.Forms.Button(); - this.btnBrowse.Click += new System.EventHandler(this.btnBrowse_Click); - this.grpProperties = new System.Windows.Forms.GroupBox(); - this.grpFile = new System.Windows.Forms.GroupBox(); - this.lblFileFormat = new System.Windows.Forms.Label(); - this.lblFileName = new System.Windows.Forms.Label(); - this.cboFileFormat = new System.Windows.Forms.ComboBox(); - this.grpItems = new System.Windows.Forms.GroupBox(); - this.lblSelectedConnection = new System.Windows.Forms.Label(); - this.lblSelectedFolder = new System.Windows.Forms.Label(); - this.rdoExportSelectedConnection = new System.Windows.Forms.RadioButton(); - this.rdoExportSelectedFolder = new System.Windows.Forms.RadioButton(); - this.rdoExportEverything = new System.Windows.Forms.RadioButton(); - this.grpProperties.SuspendLayout(); - this.grpFile.SuspendLayout(); - this.grpItems.SuspendLayout(); - this.SuspendLayout(); - // - //btnCancel - // - this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.btnCancel.Location = new System.Drawing.Point(447, 473); - this.btnCancel.Name = "btnCancel"; - this.btnCancel.Size = new System.Drawing.Size(75, 23); - this.btnCancel.TabIndex = 3; - this.btnCancel.Text = "&Cancel"; - this.btnCancel.UseVisualStyleBackColor = true; - // - //btnOK - // - this.btnOK.Location = new System.Drawing.Point(366, 473); - this.btnOK.Name = "btnOK"; - this.btnOK.Size = new System.Drawing.Size(75, 23); - this.btnOK.TabIndex = 2; - this.btnOK.Text = "&OK"; - this.btnOK.UseVisualStyleBackColor = true; - // - //lblUncheckProperties - // - this.lblUncheckProperties.AutoSize = true; - this.lblUncheckProperties.Location = new System.Drawing.Point(12, 134); - this.lblUncheckProperties.Name = "lblUncheckProperties"; - this.lblUncheckProperties.Size = new System.Drawing.Size(244, 13); - this.lblUncheckProperties.TabIndex = 4; - this.lblUncheckProperties.Text = "Uncheck the properties you want not to be saved!"; - // - //chkUsername - // - this.chkUsername.AutoSize = true; - this.chkUsername.Checked = true; - this.chkUsername.CheckState = System.Windows.Forms.CheckState.Checked; - this.chkUsername.Location = new System.Drawing.Point(15, 32); - this.chkUsername.Name = "chkUsername"; - this.chkUsername.Size = new System.Drawing.Size(74, 17); - this.chkUsername.TabIndex = 0; - this.chkUsername.Text = "Username"; - this.chkUsername.UseVisualStyleBackColor = true; - // - //chkPassword - // - this.chkPassword.AutoSize = true; - this.chkPassword.Checked = true; - this.chkPassword.CheckState = System.Windows.Forms.CheckState.Checked; - this.chkPassword.Location = new System.Drawing.Point(15, 55); - this.chkPassword.Name = "chkPassword"; - this.chkPassword.Size = new System.Drawing.Size(72, 17); - this.chkPassword.TabIndex = 1; - this.chkPassword.Text = "Password"; - this.chkPassword.UseVisualStyleBackColor = true; - // - //chkDomain - // - this.chkDomain.AutoSize = true; - this.chkDomain.Checked = true; - this.chkDomain.CheckState = System.Windows.Forms.CheckState.Checked; - this.chkDomain.Location = new System.Drawing.Point(15, 78); - this.chkDomain.Name = "chkDomain"; - this.chkDomain.Size = new System.Drawing.Size(62, 17); - this.chkDomain.TabIndex = 2; - this.chkDomain.Text = "Domain"; - this.chkDomain.UseVisualStyleBackColor = true; - // - //chkInheritance - // - this.chkInheritance.AutoSize = true; - this.chkInheritance.Checked = true; - this.chkInheritance.CheckState = System.Windows.Forms.CheckState.Checked; - this.chkInheritance.Location = new System.Drawing.Point(15, 101); - this.chkInheritance.Name = "chkInheritance"; - this.chkInheritance.Size = new System.Drawing.Size(79, 17); - this.chkInheritance.TabIndex = 3; - this.chkInheritance.Text = "Inheritance"; - this.chkInheritance.UseVisualStyleBackColor = true; - // - //txtFileName - // - this.txtFileName.Location = new System.Drawing.Point(15, 48); - this.txtFileName.Name = "txtFileName"; - this.txtFileName.Size = new System.Drawing.Size(396, 20); - this.txtFileName.TabIndex = 1; - // - //btnBrowse - // - this.btnBrowse.Location = new System.Drawing.Point(417, 46); - this.btnBrowse.Name = "btnBrowse"; - this.btnBrowse.Size = new System.Drawing.Size(75, 23); - this.btnBrowse.TabIndex = 2; - this.btnBrowse.Text = "&Browse"; - this.btnBrowse.UseVisualStyleBackColor = true; - // - //grpProperties - // - this.grpProperties.Controls.Add(this.lblUncheckProperties); - this.grpProperties.Controls.Add(this.chkInheritance); - this.grpProperties.Controls.Add(this.chkUsername); - this.grpProperties.Controls.Add(this.chkDomain); - this.grpProperties.Controls.Add(this.chkPassword); - this.grpProperties.Location = new System.Drawing.Point(12, 304); - this.grpProperties.Name = "grpProperties"; - this.grpProperties.Size = new System.Drawing.Size(510, 163); - this.grpProperties.TabIndex = 1; - this.grpProperties.TabStop = false; - this.grpProperties.Text = "Export Properties"; - // - //grpFile - // - this.grpFile.Controls.Add(this.lblFileFormat); - this.grpFile.Controls.Add(this.lblFileName); - this.grpFile.Controls.Add(this.cboFileFormat); - this.grpFile.Controls.Add(this.txtFileName); - this.grpFile.Controls.Add(this.btnBrowse); - this.grpFile.Location = new System.Drawing.Point(12, 12); - this.grpFile.Name = "grpFile"; - this.grpFile.Size = new System.Drawing.Size(510, 140); - this.grpFile.TabIndex = 0; - this.grpFile.TabStop = false; - this.grpFile.Text = "Export File"; - // - //lblFileFormat - // - this.lblFileFormat.AutoSize = true; - this.lblFileFormat.Location = new System.Drawing.Point(12, 84); - this.lblFileFormat.Name = "lblFileFormat"; - this.lblFileFormat.Size = new System.Drawing.Size(61, 13); - this.lblFileFormat.TabIndex = 3; - this.lblFileFormat.Text = "File &Format:"; - // - //lblFileName - // - this.lblFileName.AutoSize = true; - this.lblFileName.Location = new System.Drawing.Point(12, 32); - this.lblFileName.Name = "lblFileName"; - this.lblFileName.Size = new System.Drawing.Size(52, 13); - this.lblFileName.TabIndex = 0; - this.lblFileName.Text = "Filename:"; - // - //cboFileFormat - // - this.cboFileFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cboFileFormat.FormattingEnabled = true; - this.cboFileFormat.Location = new System.Drawing.Point(15, 100); - this.cboFileFormat.Name = "cboFileFormat"; - this.cboFileFormat.Size = new System.Drawing.Size(294, 21); - this.cboFileFormat.TabIndex = 4; - // - //grpItems - // - this.grpItems.Controls.Add(this.lblSelectedConnection); - this.grpItems.Controls.Add(this.lblSelectedFolder); - this.grpItems.Controls.Add(this.rdoExportSelectedConnection); - this.grpItems.Controls.Add(this.rdoExportSelectedFolder); - this.grpItems.Controls.Add(this.rdoExportEverything); - this.grpItems.Location = new System.Drawing.Point(12, 158); - this.grpItems.Name = "grpItems"; - this.grpItems.Size = new System.Drawing.Size(510, 140); - this.grpItems.TabIndex = 4; - this.grpItems.TabStop = false; - this.grpItems.Text = "Export Items"; - // - //lblSelectedConnection - // - this.lblSelectedConnection.AutoSize = true; - this.lblSelectedConnection.Location = new System.Drawing.Point(48, 111); - this.lblSelectedConnection.Name = "lblSelectedConnection"; - this.lblSelectedConnection.Size = new System.Drawing.Size(92, 13); - this.lblSelectedConnection.TabIndex = 4; - this.lblSelectedConnection.Text = "Connection Name"; - // - //lblSelectedFolder - // - this.lblSelectedFolder.AutoSize = true; - this.lblSelectedFolder.Location = new System.Drawing.Point(48, 75); - this.lblSelectedFolder.Name = "lblSelectedFolder"; - this.lblSelectedFolder.Size = new System.Drawing.Size(67, 13); - this.lblSelectedFolder.TabIndex = 3; - this.lblSelectedFolder.Text = "Folder Name"; - // - //rdoExportSelectedConnection - // - this.rdoExportSelectedConnection.AutoSize = true; - this.rdoExportSelectedConnection.Location = new System.Drawing.Point(15, 91); - this.rdoExportSelectedConnection.Name = "rdoExportSelectedConnection"; - this.rdoExportSelectedConnection.Size = new System.Drawing.Size(215, 17); - this.rdoExportSelectedConnection.TabIndex = 2; - this.rdoExportSelectedConnection.TabStop = true; - this.rdoExportSelectedConnection.Text = "Export the currently selected connection"; - this.rdoExportSelectedConnection.UseVisualStyleBackColor = true; - // - //rdoExportSelectedFolder - // - this.rdoExportSelectedFolder.AutoSize = true; - this.rdoExportSelectedFolder.Location = new System.Drawing.Point(15, 55); - this.rdoExportSelectedFolder.Name = "rdoExportSelectedFolder"; - this.rdoExportSelectedFolder.Size = new System.Drawing.Size(188, 17); - this.rdoExportSelectedFolder.TabIndex = 1; - this.rdoExportSelectedFolder.TabStop = true; - this.rdoExportSelectedFolder.Text = "Export the currently selected folder"; - this.rdoExportSelectedFolder.UseVisualStyleBackColor = true; - // - //rdoExportEverything - // - this.rdoExportEverything.AutoSize = true; - this.rdoExportEverything.Checked = true; - this.rdoExportEverything.Location = new System.Drawing.Point(15, 32); - this.rdoExportEverything.Name = "rdoExportEverything"; - this.rdoExportEverything.Size = new System.Drawing.Size(107, 17); - this.rdoExportEverything.TabIndex = 0; - this.rdoExportEverything.TabStop = true; - this.rdoExportEverything.Text = "Export everything"; - this.rdoExportEverything.UseVisualStyleBackColor = true; - // - //ExportForm - // - this.AcceptButton = this.btnOK; - this.CancelButton = this.btnCancel; - this.ClientSize = new System.Drawing.Size(534, 508); - this.Controls.Add(this.grpItems); - this.Controls.Add(this.grpFile); - this.Controls.Add(this.grpProperties); - this.Controls.Add(this.btnCancel); - this.Controls.Add(this.btnOK); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; - this.Icon = global::My.Resources.Resources.Connections_SaveAs_Icon; - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "ExportForm"; - this.ShowInTaskbar = false; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = "Export Connections"; - this.grpProperties.ResumeLayout(false); - this.grpProperties.PerformLayout(); - this.grpFile.ResumeLayout(false); - this.grpFile.PerformLayout(); - this.grpItems.ResumeLayout(false); - this.grpItems.PerformLayout(); - this.ResumeLayout(false); - - } - private System.Windows.Forms.Button btnCancel; - private System.Windows.Forms.Button btnOK; - private System.Windows.Forms.Label lblUncheckProperties; - private System.Windows.Forms.CheckBox chkUsername; - private System.Windows.Forms.CheckBox chkPassword; - private System.Windows.Forms.CheckBox chkDomain; - private System.Windows.Forms.CheckBox chkInheritance; - private System.Windows.Forms.TextBox txtFileName; - private System.Windows.Forms.Button btnBrowse; - private System.Windows.Forms.GroupBox grpProperties; - private System.Windows.Forms.GroupBox grpFile; - private System.Windows.Forms.Label lblFileFormat; - private System.Windows.Forms.Label lblFileName; - private System.Windows.Forms.ComboBox cboFileFormat; - private System.Windows.Forms.GroupBox grpItems; - private System.Windows.Forms.Label lblSelectedConnection; - private System.Windows.Forms.Label lblSelectedFolder; - private System.Windows.Forms.RadioButton rdoExportSelectedConnection; - private System.Windows.Forms.RadioButton rdoExportSelectedFolder; - private System.Windows.Forms.RadioButton rdoExportEverything; -#endregion - } -} diff --git a/mRemoteV1/CS/Forms/ExportForm.cs b/mRemoteV1/CS/Forms/ExportForm.cs deleted file mode 100644 index a6bd790d5..000000000 --- a/mRemoteV1/CS/Forms/ExportForm.cs +++ /dev/null @@ -1,341 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - -using System.ComponentModel; -//using mRemoteNG.Config.Connections; -using mRemoteNG.App; -using mRemoteNG.My; - - -namespace mRemoteNG.Forms -{ - public partial class ExportForm : Form - { - -#region Public Properties -public string FileName - { - get - { - return txtFileName.Text; - } - set - { - txtFileName.Text = value; - } - } - -public Config.Connections.Save.Format SaveFormat - { - get - { - ExportFormat exportFormat = cboFileFormat.SelectedItem as ExportFormat; - if (exportFormat == null) - { - return Config.Connections.Save_Renamed.Format.mRXML; - } - else - { - return exportFormat.Format; - } - } - set - { - foreach (object item in cboFileFormat.Items) - { - ExportFormat exportFormat = item as ExportFormat; - if (exportFormat == null) - { - continue; - } - if (exportFormat.Format == value) - { - cboFileFormat.SelectedItem = item; - break; - } - } - } - } - -public ExportScope Scope - { - get - { - if (rdoExportSelectedFolder.Checked) - { - return ExportScope.SelectedFolder; - } - else if (rdoExportSelectedConnection.Checked) - { - return ExportScope.SelectedConnection; - } - else - { - return ExportScope.Everything; - } - } - set - { - switch (value) - { - case ExportScope.Everything: - rdoExportEverything.Checked = true; - break; - case ExportScope.SelectedFolder: - rdoExportSelectedFolder.Checked = true; - break; - case ExportScope.SelectedConnection: - rdoExportSelectedConnection.Checked = true; - break; - } - } - } - - private TreeNode _selectedFolder; -public TreeNode SelectedFolder - { - get - { - return _selectedFolder; - } - set - { - _selectedFolder = value; - if (value == null) - { - lblSelectedFolder.Text = string.Empty; - } - else - { - lblSelectedFolder.Text = value.Text; - } - rdoExportSelectedFolder.Enabled = value != null; - } - } - - private TreeNode _selectedConnection; -public TreeNode SelectedConnection - { - get - { - return _selectedConnection; - } - set - { - _selectedConnection = value; - if (value == null) - { - lblSelectedConnection.Text = string.Empty; - } - else - { - lblSelectedConnection.Text = value.Text; - } - rdoExportSelectedConnection.Enabled = value != null; - } - } - -public bool IncludeUsername - { - get - { - return chkUsername.Checked; - } - set - { - chkUsername.Checked = value; - } - } - -public bool IncludePassword - { - get - { - return chkPassword.Checked; - } - set - { - chkPassword.Checked = value; - } - } - -public bool IncludeDomain - { - get - { - return chkDomain.Checked; - } - set - { - chkDomain.Checked = value; - } - } - -public bool IncludeInheritance - { - get - { - return chkInheritance.Checked; - } - set - { - chkInheritance.Checked = value; - } - } -#endregion - -#region Constructors - public ExportForm() - { - InitializeComponent(); - - Runtime.FontOverride(this); - - SelectedFolder = null; - SelectedConnection = null; - - btnOK.Enabled = false; - } -#endregion - -#region Private Methods -#region Event Handlers - public void ExportForm_Load(object sender, EventArgs e) - { - cboFileFormat.Items.Clear(); - cboFileFormat.Items.Add(new ExportFormat(Save().Format.mRXML)); - cboFileFormat.Items.Add(new ExportFormat(Save().Format.mRCSV)); - cboFileFormat.Items.Add(new ExportFormat(Save().Format.vRDCSV)); - cboFileFormat.SelectedIndex = 0; - - ApplyLanguage(); - } - - public void txtFileName_TextChanged(System.Object sender, EventArgs e) - { - btnOK.Enabled = !string.IsNullOrEmpty(txtFileName.Text); - } - - public void btnBrowse_Click(System.Object sender, EventArgs e) - { - using (SaveFileDialog saveFileDialog = new SaveFileDialog()) - { - saveFileDialog.CheckPathExists = true; - saveFileDialog.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Personal); - saveFileDialog.OverwritePrompt = true; - - List fileTypes = new List(); - fileTypes.AddRange(new[] {Language.strFiltermRemoteXML, "*.xml"}); - fileTypes.AddRange(new[] {Language.strFiltermRemoteCSV, "*.csv"}); - fileTypes.AddRange(new[] {Language.strFiltervRD2008CSV, "*.csv"}); - fileTypes.AddRange(new[] {Language.strFilterAll, "*.*"}); - - saveFileDialog.Filter = string.Join("|", fileTypes.ToArray()); - - if (!(saveFileDialog.ShowDialog(this) == DialogResult.OK)) - { - return ; - } - - txtFileName.Text = saveFileDialog.FileName; - } - - } - - public void btnOK_Click(System.Object sender, EventArgs e) - { - DialogResult = DialogResult.OK; - } - - public void btnCancel_Click(System.Object sender, EventArgs e) - { - DialogResult = DialogResult.Cancel; - } -#endregion - - private void ApplyLanguage() - { - Text = Language.strExport; - - grpFile.Text = Language.strExportFile; - lblFileName.Text = Language.strLabelFilename; - btnBrowse.Text = Language.strButtonBrowse; - lblFileFormat.Text = Language.strFileFormatLabel; - - grpItems.Text = Language.strExportItems; - rdoExportEverything.Text = Language.strExportEverything; - rdoExportSelectedFolder.Text = Language.strExportSelectedFolder; - rdoExportSelectedConnection.Text = Language.strExportSelectedConnection; - - grpProperties.Text = Language.strExportProperties; - chkUsername.Text = Language.strCheckboxUsername; - chkPassword.Text = Language.strCheckboxPassword; - chkDomain.Text = Language.strCheckboxDomain; - chkInheritance.Text = Language.strCheckboxInheritance; - lblUncheckProperties.Text = Language.strUncheckProperties; - - btnOK.Text = Language.strButtonOK; - btnCancel.Text = Language.strButtonCancel; - } -#endregion - -#region Public Enumerations - public enum ExportScope - { - Everything, - SelectedFolder, - SelectedConnection - } -#endregion - -#region Private Classes - [ImmutableObject(true)]private class ExportFormat - { -#region Public Properties - private Config.Connections.Save.Format _format; -public Config.Connections.Save.Format Format - { - get - { - return _format; - } - } -#endregion - -#region Constructors - public ExportFormat(Config.Connections.Save.Format format) - { - _format = format; - } -#endregion - -#region Public Methods - public override string ToString() - { - switch (Format) - { - case Config.Connections.Save_Renamed.Format.mRXML: - return Language.strMremoteNgXml; - case Config.Connections.Save_Renamed.Format.mRCSV: - return Language.strMremoteNgCsv; - case Config.Connections.Save_Renamed.Format.vRDCSV: - return Language.strVisionAppRemoteDesktopCsv; - default: - return Format.ToString(); - } - } -#endregion - } -#endregion - } -} diff --git a/mRemoteV1/CS/Forms/OptionsForm.Designer.cs b/mRemoteV1/CS/Forms/OptionsForm.Designer.cs deleted file mode 100644 index 06713fcf8..000000000 --- a/mRemoteV1/CS/Forms/OptionsForm.Designer.cs +++ /dev/null @@ -1,117 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - - -namespace mRemoteNG.Forms -{ - [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()]public - partial class OptionsForm : System.Windows.Forms.Form - { - - //Form overrides dispose to clean up the component list. - [System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing) - { - try - { - if (disposing && components != null) - { - components.Dispose(); - } - } - finally - { - base.Dispose(disposing); - } - } - - //Required by the Windows Form Designer - private System.ComponentModel.Container components = null; - - //NOTE: The following procedure is required by the Windows Form Designer - //It can be modified using the Windows Form Designer. - //Do not modify it using the code editor. - [System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OptionsForm)); - mRemoteNG.Controls.Alignment Alignment2 = new mRemoteNG.Controls.Alignment(); - this.PagePanel = new System.Windows.Forms.Panel(); - base.Load += new System.EventHandler(OptionsForm_Load); - base.FormClosing += new System.Windows.Forms.FormClosingEventHandler(OptionsForm_FormClosing); - this.OkButton = new System.Windows.Forms.Button(); - this.OkButton.Click += new System.EventHandler(this.OkButton_Click); - this.CancelButtonControl = new System.Windows.Forms.Button(); - this.CancelButtonControl.Click += new System.EventHandler(this.CancelButtonControl_Click); - this.PageListView = new mRemoteNG.Controls.ListView(); - this.PageListView.ItemSelectionChanged += new System.Windows.Forms.ListViewItemSelectionChangedEventHandler(this.PageListView_ItemSelectionChanged); - this.PageListView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.PageListView_MouseUp); - this.SuspendLayout(); - // - //PagePanel - // - resources.ApplyResources(this.PagePanel, "PagePanel"); - this.PagePanel.Name = "PagePanel"; - // - //OkButton - // - resources.ApplyResources(this.OkButton, "OkButton"); - this.OkButton.Name = "OkButton"; - this.OkButton.UseVisualStyleBackColor = true; - // - //CancelButtonControl - // - this.CancelButtonControl.DialogResult = System.Windows.Forms.DialogResult.Cancel; - resources.ApplyResources(this.CancelButtonControl, "CancelButtonControl"); - this.CancelButtonControl.Name = "CancelButtonControl"; - this.CancelButtonControl.UseVisualStyleBackColor = true; - // - //PageListView - // - this.PageListView.InactiveHighlightBackColor = System.Drawing.SystemColors.Highlight; - this.PageListView.InactiveHighlightBorderColor = System.Drawing.SystemColors.HotTrack; - this.PageListView.InactiveHighlightForeColor = System.Drawing.SystemColors.HighlightText; - Alignment2.Horizontal = mRemoteNG.Controls.HorizontalAlignment.Left; - Alignment2.Vertical = mRemoteNG.Controls.VerticalAlignment.Middle; - this.PageListView.LabelAlignment = Alignment2; - resources.ApplyResources(this.PageListView, "PageListView"); - this.PageListView.MultiSelect = false; - this.PageListView.Name = "PageListView"; - this.PageListView.OwnerDraw = true; - this.PageListView.ShowFocusCues = false; - this.PageListView.TileSize = new System.Drawing.Size(150, 30); - this.PageListView.UseCompatibleStateImageBehavior = false; - this.PageListView.View = System.Windows.Forms.View.Tile; - // - //OptionsForm - // - this.AcceptButton = this.OkButton; - resources.ApplyResources(this, "$this"); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.CancelButton = this.CancelButtonControl; - this.Controls.Add(this.CancelButtonControl); - this.Controls.Add(this.OkButton); - this.Controls.Add(this.PagePanel); - this.Controls.Add(this.PageListView); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "OptionsForm"; - this.ShowInTaskbar = false; - this.ResumeLayout(false); - - } - internal mRemoteNG.Controls.ListView PageListView; - internal System.Windows.Forms.Panel PagePanel; - internal System.Windows.Forms.Button OkButton; - internal System.Windows.Forms.Button CancelButtonControl; - } -} diff --git a/mRemoteV1/CS/Forms/OptionsPages/AdvancedPage.Designer.cs b/mRemoteV1/CS/Forms/OptionsPages/AdvancedPage.Designer.cs deleted file mode 100644 index 1fa816ab1..000000000 --- a/mRemoteV1/CS/Forms/OptionsPages/AdvancedPage.Designer.cs +++ /dev/null @@ -1,286 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - - -namespace mRemoteNG.Forms.OptionsPages -{ - [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()]public - partial class AdvancedPage : OptionsPage - { - - //UserControl overrides dispose to clean up the component list. - [System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing) - { - try - { - if (disposing && components != null) - { - components.Dispose(); - } - } - finally - { - base.Dispose(disposing); - } - } - - //Required by the Windows Form Designer - private System.ComponentModel.Container components = null; - - //NOTE: The following procedure is required by the Windows Form Designer - //It can be modified using the Windows Form Designer. - //Do not modify it using the code editor. - [System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AdvancedPage)); - this.chkWriteLogFile = new System.Windows.Forms.CheckBox(); - this.chkAutomaticallyGetSessionInfo = new System.Windows.Forms.CheckBox(); - this.lblXulRunnerPath = new System.Windows.Forms.Label(); - this.lblMaximumPuttyWaitTime = new System.Windows.Forms.Label(); - this.chkEncryptCompleteFile = new System.Windows.Forms.CheckBox(); - this.chkAutomaticReconnect = new System.Windows.Forms.CheckBox(); - this.btnBrowseXulRunnerPath = new System.Windows.Forms.Button(); - this.btnBrowseXulRunnerPath.Click += new System.EventHandler(this.btnBrowseXulRunnerPath_Click); - this.numPuttyWaitTime = new System.Windows.Forms.NumericUpDown(); - this.chkUseCustomPuttyPath = new System.Windows.Forms.CheckBox(); - this.chkUseCustomPuttyPath.CheckedChanged += new System.EventHandler(this.chkUseCustomPuttyPath_CheckedChanged); - this.lblConfigurePuttySessions = new System.Windows.Forms.Label(); - this.txtXULrunnerPath = new System.Windows.Forms.TextBox(); - this.numUVNCSCPort = new System.Windows.Forms.NumericUpDown(); - this.txtCustomPuttyPath = new System.Windows.Forms.TextBox(); - this.txtCustomPuttyPath.TextChanged += new System.EventHandler(this.txtCustomPuttyPath_TextChanged); - this.btnLaunchPutty = new System.Windows.Forms.Button(); - this.btnLaunchPutty.Click += new System.EventHandler(this.btnLaunchPutty_Click); - this.lblUVNCSCPort = new System.Windows.Forms.Label(); - this.lblSeconds = new System.Windows.Forms.Label(); - this.btnBrowseCustomPuttyPath = new System.Windows.Forms.Button(); - this.btnBrowseCustomPuttyPath.Click += new System.EventHandler(this.btnBrowseCustomPuttyPath_Click); - ((System.ComponentModel.ISupportInitialize) this.numPuttyWaitTime).BeginInit(); - ((System.ComponentModel.ISupportInitialize) this.numUVNCSCPort).BeginInit(); - this.SuspendLayout(); - // - //chkWriteLogFile - // - this.chkWriteLogFile.AutoSize = true; - this.chkWriteLogFile.Location = new System.Drawing.Point(3, 0); - this.chkWriteLogFile.Name = "chkWriteLogFile"; - this.chkWriteLogFile.Size = new System.Drawing.Size(171, 17); - this.chkWriteLogFile.TabIndex = 17; - this.chkWriteLogFile.Text = "Write log file (mRemoteNG.log)"; - this.chkWriteLogFile.UseVisualStyleBackColor = true; - // - //chkAutomaticallyGetSessionInfo - // - this.chkAutomaticallyGetSessionInfo.AutoSize = true; - this.chkAutomaticallyGetSessionInfo.Location = new System.Drawing.Point(3, 46); - this.chkAutomaticallyGetSessionInfo.Name = "chkAutomaticallyGetSessionInfo"; - this.chkAutomaticallyGetSessionInfo.Size = new System.Drawing.Size(198, 17); - this.chkAutomaticallyGetSessionInfo.TabIndex = 19; - this.chkAutomaticallyGetSessionInfo.Text = "Automatically get session information"; - this.chkAutomaticallyGetSessionInfo.UseVisualStyleBackColor = true; - // - //lblXulRunnerPath - // - this.lblXulRunnerPath.AutoSize = true; - this.lblXulRunnerPath.Location = new System.Drawing.Point(3, 217); - this.lblXulRunnerPath.Name = "lblXulRunnerPath"; - this.lblXulRunnerPath.Size = new System.Drawing.Size(85, 13); - this.lblXulRunnerPath.TabIndex = 29; - this.lblXulRunnerPath.Text = "XULrunner path:"; - // - //lblMaximumPuttyWaitTime - // - this.lblMaximumPuttyWaitTime.Location = new System.Drawing.Point(3, 185); - this.lblMaximumPuttyWaitTime.Name = "lblMaximumPuttyWaitTime"; - this.lblMaximumPuttyWaitTime.Size = new System.Drawing.Size(364, 13); - this.lblMaximumPuttyWaitTime.TabIndex = 26; - this.lblMaximumPuttyWaitTime.Text = "Maximum PuTTY wait time:"; - this.lblMaximumPuttyWaitTime.TextAlign = System.Drawing.ContentAlignment.TopRight; - // - //chkEncryptCompleteFile - // - this.chkEncryptCompleteFile.AutoSize = true; - this.chkEncryptCompleteFile.Location = new System.Drawing.Point(3, 23); - this.chkEncryptCompleteFile.Name = "chkEncryptCompleteFile"; - this.chkEncryptCompleteFile.Size = new System.Drawing.Size(180, 17); - this.chkEncryptCompleteFile.TabIndex = 18; - this.chkEncryptCompleteFile.Text = "Encrypt complete connection file"; - this.chkEncryptCompleteFile.UseVisualStyleBackColor = true; - // - //chkAutomaticReconnect - // - this.chkAutomaticReconnect.AutoSize = true; - this.chkAutomaticReconnect.Location = new System.Drawing.Point(3, 69); - this.chkAutomaticReconnect.Name = "chkAutomaticReconnect"; - this.chkAutomaticReconnect.Size = new System.Drawing.Size(399, 17); - this.chkAutomaticReconnect.TabIndex = 20; - this.chkAutomaticReconnect.Text = "Automatically try to reconnect when disconnected from server (RDP && ICA only)"; - this.chkAutomaticReconnect.UseVisualStyleBackColor = true; - // - //btnBrowseXulRunnerPath - // - this.btnBrowseXulRunnerPath.Location = new System.Drawing.Point(373, 233); - this.btnBrowseXulRunnerPath.Name = "btnBrowseXulRunnerPath"; - this.btnBrowseXulRunnerPath.Size = new System.Drawing.Size(75, 23); - this.btnBrowseXulRunnerPath.TabIndex = 31; - this.btnBrowseXulRunnerPath.Text = "Browse..."; - this.btnBrowseXulRunnerPath.UseVisualStyleBackColor = true; - // - //numPuttyWaitTime - // - this.numPuttyWaitTime.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.numPuttyWaitTime.Location = new System.Drawing.Point(373, 183); - this.numPuttyWaitTime.Maximum = new decimal(new int[] {999, 0, 0, 0}); - this.numPuttyWaitTime.Name = "numPuttyWaitTime"; - this.numPuttyWaitTime.Size = new System.Drawing.Size(49, 20); - this.numPuttyWaitTime.TabIndex = 27; - this.numPuttyWaitTime.Value = new decimal(new int[] {5, 0, 0, 0}); - // - //chkUseCustomPuttyPath - // - this.chkUseCustomPuttyPath.AutoSize = true; - this.chkUseCustomPuttyPath.Location = new System.Drawing.Point(3, 92); - this.chkUseCustomPuttyPath.Name = "chkUseCustomPuttyPath"; - this.chkUseCustomPuttyPath.Size = new System.Drawing.Size(146, 17); - this.chkUseCustomPuttyPath.TabIndex = 21; - this.chkUseCustomPuttyPath.Text = "Use custom PuTTY path:"; - this.chkUseCustomPuttyPath.UseVisualStyleBackColor = true; - // - //lblConfigurePuttySessions - // - this.lblConfigurePuttySessions.Location = new System.Drawing.Point(3, 154); - this.lblConfigurePuttySessions.Name = "lblConfigurePuttySessions"; - this.lblConfigurePuttySessions.Size = new System.Drawing.Size(364, 13); - this.lblConfigurePuttySessions.TabIndex = 24; - this.lblConfigurePuttySessions.Text = "To configure PuTTY sessions click this button:"; - this.lblConfigurePuttySessions.TextAlign = System.Drawing.ContentAlignment.TopRight; - // - //txtXULrunnerPath - // - this.txtXULrunnerPath.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.txtXULrunnerPath.Location = new System.Drawing.Point(21, 235); - this.txtXULrunnerPath.Name = "txtXULrunnerPath"; - this.txtXULrunnerPath.Size = new System.Drawing.Size(346, 20); - this.txtXULrunnerPath.TabIndex = 30; - // - //numUVNCSCPort - // - this.numUVNCSCPort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.numUVNCSCPort.Location = new System.Drawing.Point(373, 276); - this.numUVNCSCPort.Maximum = new decimal(new int[] {65535, 0, 0, 0}); - this.numUVNCSCPort.Name = "numUVNCSCPort"; - this.numUVNCSCPort.Size = new System.Drawing.Size(72, 20); - this.numUVNCSCPort.TabIndex = 33; - this.numUVNCSCPort.Value = new decimal(new int[] {5500, 0, 0, 0}); - this.numUVNCSCPort.Visible = false; - // - //txtCustomPuttyPath - // - this.txtCustomPuttyPath.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.txtCustomPuttyPath.Enabled = false; - this.txtCustomPuttyPath.Location = new System.Drawing.Point(21, 115); - this.txtCustomPuttyPath.Name = "txtCustomPuttyPath"; - this.txtCustomPuttyPath.Size = new System.Drawing.Size(346, 20); - this.txtCustomPuttyPath.TabIndex = 22; - // - //btnLaunchPutty - // - this.btnLaunchPutty.Image = global::My.Resources.Resources.PuttyConfig; - this.btnLaunchPutty.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnLaunchPutty.Location = new System.Drawing.Point(373, 149); - this.btnLaunchPutty.Name = "btnLaunchPutty"; - this.btnLaunchPutty.Size = new System.Drawing.Size(110, 23); - this.btnLaunchPutty.TabIndex = 25; - this.btnLaunchPutty.Text = "Launch PuTTY"; - this.btnLaunchPutty.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.btnLaunchPutty.UseVisualStyleBackColor = true; - // - //lblUVNCSCPort - // - this.lblUVNCSCPort.Location = new System.Drawing.Point(3, 278); - this.lblUVNCSCPort.Name = "lblUVNCSCPort"; - this.lblUVNCSCPort.Size = new System.Drawing.Size(364, 13); - this.lblUVNCSCPort.TabIndex = 32; - this.lblUVNCSCPort.Text = "UltraVNC SingleClick Listening Port:"; - this.lblUVNCSCPort.TextAlign = System.Drawing.ContentAlignment.TopRight; - this.lblUVNCSCPort.Visible = false; - // - //lblSeconds - // - this.lblSeconds.AutoSize = true; - this.lblSeconds.Location = new System.Drawing.Point(428, 185); - this.lblSeconds.Name = "lblSeconds"; - this.lblSeconds.Size = new System.Drawing.Size(47, 13); - this.lblSeconds.TabIndex = 28; - this.lblSeconds.Text = "seconds"; - // - //btnBrowseCustomPuttyPath - // - this.btnBrowseCustomPuttyPath.Enabled = false; - this.btnBrowseCustomPuttyPath.Location = new System.Drawing.Point(373, 113); - this.btnBrowseCustomPuttyPath.Name = "btnBrowseCustomPuttyPath"; - this.btnBrowseCustomPuttyPath.Size = new System.Drawing.Size(75, 23); - this.btnBrowseCustomPuttyPath.TabIndex = 23; - this.btnBrowseCustomPuttyPath.Text = "Browse..."; - this.btnBrowseCustomPuttyPath.UseVisualStyleBackColor = true; - // - //AdvancedPage - // - this.AutoScaleDimensions = new System.Drawing.SizeF((float) (6.0F), (float) (13.0F)); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.chkWriteLogFile); - this.Controls.Add(this.chkAutomaticallyGetSessionInfo); - this.Controls.Add(this.lblXulRunnerPath); - this.Controls.Add(this.lblMaximumPuttyWaitTime); - this.Controls.Add(this.chkEncryptCompleteFile); - this.Controls.Add(this.chkAutomaticReconnect); - this.Controls.Add(this.btnBrowseXulRunnerPath); - this.Controls.Add(this.numPuttyWaitTime); - this.Controls.Add(this.chkUseCustomPuttyPath); - this.Controls.Add(this.lblConfigurePuttySessions); - this.Controls.Add(this.txtXULrunnerPath); - this.Controls.Add(this.numUVNCSCPort); - this.Controls.Add(this.txtCustomPuttyPath); - this.Controls.Add(this.btnLaunchPutty); - this.Controls.Add(this.lblUVNCSCPort); - this.Controls.Add(this.lblSeconds); - this.Controls.Add(this.btnBrowseCustomPuttyPath); - this.Name = "AdvancedPage"; - this.PageIcon = (System.Drawing.Icon) (resources.GetObject("$this.PageIcon")); - this.Size = new System.Drawing.Size(610, 489); - ((System.ComponentModel.ISupportInitialize) this.numPuttyWaitTime).EndInit(); - ((System.ComponentModel.ISupportInitialize) this.numUVNCSCPort).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); - - } - internal System.Windows.Forms.CheckBox chkWriteLogFile; - internal System.Windows.Forms.CheckBox chkAutomaticallyGetSessionInfo; - internal System.Windows.Forms.Label lblXulRunnerPath; - internal System.Windows.Forms.Label lblMaximumPuttyWaitTime; - internal System.Windows.Forms.CheckBox chkEncryptCompleteFile; - internal System.Windows.Forms.CheckBox chkAutomaticReconnect; - internal System.Windows.Forms.Button btnBrowseXulRunnerPath; - internal System.Windows.Forms.NumericUpDown numPuttyWaitTime; - internal System.Windows.Forms.CheckBox chkUseCustomPuttyPath; - internal System.Windows.Forms.Label lblConfigurePuttySessions; - internal System.Windows.Forms.TextBox txtXULrunnerPath; - internal System.Windows.Forms.NumericUpDown numUVNCSCPort; - internal System.Windows.Forms.TextBox txtCustomPuttyPath; - internal System.Windows.Forms.Button btnLaunchPutty; - internal System.Windows.Forms.Label lblUVNCSCPort; - internal System.Windows.Forms.Label lblSeconds; - internal System.Windows.Forms.Button btnBrowseCustomPuttyPath; - - } -} diff --git a/mRemoteV1/CS/Forms/OptionsPages/AdvancedPage.cs b/mRemoteV1/CS/Forms/OptionsPages/AdvancedPage.cs deleted file mode 100644 index c996dbea7..000000000 --- a/mRemoteV1/CS/Forms/OptionsPages/AdvancedPage.cs +++ /dev/null @@ -1,226 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - -using System.IO; -//using mRemoteNG.App.Info; -using mRemoteNG.My; -using mRemoteNG.Connection.Protocol; -using mRemoteNG.Tools; -using PSTaskDialog; - - -namespace mRemoteNG.Forms.OptionsPages -{ - public partial class AdvancedPage - { - public AdvancedPage() - { - InitializeComponent(); - } -#region Public Methods -public override string PageName - { - get - { - return Language.strTabAdvanced; - } - set - { - } - } - - public override void ApplyLanguage() - { - base.ApplyLanguage(); - - lblSeconds.Text = Language.strLabelSeconds; - lblMaximumPuttyWaitTime.Text = Language.strLabelPuttyTimeout; - chkAutomaticReconnect.Text = Language.strCheckboxAutomaticReconnect; - lblConfigurePuttySessions.Text = Language.strLabelPuttySessionsConfig; - btnLaunchPutty.Text = Language.strButtonLaunchPutty; - btnBrowseCustomPuttyPath.Text = Language.strButtonBrowse; - chkUseCustomPuttyPath.Text = Language.strCheckboxPuttyPath; - chkAutomaticallyGetSessionInfo.Text = Language.strAutomaticallyGetSessionInfo; - chkWriteLogFile.Text = Language.strWriteLogFile; - lblUVNCSCPort.Text = Language.strUltraVNCSCListeningPort; - lblXulRunnerPath.Text = Language.strXULrunnerPath; - btnBrowseXulRunnerPath.Text = Language.strButtonBrowse; - chkEncryptCompleteFile.Text = Language.strEncryptCompleteConnectionFile; - } - - public override void LoadSettings() - { - base.SaveSettings(); - - chkWriteLogFile.Checked = System.Convert.ToBoolean(My.Settings.Default.WriteLogFile); - chkEncryptCompleteFile.Checked = System.Convert.ToBoolean(My.Settings.Default.EncryptCompleteConnectionsFile); - chkAutomaticallyGetSessionInfo.Checked = System.Convert.ToBoolean(My.Settings.Default.AutomaticallyGetSessionInfo); - chkAutomaticReconnect.Checked = System.Convert.ToBoolean(My.Settings.Default.ReconnectOnDisconnect); - numPuttyWaitTime.Value = System.Convert.ToDecimal(My.Settings.Default.MaxPuttyWaitTime); - - chkUseCustomPuttyPath.Checked = MySettingsProperty.Settings.UseCustomPuttyPath; - txtCustomPuttyPath.Text = MySettingsProperty.Settings.CustomPuttyPath; - SetPuttyLaunchButtonEnabled(); - - numUVNCSCPort.Value = System.Convert.ToDecimal(My.Settings.Default.UVNCSCPort); - - txtXULrunnerPath.Text = System.Convert.ToString(My.Settings.Default.XULRunnerPath); - } - - public override void SaveSettings() - { - base.SaveSettings(); - - My.Settings.Default.WriteLogFile = chkWriteLogFile.Checked; - My.Settings.Default.EncryptCompleteConnectionsFile = chkEncryptCompleteFile.Checked; - My.Settings.Default.AutomaticallyGetSessionInfo = chkAutomaticallyGetSessionInfo.Checked; - My.Settings.Default.ReconnectOnDisconnect = chkAutomaticReconnect.Checked; - - bool puttyPathChanged = false; - if (!(MySettingsProperty.Settings.CustomPuttyPath == txtCustomPuttyPath.Text)) - { - puttyPathChanged = true; - MySettingsProperty.Settings.CustomPuttyPath = txtCustomPuttyPath.Text; - } - if (!(MySettingsProperty.Settings.UseCustomPuttyPath == chkUseCustomPuttyPath.Checked)) - { - puttyPathChanged = true; - MySettingsProperty.Settings.UseCustomPuttyPath = chkUseCustomPuttyPath.Checked; - } - if (puttyPathChanged) - { - if (MySettingsProperty.Settings.UseCustomPuttyPath) - { - PuttyBase.PuttyPath = MySettingsProperty.Settings.CustomPuttyPath; - } - else - { - PuttyBase.PuttyPath = App.Info.General.PuttyPath; - } - Config.Putty.Sessions.AddSessionsToTree(); - } - - My.Settings.Default.MaxPuttyWaitTime = numPuttyWaitTime.Value; - - My.Settings.Default.UVNCSCPort = numUVNCSCPort.Value; - - My.Settings.Default.XULRunnerPath = txtXULrunnerPath.Text; - } -#endregion - -#region Private Methods -#region Event Handlers - public void chkUseCustomPuttyPath_CheckedChanged(object sender, EventArgs e) - { - txtCustomPuttyPath.Enabled = chkUseCustomPuttyPath.Checked; - btnBrowseCustomPuttyPath.Enabled = chkUseCustomPuttyPath.Checked; - SetPuttyLaunchButtonEnabled(); - } - - public void txtCustomPuttyPath_TextChanged(object sender, EventArgs e) - { - SetPuttyLaunchButtonEnabled(); - } - - public void btnBrowseCustomPuttyPath_Click(object sender, EventArgs e) - { - using (OpenFileDialog openFileDialog = new OpenFileDialog()) - { - openFileDialog.Filter = string.Format("{0}|*.exe|{1}|*.*", Language.strFilterApplication, Language.strFilterAll); - openFileDialog.FileName = Path.GetFileName(App.Info.General.PuttyPath); - openFileDialog.CheckFileExists = true; - openFileDialog.Multiselect = false; - - if (openFileDialog.ShowDialog() == DialogResult.OK) - { - txtCustomPuttyPath.Text = openFileDialog.FileName; - SetPuttyLaunchButtonEnabled(); - } - } - - } - - public void btnLaunchPutty_Click(object sender, EventArgs e) - { - try - { - PuttyProcessController puttyProcess = new PuttyProcessController(); - string fileName = ""; - if (chkUseCustomPuttyPath.Checked) - { - fileName = txtCustomPuttyPath.Text; - } - else - { - fileName = App.Info.General.PuttyPath; - } - puttyProcess.Start(fileName); - puttyProcess.SetControlText("Button", "&Cancel", "&Close"); - puttyProcess.SetControlVisible("Button", "&Open", false); - puttyProcess.WaitForExit(); - } - catch (Exception ex) - { - cTaskDialog.MessageBox(System.Convert.ToString(Application.Info.ProductName), Language.strErrorCouldNotLaunchPutty, "", ex.Message, "", "", eTaskDialogButtons.OK, eSysIcons.Error, null); - } - } - - public void btnBrowseXulRunnerPath_Click(object sender, EventArgs e) - { - FolderBrowserDialog oDlg = new FolderBrowserDialog(); - oDlg.ShowNewFolderButton = false; - - if (oDlg.ShowDialog() == DialogResult.OK) - { - txtXULrunnerPath.Text = oDlg.SelectedPath; - } - - oDlg.Dispose(); - } -#endregion - - private void SetPuttyLaunchButtonEnabled() - { - string puttyPath = ""; - if (chkUseCustomPuttyPath.Checked) - { - puttyPath = txtCustomPuttyPath.Text; - } - else - { - puttyPath = App.Info.General.PuttyPath; - } - - bool exists = false; - try - { - exists = File.Exists(puttyPath); - } - catch - { - } - - if (exists) - { - lblConfigurePuttySessions.Enabled = true; - btnLaunchPutty.Enabled = true; - } - else - { - lblConfigurePuttySessions.Enabled = false; - btnLaunchPutty.Enabled = false; - } - } -#endregion - } -} diff --git a/mRemoteV1/CS/Forms/OptionsPages/AppearancePage.Designer.cs b/mRemoteV1/CS/Forms/OptionsPages/AppearancePage.Designer.cs deleted file mode 100644 index f0ec1a191..000000000 --- a/mRemoteV1/CS/Forms/OptionsPages/AppearancePage.Designer.cs +++ /dev/null @@ -1,149 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - - -namespace mRemoteNG.Forms.OptionsPages -{ - [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()]public - partial class AppearancePage : OptionsPage - { - - //UserControl overrides dispose to clean up the component list. - [System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing) - { - try - { - if (disposing && components != null) - { - components.Dispose(); - } - } - finally - { - base.Dispose(disposing); - } - } - - //Required by the Windows Form Designer - private System.ComponentModel.Container components = null; - - //NOTE: The following procedure is required by the Windows Form Designer - //It can be modified using the Windows Form Designer. - //Do not modify it using the code editor. - [System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AppearancePage)); - this.lblLanguageRestartRequired = new System.Windows.Forms.Label(); - this.cboLanguage = new System.Windows.Forms.ComboBox(); - this.lblLanguage = new System.Windows.Forms.Label(); - this.chkShowFullConnectionsFilePathInTitle = new System.Windows.Forms.CheckBox(); - this.chkShowDescriptionTooltipsInTree = new System.Windows.Forms.CheckBox(); - this.chkShowSystemTrayIcon = new System.Windows.Forms.CheckBox(); - this.chkMinimizeToSystemTray = new System.Windows.Forms.CheckBox(); - this.SuspendLayout(); - // - //lblLanguageRestartRequired - // - this.lblLanguageRestartRequired.AutoSize = true; - this.lblLanguageRestartRequired.Location = new System.Drawing.Point(3, 56); - this.lblLanguageRestartRequired.Name = "lblLanguageRestartRequired"; - this.lblLanguageRestartRequired.Size = new System.Drawing.Size(380, 13); - this.lblLanguageRestartRequired.TabIndex = 9; - this.lblLanguageRestartRequired.Text = "mRemoteNG must be restarted before changes to the language will take effect."; - // - //cboLanguage - // - this.cboLanguage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cboLanguage.FormattingEnabled = true; - this.cboLanguage.Location = new System.Drawing.Point(3, 24); - this.cboLanguage.Name = "cboLanguage"; - this.cboLanguage.Size = new System.Drawing.Size(304, 21); - this.cboLanguage.Sorted = true; - this.cboLanguage.TabIndex = 8; - // - //lblLanguage - // - this.lblLanguage.AutoSize = true; - this.lblLanguage.Location = new System.Drawing.Point(3, 0); - this.lblLanguage.Name = "lblLanguage"; - this.lblLanguage.Size = new System.Drawing.Size(55, 13); - this.lblLanguage.TabIndex = 7; - this.lblLanguage.Text = "Language"; - // - //chkShowFullConnectionsFilePathInTitle - // - this.chkShowFullConnectionsFilePathInTitle.AutoSize = true; - this.chkShowFullConnectionsFilePathInTitle.Location = new System.Drawing.Point(3, 141); - this.chkShowFullConnectionsFilePathInTitle.Name = "chkShowFullConnectionsFilePathInTitle"; - this.chkShowFullConnectionsFilePathInTitle.Size = new System.Drawing.Size(239, 17); - this.chkShowFullConnectionsFilePathInTitle.TabIndex = 11; - this.chkShowFullConnectionsFilePathInTitle.Text = "Show full connections file path in window title"; - this.chkShowFullConnectionsFilePathInTitle.UseVisualStyleBackColor = true; - // - //chkShowDescriptionTooltipsInTree - // - this.chkShowDescriptionTooltipsInTree.AutoSize = true; - this.chkShowDescriptionTooltipsInTree.Location = new System.Drawing.Point(3, 118); - this.chkShowDescriptionTooltipsInTree.Name = "chkShowDescriptionTooltipsInTree"; - this.chkShowDescriptionTooltipsInTree.Size = new System.Drawing.Size(231, 17); - this.chkShowDescriptionTooltipsInTree.TabIndex = 10; - this.chkShowDescriptionTooltipsInTree.Text = "Show description tooltips in connection tree"; - this.chkShowDescriptionTooltipsInTree.UseVisualStyleBackColor = true; - // - //chkShowSystemTrayIcon - // - this.chkShowSystemTrayIcon.AutoSize = true; - this.chkShowSystemTrayIcon.Location = new System.Drawing.Point(3, 187); - this.chkShowSystemTrayIcon.Name = "chkShowSystemTrayIcon"; - this.chkShowSystemTrayIcon.Size = new System.Drawing.Size(172, 17); - this.chkShowSystemTrayIcon.TabIndex = 12; - this.chkShowSystemTrayIcon.Text = "Always show System Tray Icon"; - this.chkShowSystemTrayIcon.UseVisualStyleBackColor = true; - // - //chkMinimizeToSystemTray - // - this.chkMinimizeToSystemTray.AutoSize = true; - this.chkMinimizeToSystemTray.Location = new System.Drawing.Point(3, 210); - this.chkMinimizeToSystemTray.Name = "chkMinimizeToSystemTray"; - this.chkMinimizeToSystemTray.Size = new System.Drawing.Size(139, 17); - this.chkMinimizeToSystemTray.TabIndex = 13; - this.chkMinimizeToSystemTray.Text = "Minimize to System Tray"; - this.chkMinimizeToSystemTray.UseVisualStyleBackColor = true; - // - //AppearancePage - // - this.Controls.Add(this.lblLanguageRestartRequired); - this.Controls.Add(this.cboLanguage); - this.Controls.Add(this.lblLanguage); - this.Controls.Add(this.chkShowFullConnectionsFilePathInTitle); - this.Controls.Add(this.chkShowDescriptionTooltipsInTree); - this.Controls.Add(this.chkShowSystemTrayIcon); - this.Controls.Add(this.chkMinimizeToSystemTray); - this.Name = "AppearancePage"; - this.PageIcon = (System.Drawing.Icon) (resources.GetObject("$this.PageIcon")); - this.Size = new System.Drawing.Size(610, 489); - this.ResumeLayout(false); - this.PerformLayout(); - - } - internal System.Windows.Forms.Label Label1; - internal System.Windows.Forms.Label lblLanguageRestartRequired; - internal System.Windows.Forms.ComboBox cboLanguage; - internal System.Windows.Forms.Label lblLanguage; - internal System.Windows.Forms.CheckBox chkShowFullConnectionsFilePathInTitle; - internal System.Windows.Forms.CheckBox chkShowDescriptionTooltipsInTree; - internal System.Windows.Forms.CheckBox chkShowSystemTrayIcon; - internal System.Windows.Forms.CheckBox chkMinimizeToSystemTray; - - } -} diff --git a/mRemoteV1/CS/Forms/OptionsPages/AppearancePage.cs b/mRemoteV1/CS/Forms/OptionsPages/AppearancePage.cs deleted file mode 100644 index bee9805e0..000000000 --- a/mRemoteV1/CS/Forms/OptionsPages/AppearancePage.cs +++ /dev/null @@ -1,112 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - -using mRemoteNG.App; -using mRemoteNG.My; - - -namespace mRemoteNG.Forms.OptionsPages -{ - public partial class AppearancePage - { - public AppearancePage() - { - InitializeComponent(); - } -public override string PageName - { - get - { - return Language.strTabAppearance; - } - set - { - } - } - - public override void ApplyLanguage() - { - base.ApplyLanguage(); - - lblLanguage.Text = Language.strLanguage; - lblLanguageRestartRequired.Text = string.Format(Language.strLanguageRestartRequired, Application.Info.ProductName); - chkShowDescriptionTooltipsInTree.Text = Language.strShowDescriptionTooltips; - chkShowFullConnectionsFilePathInTitle.Text = Language.strShowFullConsFilePath; - chkShowSystemTrayIcon.Text = Language.strAlwaysShowSysTrayIcon; - chkMinimizeToSystemTray.Text = Language.strMinimizeToSysTray; - } - - public override void LoadSettings() - { - base.SaveSettings(); - - cboLanguage.Items.Clear(); - cboLanguage.Items.Add(Language.strLanguageDefault); - - foreach (string nativeName in SupportedCultures.CultureNativeNames) - { - cboLanguage.Items.Add(nativeName); - } - if (!string.IsNullOrEmpty(Settings.OverrideUICulture) && SupportedCultures.IsNameSupported(Settings.OverrideUICulture)) - { - cboLanguage.SelectedItem = SupportedCultures.get_CultureNativeName(Settings.OverrideUICulture); - } - if (cboLanguage.SelectedIndex == -1) - { - cboLanguage.SelectedIndex = 0; - } - - chkShowDescriptionTooltipsInTree.Checked = Settings.ShowDescriptionTooltipsInTree; - chkShowFullConnectionsFilePathInTitle.Checked = Settings.ShowCompleteConsPathInTitle; - chkShowSystemTrayIcon.Checked = Settings.ShowSystemTrayIcon; - chkMinimizeToSystemTray.Checked = Settings.MinimizeToTray; - } - - public override void SaveSettings() - { - base.SaveSettings(); - - if (cboLanguage.SelectedIndex > 0 && SupportedCultures.IsNativeNameSupported(System.Convert.ToString(cboLanguage.SelectedItem))) - { - Settings.OverrideUICulture = SupportedCultures.get_CultureName(System.Convert.ToString(cboLanguage.SelectedItem)); - } - else - { - Settings.OverrideUICulture = string.Empty; - } - - Settings.ShowDescriptionTooltipsInTree = chkShowDescriptionTooltipsInTree.Checked; - Settings.ShowCompleteConsPathInTitle = chkShowFullConnectionsFilePathInTitle.Checked; - frmMain.Default.ShowFullPathInTitle = chkShowFullConnectionsFilePathInTitle.Checked; - - Settings.ShowSystemTrayIcon = chkShowSystemTrayIcon.Checked; - if (Settings.ShowSystemTrayIcon) - { - if (Runtime.NotificationAreaIcon == null) - { - Runtime.NotificationAreaIcon = new Tools.Controls.NotificationAreaIcon(); - } - } - else - { - if (Runtime.NotificationAreaIcon != null) - { - Runtime.NotificationAreaIcon.Dispose(); - Runtime.NotificationAreaIcon = null; - } - } - - Settings.MinimizeToTray = chkMinimizeToSystemTray.Checked; - } - } -} diff --git a/mRemoteV1/CS/Forms/OptionsPages/ConnectionsPage.Designer.cs b/mRemoteV1/CS/Forms/OptionsPages/ConnectionsPage.Designer.cs deleted file mode 100644 index f530920b7..000000000 --- a/mRemoteV1/CS/Forms/OptionsPages/ConnectionsPage.Designer.cs +++ /dev/null @@ -1,414 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - - -namespace mRemoteNG.Forms.OptionsPages -{ - [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()]public - partial class ConnectionsPage : OptionsPage - { - - //UserControl overrides dispose to clean up the component list. - [System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing) - { - try - { - if (disposing && components != null) - { - components.Dispose(); - } - } - finally - { - base.Dispose(disposing); - } - } - - //Required by the Windows Form Designer - private System.ComponentModel.Container components = null; - - //NOTE: The following procedure is required by the Windows Form Designer - //It can be modified using the Windows Form Designer. - //Do not modify it using the code editor. - [System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConnectionsPage)); - this.pnlRdpReconnectionCount = new System.Windows.Forms.Panel(); - this.lblRdpReconnectionCount = new System.Windows.Forms.Label(); - this.numRdpReconnectionCount = new System.Windows.Forms.NumericUpDown(); - this.chkSingleClickOnConnectionOpensIt = new System.Windows.Forms.CheckBox(); - this.chkHostnameLikeDisplayName = new System.Windows.Forms.CheckBox(); - this.pnlDefaultCredentials = new System.Windows.Forms.Panel(); - this.radCredentialsCustom = new System.Windows.Forms.RadioButton(); - this.radCredentialsCustom.CheckedChanged += new System.EventHandler(this.radCredentialsCustom_CheckedChanged); - this.lblDefaultCredentials = new System.Windows.Forms.Label(); - this.radCredentialsNoInfo = new System.Windows.Forms.RadioButton(); - this.radCredentialsWindows = new System.Windows.Forms.RadioButton(); - this.txtCredentialsDomain = new System.Windows.Forms.TextBox(); - this.lblCredentialsUsername = new System.Windows.Forms.Label(); - this.txtCredentialsPassword = new System.Windows.Forms.TextBox(); - this.lblCredentialsPassword = new System.Windows.Forms.Label(); - this.txtCredentialsUsername = new System.Windows.Forms.TextBox(); - this.lblCredentialsDomain = new System.Windows.Forms.Label(); - this.chkSingleClickOnOpenedConnectionSwitchesToIt = new System.Windows.Forms.CheckBox(); - this.pnlAutoSave = new System.Windows.Forms.Panel(); - this.lblAutoSave1 = new System.Windows.Forms.Label(); - this.numAutoSave = new System.Windows.Forms.NumericUpDown(); - this.lblAutoSave2 = new System.Windows.Forms.Label(); - this.pnlConfirmCloseConnection = new System.Windows.Forms.Panel(); - this.lblClosingConnections = new System.Windows.Forms.Label(); - this.radCloseWarnAll = new System.Windows.Forms.RadioButton(); - this.radCloseWarnMultiple = new System.Windows.Forms.RadioButton(); - this.radCloseWarnExit = new System.Windows.Forms.RadioButton(); - this.radCloseWarnNever = new System.Windows.Forms.RadioButton(); - this.pnlRdpReconnectionCount.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize) this.numRdpReconnectionCount).BeginInit(); - this.pnlDefaultCredentials.SuspendLayout(); - this.pnlAutoSave.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize) this.numAutoSave).BeginInit(); - this.pnlConfirmCloseConnection.SuspendLayout(); - this.SuspendLayout(); - // - //pnlRdpReconnectionCount - // - this.pnlRdpReconnectionCount.Controls.Add(this.lblRdpReconnectionCount); - this.pnlRdpReconnectionCount.Controls.Add(this.numRdpReconnectionCount); - this.pnlRdpReconnectionCount.Location = new System.Drawing.Point(3, 69); - this.pnlRdpReconnectionCount.Name = "pnlRdpReconnectionCount"; - this.pnlRdpReconnectionCount.Size = new System.Drawing.Size(596, 29); - this.pnlRdpReconnectionCount.TabIndex = 10; - // - //lblRdpReconnectionCount - // - this.lblRdpReconnectionCount.Location = new System.Drawing.Point(6, 9); - this.lblRdpReconnectionCount.Name = "lblRdpReconnectionCount"; - this.lblRdpReconnectionCount.Size = new System.Drawing.Size(288, 13); - this.lblRdpReconnectionCount.TabIndex = 0; - this.lblRdpReconnectionCount.Text = "RDP Reconnection Count"; - this.lblRdpReconnectionCount.TextAlign = System.Drawing.ContentAlignment.TopRight; - // - //numRdpReconnectionCount - // - this.numRdpReconnectionCount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.numRdpReconnectionCount.Location = new System.Drawing.Point(300, 7); - this.numRdpReconnectionCount.Maximum = new decimal(new int[] {20, 0, 0, 0}); - this.numRdpReconnectionCount.Name = "numRdpReconnectionCount"; - this.numRdpReconnectionCount.Size = new System.Drawing.Size(53, 20); - this.numRdpReconnectionCount.TabIndex = 1; - this.numRdpReconnectionCount.Value = new decimal(new int[] {5, 0, 0, 0}); - // - //chkSingleClickOnConnectionOpensIt - // - this.chkSingleClickOnConnectionOpensIt.AutoSize = true; - this.chkSingleClickOnConnectionOpensIt.Location = new System.Drawing.Point(3, 0); - this.chkSingleClickOnConnectionOpensIt.Name = "chkSingleClickOnConnectionOpensIt"; - this.chkSingleClickOnConnectionOpensIt.Size = new System.Drawing.Size(191, 17); - this.chkSingleClickOnConnectionOpensIt.TabIndex = 7; - this.chkSingleClickOnConnectionOpensIt.Text = "Single click on connection opens it"; - this.chkSingleClickOnConnectionOpensIt.UseVisualStyleBackColor = true; - // - //chkHostnameLikeDisplayName - // - this.chkHostnameLikeDisplayName.AutoSize = true; - this.chkHostnameLikeDisplayName.Location = new System.Drawing.Point(3, 46); - this.chkHostnameLikeDisplayName.Name = "chkHostnameLikeDisplayName"; - this.chkHostnameLikeDisplayName.Size = new System.Drawing.Size(328, 17); - this.chkHostnameLikeDisplayName.TabIndex = 9; - this.chkHostnameLikeDisplayName.Text = "Set hostname like display name when creating new connections"; - this.chkHostnameLikeDisplayName.UseVisualStyleBackColor = true; - // - //pnlDefaultCredentials - // - this.pnlDefaultCredentials.Controls.Add(this.radCredentialsCustom); - this.pnlDefaultCredentials.Controls.Add(this.lblDefaultCredentials); - this.pnlDefaultCredentials.Controls.Add(this.radCredentialsNoInfo); - this.pnlDefaultCredentials.Controls.Add(this.radCredentialsWindows); - this.pnlDefaultCredentials.Controls.Add(this.txtCredentialsDomain); - this.pnlDefaultCredentials.Controls.Add(this.lblCredentialsUsername); - this.pnlDefaultCredentials.Controls.Add(this.txtCredentialsPassword); - this.pnlDefaultCredentials.Controls.Add(this.lblCredentialsPassword); - this.pnlDefaultCredentials.Controls.Add(this.txtCredentialsUsername); - this.pnlDefaultCredentials.Controls.Add(this.lblCredentialsDomain); - this.pnlDefaultCredentials.Location = new System.Drawing.Point(3, 139); - this.pnlDefaultCredentials.Name = "pnlDefaultCredentials"; - this.pnlDefaultCredentials.Size = new System.Drawing.Size(596, 175); - this.pnlDefaultCredentials.TabIndex = 12; - // - //radCredentialsCustom - // - this.radCredentialsCustom.AutoSize = true; - this.radCredentialsCustom.Location = new System.Drawing.Point(16, 69); - this.radCredentialsCustom.Name = "radCredentialsCustom"; - this.radCredentialsCustom.Size = new System.Drawing.Size(87, 17); - this.radCredentialsCustom.TabIndex = 3; - this.radCredentialsCustom.Text = "the following:"; - this.radCredentialsCustom.UseVisualStyleBackColor = true; - // - //lblDefaultCredentials - // - this.lblDefaultCredentials.AutoSize = true; - this.lblDefaultCredentials.Location = new System.Drawing.Point(3, 9); - this.lblDefaultCredentials.Name = "lblDefaultCredentials"; - this.lblDefaultCredentials.Size = new System.Drawing.Size(257, 13); - this.lblDefaultCredentials.TabIndex = 0; - this.lblDefaultCredentials.Text = "For empty Username, Password or Domain fields use:"; - // - //radCredentialsNoInfo - // - this.radCredentialsNoInfo.AutoSize = true; - this.radCredentialsNoInfo.Checked = true; - this.radCredentialsNoInfo.Location = new System.Drawing.Point(16, 31); - this.radCredentialsNoInfo.Name = "radCredentialsNoInfo"; - this.radCredentialsNoInfo.Size = new System.Drawing.Size(91, 17); - this.radCredentialsNoInfo.TabIndex = 1; - this.radCredentialsNoInfo.TabStop = true; - this.radCredentialsNoInfo.Text = "no information"; - this.radCredentialsNoInfo.UseVisualStyleBackColor = true; - // - //radCredentialsWindows - // - this.radCredentialsWindows.AutoSize = true; - this.radCredentialsWindows.Location = new System.Drawing.Point(16, 50); - this.radCredentialsWindows.Name = "radCredentialsWindows"; - this.radCredentialsWindows.Size = new System.Drawing.Size(227, 17); - this.radCredentialsWindows.TabIndex = 2; - this.radCredentialsWindows.Text = "my current credentials (windows logon info)"; - this.radCredentialsWindows.UseVisualStyleBackColor = true; - // - //txtCredentialsDomain - // - this.txtCredentialsDomain.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.txtCredentialsDomain.Enabled = false; - this.txtCredentialsDomain.Location = new System.Drawing.Point(140, 147); - this.txtCredentialsDomain.Name = "txtCredentialsDomain"; - this.txtCredentialsDomain.Size = new System.Drawing.Size(150, 20); - this.txtCredentialsDomain.TabIndex = 9; - // - //lblCredentialsUsername - // - this.lblCredentialsUsername.Enabled = false; - this.lblCredentialsUsername.Location = new System.Drawing.Point(37, 95); - this.lblCredentialsUsername.Name = "lblCredentialsUsername"; - this.lblCredentialsUsername.Size = new System.Drawing.Size(97, 13); - this.lblCredentialsUsername.TabIndex = 4; - this.lblCredentialsUsername.Text = "Username:"; - this.lblCredentialsUsername.TextAlign = System.Drawing.ContentAlignment.TopRight; - // - //txtCredentialsPassword - // - this.txtCredentialsPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.txtCredentialsPassword.Enabled = false; - this.txtCredentialsPassword.Location = new System.Drawing.Point(140, 120); - this.txtCredentialsPassword.Name = "txtCredentialsPassword"; - this.txtCredentialsPassword.Size = new System.Drawing.Size(150, 20); - this.txtCredentialsPassword.TabIndex = 7; - this.txtCredentialsPassword.UseSystemPasswordChar = true; - // - //lblCredentialsPassword - // - this.lblCredentialsPassword.Enabled = false; - this.lblCredentialsPassword.Location = new System.Drawing.Point(34, 123); - this.lblCredentialsPassword.Name = "lblCredentialsPassword"; - this.lblCredentialsPassword.Size = new System.Drawing.Size(100, 13); - this.lblCredentialsPassword.TabIndex = 6; - this.lblCredentialsPassword.Text = "Password:"; - this.lblCredentialsPassword.TextAlign = System.Drawing.ContentAlignment.TopRight; - // - //txtCredentialsUsername - // - this.txtCredentialsUsername.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.txtCredentialsUsername.Enabled = false; - this.txtCredentialsUsername.Location = new System.Drawing.Point(140, 93); - this.txtCredentialsUsername.Name = "txtCredentialsUsername"; - this.txtCredentialsUsername.Size = new System.Drawing.Size(150, 20); - this.txtCredentialsUsername.TabIndex = 5; - // - //lblCredentialsDomain - // - this.lblCredentialsDomain.Enabled = false; - this.lblCredentialsDomain.Location = new System.Drawing.Point(34, 150); - this.lblCredentialsDomain.Name = "lblCredentialsDomain"; - this.lblCredentialsDomain.Size = new System.Drawing.Size(100, 13); - this.lblCredentialsDomain.TabIndex = 8; - this.lblCredentialsDomain.Text = "Domain:"; - this.lblCredentialsDomain.TextAlign = System.Drawing.ContentAlignment.TopRight; - // - //chkSingleClickOnOpenedConnectionSwitchesToIt - // - this.chkSingleClickOnOpenedConnectionSwitchesToIt.AutoSize = true; - this.chkSingleClickOnOpenedConnectionSwitchesToIt.Location = new System.Drawing.Point(3, 23); - this.chkSingleClickOnOpenedConnectionSwitchesToIt.Name = "chkSingleClickOnOpenedConnectionSwitchesToIt"; - this.chkSingleClickOnOpenedConnectionSwitchesToIt.Size = new System.Drawing.Size(254, 17); - this.chkSingleClickOnOpenedConnectionSwitchesToIt.TabIndex = 8; - this.chkSingleClickOnOpenedConnectionSwitchesToIt.Text = "Single click on opened connection switches to it"; - this.chkSingleClickOnOpenedConnectionSwitchesToIt.UseVisualStyleBackColor = true; - // - //pnlAutoSave - // - this.pnlAutoSave.Controls.Add(this.lblAutoSave1); - this.pnlAutoSave.Controls.Add(this.numAutoSave); - this.pnlAutoSave.Controls.Add(this.lblAutoSave2); - this.pnlAutoSave.Location = new System.Drawing.Point(3, 104); - this.pnlAutoSave.Name = "pnlAutoSave"; - this.pnlAutoSave.Size = new System.Drawing.Size(596, 29); - this.pnlAutoSave.TabIndex = 11; - // - //lblAutoSave1 - // - this.lblAutoSave1.Location = new System.Drawing.Point(6, 9); - this.lblAutoSave1.Name = "lblAutoSave1"; - this.lblAutoSave1.Size = new System.Drawing.Size(288, 13); - this.lblAutoSave1.TabIndex = 0; - this.lblAutoSave1.Text = "Auto Save every:"; - this.lblAutoSave1.TextAlign = System.Drawing.ContentAlignment.TopRight; - // - //numAutoSave - // - this.numAutoSave.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.numAutoSave.Location = new System.Drawing.Point(300, 7); - this.numAutoSave.Maximum = new decimal(new int[] {9999, 0, 0, 0}); - this.numAutoSave.Name = "numAutoSave"; - this.numAutoSave.Size = new System.Drawing.Size(53, 20); - this.numAutoSave.TabIndex = 1; - // - //lblAutoSave2 - // - this.lblAutoSave2.AutoSize = true; - this.lblAutoSave2.Location = new System.Drawing.Point(359, 9); - this.lblAutoSave2.Name = "lblAutoSave2"; - this.lblAutoSave2.Size = new System.Drawing.Size(135, 13); - this.lblAutoSave2.TabIndex = 2; - this.lblAutoSave2.Text = "Minutes (0 means disabled)"; - // - //pnlConfirmCloseConnection - // - this.pnlConfirmCloseConnection.Controls.Add(this.lblClosingConnections); - this.pnlConfirmCloseConnection.Controls.Add(this.radCloseWarnAll); - this.pnlConfirmCloseConnection.Controls.Add(this.radCloseWarnMultiple); - this.pnlConfirmCloseConnection.Controls.Add(this.radCloseWarnExit); - this.pnlConfirmCloseConnection.Controls.Add(this.radCloseWarnNever); - this.pnlConfirmCloseConnection.Location = new System.Drawing.Point(3, 320); - this.pnlConfirmCloseConnection.Name = "pnlConfirmCloseConnection"; - this.pnlConfirmCloseConnection.Size = new System.Drawing.Size(596, 137); - this.pnlConfirmCloseConnection.TabIndex = 13; - // - //lblClosingConnections - // - this.lblClosingConnections.AutoSize = true; - this.lblClosingConnections.Location = new System.Drawing.Point(3, 9); - this.lblClosingConnections.Name = "lblClosingConnections"; - this.lblClosingConnections.Size = new System.Drawing.Size(136, 13); - this.lblClosingConnections.TabIndex = 0; - this.lblClosingConnections.Text = "When closing connections:"; - // - //radCloseWarnAll - // - this.radCloseWarnAll.AutoSize = true; - this.radCloseWarnAll.Location = new System.Drawing.Point(16, 31); - this.radCloseWarnAll.Name = "radCloseWarnAll"; - this.radCloseWarnAll.Size = new System.Drawing.Size(194, 17); - this.radCloseWarnAll.TabIndex = 1; - this.radCloseWarnAll.TabStop = true; - this.radCloseWarnAll.Text = "Warn me when closing connections"; - this.radCloseWarnAll.UseVisualStyleBackColor = true; - // - //radCloseWarnMultiple - // - this.radCloseWarnMultiple.AutoSize = true; - this.radCloseWarnMultiple.Location = new System.Drawing.Point(16, 54); - this.radCloseWarnMultiple.Name = "radCloseWarnMultiple"; - this.radCloseWarnMultiple.Size = new System.Drawing.Size(254, 17); - this.radCloseWarnMultiple.TabIndex = 2; - this.radCloseWarnMultiple.TabStop = true; - this.radCloseWarnMultiple.Text = "Warn me only when closing multiple connections"; - this.radCloseWarnMultiple.UseVisualStyleBackColor = true; - // - //radCloseWarnExit - // - this.radCloseWarnExit.AutoSize = true; - this.radCloseWarnExit.Location = new System.Drawing.Point(16, 77); - this.radCloseWarnExit.Name = "radCloseWarnExit"; - this.radCloseWarnExit.Size = new System.Drawing.Size(216, 17); - this.radCloseWarnExit.TabIndex = 3; - this.radCloseWarnExit.TabStop = true; - this.radCloseWarnExit.Text = "Warn me only when exiting mRemoteNG"; - this.radCloseWarnExit.UseVisualStyleBackColor = true; - // - //radCloseWarnNever - // - this.radCloseWarnNever.AutoSize = true; - this.radCloseWarnNever.Location = new System.Drawing.Point(16, 100); - this.radCloseWarnNever.Name = "radCloseWarnNever"; - this.radCloseWarnNever.Size = new System.Drawing.Size(226, 17); - this.radCloseWarnNever.TabIndex = 4; - this.radCloseWarnNever.TabStop = true; - this.radCloseWarnNever.Text = "Do not warn me when closing connections"; - this.radCloseWarnNever.UseVisualStyleBackColor = true; - // - //ConnectionsPage - // - this.AutoScaleDimensions = new System.Drawing.SizeF((float) (6.0F), (float) (13.0F)); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.pnlRdpReconnectionCount); - this.Controls.Add(this.chkSingleClickOnConnectionOpensIt); - this.Controls.Add(this.chkHostnameLikeDisplayName); - this.Controls.Add(this.pnlDefaultCredentials); - this.Controls.Add(this.chkSingleClickOnOpenedConnectionSwitchesToIt); - this.Controls.Add(this.pnlAutoSave); - this.Controls.Add(this.pnlConfirmCloseConnection); - this.Name = "ConnectionsPage"; - this.PageIcon = (System.Drawing.Icon) (resources.GetObject("$this.PageIcon")); - this.Size = new System.Drawing.Size(610, 489); - this.pnlRdpReconnectionCount.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize) this.numRdpReconnectionCount).EndInit(); - this.pnlDefaultCredentials.ResumeLayout(false); - this.pnlDefaultCredentials.PerformLayout(); - this.pnlAutoSave.ResumeLayout(false); - this.pnlAutoSave.PerformLayout(); - ((System.ComponentModel.ISupportInitialize) this.numAutoSave).EndInit(); - this.pnlConfirmCloseConnection.ResumeLayout(false); - this.pnlConfirmCloseConnection.PerformLayout(); - this.ResumeLayout(false); - this.PerformLayout(); - - } - internal System.Windows.Forms.Panel pnlRdpReconnectionCount; - internal System.Windows.Forms.Label lblRdpReconnectionCount; - internal System.Windows.Forms.NumericUpDown numRdpReconnectionCount; - internal System.Windows.Forms.CheckBox chkSingleClickOnConnectionOpensIt; - internal System.Windows.Forms.CheckBox chkHostnameLikeDisplayName; - internal System.Windows.Forms.Panel pnlDefaultCredentials; - internal System.Windows.Forms.RadioButton radCredentialsCustom; - internal System.Windows.Forms.Label lblDefaultCredentials; - internal System.Windows.Forms.RadioButton radCredentialsNoInfo; - internal System.Windows.Forms.RadioButton radCredentialsWindows; - internal System.Windows.Forms.TextBox txtCredentialsDomain; - internal System.Windows.Forms.Label lblCredentialsUsername; - internal System.Windows.Forms.TextBox txtCredentialsPassword; - internal System.Windows.Forms.Label lblCredentialsPassword; - internal System.Windows.Forms.TextBox txtCredentialsUsername; - internal System.Windows.Forms.Label lblCredentialsDomain; - internal System.Windows.Forms.CheckBox chkSingleClickOnOpenedConnectionSwitchesToIt; - internal System.Windows.Forms.Panel pnlAutoSave; - internal System.Windows.Forms.Label lblAutoSave1; - internal System.Windows.Forms.NumericUpDown numAutoSave; - internal System.Windows.Forms.Label lblAutoSave2; - internal System.Windows.Forms.Panel pnlConfirmCloseConnection; - internal System.Windows.Forms.Label lblClosingConnections; - internal System.Windows.Forms.RadioButton radCloseWarnAll; - internal System.Windows.Forms.RadioButton radCloseWarnMultiple; - internal System.Windows.Forms.RadioButton radCloseWarnExit; - internal System.Windows.Forms.RadioButton radCloseWarnNever; - - } -} diff --git a/mRemoteV1/CS/Forms/OptionsPages/ConnectionsPage.cs b/mRemoteV1/CS/Forms/OptionsPages/ConnectionsPage.cs deleted file mode 100644 index 8f1533a62..000000000 --- a/mRemoteV1/CS/Forms/OptionsPages/ConnectionsPage.cs +++ /dev/null @@ -1,182 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - -using mRemoteNG.My; -using mRemoteNG.Config; -//using mRemoteNG.App.Info; -using mRemoteNG.Security; - - -namespace mRemoteNG.Forms.OptionsPages -{ - public partial class ConnectionsPage - { - public ConnectionsPage() - { - InitializeComponent(); - } -public override string PageName - { - get - { - return Language.strConnections; - } - set - { - } - } - - public override void ApplyLanguage() - { - base.ApplyLanguage(); - - chkSingleClickOnConnectionOpensIt.Text = Language.strSingleClickOnConnectionOpensIt; - chkSingleClickOnOpenedConnectionSwitchesToIt.Text = Language.strSingleClickOnOpenConnectionSwitchesToIt; - chkHostnameLikeDisplayName.Text = Language.strSetHostnameLikeDisplayName; - - lblRdpReconnectionCount.Text = Language.strRdpReconnectCount; - - lblAutoSave1.Text = Language.strAutoSaveEvery; - lblAutoSave2.Text = Language.strAutoSaveMins; - - lblDefaultCredentials.Text = Language.strEmptyUsernamePasswordDomainFields; - radCredentialsNoInfo.Text = Language.strNoInformation; - radCredentialsWindows.Text = Language.strMyCurrentWindowsCreds; - radCredentialsCustom.Text = Language.strTheFollowing; - lblCredentialsUsername.Text = Language.strLabelUsername; - lblCredentialsPassword.Text = Language.strLabelPassword; - lblCredentialsDomain.Text = Language.strLabelDomain; - - lblClosingConnections.Text = Language.strLabelClosingConnections; - radCloseWarnAll.Text = Language.strRadioCloseWarnAll; - radCloseWarnMultiple.Text = Language.strRadioCloseWarnMultiple; - radCloseWarnExit.Text = Language.strRadioCloseWarnExit; - radCloseWarnNever.Text = Language.strRadioCloseWarnNever; - } - - public override void LoadSettings() - { - base.SaveSettings(); - - chkSingleClickOnConnectionOpensIt.Checked = System.Convert.ToBoolean(My.Settings.Default.SingleClickOnConnectionOpensIt); - chkSingleClickOnOpenedConnectionSwitchesToIt.Checked = System.Convert.ToBoolean(My.Settings.Default.SingleClickSwitchesToOpenConnection); - chkHostnameLikeDisplayName.Checked = System.Convert.ToBoolean(My.Settings.Default.SetHostnameLikeDisplayName); - - numRdpReconnectionCount.Value = System.Convert.ToDecimal(My.Settings.Default.RdpReconnectionCount); - - numAutoSave.Value = System.Convert.ToDecimal(My.Settings.Default.AutoSaveEveryMinutes); - - // ReSharper disable once StringLiteralTypo - if ((string) My.Settings.Default.EmptyCredentials == "noinfo") - { - radCredentialsNoInfo.Checked = true; - } - else if ((string) My.Settings.Default.EmptyCredentials == "windows") - { - radCredentialsWindows.Checked = true; - } - else if ((string) My.Settings.Default.EmptyCredentials == "custom") - { - radCredentialsCustom.Checked = true; - } - - txtCredentialsUsername.Text = System.Convert.ToString(My.Settings.Default.DefaultUsername); - txtCredentialsPassword.Text = Crypt.Decrypt(System.Convert.ToString(My.Settings.Default.DefaultPassword), App.Info.General.EncryptionKey); - txtCredentialsDomain.Text = System.Convert.ToString(My.Settings.Default.DefaultDomain); - - if (My.Settings.Default.ConfirmCloseConnection == ConfirmClose.Never) - { - radCloseWarnNever.Checked = true; - } - else if (My.Settings.Default.ConfirmCloseConnection == ConfirmClose.Exit) - { - radCloseWarnExit.Checked = true; - } - else if (My.Settings.Default.ConfirmCloseConnection == ConfirmClose.Multiple) - { - radCloseWarnMultiple.Checked = true; - } - else - { - radCloseWarnAll.Checked = true; - } - } - - public override void SaveSettings() - { - base.SaveSettings(); - - My.Settings.Default.SingleClickOnConnectionOpensIt = chkSingleClickOnConnectionOpensIt.Checked; - My.Settings.Default.SingleClickSwitchesToOpenConnection = chkSingleClickOnOpenedConnectionSwitchesToIt.Checked; - My.Settings.Default.SetHostnameLikeDisplayName = chkHostnameLikeDisplayName.Checked; - - My.Settings.Default.RdpReconnectionCount = numRdpReconnectionCount.Value; - - My.Settings.Default.AutoSaveEveryMinutes = numAutoSave.Value; - if (My.Settings.Default.AutoSaveEveryMinutes > 0) - { - frmMain.Default.tmrAutoSave.Interval = System.Convert.ToInt32(My.Settings.Default.AutoSaveEveryMinutes * 60000); - frmMain.Default.tmrAutoSave.Enabled = true; - } - else - { - frmMain.Default.tmrAutoSave.Enabled = false; - } - - if (radCredentialsNoInfo.Checked) - { - // ReSharper disable once StringLiteralTypo - My.Settings.Default.EmptyCredentials = "noinfo"; - } - else if (radCredentialsWindows.Checked) - { - My.Settings.Default.EmptyCredentials = "windows"; - } - else if (radCredentialsCustom.Checked) - { - My.Settings.Default.EmptyCredentials = "custom"; - } - - My.Settings.Default.DefaultUsername = txtCredentialsUsername.Text; - My.Settings.Default.DefaultPassword = Crypt.Encrypt(txtCredentialsPassword.Text, App.Info.General.EncryptionKey); - My.Settings.Default.DefaultDomain = txtCredentialsDomain.Text; - - if (radCloseWarnAll.Checked) - { - My.Settings.Default.ConfirmCloseConnection = ConfirmClose.All; - } - if (radCloseWarnMultiple.Checked) - { - My.Settings.Default.ConfirmCloseConnection = ConfirmClose.Multiple; - } - if (radCloseWarnExit.Checked) - { - My.Settings.Default.ConfirmCloseConnection = ConfirmClose.Exit; - } - if (radCloseWarnNever.Checked) - { - My.Settings.Default.ConfirmCloseConnection = ConfirmClose.Never; - } - } - - public void radCredentialsCustom_CheckedChanged(object sender, EventArgs e) - { - lblCredentialsUsername.Enabled = radCredentialsCustom.Checked; - lblCredentialsPassword.Enabled = radCredentialsCustom.Checked; - lblCredentialsDomain.Enabled = radCredentialsCustom.Checked; - txtCredentialsUsername.Enabled = radCredentialsCustom.Checked; - txtCredentialsPassword.Enabled = radCredentialsCustom.Checked; - txtCredentialsDomain.Enabled = radCredentialsCustom.Checked; - } - } -} diff --git a/mRemoteV1/CS/Forms/OptionsPages/OptionsPage.cs b/mRemoteV1/CS/Forms/OptionsPages/OptionsPage.cs deleted file mode 100644 index 35ab0b2cf..000000000 --- a/mRemoteV1/CS/Forms/OptionsPages/OptionsPage.cs +++ /dev/null @@ -1,54 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - -using System.ComponentModel; - - -namespace mRemoteNG.Forms.OptionsPages -{ - public class OptionsPage : UserControl - { - public OptionsPage() - { - InitializeComponent(); - } - -#region Public Properties - [Browsable(false)]public virtual string PageName {get; set;} - - public virtual Icon PageIcon {get; set;} -#endregion - -#region Public Methods - public virtual void ApplyLanguage() - { - - } - - public virtual void LoadSettings() - { - - } - - public virtual void SaveSettings() - { - - } - - public virtual void RevertSettings() - { - - } -#endregion - } -} diff --git a/mRemoteV1/CS/Forms/OptionsPages/SqlServerPage.Designer.cs b/mRemoteV1/CS/Forms/OptionsPages/SqlServerPage.Designer.cs deleted file mode 100644 index 18513d674..000000000 --- a/mRemoteV1/CS/Forms/OptionsPages/SqlServerPage.Designer.cs +++ /dev/null @@ -1,210 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - - -namespace mRemoteNG.Forms.OptionsPages -{ - [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()]public - partial class SqlServerPage : OptionsPage - { - - //UserControl overrides dispose to clean up the component list. - [System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing) - { - try - { - if (disposing && components != null) - { - components.Dispose(); - } - } - finally - { - base.Dispose(disposing); - } - } - - //Required by the Windows Form Designer - private System.ComponentModel.Container components = null; - - //NOTE: The following procedure is required by the Windows Form Designer - //It can be modified using the Windows Form Designer. - //Do not modify it using the code editor. - [System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SqlServerPage)); - this.lblSQLDatabaseName = new System.Windows.Forms.Label(); - this.txtSQLDatabaseName = new System.Windows.Forms.TextBox(); - this.lblExperimental = new System.Windows.Forms.Label(); - this.chkUseSQLServer = new System.Windows.Forms.CheckBox(); - this.chkUseSQLServer.CheckedChanged += new System.EventHandler(this.chkUseSQLServer_CheckedChanged); - this.lblSQLUsername = new System.Windows.Forms.Label(); - this.txtSQLPassword = new System.Windows.Forms.TextBox(); - this.lblSQLInfo = new System.Windows.Forms.Label(); - this.lblSQLServer = new System.Windows.Forms.Label(); - this.txtSQLUsername = new System.Windows.Forms.TextBox(); - this.txtSQLServer = new System.Windows.Forms.TextBox(); - this.lblSQLPassword = new System.Windows.Forms.Label(); - this.SuspendLayout(); - // - //lblSQLDatabaseName - // - this.lblSQLDatabaseName.Enabled = false; - this.lblSQLDatabaseName.Location = new System.Drawing.Point(23, 132); - this.lblSQLDatabaseName.Name = "lblSQLDatabaseName"; - this.lblSQLDatabaseName.Size = new System.Drawing.Size(111, 13); - this.lblSQLDatabaseName.TabIndex = 16; - this.lblSQLDatabaseName.Text = "Database:"; - this.lblSQLDatabaseName.TextAlign = System.Drawing.ContentAlignment.TopRight; - // - //txtSQLDatabaseName - // - this.txtSQLDatabaseName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.txtSQLDatabaseName.Enabled = false; - this.txtSQLDatabaseName.Location = new System.Drawing.Point(140, 130); - this.txtSQLDatabaseName.Name = "txtSQLDatabaseName"; - this.txtSQLDatabaseName.Size = new System.Drawing.Size(153, 20); - this.txtSQLDatabaseName.TabIndex = 17; - // - //lblExperimental - // - this.lblExperimental.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.lblExperimental.Font = new System.Drawing.Font("Segoe UI", (float) (12.0F), System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World); - this.lblExperimental.ForeColor = System.Drawing.Color.FromArgb(System.Convert.ToInt32(System.Convert.ToByte(192)), System.Convert.ToInt32(System.Convert.ToByte(0)), System.Convert.ToInt32(System.Convert.ToByte(0))); - this.lblExperimental.Location = new System.Drawing.Point(3, 0); - this.lblExperimental.Name = "lblExperimental"; - this.lblExperimental.Size = new System.Drawing.Size(596, 25); - this.lblExperimental.TabIndex = 11; - this.lblExperimental.Text = "EXPERIMENTAL"; - this.lblExperimental.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - //chkUseSQLServer - // - this.chkUseSQLServer.AutoSize = true; - this.chkUseSQLServer.Location = new System.Drawing.Point(3, 76); - this.chkUseSQLServer.Name = "chkUseSQLServer"; - this.chkUseSQLServer.Size = new System.Drawing.Size(234, 17); - this.chkUseSQLServer.TabIndex = 13; - this.chkUseSQLServer.Text = "Use SQL Server to load && save connections"; - this.chkUseSQLServer.UseVisualStyleBackColor = true; - // - //lblSQLUsername - // - this.lblSQLUsername.Enabled = false; - this.lblSQLUsername.Location = new System.Drawing.Point(23, 158); - this.lblSQLUsername.Name = "lblSQLUsername"; - this.lblSQLUsername.Size = new System.Drawing.Size(111, 13); - this.lblSQLUsername.TabIndex = 18; - this.lblSQLUsername.Text = "Username:"; - this.lblSQLUsername.TextAlign = System.Drawing.ContentAlignment.TopRight; - // - //txtSQLPassword - // - this.txtSQLPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.txtSQLPassword.Enabled = false; - this.txtSQLPassword.Location = new System.Drawing.Point(140, 182); - this.txtSQLPassword.Name = "txtSQLPassword"; - this.txtSQLPassword.Size = new System.Drawing.Size(153, 20); - this.txtSQLPassword.TabIndex = 21; - this.txtSQLPassword.UseSystemPasswordChar = true; - // - //lblSQLInfo - // - this.lblSQLInfo.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.lblSQLInfo.Font = new System.Drawing.Font("Segoe UI", (float) (12.0F), System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World); - this.lblSQLInfo.ForeColor = System.Drawing.Color.FromArgb(System.Convert.ToInt32(System.Convert.ToByte(192)), System.Convert.ToInt32(System.Convert.ToByte(0)), System.Convert.ToInt32(System.Convert.ToByte(0))); - this.lblSQLInfo.Location = new System.Drawing.Point(3, 25); - this.lblSQLInfo.Name = "lblSQLInfo"; - this.lblSQLInfo.Size = new System.Drawing.Size(596, 25); - this.lblSQLInfo.TabIndex = 12; - this.lblSQLInfo.Text = "Please see Help - Getting started - SQL Configuration for more Info!"; - this.lblSQLInfo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - //lblSQLServer - // - this.lblSQLServer.Enabled = false; - this.lblSQLServer.Location = new System.Drawing.Point(23, 106); - this.lblSQLServer.Name = "lblSQLServer"; - this.lblSQLServer.Size = new System.Drawing.Size(111, 13); - this.lblSQLServer.TabIndex = 14; - this.lblSQLServer.Text = "SQL Server:"; - this.lblSQLServer.TextAlign = System.Drawing.ContentAlignment.TopRight; - // - //txtSQLUsername - // - this.txtSQLUsername.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.txtSQLUsername.Enabled = false; - this.txtSQLUsername.Location = new System.Drawing.Point(140, 156); - this.txtSQLUsername.Name = "txtSQLUsername"; - this.txtSQLUsername.Size = new System.Drawing.Size(153, 20); - this.txtSQLUsername.TabIndex = 19; - // - //txtSQLServer - // - this.txtSQLServer.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.txtSQLServer.Enabled = false; - this.txtSQLServer.Location = new System.Drawing.Point(140, 103); - this.txtSQLServer.Name = "txtSQLServer"; - this.txtSQLServer.Size = new System.Drawing.Size(153, 20); - this.txtSQLServer.TabIndex = 15; - // - //lblSQLPassword - // - this.lblSQLPassword.Enabled = false; - this.lblSQLPassword.Location = new System.Drawing.Point(23, 184); - this.lblSQLPassword.Name = "lblSQLPassword"; - this.lblSQLPassword.Size = new System.Drawing.Size(111, 13); - this.lblSQLPassword.TabIndex = 20; - this.lblSQLPassword.Text = "Password:"; - this.lblSQLPassword.TextAlign = System.Drawing.ContentAlignment.TopRight; - // - //SqlServerPage - // - this.AutoScaleDimensions = new System.Drawing.SizeF((float) (6.0F), (float) (13.0F)); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.lblSQLDatabaseName); - this.Controls.Add(this.txtSQLDatabaseName); - this.Controls.Add(this.lblExperimental); - this.Controls.Add(this.chkUseSQLServer); - this.Controls.Add(this.lblSQLUsername); - this.Controls.Add(this.txtSQLPassword); - this.Controls.Add(this.lblSQLInfo); - this.Controls.Add(this.lblSQLServer); - this.Controls.Add(this.txtSQLUsername); - this.Controls.Add(this.txtSQLServer); - this.Controls.Add(this.lblSQLPassword); - this.Name = "SqlServerPage"; - this.PageIcon = (System.Drawing.Icon) (resources.GetObject("$this.PageIcon")); - this.Size = new System.Drawing.Size(610, 489); - this.ResumeLayout(false); - this.PerformLayout(); - - } - internal System.Windows.Forms.Label lblSQLDatabaseName; - internal System.Windows.Forms.TextBox txtSQLDatabaseName; - internal System.Windows.Forms.Label lblExperimental; - internal System.Windows.Forms.CheckBox chkUseSQLServer; - internal System.Windows.Forms.Label lblSQLUsername; - internal System.Windows.Forms.TextBox txtSQLPassword; - internal System.Windows.Forms.Label lblSQLInfo; - internal System.Windows.Forms.Label lblSQLServer; - internal System.Windows.Forms.TextBox txtSQLUsername; - internal System.Windows.Forms.TextBox txtSQLServer; - internal System.Windows.Forms.Label lblSQLPassword; - - } -} diff --git a/mRemoteV1/CS/Forms/OptionsPages/SqlServerPage.cs b/mRemoteV1/CS/Forms/OptionsPages/SqlServerPage.cs deleted file mode 100644 index 8febc661f..000000000 --- a/mRemoteV1/CS/Forms/OptionsPages/SqlServerPage.cs +++ /dev/null @@ -1,94 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - -using mRemoteNG.My; -using mRemoteNG.App; -//using mRemoteNG.App.Info; -using mRemoteNG.Security; - - -namespace mRemoteNG.Forms.OptionsPages -{ - public partial class SqlServerPage - { - public SqlServerPage() - { - InitializeComponent(); - } -public override string PageName - { - get - { - return Language.strSQLServer.TrimEnd(':'); - } - set - { - } - } - - public override void ApplyLanguage() - { - base.ApplyLanguage(); - - lblExperimental.Text = Language.strExperimental.ToUpper(); - lblSQLInfo.Text = Language.strSQLInfo; - - chkUseSQLServer.Text = Language.strUseSQLServer; - lblSQLServer.Text = Language.strLabelHostname; - lblSQLDatabaseName.Text = Language.strLabelSQLServerDatabaseName; - lblSQLUsername.Text = Language.strLabelUsername; - lblSQLPassword.Text = Language.strLabelPassword; - } - - public override void LoadSettings() - { - base.SaveSettings(); - - chkUseSQLServer.Checked = System.Convert.ToBoolean(My.Settings.Default.UseSQLServer); - txtSQLServer.Text = System.Convert.ToString(My.Settings.Default.SQLHost); - txtSQLDatabaseName.Text = System.Convert.ToString(My.Settings.Default.SQLDatabaseName); - txtSQLUsername.Text = System.Convert.ToString(My.Settings.Default.SQLUser); - txtSQLPassword.Text = Crypt.Decrypt(System.Convert.ToString(My.Settings.Default.SQLPass), App.Info.General.EncryptionKey); - } - - public override void SaveSettings() - { - base.SaveSettings(); - - My.Settings.Default.UseSQLServer = chkUseSQLServer.Checked; - My.Settings.Default.SQLHost = txtSQLServer.Text; - My.Settings.Default.SQLDatabaseName = txtSQLDatabaseName.Text; - My.Settings.Default.SQLUser = txtSQLUsername.Text; - My.Settings.Default.SQLPass = Crypt.Encrypt(txtSQLPassword.Text, App.Info.General.EncryptionKey); - - Runtime.Startup.DestroySQLUpdateHandlerAndStopTimer(); - frmMain.Default.UsingSqlServer = System.Convert.ToBoolean(My.Settings.Default.UseSQLServer); - if (My.Settings.Default.UseSQLServer) - { - Runtime.Startup.CreateSQLUpdateHandlerAndStartTimer(); - } - } - - public void chkUseSQLServer_CheckedChanged(object sender, EventArgs e) - { - lblSQLServer.Enabled = chkUseSQLServer.Checked; - lblSQLDatabaseName.Enabled = chkUseSQLServer.Checked; - lblSQLUsername.Enabled = chkUseSQLServer.Checked; - lblSQLPassword.Enabled = chkUseSQLServer.Checked; - txtSQLServer.Enabled = chkUseSQLServer.Checked; - txtSQLDatabaseName.Enabled = chkUseSQLServer.Checked; - txtSQLUsername.Enabled = chkUseSQLServer.Checked; - txtSQLPassword.Enabled = chkUseSQLServer.Checked; - } - } -} diff --git a/mRemoteV1/CS/Forms/OptionsPages/StartupExitPage.Designer.cs b/mRemoteV1/CS/Forms/OptionsPages/StartupExitPage.Designer.cs deleted file mode 100644 index 690099ca3..000000000 --- a/mRemoteV1/CS/Forms/OptionsPages/StartupExitPage.Designer.cs +++ /dev/null @@ -1,114 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - - -namespace mRemoteNG.Forms.OptionsPages -{ - [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()]public - partial class StartupExitPage : OptionsPage - { - - //UserControl overrides dispose to clean up the component list. - [System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing) - { - try - { - if (disposing && components != null) - { - components.Dispose(); - } - } - finally - { - base.Dispose(disposing); - } - } - - //Required by the Windows Form Designer - private System.ComponentModel.Container components = null; - - //NOTE: The following procedure is required by the Windows Form Designer - //It can be modified using the Windows Form Designer. - //Do not modify it using the code editor. - [System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(StartupExitPage)); - this.chkReconnectOnStart = new System.Windows.Forms.CheckBox(); - base.Load += new System.EventHandler(StartupExitPage_Load); - this.chkSaveConsOnExit = new System.Windows.Forms.CheckBox(); - this.chkSingleInstance = new System.Windows.Forms.CheckBox(); - this.chkProperInstallationOfComponentsAtStartup = new System.Windows.Forms.CheckBox(); - this.SuspendLayout(); - // - //chkReconnectOnStart - // - this.chkReconnectOnStart.AutoSize = true; - this.chkReconnectOnStart.Location = new System.Drawing.Point(3, 24); - this.chkReconnectOnStart.Name = "chkReconnectOnStart"; - this.chkReconnectOnStart.Size = new System.Drawing.Size(273, 17); - this.chkReconnectOnStart.TabIndex = 7; - this.chkReconnectOnStart.Text = "Reconnect to previously opened sessions on startup"; - this.chkReconnectOnStart.UseVisualStyleBackColor = true; - // - //chkSaveConsOnExit - // - this.chkSaveConsOnExit.AutoSize = true; - this.chkSaveConsOnExit.Location = new System.Drawing.Point(3, 0); - this.chkSaveConsOnExit.Name = "chkSaveConsOnExit"; - this.chkSaveConsOnExit.Size = new System.Drawing.Size(146, 17); - this.chkSaveConsOnExit.TabIndex = 6; - this.chkSaveConsOnExit.Text = "Save connections on exit"; - this.chkSaveConsOnExit.UseVisualStyleBackColor = true; - // - //chkSingleInstance - // - this.chkSingleInstance.AutoSize = true; - this.chkSingleInstance.Location = new System.Drawing.Point(3, 48); - this.chkSingleInstance.Name = "chkSingleInstance"; - this.chkSingleInstance.Size = new System.Drawing.Size(366, 17); - this.chkSingleInstance.TabIndex = 8; - this.chkSingleInstance.Text = "Allow only a single instance of the application (mRemote restart required)"; - this.chkSingleInstance.UseVisualStyleBackColor = true; - // - //chkProperInstallationOfComponentsAtStartup - // - this.chkProperInstallationOfComponentsAtStartup.AutoSize = true; - this.chkProperInstallationOfComponentsAtStartup.Location = new System.Drawing.Point(3, 72); - this.chkProperInstallationOfComponentsAtStartup.Name = "chkProperInstallationOfComponentsAtStartup"; - this.chkProperInstallationOfComponentsAtStartup.Size = new System.Drawing.Size(262, 17); - this.chkProperInstallationOfComponentsAtStartup.TabIndex = 9; - this.chkProperInstallationOfComponentsAtStartup.Text = "Check proper installation of components at startup"; - this.chkProperInstallationOfComponentsAtStartup.UseVisualStyleBackColor = true; - // - //StartupExitPage - // - this.AutoScaleDimensions = new System.Drawing.SizeF((float) (6.0F), (float) (13.0F)); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.chkReconnectOnStart); - this.Controls.Add(this.chkSaveConsOnExit); - this.Controls.Add(this.chkSingleInstance); - this.Controls.Add(this.chkProperInstallationOfComponentsAtStartup); - this.Name = "StartupExitPage"; - this.PageIcon = (System.Drawing.Icon) (resources.GetObject("$this.PageIcon")); - this.Size = new System.Drawing.Size(610, 489); - this.ResumeLayout(false); - this.PerformLayout(); - - } - internal System.Windows.Forms.CheckBox chkReconnectOnStart; - internal System.Windows.Forms.CheckBox chkSaveConsOnExit; - internal System.Windows.Forms.CheckBox chkSingleInstance; - internal System.Windows.Forms.CheckBox chkProperInstallationOfComponentsAtStartup; - - } -} diff --git a/mRemoteV1/CS/Forms/OptionsPages/StartupExitPage.cs b/mRemoteV1/CS/Forms/OptionsPages/StartupExitPage.cs deleted file mode 100644 index 610e2c577..000000000 --- a/mRemoteV1/CS/Forms/OptionsPages/StartupExitPage.cs +++ /dev/null @@ -1,64 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - -using mRemoteNG.My; - - -namespace mRemoteNG.Forms.OptionsPages -{ - public partial class StartupExitPage - { - public StartupExitPage() - { - InitializeComponent(); - } -public override string PageName - { - get - { - return Language.strStartupExit; - } - set - { - } - } - - public override void ApplyLanguage() - { - base.ApplyLanguage(); - - chkSaveConsOnExit.Text = Language.strSaveConsOnExit; - chkReconnectOnStart.Text = Language.strReconnectAtStartup; - chkSingleInstance.Text = Language.strAllowOnlySingleInstance; - chkProperInstallationOfComponentsAtStartup.Text = Language.strCheckProperInstallationOfComponentsAtStartup; - } - - public override void SaveSettings() - { - base.SaveSettings(); - - Settings.SaveConsOnExit = chkSaveConsOnExit.Checked; - Settings.OpenConsFromLastSession = chkReconnectOnStart.Checked; - Settings.SingleInstance = chkSingleInstance.Checked; - Settings.StartupComponentsCheck = chkProperInstallationOfComponentsAtStartup.Checked; - } - - public void StartupExitPage_Load(System.Object sender, EventArgs e) - { - chkSaveConsOnExit.Checked = Settings.SaveConsOnExit; - chkReconnectOnStart.Checked = Settings.OpenConsFromLastSession; - chkSingleInstance.Checked = Settings.SingleInstance; - chkProperInstallationOfComponentsAtStartup.Checked = Settings.StartupComponentsCheck; - } - } -} diff --git a/mRemoteV1/CS/Forms/OptionsPages/TabsPanelsPage.Designer.cs b/mRemoteV1/CS/Forms/OptionsPages/TabsPanelsPage.Designer.cs deleted file mode 100644 index f0c04391c..000000000 --- a/mRemoteV1/CS/Forms/OptionsPages/TabsPanelsPage.Designer.cs +++ /dev/null @@ -1,220 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - - -namespace mRemoteNG.Forms.OptionsPages -{ - [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()]public - partial class TabsPanelsPage : OptionsPage - { - - //UserControl overrides dispose to clean up the component list. - [System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing) - { - try - { - if (disposing && components != null) - { - components.Dispose(); - } - } - finally - { - base.Dispose(disposing); - } - } - - //Required by the Windows Form Designer - private System.ComponentModel.Container components = null; - - //NOTE: The following procedure is required by the Windows Form Designer - //It can be modified using the Windows Form Designer. - //Do not modify it using the code editor. - [System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TabsPanelsPage)); - this.chkAlwaysShowPanelTabs = new System.Windows.Forms.CheckBox(); - this.chkIdentifyQuickConnectTabs = new System.Windows.Forms.CheckBox(); - this.chkUseOnlyErrorsAndInfosPanel = new System.Windows.Forms.CheckBox(); - this.chkUseOnlyErrorsAndInfosPanel.CheckedChanged += new System.EventHandler(this.chkUseOnlyErrorsAndInfosPanel_CheckedChanged); - this.chkOpenNewTabRightOfSelected = new System.Windows.Forms.CheckBox(); - this.lblSwitchToErrorsAndInfos = new System.Windows.Forms.Label(); - this.chkAlwaysShowPanelSelectionDlg = new System.Windows.Forms.CheckBox(); - this.chkMCInformation = new System.Windows.Forms.CheckBox(); - this.chkShowLogonInfoOnTabs = new System.Windows.Forms.CheckBox(); - this.chkMCErrors = new System.Windows.Forms.CheckBox(); - this.chkDoubleClickClosesTab = new System.Windows.Forms.CheckBox(); - this.chkMCWarnings = new System.Windows.Forms.CheckBox(); - this.chkShowProtocolOnTabs = new System.Windows.Forms.CheckBox(); - this.SuspendLayout(); - // - //chkAlwaysShowPanelTabs - // - this.chkAlwaysShowPanelTabs.AutoSize = true; - this.chkAlwaysShowPanelTabs.Location = new System.Drawing.Point(3, 0); - this.chkAlwaysShowPanelTabs.Name = "chkAlwaysShowPanelTabs"; - this.chkAlwaysShowPanelTabs.Size = new System.Drawing.Size(139, 17); - this.chkAlwaysShowPanelTabs.TabIndex = 12; - this.chkAlwaysShowPanelTabs.Text = "Always show panel tabs"; - this.chkAlwaysShowPanelTabs.UseVisualStyleBackColor = true; - // - //chkIdentifyQuickConnectTabs - // - this.chkIdentifyQuickConnectTabs.AutoSize = true; - this.chkIdentifyQuickConnectTabs.Location = new System.Drawing.Point(3, 92); - this.chkIdentifyQuickConnectTabs.Name = "chkIdentifyQuickConnectTabs"; - this.chkIdentifyQuickConnectTabs.Size = new System.Drawing.Size(293, 17); - this.chkIdentifyQuickConnectTabs.TabIndex = 16; - this.chkIdentifyQuickConnectTabs.Text = global::mRemoteNG.My.Language.strIdentifyQuickConnectTabs; - this.chkIdentifyQuickConnectTabs.UseVisualStyleBackColor = true; - // - //chkUseOnlyErrorsAndInfosPanel - // - this.chkUseOnlyErrorsAndInfosPanel.AutoSize = true; - this.chkUseOnlyErrorsAndInfosPanel.Location = new System.Drawing.Point(3, 185); - this.chkUseOnlyErrorsAndInfosPanel.Name = "chkUseOnlyErrorsAndInfosPanel"; - this.chkUseOnlyErrorsAndInfosPanel.Size = new System.Drawing.Size(278, 17); - this.chkUseOnlyErrorsAndInfosPanel.TabIndex = 19; - this.chkUseOnlyErrorsAndInfosPanel.Text = "Use only Notifications panel (no messagebox popups)"; - this.chkUseOnlyErrorsAndInfosPanel.UseVisualStyleBackColor = true; - // - //chkOpenNewTabRightOfSelected - // - this.chkOpenNewTabRightOfSelected.AutoSize = true; - this.chkOpenNewTabRightOfSelected.Location = new System.Drawing.Point(3, 23); - this.chkOpenNewTabRightOfSelected.Name = "chkOpenNewTabRightOfSelected"; - this.chkOpenNewTabRightOfSelected.Size = new System.Drawing.Size(280, 17); - this.chkOpenNewTabRightOfSelected.TabIndex = 13; - this.chkOpenNewTabRightOfSelected.Text = "Open new tab to the right of the currently selected tab"; - this.chkOpenNewTabRightOfSelected.UseVisualStyleBackColor = true; - // - //lblSwitchToErrorsAndInfos - // - this.lblSwitchToErrorsAndInfos.AutoSize = true; - this.lblSwitchToErrorsAndInfos.Location = new System.Drawing.Point(3, 210); - this.lblSwitchToErrorsAndInfos.Name = "lblSwitchToErrorsAndInfos"; - this.lblSwitchToErrorsAndInfos.Size = new System.Drawing.Size(159, 13); - this.lblSwitchToErrorsAndInfos.TabIndex = 20; - this.lblSwitchToErrorsAndInfos.Text = "Switch to Notifications panel on:"; - // - //chkAlwaysShowPanelSelectionDlg - // - this.chkAlwaysShowPanelSelectionDlg.AutoSize = true; - this.chkAlwaysShowPanelSelectionDlg.Location = new System.Drawing.Point(3, 138); - this.chkAlwaysShowPanelSelectionDlg.Name = "chkAlwaysShowPanelSelectionDlg"; - this.chkAlwaysShowPanelSelectionDlg.Size = new System.Drawing.Size(317, 17); - this.chkAlwaysShowPanelSelectionDlg.TabIndex = 18; - this.chkAlwaysShowPanelSelectionDlg.Text = "Always show panel selection dialog when opening connectins"; - this.chkAlwaysShowPanelSelectionDlg.UseVisualStyleBackColor = true; - // - //chkMCInformation - // - this.chkMCInformation.AutoSize = true; - this.chkMCInformation.Enabled = false; - this.chkMCInformation.Location = new System.Drawing.Point(19, 230); - this.chkMCInformation.Name = "chkMCInformation"; - this.chkMCInformation.Size = new System.Drawing.Size(83, 17); - this.chkMCInformation.TabIndex = 21; - this.chkMCInformation.Text = "Informations"; - this.chkMCInformation.UseVisualStyleBackColor = true; - // - //chkShowLogonInfoOnTabs - // - this.chkShowLogonInfoOnTabs.AutoSize = true; - this.chkShowLogonInfoOnTabs.Location = new System.Drawing.Point(3, 46); - this.chkShowLogonInfoOnTabs.Name = "chkShowLogonInfoOnTabs"; - this.chkShowLogonInfoOnTabs.Size = new System.Drawing.Size(203, 17); - this.chkShowLogonInfoOnTabs.TabIndex = 14; - this.chkShowLogonInfoOnTabs.Text = "Show logon information on tab names"; - this.chkShowLogonInfoOnTabs.UseVisualStyleBackColor = true; - // - //chkMCErrors - // - this.chkMCErrors.AutoSize = true; - this.chkMCErrors.Enabled = false; - this.chkMCErrors.Location = new System.Drawing.Point(19, 276); - this.chkMCErrors.Name = "chkMCErrors"; - this.chkMCErrors.Size = new System.Drawing.Size(53, 17); - this.chkMCErrors.TabIndex = 23; - this.chkMCErrors.Text = "Errors"; - this.chkMCErrors.UseVisualStyleBackColor = true; - // - //chkDoubleClickClosesTab - // - this.chkDoubleClickClosesTab.AutoSize = true; - this.chkDoubleClickClosesTab.Location = new System.Drawing.Point(3, 115); - this.chkDoubleClickClosesTab.Name = "chkDoubleClickClosesTab"; - this.chkDoubleClickClosesTab.Size = new System.Drawing.Size(159, 17); - this.chkDoubleClickClosesTab.TabIndex = 17; - this.chkDoubleClickClosesTab.Text = "Double click on tab closes it"; - this.chkDoubleClickClosesTab.UseVisualStyleBackColor = true; - // - //chkMCWarnings - // - this.chkMCWarnings.AutoSize = true; - this.chkMCWarnings.Enabled = false; - this.chkMCWarnings.Location = new System.Drawing.Point(19, 253); - this.chkMCWarnings.Name = "chkMCWarnings"; - this.chkMCWarnings.Size = new System.Drawing.Size(71, 17); - this.chkMCWarnings.TabIndex = 22; - this.chkMCWarnings.Text = "Warnings"; - this.chkMCWarnings.UseVisualStyleBackColor = true; - // - //chkShowProtocolOnTabs - // - this.chkShowProtocolOnTabs.AutoSize = true; - this.chkShowProtocolOnTabs.Location = new System.Drawing.Point(3, 69); - this.chkShowProtocolOnTabs.Name = "chkShowProtocolOnTabs"; - this.chkShowProtocolOnTabs.Size = new System.Drawing.Size(166, 17); - this.chkShowProtocolOnTabs.TabIndex = 15; - this.chkShowProtocolOnTabs.Text = "Show protocols on tab names"; - this.chkShowProtocolOnTabs.UseVisualStyleBackColor = true; - // - //TabsPanelsPage - // - this.AutoScaleDimensions = new System.Drawing.SizeF((float) (6.0F), (float) (13.0F)); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.chkAlwaysShowPanelTabs); - this.Controls.Add(this.chkIdentifyQuickConnectTabs); - this.Controls.Add(this.chkUseOnlyErrorsAndInfosPanel); - this.Controls.Add(this.chkOpenNewTabRightOfSelected); - this.Controls.Add(this.lblSwitchToErrorsAndInfos); - this.Controls.Add(this.chkAlwaysShowPanelSelectionDlg); - this.Controls.Add(this.chkMCInformation); - this.Controls.Add(this.chkShowLogonInfoOnTabs); - this.Controls.Add(this.chkMCErrors); - this.Controls.Add(this.chkDoubleClickClosesTab); - this.Controls.Add(this.chkMCWarnings); - this.Controls.Add(this.chkShowProtocolOnTabs); - this.Name = "TabsPanelsPage"; - this.PageIcon = (System.Drawing.Icon) (resources.GetObject("$this.PageIcon")); - this.Size = new System.Drawing.Size(610, 489); - this.ResumeLayout(false); - this.PerformLayout(); - - } - internal System.Windows.Forms.CheckBox chkAlwaysShowPanelTabs; - internal System.Windows.Forms.CheckBox chkIdentifyQuickConnectTabs; - internal System.Windows.Forms.CheckBox chkUseOnlyErrorsAndInfosPanel; - internal System.Windows.Forms.CheckBox chkOpenNewTabRightOfSelected; - internal System.Windows.Forms.Label lblSwitchToErrorsAndInfos; - internal System.Windows.Forms.CheckBox chkAlwaysShowPanelSelectionDlg; - internal System.Windows.Forms.CheckBox chkMCInformation; - internal System.Windows.Forms.CheckBox chkShowLogonInfoOnTabs; - internal System.Windows.Forms.CheckBox chkMCErrors; - internal System.Windows.Forms.CheckBox chkDoubleClickClosesTab; - internal System.Windows.Forms.CheckBox chkMCWarnings; - internal System.Windows.Forms.CheckBox chkShowProtocolOnTabs; - - } -} diff --git a/mRemoteV1/CS/Forms/OptionsPages/TabsPanelsPage.cs b/mRemoteV1/CS/Forms/OptionsPages/TabsPanelsPage.cs deleted file mode 100644 index c4385fc82..000000000 --- a/mRemoteV1/CS/Forms/OptionsPages/TabsPanelsPage.cs +++ /dev/null @@ -1,100 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - -using mRemoteNG.My; - - -namespace mRemoteNG.Forms.OptionsPages -{ - public partial class TabsPanelsPage - { - public TabsPanelsPage() - { - InitializeComponent(); - } -public override string PageName - { - get - { - return Language.strTabsAndPanels.Replace("&&", "&"); - } - set - { - } - } - - public override void ApplyLanguage() - { - base.ApplyLanguage(); - - chkAlwaysShowPanelTabs.Text = Language.strAlwaysShowPanelTabs; - chkOpenNewTabRightOfSelected.Text = Language.strOpenNewTabRight; - chkShowLogonInfoOnTabs.Text = Language.strShowLogonInfoOnTabs; - chkShowProtocolOnTabs.Text = Language.strShowProtocolOnTabs; - chkIdentifyQuickConnectTabs.Text = Language.strIdentifyQuickConnectTabs; - chkDoubleClickClosesTab.Text = Language.strDoubleClickTabClosesIt; - chkAlwaysShowPanelSelectionDlg.Text = Language.strAlwaysShowPanelSelection; - - chkUseOnlyErrorsAndInfosPanel.Text = Language.strUseOnlyErrorsAndInfosPanel; - lblSwitchToErrorsAndInfos.Text = Language.strSwitchToErrorsAndInfos; - chkMCInformation.Text = Language.strInformations; - chkMCWarnings.Text = Language.strWarnings; - chkMCErrors.Text = Language.strErrors; - } - - public override void LoadSettings() - { - base.SaveSettings(); - - chkAlwaysShowPanelTabs.Checked = Settings.AlwaysShowPanelTabs; - chkOpenNewTabRightOfSelected.Checked = Settings.OpenTabsRightOfSelected; - chkShowLogonInfoOnTabs.Checked = Settings.ShowLogonInfoOnTabs; - chkShowProtocolOnTabs.Checked = Settings.ShowProtocolOnTabs; - chkIdentifyQuickConnectTabs.Checked = Settings.IdentifyQuickConnectTabs; - chkDoubleClickClosesTab.Checked = Settings.DoubleClickOnTabClosesIt; - chkAlwaysShowPanelSelectionDlg.Checked = Settings.AlwaysShowPanelSelectionDlg; - - chkUseOnlyErrorsAndInfosPanel.Checked = Settings.ShowNoMessageBoxes; - chkMCInformation.Checked = Settings.SwitchToMCOnInformation; - chkMCWarnings.Checked = Settings.SwitchToMCOnWarning; - chkMCErrors.Checked = Settings.SwitchToMCOnError; - } - - public override void SaveSettings() - { - base.SaveSettings(); - - Settings.AlwaysShowPanelTabs = chkAlwaysShowPanelTabs.Checked; - frmMain.Default.ShowHidePanelTabs(); - - Settings.OpenTabsRightOfSelected = chkOpenNewTabRightOfSelected.Checked; - Settings.ShowLogonInfoOnTabs = chkShowLogonInfoOnTabs.Checked; - Settings.ShowProtocolOnTabs = chkShowProtocolOnTabs.Checked; - Settings.IdentifyQuickConnectTabs = chkIdentifyQuickConnectTabs.Checked; - Settings.DoubleClickOnTabClosesIt = chkDoubleClickClosesTab.Checked; - Settings.AlwaysShowPanelSelectionDlg = chkAlwaysShowPanelSelectionDlg.Checked; - - Settings.ShowNoMessageBoxes = chkUseOnlyErrorsAndInfosPanel.Checked; - Settings.SwitchToMCOnInformation = chkMCInformation.Checked; - Settings.SwitchToMCOnWarning = chkMCWarnings.Checked; - Settings.SwitchToMCOnError = chkMCErrors.Checked; - } - - public void chkUseOnlyErrorsAndInfosPanel_CheckedChanged(object sender, EventArgs e) - { - chkMCInformation.Enabled = chkUseOnlyErrorsAndInfosPanel.Checked; - chkMCWarnings.Enabled = chkUseOnlyErrorsAndInfosPanel.Checked; - chkMCErrors.Enabled = chkUseOnlyErrorsAndInfosPanel.Checked; - } - } -} diff --git a/mRemoteV1/CS/Forms/OptionsPages/ThemePage.Designer.cs b/mRemoteV1/CS/Forms/OptionsPages/ThemePage.Designer.cs deleted file mode 100644 index 7b5111d9b..000000000 --- a/mRemoteV1/CS/Forms/OptionsPages/ThemePage.Designer.cs +++ /dev/null @@ -1,113 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - - -namespace mRemoteNG.Forms.OptionsPages -{ - [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()]public - partial class ThemePage : OptionsPage - { - - //UserControl overrides dispose to clean up the component list. - [System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing) - { - try - { - if (disposing && components != null) - { - components.Dispose(); - } - } - finally - { - base.Dispose(disposing); - } - } - - //Required by the Windows Form Designer - private System.ComponentModel.Container components = null; - - //NOTE: The following procedure is required by the Windows Form Designer - //It can be modified using the Windows Form Designer. - //Do not modify it using the code editor. - [System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ThemePage)); - this.btnThemeDelete = new System.Windows.Forms.Button(); - this.btnThemeDelete.Click += new System.EventHandler(this.btnThemeDelete_Click); - this.btnThemeNew = new System.Windows.Forms.Button(); - this.btnThemeNew.Click += new System.EventHandler(this.btnThemeNew_Click); - this.cboTheme = new System.Windows.Forms.ComboBox(); - this.cboTheme.DropDown += new System.EventHandler(this.cboTheme_DropDown); - this.cboTheme.SelectionChangeCommitted += new System.EventHandler(this.cboTheme_SelectionChangeCommitted); - this.ThemePropertyGrid = new System.Windows.Forms.PropertyGrid(); - this.SuspendLayout(); - // - //btnThemeDelete - // - this.btnThemeDelete.Location = new System.Drawing.Point(535, 0); - this.btnThemeDelete.Name = "btnThemeDelete"; - this.btnThemeDelete.Size = new System.Drawing.Size(75, 23); - this.btnThemeDelete.TabIndex = 6; - this.btnThemeDelete.Text = "&Delete"; - this.btnThemeDelete.UseVisualStyleBackColor = true; - // - //btnThemeNew - // - this.btnThemeNew.Location = new System.Drawing.Point(454, 0); - this.btnThemeNew.Name = "btnThemeNew"; - this.btnThemeNew.Size = new System.Drawing.Size(75, 23); - this.btnThemeNew.TabIndex = 5; - this.btnThemeNew.Text = "&New"; - this.btnThemeNew.UseVisualStyleBackColor = true; - // - //cboTheme - // - this.cboTheme.FormattingEnabled = true; - this.cboTheme.Location = new System.Drawing.Point(3, 1); - this.cboTheme.Name = "cboTheme"; - this.cboTheme.Size = new System.Drawing.Size(445, 21); - this.cboTheme.TabIndex = 4; - // - //ThemePropertyGrid - // - this.ThemePropertyGrid.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.ThemePropertyGrid.Location = new System.Drawing.Point(3, 29); - this.ThemePropertyGrid.Name = "ThemePropertyGrid"; - this.ThemePropertyGrid.Size = new System.Drawing.Size(607, 460); - this.ThemePropertyGrid.TabIndex = 7; - this.ThemePropertyGrid.UseCompatibleTextRendering = true; - // - //ThemePage - // - this.AutoScaleDimensions = new System.Drawing.SizeF((float) (6.0F), (float) (13.0F)); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.btnThemeDelete); - this.Controls.Add(this.btnThemeNew); - this.Controls.Add(this.cboTheme); - this.Controls.Add(this.ThemePropertyGrid); - this.Name = "ThemePage"; - this.PageIcon = (System.Drawing.Icon) (resources.GetObject("$this.PageIcon")); - this.Size = new System.Drawing.Size(610, 489); - this.ResumeLayout(false); - - } - internal System.Windows.Forms.Button btnThemeDelete; - internal System.Windows.Forms.Button btnThemeNew; - internal System.Windows.Forms.ComboBox cboTheme; - internal System.Windows.Forms.PropertyGrid ThemePropertyGrid; - - } -} diff --git a/mRemoteV1/CS/Forms/OptionsPages/ThemePage.cs b/mRemoteV1/CS/Forms/OptionsPages/ThemePage.cs deleted file mode 100644 index 7adcddb39..000000000 --- a/mRemoteV1/CS/Forms/OptionsPages/ThemePage.cs +++ /dev/null @@ -1,143 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - -using System.ComponentModel; -using mRemoteNG.My; -using mRemoteNG.Themes; - - -namespace mRemoteNG.Forms.OptionsPages -{ - public partial class ThemePage - { - public ThemePage() - { - InitializeComponent(); - } -public override string PageName - { - get - { - return Language.strOptionsTabTheme; - } - set - { - } - } - - public override void ApplyLanguage() - { - base.ApplyLanguage(); - - btnThemeDelete.Text = Language.strOptionsThemeButtonDelete; - btnThemeNew.Text = Language.strOptionsThemeButtonNew; - } - - public override void LoadSettings() - { - base.SaveSettings(); - - _themeList = new BindingList(ThemeManager.LoadThemes()); - cboTheme.DataSource = _themeList; - cboTheme.SelectedItem = ThemeManager.ActiveTheme; - cboTheme_SelectionChangeCommitted(this, new EventArgs()); - - ThemePropertyGrid.PropertySort = PropertySort.Categorized; - - _originalTheme = ThemeManager.ActiveTheme; - } - - public override void SaveSettings() - { - base.SaveSettings(); - - ThemeManager.SaveThemes(_themeList); - Settings.ThemeName = ThemeManager.ActiveTheme.Name; - } - - public override void RevertSettings() - { - ThemeManager.ActiveTheme = _originalTheme; - } - -#region Private Fields - private BindingList _themeList; - private ThemeInfo _originalTheme; -#endregion - -#region Private Methods -#region Event Handlers - public void cboTheme_DropDown(object sender, EventArgs e) - { - if (ThemeManager.ActiveTheme == ThemeManager.DefaultTheme) - { - return ; - } - ThemeManager.ActiveTheme.Name = cboTheme.Text; - } - - public void cboTheme_SelectionChangeCommitted(object sender, EventArgs e) - { - if (cboTheme.SelectedItem == null) - { - cboTheme.SelectedItem = ThemeManager.DefaultTheme; - } - - if (cboTheme.SelectedItem == ThemeManager.DefaultTheme) - { - cboTheme.DropDownStyle = ComboBoxStyle.DropDownList; - btnThemeDelete.Enabled = false; - ThemePropertyGrid.Enabled = false; - } - else - { - cboTheme.DropDownStyle = ComboBoxStyle.DropDown; - btnThemeDelete.Enabled = true; - ThemePropertyGrid.Enabled = true; - } - - ThemeManager.ActiveTheme = cboTheme.SelectedItem; - ThemePropertyGrid.SelectedObject = ThemeManager.ActiveTheme; - ThemePropertyGrid.Refresh(); - } - - public void btnThemeNew_Click(object sender, EventArgs e) - { - ThemeInfo newTheme = ThemeManager.ActiveTheme.Clone(); - newTheme.Name = Language.strUnnamedTheme; - - _themeList.Add(newTheme); - - cboTheme.SelectedItem = newTheme; - cboTheme_SelectionChangeCommitted(this, new EventArgs()); - - cboTheme.Focus(); - } - - public void btnThemeDelete_Click(object sender, EventArgs e) - { - ThemeInfo theme = cboTheme.SelectedItem; - if (theme == null) - { - return ; - } - - _themeList.Remove(theme); - - cboTheme.SelectedItem = ThemeManager.DefaultTheme; - cboTheme_SelectionChangeCommitted(this, new EventArgs()); - } -#endregion -#endregion - } -} diff --git a/mRemoteV1/CS/Forms/OptionsPages/UpdatesPage.Designer.cs b/mRemoteV1/CS/Forms/OptionsPages/UpdatesPage.Designer.cs deleted file mode 100644 index 3de8c0dd4..000000000 --- a/mRemoteV1/CS/Forms/OptionsPages/UpdatesPage.Designer.cs +++ /dev/null @@ -1,305 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - - -namespace mRemoteNG.Forms.OptionsPages -{ - [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()]public - partial class UpdatesPage : OptionsPage - { - - //UserControl overrides dispose to clean up the component list. - [System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing) - { - try - { - if (disposing && components != null) - { - components.Dispose(); - } - } - finally - { - base.Dispose(disposing); - } - } - - //Required by the Windows Form Designer - private System.ComponentModel.Container components = null; - - //NOTE: The following procedure is required by the Windows Form Designer - //It can be modified using the Windows Form Designer. - //Do not modify it using the code editor. - [System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UpdatesPage)); - this.lblUpdatesExplanation = new System.Windows.Forms.Label(); - this.pnlUpdateCheck = new System.Windows.Forms.Panel(); - this.btnUpdateCheckNow = new System.Windows.Forms.Button(); - this.btnUpdateCheckNow.Click += new System.EventHandler(this.btnUpdateCheckNow_Click); - this.chkCheckForUpdatesOnStartup = new System.Windows.Forms.CheckBox(); - this.chkCheckForUpdatesOnStartup.CheckedChanged += new System.EventHandler(this.chkCheckForUpdatesOnStartup_CheckedChanged); - this.cboUpdateCheckFrequency = new System.Windows.Forms.ComboBox(); - this.pnlProxy = new System.Windows.Forms.Panel(); - this.pnlProxyBasic = new System.Windows.Forms.Panel(); - this.lblProxyAddress = new System.Windows.Forms.Label(); - this.txtProxyAddress = new System.Windows.Forms.TextBox(); - this.lblProxyPort = new System.Windows.Forms.Label(); - this.numProxyPort = new System.Windows.Forms.NumericUpDown(); - this.chkUseProxyForAutomaticUpdates = new System.Windows.Forms.CheckBox(); - this.chkUseProxyForAutomaticUpdates.CheckedChanged += new System.EventHandler(this.chkUseProxyForAutomaticUpdates_CheckedChanged); - this.chkUseProxyAuthentication = new System.Windows.Forms.CheckBox(); - this.chkUseProxyAuthentication.CheckedChanged += new System.EventHandler(this.chkUseProxyAuthentication_CheckedChanged); - this.pnlProxyAuthentication = new System.Windows.Forms.Panel(); - this.lblProxyUsername = new System.Windows.Forms.Label(); - this.txtProxyUsername = new System.Windows.Forms.TextBox(); - this.lblProxyPassword = new System.Windows.Forms.Label(); - this.txtProxyPassword = new System.Windows.Forms.TextBox(); - this.btnTestProxy = new System.Windows.Forms.Button(); - this.btnTestProxy.Click += new System.EventHandler(this.btnTestProxy_Click); - this.pnlUpdateCheck.SuspendLayout(); - this.pnlProxy.SuspendLayout(); - this.pnlProxyBasic.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize) this.numProxyPort).BeginInit(); - this.pnlProxyAuthentication.SuspendLayout(); - this.SuspendLayout(); - // - //lblUpdatesExplanation - // - this.lblUpdatesExplanation.Location = new System.Drawing.Point(3, 0); - this.lblUpdatesExplanation.Name = "lblUpdatesExplanation"; - this.lblUpdatesExplanation.Size = new System.Drawing.Size(536, 40); - this.lblUpdatesExplanation.TabIndex = 3; - this.lblUpdatesExplanation.Text = "mRemoteNG can periodically connect to the mRemoteNG website to check for updates " + - "and product announcements."; - // - //pnlUpdateCheck - // - this.pnlUpdateCheck.Controls.Add(this.btnUpdateCheckNow); - this.pnlUpdateCheck.Controls.Add(this.chkCheckForUpdatesOnStartup); - this.pnlUpdateCheck.Controls.Add(this.cboUpdateCheckFrequency); - this.pnlUpdateCheck.Location = new System.Drawing.Point(0, 48); - this.pnlUpdateCheck.Name = "pnlUpdateCheck"; - this.pnlUpdateCheck.Size = new System.Drawing.Size(610, 120); - this.pnlUpdateCheck.TabIndex = 4; - // - //btnUpdateCheckNow - // - this.btnUpdateCheckNow.Location = new System.Drawing.Point(3, 80); - this.btnUpdateCheckNow.Name = "btnUpdateCheckNow"; - this.btnUpdateCheckNow.Size = new System.Drawing.Size(120, 32); - this.btnUpdateCheckNow.TabIndex = 2; - this.btnUpdateCheckNow.Text = "Check Now"; - this.btnUpdateCheckNow.UseVisualStyleBackColor = true; - // - //chkCheckForUpdatesOnStartup - // - this.chkCheckForUpdatesOnStartup.AutoSize = true; - this.chkCheckForUpdatesOnStartup.Location = new System.Drawing.Point(3, 8); - this.chkCheckForUpdatesOnStartup.Name = "chkCheckForUpdatesOnStartup"; - this.chkCheckForUpdatesOnStartup.Size = new System.Drawing.Size(213, 17); - this.chkCheckForUpdatesOnStartup.TabIndex = 0; - this.chkCheckForUpdatesOnStartup.Text = "Check for updates and announcements"; - this.chkCheckForUpdatesOnStartup.UseVisualStyleBackColor = true; - // - //cboUpdateCheckFrequency - // - this.cboUpdateCheckFrequency.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cboUpdateCheckFrequency.FormattingEnabled = true; - this.cboUpdateCheckFrequency.Location = new System.Drawing.Point(48, 40); - this.cboUpdateCheckFrequency.Name = "cboUpdateCheckFrequency"; - this.cboUpdateCheckFrequency.Size = new System.Drawing.Size(128, 21); - this.cboUpdateCheckFrequency.TabIndex = 1; - // - //pnlProxy - // - this.pnlProxy.Controls.Add(this.pnlProxyBasic); - this.pnlProxy.Controls.Add(this.chkUseProxyForAutomaticUpdates); - this.pnlProxy.Controls.Add(this.chkUseProxyAuthentication); - this.pnlProxy.Controls.Add(this.pnlProxyAuthentication); - this.pnlProxy.Controls.Add(this.btnTestProxy); - this.pnlProxy.Location = new System.Drawing.Point(0, 200); - this.pnlProxy.Name = "pnlProxy"; - this.pnlProxy.Size = new System.Drawing.Size(610, 224); - this.pnlProxy.TabIndex = 5; - // - //pnlProxyBasic - // - this.pnlProxyBasic.Controls.Add(this.lblProxyAddress); - this.pnlProxyBasic.Controls.Add(this.txtProxyAddress); - this.pnlProxyBasic.Controls.Add(this.lblProxyPort); - this.pnlProxyBasic.Controls.Add(this.numProxyPort); - this.pnlProxyBasic.Enabled = false; - this.pnlProxyBasic.Location = new System.Drawing.Point(3, 32); - this.pnlProxyBasic.Name = "pnlProxyBasic"; - this.pnlProxyBasic.Size = new System.Drawing.Size(604, 40); - this.pnlProxyBasic.TabIndex = 1; - // - //lblProxyAddress - // - this.lblProxyAddress.Location = new System.Drawing.Point(8, 4); - this.lblProxyAddress.Name = "lblProxyAddress"; - this.lblProxyAddress.Size = new System.Drawing.Size(96, 24); - this.lblProxyAddress.TabIndex = 0; - this.lblProxyAddress.Text = "Address:"; - this.lblProxyAddress.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - //txtProxyAddress - // - this.txtProxyAddress.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.txtProxyAddress.Location = new System.Drawing.Point(104, 8); - this.txtProxyAddress.Name = "txtProxyAddress"; - this.txtProxyAddress.Size = new System.Drawing.Size(240, 20); - this.txtProxyAddress.TabIndex = 1; - // - //lblProxyPort - // - this.lblProxyPort.Location = new System.Drawing.Point(350, 5); - this.lblProxyPort.Name = "lblProxyPort"; - this.lblProxyPort.Size = new System.Drawing.Size(64, 23); - this.lblProxyPort.TabIndex = 2; - this.lblProxyPort.Text = "Port:"; - this.lblProxyPort.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - //numProxyPort - // - this.numProxyPort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.numProxyPort.Location = new System.Drawing.Point(420, 8); - this.numProxyPort.Maximum = new decimal(new int[] {65535, 0, 0, 0}); - this.numProxyPort.Minimum = new decimal(new int[] {1, 0, 0, 0}); - this.numProxyPort.Name = "numProxyPort"; - this.numProxyPort.Size = new System.Drawing.Size(64, 20); - this.numProxyPort.TabIndex = 3; - this.numProxyPort.Value = new decimal(new int[] {80, 0, 0, 0}); - // - //chkUseProxyForAutomaticUpdates - // - this.chkUseProxyForAutomaticUpdates.AutoSize = true; - this.chkUseProxyForAutomaticUpdates.Location = new System.Drawing.Point(3, 8); - this.chkUseProxyForAutomaticUpdates.Name = "chkUseProxyForAutomaticUpdates"; - this.chkUseProxyForAutomaticUpdates.Size = new System.Drawing.Size(168, 17); - this.chkUseProxyForAutomaticUpdates.TabIndex = 0; - this.chkUseProxyForAutomaticUpdates.Text = "Use a proxy server to connect"; - this.chkUseProxyForAutomaticUpdates.UseVisualStyleBackColor = true; - // - //chkUseProxyAuthentication - // - this.chkUseProxyAuthentication.AutoSize = true; - this.chkUseProxyAuthentication.Enabled = false; - this.chkUseProxyAuthentication.Location = new System.Drawing.Point(27, 80); - this.chkUseProxyAuthentication.Name = "chkUseProxyAuthentication"; - this.chkUseProxyAuthentication.Size = new System.Drawing.Size(216, 17); - this.chkUseProxyAuthentication.TabIndex = 2; - this.chkUseProxyAuthentication.Text = "This proxy server requires authentication"; - this.chkUseProxyAuthentication.UseVisualStyleBackColor = true; - // - //pnlProxyAuthentication - // - this.pnlProxyAuthentication.Controls.Add(this.lblProxyUsername); - this.pnlProxyAuthentication.Controls.Add(this.txtProxyUsername); - this.pnlProxyAuthentication.Controls.Add(this.lblProxyPassword); - this.pnlProxyAuthentication.Controls.Add(this.txtProxyPassword); - this.pnlProxyAuthentication.Enabled = false; - this.pnlProxyAuthentication.Location = new System.Drawing.Point(3, 104); - this.pnlProxyAuthentication.Name = "pnlProxyAuthentication"; - this.pnlProxyAuthentication.Size = new System.Drawing.Size(604, 72); - this.pnlProxyAuthentication.TabIndex = 3; - // - //lblProxyUsername - // - this.lblProxyUsername.Location = new System.Drawing.Point(8, 4); - this.lblProxyUsername.Name = "lblProxyUsername"; - this.lblProxyUsername.Size = new System.Drawing.Size(96, 24); - this.lblProxyUsername.TabIndex = 0; - this.lblProxyUsername.Text = "Username:"; - this.lblProxyUsername.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - //txtProxyUsername - // - this.txtProxyUsername.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.txtProxyUsername.Location = new System.Drawing.Point(104, 8); - this.txtProxyUsername.Name = "txtProxyUsername"; - this.txtProxyUsername.Size = new System.Drawing.Size(240, 20); - this.txtProxyUsername.TabIndex = 1; - // - //lblProxyPassword - // - this.lblProxyPassword.Location = new System.Drawing.Point(8, 36); - this.lblProxyPassword.Name = "lblProxyPassword"; - this.lblProxyPassword.Size = new System.Drawing.Size(96, 24); - this.lblProxyPassword.TabIndex = 2; - this.lblProxyPassword.Text = "Password:"; - this.lblProxyPassword.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - //txtProxyPassword - // - this.txtProxyPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.txtProxyPassword.Location = new System.Drawing.Point(104, 40); - this.txtProxyPassword.Name = "txtProxyPassword"; - this.txtProxyPassword.Size = new System.Drawing.Size(240, 20); - this.txtProxyPassword.TabIndex = 3; - this.txtProxyPassword.UseSystemPasswordChar = true; - // - //btnTestProxy - // - this.btnTestProxy.Location = new System.Drawing.Point(3, 184); - this.btnTestProxy.Name = "btnTestProxy"; - this.btnTestProxy.Size = new System.Drawing.Size(120, 32); - this.btnTestProxy.TabIndex = 4; - this.btnTestProxy.Text = "Test Proxy"; - this.btnTestProxy.UseVisualStyleBackColor = true; - // - //UpdatesPage - // - this.AutoScaleDimensions = new System.Drawing.SizeF((float) (6.0F), (float) (13.0F)); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.lblUpdatesExplanation); - this.Controls.Add(this.pnlUpdateCheck); - this.Controls.Add(this.pnlProxy); - this.Name = "UpdatesPage"; - this.PageIcon = (System.Drawing.Icon) (resources.GetObject("$this.PageIcon")); - this.Size = new System.Drawing.Size(610, 489); - this.pnlUpdateCheck.ResumeLayout(false); - this.pnlUpdateCheck.PerformLayout(); - this.pnlProxy.ResumeLayout(false); - this.pnlProxy.PerformLayout(); - this.pnlProxyBasic.ResumeLayout(false); - this.pnlProxyBasic.PerformLayout(); - ((System.ComponentModel.ISupportInitialize) this.numProxyPort).EndInit(); - this.pnlProxyAuthentication.ResumeLayout(false); - this.pnlProxyAuthentication.PerformLayout(); - this.ResumeLayout(false); - - } - internal System.Windows.Forms.Label lblUpdatesExplanation; - internal System.Windows.Forms.Panel pnlUpdateCheck; - internal System.Windows.Forms.Button btnUpdateCheckNow; - internal System.Windows.Forms.CheckBox chkCheckForUpdatesOnStartup; - internal System.Windows.Forms.ComboBox cboUpdateCheckFrequency; - internal System.Windows.Forms.Panel pnlProxy; - internal System.Windows.Forms.Panel pnlProxyBasic; - internal System.Windows.Forms.Label lblProxyAddress; - internal System.Windows.Forms.TextBox txtProxyAddress; - internal System.Windows.Forms.Label lblProxyPort; - internal System.Windows.Forms.NumericUpDown numProxyPort; - internal System.Windows.Forms.CheckBox chkUseProxyForAutomaticUpdates; - internal System.Windows.Forms.CheckBox chkUseProxyAuthentication; - internal System.Windows.Forms.Panel pnlProxyAuthentication; - internal System.Windows.Forms.Label lblProxyUsername; - internal System.Windows.Forms.TextBox txtProxyUsername; - internal System.Windows.Forms.Label lblProxyPassword; - internal System.Windows.Forms.TextBox txtProxyPassword; - internal System.Windows.Forms.Button btnTestProxy; - - } -} diff --git a/mRemoteV1/CS/Forms/OptionsPages/UpdatesPage.cs b/mRemoteV1/CS/Forms/OptionsPages/UpdatesPage.cs deleted file mode 100644 index 9c513920c..000000000 --- a/mRemoteV1/CS/Forms/OptionsPages/UpdatesPage.cs +++ /dev/null @@ -1,261 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - -using System.ComponentModel; -using mRemoteNG.My; -using mRemoteNG.App; -//using mRemoteNG.App.Info; -using mRemoteNG.Security; -using mRemoteNG.Tools; -using mRemoteNG.UI.Window; -using PSTaskDialog; - - -namespace mRemoteNG.Forms.OptionsPages -{ - public partial class UpdatesPage - { - public UpdatesPage() - { - InitializeComponent(); - } -#region Public Methods -public override string PageName - { - get - { - return Language.strTabUpdates; - } - set - { - } - } - - public override void ApplyLanguage() - { - base.ApplyLanguage(); - -#if !PORTABLE - lblUpdatesExplanation.Text = Language.strUpdateCheck; -#else - lblUpdatesExplanation.Text = Language.strUpdateCheckPortableEdition; -#endif - - chkCheckForUpdatesOnStartup.Text = Language.strCheckForUpdatesOnStartup; - btnUpdateCheckNow.Text = Language.strCheckNow; - - chkUseProxyForAutomaticUpdates.Text = Language.strCheckboxUpdateUseProxy; - lblProxyAddress.Text = Language.strLabelAddress; - lblProxyPort.Text = Language.strLabelPort; - - chkUseProxyAuthentication.Text = Language.strCheckboxProxyAuthentication; - lblProxyUsername.Text = Language.strLabelUsername; - lblProxyPassword.Text = Language.strLabelPassword; - - btnTestProxy.Text = Language.strButtonTestProxy; - } - - public override void LoadSettings() - { - base.SaveSettings(); - - chkCheckForUpdatesOnStartup.Checked = System.Convert.ToBoolean(My.Settings.Default.CheckForUpdatesOnStartup); - cboUpdateCheckFrequency.Enabled = chkCheckForUpdatesOnStartup.Checked; - cboUpdateCheckFrequency.Items.Clear(); - int nDaily = cboUpdateCheckFrequency.Items.Add(Language.strUpdateFrequencyDaily); - int nWeekly = cboUpdateCheckFrequency.Items.Add(Language.strUpdateFrequencyWeekly); - int nMonthly = cboUpdateCheckFrequency.Items.Add(Language.strUpdateFrequencyMonthly); - if (My.Settings.Default.CheckForUpdatesFrequencyDays < 1) - { - chkCheckForUpdatesOnStartup.Checked = false; - cboUpdateCheckFrequency.SelectedIndex = nDaily; - } // Daily - else if ((int) My.Settings.Default.CheckForUpdatesFrequencyDays == 1) - { - cboUpdateCheckFrequency.SelectedIndex = nDaily; - } // Weekly - else if ((int) My.Settings.Default.CheckForUpdatesFrequencyDays == 7) - { - cboUpdateCheckFrequency.SelectedIndex = nWeekly; - } // Monthly - else if ((int) My.Settings.Default.CheckForUpdatesFrequencyDays == 31) - { - cboUpdateCheckFrequency.SelectedIndex = nMonthly; - } - else - { - int nCustom = cboUpdateCheckFrequency.Items.Add(string.Format(Language.strUpdateFrequencyCustom, My.Settings.Default.CheckForUpdatesFrequencyDays)); - cboUpdateCheckFrequency.SelectedIndex = nCustom; - } - - chkUseProxyForAutomaticUpdates.Checked = System.Convert.ToBoolean(My.Settings.Default.UpdateUseProxy); - pnlProxyBasic.Enabled = System.Convert.ToBoolean(My.Settings.Default.UpdateUseProxy); - txtProxyAddress.Text = System.Convert.ToString(My.Settings.Default.UpdateProxyAddress); - numProxyPort.Value = System.Convert.ToDecimal(My.Settings.Default.UpdateProxyPort); - - chkUseProxyAuthentication.Checked = System.Convert.ToBoolean(My.Settings.Default.UpdateProxyUseAuthentication); - pnlProxyAuthentication.Enabled = System.Convert.ToBoolean(My.Settings.Default.UpdateProxyUseAuthentication); - txtProxyUsername.Text = System.Convert.ToString(My.Settings.Default.UpdateProxyAuthUser); - txtProxyPassword.Text = Crypt.Decrypt(System.Convert.ToString(My.Settings.Default.UpdateProxyAuthPass), App.Info.General.EncryptionKey); - - btnTestProxy.Enabled = System.Convert.ToBoolean(My.Settings.Default.UpdateUseProxy); - -#if PORTABLE - foreach (Control Control in Controls) - { - if (Control != lblUpdatesExplanation) - { - Control.Visible = false; - } - } -#endif - } - - public override void SaveSettings() - { - base.SaveSettings(); - - My.Settings.Default.CheckForUpdatesOnStartup = chkCheckForUpdatesOnStartup.Checked; - if (cboUpdateCheckFrequency.SelectedItem.ToString() == Language.strUpdateFrequencyDaily) - { - My.Settings.Default.CheckForUpdatesFrequencyDays = 1; - } - else if (cboUpdateCheckFrequency.SelectedItem.ToString() == Language.strUpdateFrequencyWeekly) - { - My.Settings.Default.CheckForUpdatesFrequencyDays = 7; - } - else if (cboUpdateCheckFrequency.SelectedItem.ToString() == Language.strUpdateFrequencyMonthly) - { - My.Settings.Default.CheckForUpdatesFrequencyDays = 31; - } - - My.Settings.Default.UpdateUseProxy = chkUseProxyForAutomaticUpdates.Checked; - My.Settings.Default.UpdateProxyAddress = txtProxyAddress.Text; - My.Settings.Default.UpdateProxyPort = numProxyPort.Value; - - My.Settings.Default.UpdateProxyUseAuthentication = chkUseProxyAuthentication.Checked; - My.Settings.Default.UpdateProxyAuthUser = txtProxyUsername.Text; - My.Settings.Default.UpdateProxyAuthPass = Crypt.Encrypt(txtProxyPassword.Text, App.Info.General.EncryptionKey); - } -#endregion - -#region Private Fields - private App.Update _appUpdate; -#endregion - -#region Private Methods -#region Event Handlers - public void chkCheckForUpdatesOnStartup_CheckedChanged(object sender, EventArgs e) - { - cboUpdateCheckFrequency.Enabled = chkCheckForUpdatesOnStartup.Checked; - } - - public void btnUpdateCheckNow_Click(object sender, EventArgs e) - { - Runtime.Windows.Show(Type.Update); - } - - public void chkUseProxyForAutomaticUpdates_CheckedChanged(object sender, EventArgs e) - { - pnlProxyBasic.Enabled = chkUseProxyForAutomaticUpdates.Checked; - btnTestProxy.Enabled = chkUseProxyForAutomaticUpdates.Checked; - - if (chkUseProxyForAutomaticUpdates.Checked) - { - chkUseProxyAuthentication.Enabled = true; - - if (chkUseProxyAuthentication.Checked) - { - pnlProxyAuthentication.Enabled = true; - } - } - else - { - chkUseProxyAuthentication.Enabled = false; - pnlProxyAuthentication.Enabled = false; - } - } - - public void btnTestProxy_Click(object sender, EventArgs e) - { - if (_appUpdate != null) - { - if (_appUpdate.IsGetUpdateInfoRunning) - { - return ; - } - } - - _appUpdate = new App.Update(); - _appUpdate.Load += _appUpdate.Update_Load; - _appUpdate.SetProxySettings(chkUseProxyForAutomaticUpdates.Checked, txtProxyAddress.Text, (int) numProxyPort.Value, chkUseProxyAuthentication.Checked, txtProxyUsername.Text, txtProxyPassword.Text); - - btnTestProxy.Enabled = false; - btnTestProxy.Text = Language.strOptionsProxyTesting; - - _appUpdate.GetUpdateInfoCompletedEvent += GetUpdateInfoCompleted; - - _appUpdate.GetUpdateInfoAsync(); - } - - public void chkUseProxyAuthentication_CheckedChanged(object sender, EventArgs e) - { - if (chkUseProxyForAutomaticUpdates.Checked) - { - if (chkUseProxyAuthentication.Checked) - { - pnlProxyAuthentication.Enabled = true; - } - else - { - pnlProxyAuthentication.Enabled = false; - } - } - } -#endregion - - private void GetUpdateInfoCompleted(object sender, AsyncCompletedEventArgs e) - { - if (InvokeRequired) - { - AsyncCompletedEventHandler myDelegate = new AsyncCompletedEventHandler(GetUpdateInfoCompleted); - Invoke(myDelegate, new object[] {sender, e}); - return ; - } - - try - { - _appUpdate.GetUpdateInfoCompletedEvent -= GetUpdateInfoCompleted; - - btnTestProxy.Enabled = true; - btnTestProxy.Text = Language.strButtonTestProxy; - - if (e.Cancelled) - { - return ; - } - if (e.Error != null) - { - throw (e.Error); - } - - cTaskDialog.ShowCommandBox(this, System.Convert.ToString(Application.Info.ProductName), Language.strProxyTestSucceeded, "", Language.strButtonOK, false); - } - catch (Exception ex) - { - cTaskDialog.ShowCommandBox(this, System.Convert.ToString(Application.Info.ProductName), Language.strProxyTestFailed, Misc.GetExceptionMessageRecursive(ex), "", "", "", Language.strButtonOK, false, eSysIcons.Error, (PSTaskDialog.eSysIcons) 0); - } - } -#endregion - } -} diff --git a/mRemoteV1/CS/Forms/PasswordForm.Designer.cs b/mRemoteV1/CS/Forms/PasswordForm.Designer.cs deleted file mode 100644 index 22bc13c42..000000000 --- a/mRemoteV1/CS/Forms/PasswordForm.Designer.cs +++ /dev/null @@ -1,183 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - - -namespace mRemoteNG.Forms -{ - [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()]public - partial class PasswordForm : System.Windows.Forms.Form - { - - //Form overrides dispose to clean up the component list. - [System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing) - { - try - { - if (disposing && components != null) - { - components.Dispose(); - } - } - finally - { - base.Dispose(disposing); - } - } - - //Required by the Windows Form Designer - private System.ComponentModel.Container components = null; - - //NOTE: The following procedure is required by the Windows Form Designer - //It can be modified using the Windows Form Designer. - //Do not modify it using the code editor. - [System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent() - { - this.lblPassword = new System.Windows.Forms.Label(); - this.Load += new System.EventHandler(frmPassword_Load); - this.lblVerify = new System.Windows.Forms.Label(); - this.btnOK = new System.Windows.Forms.Button(); - this.btnOK.Click += new System.EventHandler(this.btnOK_Click); - this.btnCancel = new System.Windows.Forms.Button(); - this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); - this.lblStatus = new System.Windows.Forms.Label(); - this.pbLock = new System.Windows.Forms.PictureBox(); - this.txtVerify = new mRemoteNG.Controls.TextBox(); - this.txtVerify.TextChanged += new System.EventHandler(this.txtPassword_TextChanged); - this.txtPassword = new mRemoteNG.Controls.TextBox(); - this.txtPassword.TextChanged += new System.EventHandler(this.txtPassword_TextChanged); - ((System.ComponentModel.ISupportInitialize) this.pbLock).BeginInit(); - this.SuspendLayout(); - // - //lblPassword - // - this.lblPassword.AutoSize = true; - this.lblPassword.Location = new System.Drawing.Point(82, 12); - this.lblPassword.Name = "lblPassword"; - this.lblPassword.Size = new System.Drawing.Size(56, 13); - this.lblPassword.TabIndex = 1; - this.lblPassword.Text = "Password:"; - // - //lblVerify - // - this.lblVerify.AutoSize = true; - this.lblVerify.Location = new System.Drawing.Point(82, 51); - this.lblVerify.Name = "lblVerify"; - this.lblVerify.Size = new System.Drawing.Size(36, 13); - this.lblVerify.TabIndex = 3; - this.lblVerify.Text = "Verify:"; - // - //btnOK - // - this.btnOK.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); - this.btnOK.Location = new System.Drawing.Point(291, 119); - this.btnOK.Name = "btnOK"; - this.btnOK.Size = new System.Drawing.Size(75, 23); - this.btnOK.TabIndex = 7; - this.btnOK.Text = global::mRemoteNG.My.Language.strButtonOK; - this.btnOK.UseVisualStyleBackColor = true; - // - //btnCancel - // - this.btnCancel.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); - this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.btnCancel.Location = new System.Drawing.Point(210, 119); - this.btnCancel.Name = "btnCancel"; - this.btnCancel.Size = new System.Drawing.Size(75, 23); - this.btnCancel.TabIndex = 6; - this.btnCancel.Text = global::mRemoteNG.My.Language.strButtonCancel; - this.btnCancel.UseVisualStyleBackColor = true; - // - //lblStatus - // - this.lblStatus.Anchor = (System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right); - this.lblStatus.ForeColor = System.Drawing.Color.Red; - this.lblStatus.Location = new System.Drawing.Point(85, 90); - this.lblStatus.Name = "lblStatus"; - this.lblStatus.Size = new System.Drawing.Size(281, 13); - this.lblStatus.TabIndex = 5; - this.lblStatus.Text = "Status"; - this.lblStatus.TextAlign = System.Drawing.ContentAlignment.TopRight; - this.lblStatus.Visible = false; - // - //pbLock - // - this.pbLock.Image = global::My.Resources.Resources.Lock; - this.pbLock.Location = new System.Drawing.Point(12, 12); - this.pbLock.Name = "pbLock"; - this.pbLock.Size = new System.Drawing.Size(64, 64); - this.pbLock.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; - this.pbLock.TabIndex = 7; - this.pbLock.TabStop = false; - // - //txtVerify - // - this.txtVerify.Anchor = (System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right); - this.txtVerify.Location = new System.Drawing.Point(85, 67); - this.txtVerify.Name = "txtVerify"; - this.txtVerify.SelectAllOnFocus = true; - this.txtVerify.Size = new System.Drawing.Size(281, 20); - this.txtVerify.TabIndex = 4; - this.txtVerify.UseSystemPasswordChar = true; - // - //txtPassword - // - this.txtPassword.Anchor = (System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right); - this.txtPassword.Location = new System.Drawing.Point(85, 28); - this.txtPassword.Name = "txtPassword"; - this.txtPassword.SelectAllOnFocus = true; - this.txtPassword.Size = new System.Drawing.Size(281, 20); - this.txtPassword.TabIndex = 2; - this.txtPassword.UseSystemPasswordChar = true; - // - //frmPassword - // - this.AcceptButton = this.btnOK; - this.AutoScaleDimensions = new System.Drawing.SizeF((float) (6.0F), (float) (13.0F)); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.CancelButton = this.btnCancel; - this.ClientSize = new System.Drawing.Size(378, 154); - this.ControlBox = false; - this.Controls.Add(this.pbLock); - this.Controls.Add(this.txtVerify); - this.Controls.Add(this.txtPassword); - this.Controls.Add(this.lblStatus); - this.Controls.Add(this.lblVerify); - this.Controls.Add(this.lblPassword); - this.Controls.Add(this.btnCancel); - this.Controls.Add(this.btnOK); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "PasswordForm"; - this.ShowIcon = false; - this.ShowInTaskbar = false; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = "Password"; - ((System.ComponentModel.ISupportInitialize) this.pbLock).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); - - } - private Controls.TextBox txtPassword; - private Controls.TextBox txtVerify; - private System.Windows.Forms.Label lblPassword; - private System.Windows.Forms.Label lblVerify; - private System.Windows.Forms.Button btnOK; - private System.Windows.Forms.Button btnCancel; - private System.Windows.Forms.Label lblStatus; - private System.Windows.Forms.PictureBox pbLock; - } -} diff --git a/mRemoteV1/CS/Forms/PasswordForm.cs b/mRemoteV1/CS/Forms/PasswordForm.cs deleted file mode 100644 index 73387d542..000000000 --- a/mRemoteV1/CS/Forms/PasswordForm.cs +++ /dev/null @@ -1,159 +0,0 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - -using mRemoteNG.My; - - -namespace mRemoteNG.Forms -{ - public partial class PasswordForm - { -#region Public Properties - private bool _Verify = true; -public bool Verify - { - get - { - return _Verify; - } - set - { - _Verify = value; - } - } - -public string Password - { - get - { - if (Verify) - { - return txtVerify.Text; - } - else - { - return txtPassword.Text; - } - } - } -#endregion - - -#region Constructors - public PasswordForm(string passwordName = null, bool verify = true) - { - // This call is required by the designer. - InitializeComponent(); - - // Add any initialization after the InitializeComponent() call. - _passwordName = passwordName; - this.Verify = verify; - } -#endregion - -#region Event Handlers - public void frmPassword_Load(object sender, EventArgs e) - { - ApplyLanguage(); - - if (!Verify) - { - Height = Height - (txtVerify.Top - txtPassword.Top); - lblVerify.Visible = false; - txtVerify.Visible = false; - } - } - - public void btnCancel_Click(System.Object sender, EventArgs e) - { - DialogResult = DialogResult.Cancel; - } - - public void btnOK_Click(System.Object sender, EventArgs e) - { - if (Verify) - { - if (VerifyPassword()) - { - DialogResult = DialogResult.OK; - } - } - else - { - DialogResult = DialogResult.OK; - } - } - - public void txtPassword_TextChanged(System.Object sender, EventArgs e) - { - HideStatus(); - } -#endregion - -#region Private Fields - private string _passwordName; -#endregion - -#region Private Methods - private void ApplyLanguage() - { - if (string.IsNullOrEmpty(_passwordName)) - { - Text = Language.strTitlePassword; - } - else - { - Text = string.Format(Language.strTitlePasswordWithName, _passwordName); - } - - lblPassword.Text = Language.strLabelPassword; - lblVerify.Text = Language.strLabelVerify; - - btnCancel.Text = Language.strButtonCancel; - btnOK.Text = Language.strButtonOK; - } - - private bool VerifyPassword() - { - if (txtPassword.Text.Length >= 3) - { - if (txtPassword.Text == txtVerify.Text) - { - return true; - } - else - { - ShowStatus(Language.strPasswordStatusMustMatch); - return false; - } - } - else - { - ShowStatus(Language.strPasswordStatusTooShort); - return false; - } - } - - private void ShowStatus(string status) - { - lblStatus.Visible = true; - lblStatus.Text = status; - } - - private void HideStatus() - { - lblStatus.Visible = false; - } -#endregion - } -} diff --git a/mRemoteV1/CS/Language/Language.Designer.cs b/mRemoteV1/CS/Language/Language.Designer.cs index cb65b81b5..ffc7bb4d5 100644 --- a/mRemoteV1/CS/Language/Language.Designer.cs +++ b/mRemoteV1/CS/Language/Language.Designer.cs @@ -1,8298 +1,6787 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - - -//------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.18408 +// Runtime Version:4.0.30319.34209 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ - - -namespace mRemoteNG -{ - namespace My - { - - //This class was auto-generated by the StronglyTypedResourceBuilder - //class via a tool like ResGen or Visual Studio. - //To add or remove a member, edit your .ResX file then rerun ResGen - //with the /str option, or rebuild your VS project. - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0"), - global::System.Diagnostics.DebuggerNonUserCodeAttribute(), - global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]internal class Language - { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]internal Language() - { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// -[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if (object.ReferenceEquals(resourceMan, null)) - { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("mRemoteNG.Language", typeof(Language).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// -[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]internal static global::System.Globalization.CultureInfo Culture - { - get - { - return resourceCulture; - } - set - { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to About. - /// -internal static string strAbout - { - get - { - return ResourceManager.GetString("strAbout", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Active. - /// -internal static string strActive - { - get - { - return ResourceManager.GetString("strActive", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Active Directory. - /// -internal static string strActiveDirectory - { - get - { - return ResourceManager.GetString("strActiveDirectory", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Activity. - /// -internal static string strActivity - { - get - { - return ResourceManager.GetString("strActivity", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to New Connection. - /// -internal static string strAddConnection - { - get - { - return ResourceManager.GetString("strAddConnection", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to New folder. - /// -internal static string strAddFolder - { - get - { - return ResourceManager.GetString("strAddFolder", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AddNodeFromXML failed!. - /// -internal static string strAddNodeFromXmlFailed - { - get - { - return ResourceManager.GetString("strAddNodeFromXmlFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AddNodesFromSQL failed!. - /// -internal static string strAddNodesFromSqlFailed - { - get - { - return ResourceManager.GetString("strAddNodesFromSqlFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Allow only a single instance of the application (mRemoteNG restart required). - /// -internal static string strAllowOnlySingleInstance - { - get - { - return ResourceManager.GetString("strAllowOnlySingleInstance", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Always. - /// -internal static string strAlways - { - get - { - return ResourceManager.GetString("strAlways", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Always connect, even if authentication fails. - /// -internal static string strAlwaysConnectEvenIfAuthFails - { - get - { - return ResourceManager.GetString("strAlwaysConnectEvenIfAuthFails", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Always show panel selection dialog when opening connections. - /// -internal static string strAlwaysShowPanelSelection - { - get - { - return ResourceManager.GetString("strAlwaysShowPanelSelection", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Always show panel tabs. - /// -internal static string strAlwaysShowPanelTabs - { - get - { - return ResourceManager.GetString("strAlwaysShowPanelTabs", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Always show notification area icon. - /// -internal static string strAlwaysShowSysTrayIcon - { - get - { - return ResourceManager.GetString("strAlwaysShowSysTrayIcon", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Ask me again later. - /// -internal static string strAskUpdatesCommandAskLater - { - get - { - return ResourceManager.GetString("strAskUpdatesCommandAskLater", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Customize the settings now. - /// -internal static string strAskUpdatesCommandCustom - { - get - { - return ResourceManager.GetString("strAskUpdatesCommandCustom", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use the recommended settings. - /// -internal static string strAskUpdatesCommandRecommended - { - get - { - return ResourceManager.GetString("strAskUpdatesCommandRecommended", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0} can automatically check for updates that may provide new features and bug fixes. It is recommended that you allow {0} to check for updates weekly.. - /// -internal static string strAskUpdatesContent - { - get - { - return ResourceManager.GetString("strAskUpdatesContent", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Automatic update settings. - /// -internal static string strAskUpdatesMainInstruction - { - get - { - return ResourceManager.GetString("strAskUpdatesMainInstruction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Aspect. - /// -internal static string strAspect - { - get - { - return ResourceManager.GetString("strAspect", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Automatically get session information. - /// -internal static string strAutomaticallyGetSessionInfo - { - get - { - return ResourceManager.GetString("strAutomaticallyGetSessionInfo", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Auto save every:. - /// -internal static string strAutoSaveEvery - { - get - { - return ResourceManager.GetString("strAutoSaveEvery", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Minutes (0 means disabled). - /// -internal static string strAutoSaveMins - { - get - { - return ResourceManager.GetString("strAutoSaveMins", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Latest version. - /// -internal static string strAvailableVersion - { - get - { - return ResourceManager.GetString("strAvailableVersion", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &Browse.... - /// -internal static string strButtonBrowse - { - get - { - return ResourceManager.GetString("strButtonBrowse", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &Cancel. - /// -internal static string strButtonCancel - { - get - { - return ResourceManager.GetString("strButtonCancel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Change. - /// -internal static string strButtonChange - { - get - { - return ResourceManager.GetString("strButtonChange", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &Close. - /// -internal static string strButtonClose - { - get - { - return ResourceManager.GetString("strButtonClose", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Default Inheritance. - /// -internal static string strButtonDefaultInheritance - { - get - { - return ResourceManager.GetString("strButtonDefaultInheritance", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Default Properties. - /// -internal static string strButtonDefaultProperties - { - get - { - return ResourceManager.GetString("strButtonDefaultProperties", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Disconnect. - /// -internal static string strButtonDisconnect - { - get - { - return ResourceManager.GetString("strButtonDisconnect", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Icon. - /// -internal static string strButtonIcon - { - get - { - return ResourceManager.GetString("strButtonIcon", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &Import. - /// -internal static string strButtonImport - { - get - { - return ResourceManager.GetString("strButtonImport", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Inheritance. - /// -internal static string strButtonInheritance - { - get - { - return ResourceManager.GetString("strButtonInheritance", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &Launch. - /// -internal static string strButtonLaunch - { - get - { - return ResourceManager.GetString("strButtonLaunch", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Launch PuTTY. - /// -internal static string strButtonLaunchPutty - { - get - { - return ResourceManager.GetString("strButtonLaunchPutty", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &New. - /// -internal static string strButtonNew - { - get - { - return ResourceManager.GetString("strButtonNew", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &OK. - /// -internal static string strButtonOK - { - get - { - return ResourceManager.GetString("strButtonOK", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Properties. - /// -internal static string strButtonProperties - { - get - { - return ResourceManager.GetString("strButtonProperties", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &Scan. - /// -internal static string strButtonScan - { - get - { - return ResourceManager.GetString("strButtonScan", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &Stop. - /// -internal static string strButtonStop - { - get - { - return ResourceManager.GetString("strButtonStop", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Test Proxy. - /// -internal static string strButtonTestProxy - { - get - { - return ResourceManager.GetString("strButtonTestProxy", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You cannot import a normal connection file. - ///Please use File - Load Connections for normal connection files!. - /// -internal static string strCannotImportNormalSessionFile - { - get - { - return ResourceManager.GetString("strCannotImportNormalSessionFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot start Port Scan, incorrect IP format!. - /// -internal static string strCannotStartPortScan - { - get - { - return ResourceManager.GetString("strCannotStartPortScan", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Appearance. - /// -internal static string strCategoryAppearance - { - get - { - return ResourceManager.GetString("strCategoryAppearance", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connection. - /// -internal static string strCategoryConnection - { - get - { - return ResourceManager.GetString("strCategoryConnection", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Credentials. - /// -internal static string strCategoryCredentials - { - get - { - return ResourceManager.GetString("strCategoryCredentials", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Display. - /// -internal static string strCategoryDisplay - { - get - { - return ResourceManager.GetString("strCategoryDisplay", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Gateway. - /// -internal static string strCategoryGateway - { - get - { - return ResourceManager.GetString("strCategoryGateway", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to General. - /// -internal static string strCategoryGeneral - { - get - { - return ResourceManager.GetString("strCategoryGeneral", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Miscellaneous. - /// -internal static string strCategoryMiscellaneous - { - get - { - return ResourceManager.GetString("strCategoryMiscellaneous", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Protocol. - /// -internal static string strCategoryProtocol - { - get - { - return ResourceManager.GetString("strCategoryProtocol", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Redirect. - /// -internal static string strCategoryRedirect - { - get - { - return ResourceManager.GetString("strCategoryRedirect", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Always show this screen at startup. - /// -internal static string strCcAlwaysShowScreen - { - get - { - return ResourceManager.GetString("strCcAlwaysShowScreen", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Refresh. - /// -internal static string strCcCheckAgain - { - get - { - return ResourceManager.GetString("strCcCheckAgain", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Check failed!. - /// -internal static string strCcCheckFailed - { - get - { - return ResourceManager.GetString("strCcCheckFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Check succeeded!. - /// -internal static string strCcCheckSucceeded - { - get - { - return ResourceManager.GetString("strCcCheckSucceeded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The (RDP) Sessions feature requires that you have a copy of eolwtscom.dll registered on your system. - ///mRemoteNG ships with this component but it is not registered automatically if you do not use the mRemoteNG Installer. - ///To register it manually, run the following command from an elevated command prompt: regsvr32 "C:\Program Files\mRemoteNG\eolwtscom.dll" (where C:\Program Files\mRemoteNG\ is the path to your mRemoteNG installation). - ///If this check still fails or you are unable to use the (RDP) Sessions feat [rest of string was truncated]";. - /// -internal static string strCcEOLFailed - { - get - { - return ResourceManager.GetString("strCcEOLFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to EOLWTSCOM was found and seems to be registered properly.. - /// -internal static string strCcEOLOK - { - get - { - return ResourceManager.GetString("strCcEOLOK", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to To use the Gecko Rendering Engine you need to have XULrunner 1.8.1.x and the path to the installation set in your Options. - ///You can download XULrunner 1.8.1.3 here: ftp://ftp.mozilla.org/pub/xulrunner/releases/1.8.1.3/contrib/win32/ - ///When you are finished downloading extract the package to a path of your choice. Then in mRemoteNG go to Tools - Options - Advanced and enter the correct path in the XULrunner path field. - ///If you are still not able to pass this check or use the Gecko Engine in mRemoteNG please c [rest of string was truncated]";. - /// -internal static string strCcGeckoFailed - { - get - { - return ResourceManager.GetString("strCcGeckoFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to XULrunner was found and seems to be installed properly.. - /// -internal static string strCcGeckoOK - { - get - { - return ResourceManager.GetString("strCcGeckoOK", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to ICA requires that the XenDesktop Online Plugin is installed and that the wfica.ocx library is registered. You can download the client here: http://www.citrix.com/download/ - ///If you have the XenDesktop Online Plugin installed and the check still fails, try to register wfica.ocx manually. - ///To do this open up the run dialog (Start - Run) and enter the following: regsvr32 "c:\Program Files\Citrix\ICA Client\wfica.ocx" (Where c:\Program Files\Citrix\ICA Client\ is the path to your XenDesktop Online Plugin install [rest of string was truncated]";. - /// -internal static string strCcICAFailed - { - get - { - return ResourceManager.GetString("strCcICAFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to All ICA components were found and seem to be registered properly. - ///Citrix ICA Client Control Version {0}. - /// -internal static string strCcICAOK - { - get - { - return ResourceManager.GetString("strCcICAOK", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to not installed properly. - /// -internal static string strCcNotInstalledProperly - { - get - { - return ResourceManager.GetString("strCcNotInstalledProperly", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The SSH, Telnet, Rlogin and RAW protocols need PuTTY to work. PuTTY comes with every mRemoteNG package and is located in the installation path. - ///Please make sure that either you have the Putty.exe in your mRemoteNG directory (default: c:\Program Files\mRemoteNG\) or that you specified a valid path to your PuTTY executable in the Options (Tools - Options - Advanced - Custom PuTTY path). - /// -internal static string strCcPuttyFailed - { - get - { - return ResourceManager.GetString("strCcPuttyFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The PuTTY executable was found and should be ready to use.. - /// -internal static string strCcPuttyOK - { - get - { - return ResourceManager.GetString("strCcPuttyOK", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to For RDP to work properly you need to have at least Remote Desktop Connection (Terminal Services) Client 6.0 installed. You can download it here: http://support.microsoft.com/kb/925876 - ///If this check still fails or you are unable to use RDP, please consult the mRemoteNG Forum at http://forum.mremoteng.org/.. - /// -internal static string strCcRDPFailed - { - get - { - return ResourceManager.GetString("strCcRDPFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to All RDP components were found and seem to be registered properly. - ///Remote Desktop Connection Control Version {0}. - /// -internal static string strCcRDPOK - { - get - { - return ResourceManager.GetString("strCcRDPOK", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to VNC requires VncSharpNG.dll to be located in your mRemoteNG application folder. - ///Please make sure that you have the VncSharpNG.dll file in your mRemoteNG application folder (usually C:\Program Files\mRemoteNG\). - ///If you are still not able to pass this check or use VNC in mRemoteNG please consult the mRemoteNG Forum at http://forum.mremoteng.org/. - /// -internal static string strCcVNCFailed - { - get - { - return ResourceManager.GetString("strCcVNCFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to All VNC components were found and seem to be registered properly. - ///VncSharpNG Control Version {0}. - /// -internal static string strCcVNCOK - { - get - { - return ResourceManager.GetString("strCcVNCOK", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Automatically try to reconnect when disconnected from server (RDP && ICA only). - /// -internal static string strCheckboxAutomaticReconnect - { - get - { - return ResourceManager.GetString("strCheckboxAutomaticReconnect", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Domain. - /// -internal static string strCheckboxDomain - { - get - { - return ResourceManager.GetString("strCheckboxDomain", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Do not show this message again.. - /// -internal static string strCheckboxDoNotShowThisMessageAgain - { - get - { - return ResourceManager.GetString("strCheckboxDoNotShowThisMessageAgain", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Inheritance. - /// -internal static string strCheckboxInheritance - { - get - { - return ResourceManager.GetString("strCheckboxInheritance", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Password. - /// -internal static string strCheckboxPassword - { - get - { - return ResourceManager.GetString("strCheckboxPassword", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This proxy server requires authentication. - /// -internal static string strCheckboxProxyAuthentication - { - get - { - return ResourceManager.GetString("strCheckboxProxyAuthentication", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use custom PuTTY path:. - /// -internal static string strCheckboxPuttyPath - { - get - { - return ResourceManager.GetString("strCheckboxPuttyPath", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Reconnect when ready. - /// -internal static string strCheckboxReconnectWhenReady - { - get - { - return ResourceManager.GetString("strCheckboxReconnectWhenReady", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use a proxy server to connect. - /// -internal static string strCheckboxUpdateUseProxy - { - get - { - return ResourceManager.GetString("strCheckboxUpdateUseProxy", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Username. - /// -internal static string strCheckboxUsername - { - get - { - return ResourceManager.GetString("strCheckboxUsername", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Wait for exit. - /// -internal static string strCheckboxWaitForExit - { - get - { - return ResourceManager.GetString("strCheckboxWaitForExit", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Check Again. - /// -internal static string strCheckForUpdate - { - get - { - return ResourceManager.GetString("strCheckForUpdate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Check for updates and announcements at startup. - /// -internal static string strCheckForUpdatesOnStartup - { - get - { - return ResourceManager.GetString("strCheckForUpdatesOnStartup", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Check now. - /// -internal static string strCheckNow - { - get - { - return ResourceManager.GetString("strCheckNow", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Check proper installation of components at startup. - /// -internal static string strCheckProperInstallationOfComponentsAtStartup - { - get - { - return ResourceManager.GetString("strCheckProperInstallationOfComponentsAtStartup", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Choose panel before connecting. - /// -internal static string strChoosePanelBeforeConnecting - { - get - { - return ResourceManager.GetString("strChoosePanelBeforeConnecting", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closed Ports. - /// -internal static string strClosedPorts - { - get - { - return ResourceManager.GetString("strClosedPorts", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Collapse all folders. - /// -internal static string strCollapseAllFolders - { - get - { - return ResourceManager.GetString("strCollapseAllFolders", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Arguments. - /// -internal static string strColumnArguments - { - get - { - return ResourceManager.GetString("strColumnArguments", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Display Name. - /// -internal static string strColumnDisplayName - { - get - { - return ResourceManager.GetString("strColumnDisplayName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Filename. - /// -internal static string strColumnFilename - { - get - { - return ResourceManager.GetString("strColumnFilename", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Hostname/IP. - /// -internal static string strColumnHostnameIP - { - get - { - return ResourceManager.GetString("strColumnHostnameIP", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Message. - /// -internal static string strColumnMessage - { - get - { - return ResourceManager.GetString("strColumnMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Username. - /// -internal static string strColumnUsername - { - get - { - return ResourceManager.GetString("strColumnUsername", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Wait For Exit. - /// -internal static string strColumnWaitForExit - { - get - { - return ResourceManager.GetString("strColumnWaitForExit", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to E&xit {0}. - /// -internal static string strCommandExitProgram - { - get - { - return ResourceManager.GetString("strCommandExitProgram", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Couldn't parse command line args!. - /// -internal static string strCommandLineArgsCouldNotBeParsed - { - get - { - return ResourceManager.GetString("strCommandLineArgsCouldNotBeParsed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &Open a connection file. - /// -internal static string strCommandOpenConnectionFile - { - get - { - return ResourceManager.GetString("strCommandOpenConnectionFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &Try again. - /// -internal static string strCommandTryAgain - { - get - { - return ResourceManager.GetString("strCommandTryAgain", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0} has detected the Lenovo Auto Scroll Utility running on this system. This utility is known to cause problems with {0}. It is recommended that you disable or uninstall it.. - /// -internal static string strCompatibilityLenovoAutoScrollUtilityDetected - { - get - { - return ResourceManager.GetString("strCompatibilityLenovoAutoScrollUtilityDetected", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Compatibility problem detected. - /// -internal static string strCompatibilityProblemDetected - { - get - { - return ResourceManager.GetString("strCompatibilityProblemDetected", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Components Check. - /// -internal static string strComponentsCheck - { - get - { - return ResourceManager.GetString("strComponentsCheck", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to btnIcon_Click failed!. - /// -internal static string strConfigPropertyGridButtonIconClickFailed - { - get - { - return ResourceManager.GetString("strConfigPropertyGridButtonIconClickFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to ShowHideGridItems failed!. - /// -internal static string strConfigPropertyGridHideItemsFailed - { - get - { - return ResourceManager.GetString("strConfigPropertyGridHideItemsFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to IconMenu_Click failed!. - /// -internal static string strConfigPropertyGridMenuClickFailed - { - get - { - return ResourceManager.GetString("strConfigPropertyGridMenuClickFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Property Grid object failed!. - /// -internal static string strConfigPropertyGridObjectFailed - { - get - { - return ResourceManager.GetString("strConfigPropertyGridObjectFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to SetHostStatus failed!. - /// -internal static string strConfigPropertyGridSetHostStatusFailed - { - get - { - return ResourceManager.GetString("strConfigPropertyGridSetHostStatusFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to pGrid_PopertyValueChanged failed!. - /// -internal static string strConfigPropertyGridValueFailed - { - get - { - return ResourceManager.GetString("strConfigPropertyGridValueFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Config UI load failed!. - /// -internal static string strConfigUiLoadFailed - { - get - { - return ResourceManager.GetString("strConfigUiLoadFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Do you want to close the connection, "{0}"?. - /// -internal static string strConfirmCloseConnectionMainInstruction - { - get - { - return ResourceManager.GetString("strConfirmCloseConnectionMainInstruction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to close the panel, "{0}"? Any connections that it contains will also be closed.. - /// -internal static string strConfirmCloseConnectionPanelMainInstruction - { - get - { - return ResourceManager.GetString("strConfirmCloseConnectionPanelMainInstruction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to delete the external tool, "{0}"?. - /// -internal static string strConfirmDeleteExternalTool - { - get - { - return ResourceManager.GetString("strConfirmDeleteExternalTool", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to delete the {0} selected external tools?. - /// -internal static string strConfirmDeleteExternalToolMultiple - { - get - { - return ResourceManager.GetString("strConfirmDeleteExternalToolMultiple", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to delete the connection, "{0}"?. - /// -internal static string strConfirmDeleteNodeConnection - { - get - { - return ResourceManager.GetString("strConfirmDeleteNodeConnection", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to delete the empty folder, "{0}"?. - /// -internal static string strConfirmDeleteNodeFolder - { - get - { - return ResourceManager.GetString("strConfirmDeleteNodeFolder", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to delete the folder, "{0}"? Any folders or connections that it contains will also be deleted.. - /// -internal static string strConfirmDeleteNodeFolderNotEmpty - { - get - { - return ResourceManager.GetString("strConfirmDeleteNodeFolderNotEmpty", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Do you want to close all open connections?. - /// -internal static string strConfirmExitMainInstruction - { - get - { - return ResourceManager.GetString("strConfirmExitMainInstruction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to reset the panels to their default layout?. - /// -internal static string strConfirmResetLayout - { - get - { - return ResourceManager.GetString("strConfirmResetLayout", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connect. - /// -internal static string strConnect - { - get - { - return ResourceManager.GetString("strConnect", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connect in fullscreen mode. - /// -internal static string strConnectInFullscreen - { - get - { - return ResourceManager.GetString("strConnectInFullscreen", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connecting.... - /// -internal static string strConnecting - { - get - { - return ResourceManager.GetString("strConnecting", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Protocol Event Connected. - /// -internal static string strConnectionEventConnected - { - get - { - return ResourceManager.GetString("strConnectionEventConnected", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connection to "{0}" via "{1}" established by user "{2}" (Description: "{3}"; User Field: "{4}"). - /// -internal static string strConnectionEventConnectedDetail - { - get - { - return ResourceManager.GetString("strConnectionEventConnectedDetail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Conenction failed!. - /// -internal static string strConnectionEventConnectionFailed - { - get - { - return ResourceManager.GetString("strConnectionEventConnectionFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Protocol Event ErrorOccured. - /// -internal static string strConnectionEventErrorOccured - { - get - { - return ResourceManager.GetString("strConnectionEventErrorOccured", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Opening connection failed!. - /// -internal static string strConnectionOpenFailed - { - get - { - return ResourceManager.GetString("strConnectionOpenFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot open connection: No hostname specified!. - /// -internal static string strConnectionOpenFailedNoHostname - { - get - { - return ResourceManager.GetString("strConnectionOpenFailedNoHostname", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RDP error! - ///Error Code: {0} - ///Error Description: {1}. - /// -internal static string strConnectionRdpErrorDetail - { - get - { - return ResourceManager.GetString("strConnectionRdpErrorDetail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connections. - /// -internal static string strConnections - { - get - { - return ResourceManager.GetString("strConnections", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Couldn't set default port!. - /// -internal static string strConnectionSetDefaultPortFailed - { - get - { - return ResourceManager.GetString("strConnectionSetDefaultPortFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Couldn't create backup of connections file!. - /// -internal static string strConnectionsFileBackupFailed - { - get - { - return ResourceManager.GetString("strConnectionsFileBackupFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Couldn't import connections file!. - /// -internal static string strConnectionsFileCouldNotBeImported - { - get - { - return ResourceManager.GetString("strConnectionsFileCouldNotBeImported", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connections file "{0}" could not be loaded!. - /// -internal static string strConnectionsFileCouldNotBeLoaded - { - get - { - return ResourceManager.GetString("strConnectionsFileCouldNotBeLoaded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connections file "{0}" could not be loaded! - ///Starting with new connections file.. - /// -internal static string strConnectionsFileCouldNotBeLoadedNew - { - get - { - return ResourceManager.GetString("strConnectionsFileCouldNotBeLoadedNew", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Couldn't save connections file!. - /// -internal static string strConnectionsFileCouldNotBeSaved - { - get - { - return ResourceManager.GetString("strConnectionsFileCouldNotBeSaved", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Couldn't save connections file as "{0}"!. - /// -internal static string strConnectionsFileCouldNotSaveAs - { - get - { - return ResourceManager.GetString("strConnectionsFileCouldNotSaveAs", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connect without credentials. - /// -internal static string strConnectNoCredentials - { - get - { - return ResourceManager.GetString("strConnectNoCredentials", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connect to console session. - /// -internal static string strConnectToConsoleSession - { - get - { - return ResourceManager.GetString("strConnectToConsoleSession", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connect (with options). - /// -internal static string strConnectWithOptions - { - get - { - return ResourceManager.GetString("strConnectWithOptions", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connection to {0} via {1} closed by user {2}.. - /// -internal static string strConnenctionClosedByUser - { - get - { - return ResourceManager.GetString("strConnenctionClosedByUser", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connection to {0} via {1} closed by user {2}. (Description: "{3}"; User Field: "{4}"). - /// -internal static string strConnenctionClosedByUserDetail - { - get - { - return ResourceManager.GetString("strConnenctionClosedByUserDetail", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connection Event Closed. - /// -internal static string strConnenctionCloseEvent - { - get - { - return ResourceManager.GetString("strConnenctionCloseEvent", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connection Event Closed failed!. - /// -internal static string strConnenctionCloseEventFailed - { - get - { - return ResourceManager.GetString("strConnenctionCloseEventFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Couldn't create new connections file!. - /// -internal static string strCouldNotCreateNewConnectionsFile - { - get - { - return ResourceManager.GetString("strCouldNotCreateNewConnectionsFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Could not find ToolStrip control in FilteredPropertyGrid.. - /// -internal static string strCouldNotFindToolStripInFilteredPropertyGrid - { - get - { - return ResourceManager.GetString("strCouldNotFindToolStripInFilteredPropertyGrid", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Installed version. - /// -internal static string strCurrentVersion - { - get - { - return ResourceManager.GetString("strCurrentVersion", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Default Theme. - /// -internal static string strDefaultTheme - { - get - { - return ResourceManager.GetString("strDefaultTheme", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Detect. - /// -internal static string strDetect - { - get - { - return ResourceManager.GetString("strDetect", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Don't connect to console session. - /// -internal static string strDontConnectToConsoleSessionMenuItem - { - get - { - return ResourceManager.GetString("strDontConnectToConsoleSessionMenuItem", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Don't connect if authentication fails. - /// -internal static string strDontConnectWhenAuthFails - { - get - { - return ResourceManager.GetString("strDontConnectWhenAuthFails", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Double click on tab closes it. - /// -internal static string strDoubleClickTabClosesIt - { - get - { - return ResourceManager.GetString("strDoubleClickTabClosesIt", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Download and Install. - /// -internal static string strDownloadAndInstall - { - get - { - return ResourceManager.GetString("strDownloadAndInstall", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Duplicate. - /// -internal static string strDuplicate - { - get - { - return ResourceManager.GetString("strDuplicate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Do you want to continue with no password?. - /// -internal static string strEmptyPasswordContinue - { - get - { - return ResourceManager.GetString("strEmptyPasswordContinue", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to For empty Username, Password or Domain fields use:. - /// -internal static string strEmptyUsernamePasswordDomainFields - { - get - { - return ResourceManager.GetString("strEmptyUsernamePasswordDomainFields", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 128-bit. - /// -internal static string strEnc128Bit - { - get - { - return ResourceManager.GetString("strEnc128Bit", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 128-bit (logon only). - /// -internal static string strEnc128BitLogonOnly - { - get - { - return ResourceManager.GetString("strEnc128BitLogonOnly", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 40-bit. - /// -internal static string strEnc40Bit - { - get - { - return ResourceManager.GetString("strEnc40Bit", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 56-bit. - /// -internal static string strEnc56Bit - { - get - { - return ResourceManager.GetString("strEnc56Bit", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Basic. - /// -internal static string strEncBasic - { - get - { - return ResourceManager.GetString("strEncBasic", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Completely encrypt connection file. - /// -internal static string strEncryptCompleteConnectionFile - { - get - { - return ResourceManager.GetString("strEncryptCompleteConnectionFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to End IP. - /// -internal static string strEndIP - { - get - { - return ResourceManager.GetString("strEndIP", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to End Port. - /// -internal static string strEndPort - { - get - { - return ResourceManager.GetString("strEndPort", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AddExternalToolsToToolBar (frmMain) failed. {0}. - /// -internal static string strErrorAddExternalToolsToToolBarFailed - { - get - { - return ResourceManager.GetString("strErrorAddExternalToolsToToolBarFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AddFolder (UI.Window.Tree) failed. {0}. - /// -internal static string strErrorAddFolderFailed - { - get - { - return ResourceManager.GetString("strErrorAddFolderFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The database version {0} is not compatible with this version of {1}.. - /// -internal static string strErrorBadDatabaseVersion - { - get - { - return ResourceManager.GetString("strErrorBadDatabaseVersion", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to CloneNode (Tree.Node) failed . {0}. - /// -internal static string strErrorCloneNodeFailed - { - get - { - return ResourceManager.GetString("strErrorCloneNodeFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Error code {0}.. - /// -internal static string strErrorCode - { - get - { - return ResourceManager.GetString("strErrorCode", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The connection list could not be saved.. - /// -internal static string strErrorConnectionListSaveFailed - { - get - { - return ResourceManager.GetString("strErrorConnectionListSaveFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to PuTTY could not be launched.. - /// -internal static string strErrorCouldNotLaunchPutty - { - get - { - return ResourceManager.GetString("strErrorCouldNotLaunchPutty", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Decryption failed. {0}. - /// -internal static string strErrorDecryptionFailed - { - get - { - return ResourceManager.GetString("strErrorDecryptionFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Encryption failed. {0}. - /// -internal static string strErrorEncryptionFailed - { - get - { - return ResourceManager.GetString("strErrorEncryptionFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The Windows security setting, "System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing", is enabled. This setting is not compatible with {0}. - /// - ///See the Microsoft Support article at http://support.microsoft.com/kb/811833 for more information. - /// - ///{0} will now close.. - /// -internal static string strErrorFipsPolicyIncompatible - { - get - { - return ResourceManager.GetString("strErrorFipsPolicyIncompatible", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Errors. - /// -internal static string strErrors - { - get - { - return ResourceManager.GetString("strErrors", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The startup connection file could not be loaded.{0}{0}{2}{0}{3}{0}{0}In order to prevent data loss, {1} will now exit.. - /// -internal static string strErrorStartupConnectionFileLoad - { - get - { - return ResourceManager.GetString("strErrorStartupConnectionFileLoad", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to VerifyDatabaseVersion (Config.Connections.Save) failed. {0}. - /// -internal static string strErrorVerifyDatabaseVersionFailed - { - get - { - return ResourceManager.GetString("strErrorVerifyDatabaseVersionFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Expand all folders. - /// -internal static string strExpandAllFolders - { - get - { - return ResourceManager.GetString("strExpandAllFolders", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Experimental. - /// -internal static string strExperimental - { - get - { - return ResourceManager.GetString("strExperimental", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Export. - /// -internal static string strExport - { - get - { - return ResourceManager.GetString("strExport", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Export everything. - /// -internal static string strExportEverything - { - get - { - return ResourceManager.GetString("strExportEverything", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Export File. - /// -internal static string strExportFile - { - get - { - return ResourceManager.GetString("strExportFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Export Items. - /// -internal static string strExportItems - { - get - { - return ResourceManager.GetString("strExportItems", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Export mRemote/mRemoteNG XML. - /// -internal static string strExportmRemoteXML - { - get - { - return ResourceManager.GetString("strExportmRemoteXML", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Export Properties. - /// -internal static string strExportProperties - { - get - { - return ResourceManager.GetString("strExportProperties", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Export the currently selected connection. - /// -internal static string strExportSelectedConnection - { - get - { - return ResourceManager.GetString("strExportSelectedConnection", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Export the currently selected folder. - /// -internal static string strExportSelectedFolder - { - get - { - return ResourceManager.GetString("strExportSelectedFolder", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &Export to File.... - /// -internal static string strExportToFileMenuItem - { - get - { - return ResourceManager.GetString("strExportToFileMenuItem", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Ext. App. - /// -internal static string strExtApp - { - get - { - return ResourceManager.GetString("strExtApp", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to New External Tool. - /// -internal static string strExternalToolDefaultName - { - get - { - return ResourceManager.GetString("strExternalToolDefaultName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Includes icons by [FAMFAMFAM]. - /// -internal static string strFAMFAMFAMAttribution - { - get - { - return ResourceManager.GetString("strFAMFAMFAMAttribution", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to http://www.famfamfam.com/. - /// -internal static string strFAMFAMFAMAttributionURL - { - get - { - return ResourceManager.GetString("strFAMFAMFAMAttributionURL", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File &Format:. - /// -internal static string strFileFormatLabel - { - get - { - return ResourceManager.GetString("strFileFormatLabel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to All Files (*.*). - /// -internal static string strFilterAll - { - get - { - return ResourceManager.GetString("strFilterAll", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to All importable files. - /// -internal static string strFilterAllImportable - { - get - { - return ResourceManager.GetString("strFilterAllImportable", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Application Files (*.exe). - /// -internal static string strFilterApplication - { - get - { - return ResourceManager.GetString("strFilterApplication", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to mRemote CSV Files (*.csv). - /// -internal static string strFiltermRemoteCSV - { - get - { - return ResourceManager.GetString("strFiltermRemoteCSV", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to mRemote XML Files (*.xml). - /// -internal static string strFiltermRemoteXML - { - get - { - return ResourceManager.GetString("strFiltermRemoteXML", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to PuTTY Connection Manager files. - /// -internal static string strFilterPuttyConnectionManager - { - get - { - return ResourceManager.GetString("strFilterPuttyConnectionManager", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remote Desktop Connection Manager files (*.rdg). - /// -internal static string strFilterRdgFiles - { - get - { - return ResourceManager.GetString("strFilterRdgFiles", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RDP Files (*.rdp). - /// -internal static string strFilterRDP - { - get - { - return ResourceManager.GetString("strFilterRDP", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to visionapp Remote Desktop 2008 CSV Files (*.csv). - /// -internal static string strFiltervRD2008CSV - { - get - { - return ResourceManager.GetString("strFiltervRD2008CSV", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Inherit {0}. - /// -internal static string strFormatInherit - { - get - { - return ResourceManager.GetString("strFormatInherit", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Description of inherited property: {0}. - /// -internal static string strFormatInheritDescription - { - get - { - return ResourceManager.GetString("strFormatInheritDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Free. - /// -internal static string strFree - { - get - { - return ResourceManager.GetString("strFree", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fullscreen. - /// -internal static string strFullscreen - { - get - { - return ResourceManager.GetString("strFullscreen", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to General. - /// -internal static string strGeneral - { - get - { - return ResourceManager.GetString("strGeneral", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Get Connection Info From SQL failed. - /// -internal static string strGetConnectionInfoFromSqlFailed - { - get - { - return ResourceManager.GetString("strGetConnectionInfoFromSqlFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An error occured while loading the connection entry for "{0}" from "{1}". {2}. - /// -internal static string strGetConnectionInfoFromXmlFailed - { - get - { - return ResourceManager.GetString("strGetConnectionInfoFromXmlFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Automatic Reconnect. - /// -internal static string strGroupboxAutomaticReconnect - { - get - { - return ResourceManager.GetString("strGroupboxAutomaticReconnect", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connection. - /// -internal static string strGroupboxConnection - { - get - { - return ResourceManager.GetString("strGroupboxConnection", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to External Tool Properties. - /// -internal static string strGroupboxExternalToolProperties - { - get - { - return ResourceManager.GetString("strGroupboxExternalToolProperties", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Files. - /// -internal static string strGroupboxFiles - { - get - { - return ResourceManager.GetString("strGroupboxFiles", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Host. - /// -internal static string strHost - { - get - { - return ResourceManager.GetString("strHost", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to HTTP. - /// -internal static string strHttp - { - get - { - return ResourceManager.GetString("strHttp", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to HTTP Connect Failed!. - /// -internal static string strHttpConnectFailed - { - get - { - return ResourceManager.GetString("strHttpConnectFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Couldn't create new HTTP Connection!. - /// -internal static string strHttpConnectionFailed - { - get - { - return ResourceManager.GetString("strHttpConnectionFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Changing HTTP Document Tile Failed!. - /// -internal static string strHttpDocumentTileChangeFailed - { - get - { - return ResourceManager.GetString("strHttpDocumentTileChangeFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Gecko (Firefox). - /// -internal static string strHttpGecko - { - get - { - return ResourceManager.GetString("strHttpGecko", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Internet Explorer. - /// -internal static string strHttpInternetExplorer - { - get - { - return ResourceManager.GetString("strHttpInternetExplorer", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to HTTPS. - /// -internal static string strHttps - { - get - { - return ResourceManager.GetString("strHttps", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Set HTTP Props failed!. - /// -internal static string strHttpSetPropsFailed - { - get - { - return ResourceManager.GetString("strHttpSetPropsFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to ICA. - /// -internal static string strICA - { - get - { - return ResourceManager.GetString("strICA", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Couldn't create new ICA Connection!. - /// -internal static string strIcaConnectionFailed - { - get - { - return ResourceManager.GetString("strIcaConnectionFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Loading ICA Plugin failed!. - /// -internal static string strIcaControlFailed - { - get - { - return ResourceManager.GetString("strIcaControlFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to ICA SetCredentials failed!. - /// -internal static string strIcaSetCredentialsFailed - { - get - { - return ResourceManager.GetString("strIcaSetCredentialsFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to ICA Set Event Handlers Failed!. - /// -internal static string strIcaSetEventHandlersFailed - { - get - { - return ResourceManager.GetString("strIcaSetEventHandlersFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to ICA Set Props Failed!. - /// -internal static string strIcaSetPropsFailed - { - get - { - return ResourceManager.GetString("strIcaSetPropsFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to ICA Set Resolution Failed!. - /// -internal static string strIcaSetResolutionFailed - { - get - { - return ResourceManager.GetString("strIcaSetResolutionFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Identify quick connect tabs by adding the prefix "Quick:". - /// -internal static string strIdentifyQuickConnectTabs - { - get - { - return ResourceManager.GetString("strIdentifyQuickConnectTabs", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Import from Active Directory. - /// -internal static string strImportAD - { - get - { - return ResourceManager.GetString("strImportAD", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Import/Export. - /// -internal static string strImportExport - { - get - { - return ResourceManager.GetString("strImportExport", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An error occurred while importing the file, "{0}".. - /// -internal static string strImportFileFailedContent - { - get - { - return ResourceManager.GetString("strImportFileFailedContent", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Import failed. - /// -internal static string strImportFileFailedMainInstruction - { - get - { - return ResourceManager.GetString("strImportFileFailedMainInstruction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Import from &File.... - /// -internal static string strImportFromFileMenuItem - { - get - { - return ResourceManager.GetString("strImportFromFileMenuItem", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Under the root{0}{1}|Under the selected folder{0}{2}. - /// -internal static string strImportLocationCommandButtons - { - get - { - return ResourceManager.GetString("strImportLocationCommandButtons", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Where would you like the imported items to be placed?. - /// -internal static string strImportLocationContent - { - get - { - return ResourceManager.GetString("strImportLocationContent", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Import location. - /// -internal static string strImportLocationMainInstruction - { - get - { - return ResourceManager.GetString("strImportLocationMainInstruction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &Import. - /// -internal static string strImportMenuItem - { - get - { - return ResourceManager.GetString("strImportMenuItem", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Import mRemote/mRemoteNG XML. - /// -internal static string strImportmRemoteXML - { - get - { - return ResourceManager.GetString("strImportmRemoteXML", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Import from Port Scan. - /// -internal static string strImportPortScan - { - get - { - return ResourceManager.GetString("strImportPortScan", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Import from .RDP file(s). - /// -internal static string strImportRDPFiles - { - get - { - return ResourceManager.GetString("strImportRDPFiles", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Inactive. - /// -internal static string strInactive - { - get - { - return ResourceManager.GetString("strInactive", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Informations. - /// -internal static string strInformations - { - get - { - return ResourceManager.GetString("strInformations", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to mRemoteNG is up to date. - /// -internal static string strInheritNewConnection - { - get - { - return ResourceManager.GetString("strInheritNewConnection", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connection failed!. - /// -internal static string strIntAppConnectionFailed - { - get - { - return ResourceManager.GetString("strIntAppConnectionFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Dispose of Int App process failed!. - /// -internal static string strIntAppDisposeFailed - { - get - { - return ResourceManager.GetString("strIntAppDisposeFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Int App Focus Failed!. - /// -internal static string strIntAppFocusFailed - { - get - { - return ResourceManager.GetString("strIntAppFocusFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Int App Handle: {0}. - /// -internal static string strIntAppHandle - { - get - { - return ResourceManager.GetString("strIntAppHandle", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Killing Int App Process failed!. - /// -internal static string strIntAppKillFailed - { - get - { - return ResourceManager.GetString("strIntAppKillFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Panel Handle: {0}. - /// -internal static string strIntAppParentHandle - { - get - { - return ResourceManager.GetString("strIntAppParentHandle", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Int App Resize failed!. - /// -internal static string strIntAppResizeFailed - { - get - { - return ResourceManager.GetString("strIntAppResizeFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to --- IntApp Stuff ---. - /// -internal static string strIntAppStuff - { - get - { - return ResourceManager.GetString("strIntAppStuff", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Int App Title: {0}. - /// -internal static string strIntAppTitle - { - get - { - return ResourceManager.GetString("strIntAppTitle", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to CTRL-ALT-DEL. - /// -internal static string strKeysCtrlAltDel - { - get - { - return ResourceManager.GetString("strKeysCtrlAltDel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to CTRL-ESC. - /// -internal static string strKeysCtrlEsc - { - get - { - return ResourceManager.GetString("strKeysCtrlEsc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Address:. - /// -internal static string strLabelAddress - { - get - { - return ResourceManager.GetString("strLabelAddress", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Arguments:. - /// -internal static string strLabelArguments - { - get - { - return ResourceManager.GetString("strLabelArguments", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Change Log:. - /// -internal static string strLabelChangeLog - { - get - { - return ResourceManager.GetString("strLabelChangeLog", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to When closing connections:. - /// -internal static string strLabelClosingConnections - { - get - { - return ResourceManager.GetString("strLabelClosingConnections", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &Connect:. - /// -internal static string strLabelConnect - { - get - { - return ResourceManager.GetString("strLabelConnect", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Display Name. - /// -internal static string strLabelDisplayName - { - get - { - return ResourceManager.GetString("strLabelDisplayName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Domain:. - /// -internal static string strLabelDomain - { - get - { - return ResourceManager.GetString("strLabelDomain", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Filename:. - /// -internal static string strLabelFilename - { - get - { - return ResourceManager.GetString("strLabelFilename", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Hostname:. - /// -internal static string strLabelHostname - { - get - { - return ResourceManager.GetString("strLabelHostname", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Options:. - /// -internal static string strLabelOptions - { - get - { - return ResourceManager.GetString("strLabelOptions", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Password:. - /// -internal static string strLabelPassword - { - get - { - return ResourceManager.GetString("strLabelPassword", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Port:. - /// -internal static string strLabelPort - { - get - { - return ResourceManager.GetString("strLabelPort", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Portable Edition. - /// -internal static string strLabelPortableEdition - { - get - { - return ResourceManager.GetString("strLabelPortableEdition", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Protocol:. - /// -internal static string strLabelProtocol - { - get - { - return ResourceManager.GetString("strLabelProtocol", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to To configure PuTTY sessions click this button:. - /// -internal static string strLabelPuttySessionsConfig - { - get - { - return ResourceManager.GetString("strLabelPuttySessionsConfig", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Maximum PuTTY and integrated external tools wait time:. - /// -internal static string strLabelPuttyTimeout - { - get - { - return ResourceManager.GetString("strLabelPuttyTimeout", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Released under the GNU General Public License (GPL). - /// -internal static string strLabelReleasedUnderGPL - { - get - { - return ResourceManager.GetString("strLabelReleasedUnderGPL", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to seconds. - /// -internal static string strLabelSeconds - { - get - { - return ResourceManager.GetString("strLabelSeconds", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select a panel from the list below or click New to add a new one. Click OK to continue.. - /// -internal static string strLabelSelectPanel - { - get - { - return ResourceManager.GetString("strLabelSelectPanel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Server Status:. - /// -internal static string strLabelServerStatus - { - get - { - return ResourceManager.GetString("strLabelServerStatus", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Database:. - /// -internal static string strLabelSQLDatabaseName - { - get - { - return ResourceManager.GetString("strLabelSQLDatabaseName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Database:. - /// -internal static string strLabelSQLServerDatabaseName - { - get - { - return ResourceManager.GetString("strLabelSQLServerDatabaseName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Username:. - /// -internal static string strLabelUsername - { - get - { - return ResourceManager.GetString("strLabelUsername", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Verify:. - /// -internal static string strLabelVerify - { - get - { - return ResourceManager.GetString("strLabelVerify", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Language. - /// -internal static string strLanguage - { - get - { - return ResourceManager.GetString("strLanguage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to (Automatically Detect). - /// -internal static string strLanguageDefault - { - get - { - return ResourceManager.GetString("strLanguageDefault", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0} must be restarted before changes to the language will take effect.. - /// -internal static string strLanguageRestartRequired - { - get - { - return ResourceManager.GetString("strLanguageRestartRequired", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Load from SQL failed. - /// -internal static string strLoadFromSqlFailed - { - get - { - return ResourceManager.GetString("strLoadFromSqlFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The connection information could not be loaded from the SQL server.. - /// -internal static string strLoadFromSqlFailedContent - { - get - { - return ResourceManager.GetString("strLoadFromSqlFailedContent", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Load From XML failed!. - /// -internal static string strLoadFromXmlFailed - { - get - { - return ResourceManager.GetString("strLoadFromXmlFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Local file. - /// -internal static string strLocalFile - { - get - { - return ResourceManager.GetString("strLocalFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Local file does not exist!. - /// -internal static string strLocalFileDoesNotExist - { - get - { - return ResourceManager.GetString("strLocalFileDoesNotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Logoff. - /// -internal static string strLogOff - { - get - { - return ResourceManager.GetString("strLogOff", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Writing to report file failed!. - /// -internal static string strLogWriteToFileFailed - { - get - { - return ResourceManager.GetString("strLogWriteToFileFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Couldn't save report to final location.. - /// -internal static string strLogWriteToFileFinalLocationFailed - { - get - { - return ResourceManager.GetString("strLogWriteToFileFinalLocationFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Uses the Magic library by [Crownwood Software]. - /// -internal static string strMagicLibraryAttribution - { - get - { - return ResourceManager.GetString("strMagicLibraryAttribution", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to http://www.dotnetmagic.com/. - /// -internal static string strMagicLibraryAttributionURL - { - get - { - return ResourceManager.GetString("strMagicLibraryAttributionURL", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to About. - /// -internal static string strMenuAbout - { - get - { - return ResourceManager.GetString("strMenuAbout", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Add Connection Panel. - /// -internal static string strMenuAddConnectionPanel - { - get - { - return ResourceManager.GetString("strMenuAddConnectionPanel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Announcements. - /// -internal static string strMenuAnnouncements - { - get - { - return ResourceManager.GetString("strMenuAnnouncements", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Check for Updates. - /// -internal static string strMenuCheckForUpdates - { - get - { - return ResourceManager.GetString("strMenuCheckForUpdates", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Config. - /// -internal static string strMenuConfig - { - get - { - return ResourceManager.GetString("strMenuConfig", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connect. - /// -internal static string strMenuConnect - { - get - { - return ResourceManager.GetString("strMenuConnect", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connection Panels. - /// -internal static string strMenuConnectionPanels - { - get - { - return ResourceManager.GetString("strMenuConnectionPanels", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connections. - /// -internal static string strMenuConnections - { - get - { - return ResourceManager.GetString("strMenuConnections", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connections and Config. - /// -internal static string strMenuConnectionsAndConfig - { - get - { - return ResourceManager.GetString("strMenuConnectionsAndConfig", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Copy. - /// -internal static string strMenuCopy - { - get - { - return ResourceManager.GetString("strMenuCopy", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Ctrl-Alt-Del. - /// -internal static string strMenuCtrlAltDel - { - get - { - return ResourceManager.GetString("strMenuCtrlAltDel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Ctrl-Esc. - /// -internal static string strMenuCtrlEsc - { - get - { - return ResourceManager.GetString("strMenuCtrlEsc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Delete.... - /// -internal static string strMenuDelete - { - get - { - return ResourceManager.GetString("strMenuDelete", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Delete Connection.... - /// -internal static string strMenuDeleteConnection - { - get - { - return ResourceManager.GetString("strMenuDeleteConnection", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Delete External Tool.... - /// -internal static string strMenuDeleteExternalTool - { - get - { - return ResourceManager.GetString("strMenuDeleteExternalTool", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Delete Folder.... - /// -internal static string strMenuDeleteFolder - { - get - { - return ResourceManager.GetString("strMenuDeleteFolder", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Disconnect. - /// -internal static string strMenuDisconnect - { - get - { - return ResourceManager.GetString("strMenuDisconnect", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Donate. - /// -internal static string strMenuDonate - { - get - { - return ResourceManager.GetString("strMenuDonate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Duplicate. - /// -internal static string strMenuDuplicate - { - get - { - return ResourceManager.GetString("strMenuDuplicate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Duplicate Connection. - /// -internal static string strMenuDuplicateConnection - { - get - { - return ResourceManager.GetString("strMenuDuplicateConnection", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Duplicate Folder. - /// -internal static string strMenuDuplicateFolder - { - get - { - return ResourceManager.GetString("strMenuDuplicateFolder", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Duplicate Tab. - /// -internal static string strMenuDuplicateTab - { - get - { - return ResourceManager.GetString("strMenuDuplicateTab", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Exit. - /// -internal static string strMenuExit - { - get - { - return ResourceManager.GetString("strMenuExit", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to External Tools. - /// -internal static string strMenuExternalTools - { - get - { - return ResourceManager.GetString("strMenuExternalTools", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to External Tools Toolbar. - /// -internal static string strMenuExternalToolsToolbar - { - get - { - return ResourceManager.GetString("strMenuExternalToolsToolbar", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &File. - /// -internal static string strMenuFile - { - get - { - return ResourceManager.GetString("strMenuFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Full Screen. - /// -internal static string strMenuFullScreen - { - get - { - return ResourceManager.GetString("strMenuFullScreen", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Full Screen (RDP). - /// -internal static string strMenuFullScreenRDP - { - get - { - return ResourceManager.GetString("strMenuFullScreenRDP", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &Help. - /// -internal static string strMenuHelp - { - get - { - return ResourceManager.GetString("strMenuHelp", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to mRemoteNG Help. - /// -internal static string strMenuHelpContents - { - get - { - return ResourceManager.GetString("strMenuHelpContents", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Jump To. - /// -internal static string strMenuJumpTo - { - get - { - return ResourceManager.GetString("strMenuJumpTo", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Launch External Tool. - /// -internal static string strMenuLaunchExternalTool - { - get - { - return ResourceManager.GetString("strMenuLaunchExternalTool", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to New Connection File. - /// -internal static string strMenuNewConnectionFile - { - get - { - return ResourceManager.GetString("strMenuNewConnectionFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to New External Tool. - /// -internal static string strMenuNewExternalTool - { - get - { - return ResourceManager.GetString("strMenuNewExternalTool", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Notifications. - /// -internal static string strMenuNotifications - { - get - { - return ResourceManager.GetString("strMenuNotifications", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Copy All. - /// -internal static string strMenuNotificationsCopyAll - { - get - { - return ResourceManager.GetString("strMenuNotificationsCopyAll", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Delete. - /// -internal static string strMenuNotificationsDelete - { - get - { - return ResourceManager.GetString("strMenuNotificationsDelete", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Delete All. - /// -internal static string strMenuNotificationsDeleteAll - { - get - { - return ResourceManager.GetString("strMenuNotificationsDeleteAll", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Open Connection File.... - /// -internal static string strMenuOpenConnectionFile - { - get - { - return ResourceManager.GetString("strMenuOpenConnectionFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Options. - /// -internal static string strMenuOptions - { - get - { - return ResourceManager.GetString("strMenuOptions", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Paste. - /// -internal static string strMenuPaste - { - get - { - return ResourceManager.GetString("strMenuPaste", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Port Scan. - /// -internal static string strMenuPortScan - { - get - { - return ResourceManager.GetString("strMenuPortScan", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Quick Connect Toolbar. - /// -internal static string strMenuQuickConnectToolbar - { - get - { - return ResourceManager.GetString("strMenuQuickConnectToolbar", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Reconnect. - /// -internal static string strMenuReconnect - { - get - { - return ResourceManager.GetString("strMenuReconnect", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Refresh Screen (VNC). - /// -internal static string strMenuRefreshScreen - { - get - { - return ResourceManager.GetString("strMenuRefreshScreen", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Rename. - /// -internal static string strMenuRename - { - get - { - return ResourceManager.GetString("strMenuRename", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Rename Connection. - /// -internal static string strMenuRenameConnection - { - get - { - return ResourceManager.GetString("strMenuRenameConnection", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Rename Folder. - /// -internal static string strMenuRenameFolder - { - get - { - return ResourceManager.GetString("strMenuRenameFolder", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Rename Tab. - /// -internal static string strMenuRenameTab - { - get - { - return ResourceManager.GetString("strMenuRenameTab", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Report a Bug. - /// -internal static string strMenuReportBug - { - get - { - return ResourceManager.GetString("strMenuReportBug", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Reset layout. - /// -internal static string strMenuResetLayout - { - get - { - return ResourceManager.GetString("strMenuResetLayout", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Save Connection File. - /// -internal static string strMenuSaveConnectionFile - { - get - { - return ResourceManager.GetString("strMenuSaveConnectionFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Save Connection File As.... - /// -internal static string strMenuSaveConnectionFileAs - { - get - { - return ResourceManager.GetString("strMenuSaveConnectionFileAs", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Screenshot. - /// -internal static string strMenuScreenshot - { - get - { - return ResourceManager.GetString("strMenuScreenshot", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Screenshot Manager. - /// -internal static string strMenuScreenshotManager - { - get - { - return ResourceManager.GetString("strMenuScreenshotManager", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Send Special Keys (VNC). - /// -internal static string strMenuSendSpecialKeys - { - get - { - return ResourceManager.GetString("strMenuSendSpecialKeys", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Retrieve. - /// -internal static string strMenuSessionRetrieve - { - get - { - return ResourceManager.GetString("strMenuSessionRetrieve", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Sessions. - /// -internal static string strMenuSessions - { - get - { - return ResourceManager.GetString("strMenuSessions", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Sessions and Screenshots. - /// -internal static string strMenuSessionsAndScreenshots - { - get - { - return ResourceManager.GetString("strMenuSessionsAndScreenshots", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &Show Help Text. - /// -internal static string strMenuShowHelpText - { - get - { - return ResourceManager.GetString("strMenuShowHelpText", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Show Text. - /// -internal static string strMenuShowText - { - get - { - return ResourceManager.GetString("strMenuShowText", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to SmartSize (RDP/VNC). - /// -internal static string strMenuSmartSize - { - get - { - return ResourceManager.GetString("strMenuSmartSize", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to SSH File Transfer. - /// -internal static string strMenuSSHFileTransfer - { - get - { - return ResourceManager.GetString("strMenuSSHFileTransfer", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Start Chat (VNC). - /// -internal static string strMenuStartChat - { - get - { - return ResourceManager.GetString("strMenuStartChat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Support Forum. - /// -internal static string strMenuSupportForum - { - get - { - return ResourceManager.GetString("strMenuSupportForum", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &Tools. - /// -internal static string strMenuTools - { - get - { - return ResourceManager.GetString("strMenuTools", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Transfer File (SSH). - /// -internal static string strMenuTransferFile - { - get - { - return ResourceManager.GetString("strMenuTransferFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &View. - /// -internal static string strMenuView - { - get - { - return ResourceManager.GetString("strMenuView", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to View Only (VNC). - /// -internal static string strMenuViewOnly - { - get - { - return ResourceManager.GetString("strMenuViewOnly", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Website. - /// -internal static string strMenuWebsite - { - get - { - return ResourceManager.GetString("strMenuWebsite", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Minimize to notification area. - /// -internal static string strMinimizeToSysTray - { - get - { - return ResourceManager.GetString("strMinimizeToSysTray", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Move down. - /// -internal static string strMoveDown - { - get - { - return ResourceManager.GetString("strMoveDown", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Move up. - /// -internal static string strMoveUp - { - get - { - return ResourceManager.GetString("strMoveUp", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to mRemoteNG CSV. - /// -internal static string strMremoteNgCsv - { - get - { - return ResourceManager.GetString("strMremoteNgCsv", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to mRemoteNG XML. - /// -internal static string strMremoteNgXml - { - get - { - return ResourceManager.GetString("strMremoteNgXml", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to My current credentials (Windows logon information). - /// -internal static string strMyCurrentWindowsCreds - { - get - { - return ResourceManager.GetString("strMyCurrentWindowsCreds", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Never. - /// -internal static string strNever - { - get - { - return ResourceManager.GetString("strNever", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to New Connection. - /// -internal static string strNewConnection - { - get - { - return ResourceManager.GetString("strNewConnection", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to New Folder. - /// -internal static string strNewFolder - { - get - { - return ResourceManager.GetString("strNewFolder", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to New Panel. - /// -internal static string strNewPanel - { - get - { - return ResourceManager.GetString("strNewPanel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to New Root. - /// -internal static string strNewRoot - { - get - { - return ResourceManager.GetString("strNewRoot", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to New Title. - /// -internal static string strNewTitle - { - get - { - return ResourceManager.GetString("strNewTitle", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No. - /// -internal static string strNo - { - get - { - return ResourceManager.GetString("strNo", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No Compression. - /// -internal static string strNoCompression - { - get - { - return ResourceManager.GetString("strNoCompression", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No Ext. App specified.. - /// -internal static string strNoExtAppDefined - { - get - { - return ResourceManager.GetString("strNoExtAppDefined", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to None. - /// -internal static string strNoInformation - { - get - { - return ResourceManager.GetString("strNoInformation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to None. - /// -internal static string strNone - { - get - { - return ResourceManager.GetString("strNone", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Normal. - /// -internal static string strNormal - { - get - { - return ResourceManager.GetString("strNormal", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No SmartSize. - /// -internal static string strNoSmartSize - { - get - { - return ResourceManager.GetString("strNoSmartSize", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No update available. - /// -internal static string strNoUpdateAvailable - { - get - { - return ResourceManager.GetString("strNoUpdateAvailable", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You are trying to load a connection file that was created using an very early version of mRemote, this could result in an runtime error. - ///If you run into such an error, please create a new connection file!. - /// -internal static string strOldConffile - { - get - { - return ResourceManager.GetString("strOldConffile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Open new tab to the right of the currently selected tab. - /// -internal static string strOpenNewTabRight - { - get - { - return ResourceManager.GetString("strOpenNewTabRight", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Open Ports. - /// -internal static string strOpenPorts - { - get - { - return ResourceManager.GetString("strOpenPorts", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &Delete. - /// -internal static string strOptionsKeyboardButtonDelete - { - get - { - return ResourceManager.GetString("strOptionsKeyboardButtonDelete", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &New. - /// -internal static string strOptionsKeyboardButtonNew - { - get - { - return ResourceManager.GetString("strOptionsKeyboardButtonNew", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &Reset to Default. - /// -internal static string strOptionsKeyboardButtonReset - { - get - { - return ResourceManager.GetString("strOptionsKeyboardButtonReset", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Reset &All to Default. - /// -internal static string strOptionsKeyboardButtonResetAll - { - get - { - return ResourceManager.GetString("strOptionsKeyboardButtonResetAll", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Tabs. - /// -internal static string strOptionsKeyboardCommandsGroupTabs - { - get - { - return ResourceManager.GetString("strOptionsKeyboardCommandsGroupTabs", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Next Tab. - /// -internal static string strOptionsKeyboardCommandsNextTab - { - get - { - return ResourceManager.GetString("strOptionsKeyboardCommandsNextTab", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Previous Tab. - /// -internal static string strOptionsKeyboardCommandsPreviousTab - { - get - { - return ResourceManager.GetString("strOptionsKeyboardCommandsPreviousTab", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Modify Shortcut. - /// -internal static string strOptionsKeyboardGroupModifyShortcut - { - get - { - return ResourceManager.GetString("strOptionsKeyboardGroupModifyShortcut", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Keyboard Shortcuts. - /// -internal static string strOptionsKeyboardLabelKeyboardShortcuts - { - get - { - return ResourceManager.GetString("strOptionsKeyboardLabelKeyboardShortcuts", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Testing.... - /// -internal static string strOptionsProxyTesting - { - get - { - return ResourceManager.GetString("strOptionsProxyTesting", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Keyboard. - /// -internal static string strOptionsTabKeyboard - { - get - { - return ResourceManager.GetString("strOptionsTabKeyboard", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Theme. - /// -internal static string strOptionsTabTheme - { - get - { - return ResourceManager.GetString("strOptionsTabTheme", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &Delete. - /// -internal static string strOptionsThemeButtonDelete - { - get - { - return ResourceManager.GetString("strOptionsThemeButtonDelete", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &New. - /// -internal static string strOptionsThemeButtonNew - { - get - { - return ResourceManager.GetString("strOptionsThemeButtonNew", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Panel Name. - /// -internal static string strPanelName - { - get - { - return ResourceManager.GetString("strPanelName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Password protect. - /// -internal static string strPasswordProtect - { - get - { - return ResourceManager.GetString("strPasswordProtect", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Both passwords must match.. - /// -internal static string strPasswordStatusMustMatch - { - get - { - return ResourceManager.GetString("strPasswordStatusMustMatch", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The password must be at least 3 characters long.. - /// -internal static string strPasswordStatusTooShort - { - get - { - return ResourceManager.GetString("strPasswordStatusTooShort", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please fill all fields. - /// -internal static string strPleaseFillAllFields - { - get - { - return ResourceManager.GetString("strPleaseFillAllFields", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Port scan complete.. - /// -internal static string strPortScanComplete - { - get - { - return ResourceManager.GetString("strPortScanComplete", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Couldn't load PortScan panel!. - /// -internal static string strPortScanCouldNotLoadPanel - { - get - { - return ResourceManager.GetString("strPortScanCouldNotLoadPanel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to (These properties will only be saved if you select mRemote/mRemoteNG XML as output file format!). - /// -internal static string strPropertiesWillOnlyBeSavedMRemoteXML - { - get - { - return ResourceManager.GetString("strPropertiesWillOnlyBeSavedMRemoteXML", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enter the hostname or ip you want to connect to.. - /// -internal static string strPropertyDescriptionAddress - { - get - { - return ResourceManager.GetString("strPropertyDescriptionAddress", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Toggle all inheritance options.. - /// -internal static string strPropertyDescriptionAll - { - get - { - return ResourceManager.GetString("strPropertyDescriptionAll", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select which authentication level this connection should use.. - /// -internal static string strPropertyDescriptionAuthenticationLevel - { - get - { - return ResourceManager.GetString("strPropertyDescriptionAuthenticationLevel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select how you want to authenticate against the VNC server.. - /// -internal static string strPropertyDescriptionAuthenticationMode - { - get - { - return ResourceManager.GetString("strPropertyDescriptionAuthenticationMode", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select whether to automatically resize the connection when the window is resized or when fullscreen mode is toggled. Requires RDC 8.0 or higher.. - /// -internal static string strPropertyDescriptionAutomaticResize - { - get - { - return ResourceManager.GetString("strPropertyDescriptionAutomaticResize", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select whether to use bitmap caching or not.. - /// -internal static string strPropertyDescriptionCacheBitmaps - { - get - { - return ResourceManager.GetString("strPropertyDescriptionCacheBitmaps", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select the colour quality to be used.. - /// -internal static string strPropertyDescriptionColors - { - get - { - return ResourceManager.GetString("strPropertyDescriptionColors", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select the compression value to be used.. - /// -internal static string strPropertyDescriptionCompression - { - get - { - return ResourceManager.GetString("strPropertyDescriptionCompression", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Put your notes or a description for the host here.. - /// -internal static string strPropertyDescriptionDescription - { - get - { - return ResourceManager.GetString("strPropertyDescriptionDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select yes if the theme of the remote host should be displayed.. - /// -internal static string strPropertyDescriptionDisplayThemes - { - get - { - return ResourceManager.GetString("strPropertyDescriptionDisplayThemes", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select yes if the wallpaper of the remote host should be displayed.. - /// -internal static string strPropertyDescriptionDisplayWallpaper - { - get - { - return ResourceManager.GetString("strPropertyDescriptionDisplayWallpaper", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enter your domain.. - /// -internal static string strPropertyDescriptionDomain - { - get - { - return ResourceManager.GetString("strPropertyDescriptionDomain", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select whether to use desktop composition or not.. - /// -internal static string strPropertyDescriptionEnableDesktopComposition - { - get - { - return ResourceManager.GetString("strPropertyDescriptionEnableDesktopComposition", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select whether to use font smoothing or not.. - /// -internal static string strPropertyDescriptionEnableFontSmoothing - { - get - { - return ResourceManager.GetString("strPropertyDescriptionEnableFontSmoothing", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select the encoding mode to be used.. - /// -internal static string strPropertyDescriptionEncoding - { - get - { - return ResourceManager.GetString("strPropertyDescriptionEncoding", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select the encryption strength of the remote host.. - /// -internal static string strPropertyDescriptionEncryptionStrength - { - get - { - return ResourceManager.GetString("strPropertyDescriptionEncryptionStrength", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select the external tool to be started.. - /// -internal static string strPropertyDescriptionExternalTool - { - get - { - return ResourceManager.GetString("strPropertyDescriptionExternalTool", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select a external tool to be started after the disconnection to the remote host.. - /// -internal static string strPropertyDescriptionExternalToolAfter - { - get - { - return ResourceManager.GetString("strPropertyDescriptionExternalToolAfter", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select a external tool to be started before the connection to the remote host is established.. - /// -internal static string strPropertyDescriptionExternalToolBefore - { - get - { - return ResourceManager.GetString("strPropertyDescriptionExternalToolBefore", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Choose a icon that will be displayed when connected to the host.. - /// -internal static string strPropertyDescriptionIcon - { - get - { - return ResourceManager.GetString("strPropertyDescriptionIcon", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Specifies the load balancing information for use by load balancing routers to choose the best server.. - /// -internal static string strPropertyDescriptionLoadBalanceInfo - { - get - { - return ResourceManager.GetString("strPropertyDescriptionLoadBalanceInfo", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enter the MAC address of the remote host if you wish to use it in an external tool.. - /// -internal static string strPropertyDescriptionMACAddress - { - get - { - return ResourceManager.GetString("strPropertyDescriptionMACAddress", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This is the name that will be displayed in the connections tree.. - /// -internal static string strPropertyDescriptionName - { - get - { - return ResourceManager.GetString("strPropertyDescriptionName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Sets the panel in which the connection will open.. - /// -internal static string strPropertyDescriptionPanel - { - get - { - return ResourceManager.GetString("strPropertyDescriptionPanel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enter your password.. - /// -internal static string strPropertyDescriptionPassword - { - get - { - return ResourceManager.GetString("strPropertyDescriptionPassword", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enter the port the selected protocol is listening on.. - /// -internal static string strPropertyDescriptionPort - { - get - { - return ResourceManager.GetString("strPropertyDescriptionPort", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Choose the protocol mRemoteNG should use to connect to the host.. - /// -internal static string strPropertyDescriptionProtocol - { - get - { - return ResourceManager.GetString("strPropertyDescriptionProtocol", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select a PuTTY session to be used when connecting.. - /// -internal static string strPropertyDescriptionPuttySession - { - get - { - return ResourceManager.GetString("strPropertyDescriptionPuttySession", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Specifies the domain name that a user provides to connect to the RD Gateway server.. - /// -internal static string strPropertyDescriptionRDGatewayDomain - { - get - { - return ResourceManager.GetString("strPropertyDescriptionRDGatewayDomain", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Specifies the host name of the Remote Desktop Gateway server.. - /// -internal static string strPropertyDescriptionRDGatewayHostname - { - get - { - return ResourceManager.GetString("strPropertyDescriptionRDGatewayHostname", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Specifies when to use a Remote Desktop Gateway (RD Gateway) server.. - /// -internal static string strPropertyDescriptionRDGatewayUsageMethod - { - get - { - return ResourceManager.GetString("strPropertyDescriptionRDGatewayUsageMethod", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Specifies whether or not to log on to the gateway using the same username and password as the connection.. - /// -internal static string strPropertyDescriptionRDGatewayUseConnectionCredentials - { - get - { - return ResourceManager.GetString("strPropertyDescriptionRDGatewayUseConnectionCredentials", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Specifies the user name that a user provides to connect to the RD Gateway server.. - /// -internal static string strPropertyDescriptionRDGatewayUsername - { - get - { - return ResourceManager.GetString("strPropertyDescriptionRDGatewayUsername", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select whether local disk drives should be shown on the remote host.. - /// -internal static string strPropertyDescriptionRedirectDrives - { - get - { - return ResourceManager.GetString("strPropertyDescriptionRedirectDrives", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select whether key combinations (e.g. Alt-Tab) should be redirected to the remote host.. - /// -internal static string strPropertyDescriptionRedirectKeys - { - get - { - return ResourceManager.GetString("strPropertyDescriptionRedirectKeys", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select whether local ports (ie. com, parallel) should be shown on the remote host.. - /// -internal static string strPropertyDescriptionRedirectPorts - { - get - { - return ResourceManager.GetString("strPropertyDescriptionRedirectPorts", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select whether local printers should be shown on the remote host.. - /// -internal static string strPropertyDescriptionRedirectPrinters - { - get - { - return ResourceManager.GetString("strPropertyDescriptionRedirectPrinters", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select whether local smart cards should be available on the remote host.. - /// -internal static string strPropertyDescriptionRedirectSmartCards - { - get - { - return ResourceManager.GetString("strPropertyDescriptionRedirectSmartCards", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select how remote sound should be redirected.. - /// -internal static string strPropertyDescriptionRedirectSounds - { - get - { - return ResourceManager.GetString("strPropertyDescriptionRedirectSounds", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select one of the available rendering engines that will be used to display HTML.. - /// -internal static string strPropertyDescriptionRenderingEngine - { - get - { - return ResourceManager.GetString("strPropertyDescriptionRenderingEngine", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Choose the resolution or mode this connection will open in.. - /// -internal static string strPropertyDescriptionResolution - { - get - { - return ResourceManager.GetString("strPropertyDescriptionResolution", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select the SmartSize mode to be used.. - /// -internal static string strPropertyDescriptionSmartSizeMode - { - get - { - return ResourceManager.GetString("strPropertyDescriptionSmartSizeMode", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connect to the console session of the remote host.. - /// -internal static string strPropertyDescriptionUseConsoleSession - { - get - { - return ResourceManager.GetString("strPropertyDescriptionUseConsoleSession", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use the Credential Security Support Provider (CredSSP) for authentication if it is available.. - /// -internal static string strPropertyDescriptionUseCredSsp - { - get - { - return ResourceManager.GetString("strPropertyDescriptionUseCredSsp", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Feel free to enter any information you need here.. - /// -internal static string strPropertyDescriptionUser1 - { - get - { - return ResourceManager.GetString("strPropertyDescriptionUser1", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enter your username.. - /// -internal static string strPropertyDescriptionUsername - { - get - { - return ResourceManager.GetString("strPropertyDescriptionUsername", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to If you want to establish a view only connection to the host select yes.. - /// -internal static string strPropertyDescriptionViewOnly - { - get - { - return ResourceManager.GetString("strPropertyDescriptionViewOnly", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enter the proxy address to be used.. - /// -internal static string strPropertyDescriptionVNCProxyAddress - { - get - { - return ResourceManager.GetString("strPropertyDescriptionVNCProxyAddress", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enter your password for authenticating against the proxy.. - /// -internal static string strPropertyDescriptionVNCProxyPassword - { - get - { - return ResourceManager.GetString("strPropertyDescriptionVNCProxyPassword", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enter the port the proxy server listens on.. - /// -internal static string strPropertyDescriptionVNCProxyPort - { - get - { - return ResourceManager.GetString("strPropertyDescriptionVNCProxyPort", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to If you use a proxy to tunnel VNC connections, select which type it is.. - /// -internal static string strPropertyDescriptionVNCProxyType - { - get - { - return ResourceManager.GetString("strPropertyDescriptionVNCProxyType", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enter your username for authenticating against the proxy.. - /// -internal static string strPropertyDescriptionVNCProxyUsername - { - get - { - return ResourceManager.GetString("strPropertyDescriptionVNCProxyUsername", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Hostname/IP. - /// -internal static string strPropertyNameAddress - { - get - { - return ResourceManager.GetString("strPropertyNameAddress", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to All. - /// -internal static string strPropertyNameAll - { - get - { - return ResourceManager.GetString("strPropertyNameAll", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Server Authentication. - /// -internal static string strPropertyNameAuthenticationLevel - { - get - { - return ResourceManager.GetString("strPropertyNameAuthenticationLevel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Authentication Mode. - /// -internal static string strPropertyNameAuthenticationMode - { - get - { - return ResourceManager.GetString("strPropertyNameAuthenticationMode", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Automatic Resize. - /// -internal static string strPropertyNameAutomaticResize - { - get - { - return ResourceManager.GetString("strPropertyNameAutomaticResize", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cache Bitmaps. - /// -internal static string strPropertyNameCacheBitmaps - { - get - { - return ResourceManager.GetString("strPropertyNameCacheBitmaps", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Colours. - /// -internal static string strPropertyNameColors - { - get - { - return ResourceManager.GetString("strPropertyNameColors", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Compression. - /// -internal static string strPropertyNameCompression - { - get - { - return ResourceManager.GetString("strPropertyNameCompression", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Description. - /// -internal static string strPropertyNameDescription - { - get - { - return ResourceManager.GetString("strPropertyNameDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Display Themes. - /// -internal static string strPropertyNameDisplayThemes - { - get - { - return ResourceManager.GetString("strPropertyNameDisplayThemes", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Display Wallpaper. - /// -internal static string strPropertyNameDisplayWallpaper - { - get - { - return ResourceManager.GetString("strPropertyNameDisplayWallpaper", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Domain. - /// -internal static string strPropertyNameDomain - { - get - { - return ResourceManager.GetString("strPropertyNameDomain", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Desktop Composition. - /// -internal static string strPropertyNameEnableDesktopComposition - { - get - { - return ResourceManager.GetString("strPropertyNameEnableDesktopComposition", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Font Smoothing. - /// -internal static string strPropertyNameEnableFontSmoothing - { - get - { - return ResourceManager.GetString("strPropertyNameEnableFontSmoothing", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Encoding. - /// -internal static string strPropertyNameEncoding - { - get - { - return ResourceManager.GetString("strPropertyNameEncoding", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Encryption Strength. - /// -internal static string strPropertyNameEncryptionStrength - { - get - { - return ResourceManager.GetString("strPropertyNameEncryptionStrength", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to External Tool. - /// -internal static string strPropertyNameExternalTool - { - get - { - return ResourceManager.GetString("strPropertyNameExternalTool", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to External Tool After. - /// -internal static string strPropertyNameExternalToolAfter - { - get - { - return ResourceManager.GetString("strPropertyNameExternalToolAfter", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to External Tool Before. - /// -internal static string strPropertyNameExternalToolBefore - { - get - { - return ResourceManager.GetString("strPropertyNameExternalToolBefore", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Icon. - /// -internal static string strPropertyNameIcon - { - get - { - return ResourceManager.GetString("strPropertyNameIcon", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Load Balance Info. - /// -internal static string strPropertyNameLoadBalanceInfo - { - get - { - return ResourceManager.GetString("strPropertyNameLoadBalanceInfo", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to MAC Address. - /// -internal static string strPropertyNameMACAddress - { - get - { - return ResourceManager.GetString("strPropertyNameMACAddress", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Name. - /// -internal static string strPropertyNameName - { - get - { - return ResourceManager.GetString("strPropertyNameName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Panel. - /// -internal static string strPropertyNamePanel - { - get - { - return ResourceManager.GetString("strPropertyNamePanel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Password. - /// -internal static string strPropertyNamePassword - { - get - { - return ResourceManager.GetString("strPropertyNamePassword", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Port. - /// -internal static string strPropertyNamePort - { - get - { - return ResourceManager.GetString("strPropertyNamePort", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Protocol. - /// -internal static string strPropertyNameProtocol - { - get - { - return ResourceManager.GetString("strPropertyNameProtocol", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to PuTTY Session. - /// -internal static string strPropertyNamePuttySession - { - get - { - return ResourceManager.GetString("strPropertyNamePuttySession", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Gateway Domain. - /// -internal static string strPropertyNameRDGatewayDomain - { - get - { - return ResourceManager.GetString("strPropertyNameRDGatewayDomain", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Gateway Hostname. - /// -internal static string strPropertyNameRDGatewayHostname - { - get - { - return ResourceManager.GetString("strPropertyNameRDGatewayHostname", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remote Desktop Gateway Password. - /// -internal static string strPropertyNameRDGatewayPassword - { - get - { - return ResourceManager.GetString("strPropertyNameRDGatewayPassword", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use Gateway. - /// -internal static string strPropertyNameRDGatewayUsageMethod - { - get - { - return ResourceManager.GetString("strPropertyNameRDGatewayUsageMethod", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Gateway Credentials. - /// -internal static string strPropertyNameRDGatewayUseConnectionCredentials - { - get - { - return ResourceManager.GetString("strPropertyNameRDGatewayUseConnectionCredentials", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Gateway Username. - /// -internal static string strPropertyNameRDGatewayUsername - { - get - { - return ResourceManager.GetString("strPropertyNameRDGatewayUsername", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Disk Drives. - /// -internal static string strPropertyNameRedirectDrives - { - get - { - return ResourceManager.GetString("strPropertyNameRedirectDrives", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Key Combinations. - /// -internal static string strPropertyNameRedirectKeys - { - get - { - return ResourceManager.GetString("strPropertyNameRedirectKeys", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Ports. - /// -internal static string strPropertyNameRedirectPorts - { - get - { - return ResourceManager.GetString("strPropertyNameRedirectPorts", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Printers. - /// -internal static string strPropertyNameRedirectPrinters - { - get - { - return ResourceManager.GetString("strPropertyNameRedirectPrinters", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Smart Cards. - /// -internal static string strPropertyNameRedirectSmartCards - { - get - { - return ResourceManager.GetString("strPropertyNameRedirectSmartCards", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Sounds. - /// -internal static string strPropertyNameRedirectSounds - { - get - { - return ResourceManager.GetString("strPropertyNameRedirectSounds", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Rendering Engine. - /// -internal static string strPropertyNameRenderingEngine - { - get - { - return ResourceManager.GetString("strPropertyNameRenderingEngine", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Resolution. - /// -internal static string strPropertyNameResolution - { - get - { - return ResourceManager.GetString("strPropertyNameResolution", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to SmartSize Mode. - /// -internal static string strPropertyNameSmartSizeMode - { - get - { - return ResourceManager.GetString("strPropertyNameSmartSizeMode", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use Console Session. - /// -internal static string strPropertyNameUseConsoleSession - { - get - { - return ResourceManager.GetString("strPropertyNameUseConsoleSession", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use CredSSP. - /// -internal static string strPropertyNameUseCredSsp - { - get - { - return ResourceManager.GetString("strPropertyNameUseCredSsp", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to User Field. - /// -internal static string strPropertyNameUser1 - { - get - { - return ResourceManager.GetString("strPropertyNameUser1", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Username. - /// -internal static string strPropertyNameUsername - { - get - { - return ResourceManager.GetString("strPropertyNameUsername", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to View Only. - /// -internal static string strPropertyNameViewOnly - { - get - { - return ResourceManager.GetString("strPropertyNameViewOnly", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Proxy Address. - /// -internal static string strPropertyNameVNCProxyAddress - { - get - { - return ResourceManager.GetString("strPropertyNameVNCProxyAddress", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Proxy Password. - /// -internal static string strPropertyNameVNCProxyPassword - { - get - { - return ResourceManager.GetString("strPropertyNameVNCProxyPassword", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Proxy Port. - /// -internal static string strPropertyNameVNCProxyPort - { - get - { - return ResourceManager.GetString("strPropertyNameVNCProxyPort", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Proxy Type. - /// -internal static string strPropertyNameVNCProxyType - { - get - { - return ResourceManager.GetString("strPropertyNameVNCProxyType", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Proxy Username. - /// -internal static string strPropertyNameVNCProxyUsername - { - get - { - return ResourceManager.GetString("strPropertyNameVNCProxyUsername", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Protocol Event Disconnected. - ///Message: - ///{0}. - /// -internal static string strProtocolEventDisconnected - { - get - { - return ResourceManager.GetString("strProtocolEventDisconnected", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Protocol Event Disconnected failed. - ///{0}. - /// -internal static string strProtocolEventDisconnectFailed - { - get - { - return ResourceManager.GetString("strProtocolEventDisconnectFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Protocol to import. - /// -internal static string strProtocolToImport - { - get - { - return ResourceManager.GetString("strProtocolToImport", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Proxy test failed!. - /// -internal static string strProxyTestFailed - { - get - { - return ResourceManager.GetString("strProxyTestFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Proxy test succeeded!. - /// -internal static string strProxyTestSucceeded - { - get - { - return ResourceManager.GetString("strProxyTestSucceeded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connection failed!. - /// -internal static string strPuttyConnectionFailed - { - get - { - return ResourceManager.GetString("strPuttyConnectionFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Dispose of Putty process failed!. - /// -internal static string strPuttyDisposeFailed - { - get - { - return ResourceManager.GetString("strPuttyDisposeFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Couldn't set focus!. - /// -internal static string strPuttyFocusFailed - { - get - { - return ResourceManager.GetString("strPuttyFocusFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Get Putty Sessions Failed!. - /// -internal static string strPuttyGetSessionsFailed - { - get - { - return ResourceManager.GetString("strPuttyGetSessionsFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Putty Handle: {0}. - /// -internal static string strPuttyHandle - { - get - { - return ResourceManager.GetString("strPuttyHandle", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Killing Putty Process failed!. - /// -internal static string strPuttyKillFailed - { - get - { - return ResourceManager.GetString("strPuttyKillFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Panel Handle: {0}. - /// -internal static string strPuttyParentHandle - { - get - { - return ResourceManager.GetString("strPuttyParentHandle", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Putty Resize Failed!. - /// -internal static string strPuttyResizeFailed - { - get - { - return ResourceManager.GetString("strPuttyResizeFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to PuTTY Saved Sessions. - /// -internal static string strPuttySavedSessionsRootName - { - get - { - return ResourceManager.GetString("strPuttySavedSessionsRootName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to PuTTY Session Settings. - /// -internal static string strPuttySessionSettings - { - get - { - return ResourceManager.GetString("strPuttySessionSettings", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to PuTTY Settings. - /// -internal static string strPuttySettings - { - get - { - return ResourceManager.GetString("strPuttySettings", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Show PuTTY Settings Dialog failed!. - /// -internal static string strPuttyShowSettingsDialogFailed - { - get - { - return ResourceManager.GetString("strPuttyShowSettingsDialogFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Putty Start Failed!. - /// -internal static string strPuttyStartFailed - { - get - { - return ResourceManager.GetString("strPuttyStartFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to --- PuTTY Stuff ---. - /// -internal static string strPuttyStuff - { - get - { - return ResourceManager.GetString("strPuttyStuff", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to PuTTY Title: {0}. - /// -internal static string strPuttyTitle - { - get - { - return ResourceManager.GetString("strPuttyTitle", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Quick: {0}. - /// -internal static string strQuick - { - get - { - return ResourceManager.GetString("strQuick", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Quick Connect. - /// -internal static string strQuickConnect - { - get - { - return ResourceManager.GetString("strQuickConnect", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Quick Connect Add Failed!. - /// -internal static string strQuickConnectAddFailed - { - get - { - return ResourceManager.GetString("strQuickConnectAddFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Creating quick connect failed. - /// -internal static string strQuickConnectFailed - { - get - { - return ResourceManager.GetString("strQuickConnectFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &Warn me when closing connections. - /// -internal static string strRadioCloseWarnAll - { - get - { - return ResourceManager.GetString("strRadioCloseWarnAll", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Warn me only when e&xiting mRemoteNG. - /// -internal static string strRadioCloseWarnExit - { - get - { - return ResourceManager.GetString("strRadioCloseWarnExit", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Warn me only when closing &multiple connections. - /// -internal static string strRadioCloseWarnMultiple - { - get - { - return ResourceManager.GetString("strRadioCloseWarnMultiple", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Do &not warn me when closing connections. - /// -internal static string strRadioCloseWarnNever - { - get - { - return ResourceManager.GetString("strRadioCloseWarnNever", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RAW. - /// -internal static string strRAW - { - get - { - return ResourceManager.GetString("strRAW", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RDP. - /// -internal static string strRDP - { - get - { - return ResourceManager.GetString("strRDP", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 16777216 Colours (24-bit). - /// -internal static string strRDP16777216Colors - { - get - { - return ResourceManager.GetString("strRDP16777216Colors", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 256 Colours (8-bit). - /// -internal static string strRDP256Colors - { - get - { - return ResourceManager.GetString("strRDP256Colors", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 32768 Colours (15-bit). - /// -internal static string strRDP32768Colors - { - get - { - return ResourceManager.GetString("strRDP32768Colors", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 16777216 Colours (32-bit). - /// -internal static string strRDP4294967296Colors - { - get - { - return ResourceManager.GetString("strRDP4294967296Colors", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 65536 Colours (16-bit). - /// -internal static string strRDP65536Colors - { - get - { - return ResourceManager.GetString("strRDP65536Colors", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RDP Add Resolution failed!. - /// -internal static string strRdpAddResolutionFailed - { - get - { - return ResourceManager.GetString("strRdpAddResolutionFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RDP Add Resolutions failed!. - /// -internal static string strRdpAddResolutionsFailed - { - get - { - return ResourceManager.GetString("strRdpAddResolutionsFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Add Session failed. - /// -internal static string strRdpAddSessionFailed - { - get - { - return ResourceManager.GetString("strRdpAddSessionFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Close RDP Connection failed!. - /// -internal static string strRdpCloseConnectionFailed - { - get - { - return ResourceManager.GetString("strRdpCloseConnectionFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Opening connection failed!. - /// -internal static string strRdpConnectionOpenFailed - { - get - { - return ResourceManager.GetString("strRdpConnectionOpenFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Couldn't create RDP control, please check mRemoteNG requirements.. - /// -internal static string strRdpControlCreationFailed - { - get - { - return ResourceManager.GetString("strRdpControlCreationFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Disable Cursor blinking. - /// -internal static string strRDPDisableCursorblinking - { - get - { - return ResourceManager.GetString("strRDPDisableCursorblinking", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Disable Cursor Shadow. - /// -internal static string strRDPDisableCursorShadow - { - get - { - return ResourceManager.GetString("strRDPDisableCursorShadow", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Disable Full Window drag. - /// -internal static string strRDPDisableFullWindowdrag - { - get - { - return ResourceManager.GetString("strRDPDisableFullWindowdrag", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Disable Menu Animations. - /// -internal static string strRDPDisableMenuAnimations - { - get - { - return ResourceManager.GetString("strRDPDisableMenuAnimations", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Disable Themes. - /// -internal static string strRDPDisableThemes - { - get - { - return ResourceManager.GetString("strRDPDisableThemes", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Disable Wallpaper. - /// -internal static string strRDPDisableWallpaper - { - get - { - return ResourceManager.GetString("strRDPDisableWallpaper", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RDP disconnected!. - /// -internal static string strRdpDisconnected - { - get - { - return ResourceManager.GetString("strRdpDisconnected", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RDP Disconnect failed, trying to close!. - /// -internal static string strRdpDisconnectFailed - { - get - { - return ResourceManager.GetString("strRdpDisconnectFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Internal error code 1.. - /// -internal static string strRdpErrorCode1 - { - get - { - return ResourceManager.GetString("strRdpErrorCode1", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Internal error code 2.. - /// -internal static string strRdpErrorCode2 - { - get - { - return ResourceManager.GetString("strRdpErrorCode2", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Internal error code 3. This is not a valid state.. - /// -internal static string strRdpErrorCode3 - { - get - { - return ResourceManager.GetString("strRdpErrorCode3", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Internal error code 4.. - /// -internal static string strRdpErrorCode4 - { - get - { - return ResourceManager.GetString("strRdpErrorCode4", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An unrecoverable error has occurred during client connection.. - /// -internal static string strRdpErrorConnection - { - get - { - return ResourceManager.GetString("strRdpErrorConnection", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to GetError failed (FatalErrors). - /// -internal static string strRdpErrorGetFailure - { - get - { - return ResourceManager.GetString("strRdpErrorGetFailure", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An unknown fatal RDP error has occurred. Error code {0}.. - /// -internal static string strRdpErrorGetUnknown - { - get - { - return ResourceManager.GetString("strRdpErrorGetUnknown", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An out-of-memory error has occurred.. - /// -internal static string strRdpErrorOutOfMemory - { - get - { - return ResourceManager.GetString("strRdpErrorOutOfMemory", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An unknown error has occurred.. - /// -internal static string strRdpErrorUnknown - { - get - { - return ResourceManager.GetString("strRdpErrorUnknown", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A window-creation error has occurred.. - /// -internal static string strRdpErrorWindowCreation - { - get - { - return ResourceManager.GetString("strRdpErrorWindowCreation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Winsock initialization error.. - /// -internal static string strRdpErrorWinsock - { - get - { - return ResourceManager.GetString("strRdpErrorWinsock", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Couldn't import rdp file!. - /// -internal static string strRdpFileCouldNotBeImported - { - get - { - return ResourceManager.GetString("strRdpFileCouldNotBeImported", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fit To Panel. - /// -internal static string strRDPFitToPanel - { - get - { - return ResourceManager.GetString("strRDPFitToPanel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RDP Focus failed!. - /// -internal static string strRdpFocusFailed - { - get - { - return ResourceManager.GetString("strRdpFocusFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RD Gateway is supported.. - /// -internal static string strRdpGatewayIsSupported - { - get - { - return ResourceManager.GetString("strRdpGatewayIsSupported", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RD Gateway is not supported!. - /// -internal static string strRdpGatewayNotSupported - { - get - { - return ResourceManager.GetString("strRdpGatewayNotSupported", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to GetSessions failed!. - /// -internal static string strRdpGetSessionsFailed - { - get - { - return ResourceManager.GetString("strRdpGetSessionsFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Open RDP Connection failed!. - /// -internal static string strRdpOpenConnectionFailed - { - get - { - return ResourceManager.GetString("strRdpOpenConnectionFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RDP reconnection count:. - /// -internal static string strRdpReconnectCount - { - get - { - return ResourceManager.GetString("strRdpReconnectCount", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RDP SetAuthenticationLevel failed!. - /// -internal static string strRdpSetAuthenticationLevelFailed - { - get - { - return ResourceManager.GetString("strRdpSetAuthenticationLevelFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RDP SetUseConsoleSession failed!. - /// -internal static string strRdpSetConsoleSessionFailed - { - get - { - return ResourceManager.GetString("strRdpSetConsoleSessionFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Setting Console switch for RDC {0}.. - /// -internal static string strRdpSetConsoleSwitch - { - get - { - return ResourceManager.GetString("strRdpSetConsoleSwitch", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RDP SetCredentials failed!. - /// -internal static string strRdpSetCredentialsFailed - { - get - { - return ResourceManager.GetString("strRdpSetCredentialsFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RDP SetEventHandlers failed!. - /// -internal static string strRdpSetEventHandlersFailed - { - get - { - return ResourceManager.GetString("strRdpSetEventHandlersFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RDP SetRDGateway failed!. - /// -internal static string strRdpSetGatewayFailed - { - get - { - return ResourceManager.GetString("strRdpSetGatewayFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RDP SetPerformanceFlags failed!. - /// -internal static string strRdpSetPerformanceFlagsFailed - { - get - { - return ResourceManager.GetString("strRdpSetPerformanceFlagsFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RDP SetPort failed!. - /// -internal static string strRdpSetPortFailed - { - get - { - return ResourceManager.GetString("strRdpSetPortFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RDP SetProps failed!. - /// -internal static string strRdpSetPropsFailed - { - get - { - return ResourceManager.GetString("strRdpSetPropsFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Rdp Set Redirection Failed!. - /// -internal static string strRdpSetRedirectionFailed - { - get - { - return ResourceManager.GetString("strRdpSetRedirectionFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Rdp Set Redirect Keys Failed!. - /// -internal static string strRdpSetRedirectKeysFailed - { - get - { - return ResourceManager.GetString("strRdpSetRedirectKeysFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RDP SetResolution failed!. - /// -internal static string strRdpSetResolutionFailed - { - get - { - return ResourceManager.GetString("strRdpSetResolutionFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Smart Size. - /// -internal static string strRDPSmartSize - { - get - { - return ResourceManager.GetString("strRDPSmartSize", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Bring to this computer. - /// -internal static string strRDPSoundBringToThisComputer - { - get - { - return ResourceManager.GetString("strRDPSoundBringToThisComputer", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Do not play. - /// -internal static string strRDPSoundDoNotPlay - { - get - { - return ResourceManager.GetString("strRDPSoundDoNotPlay", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Leave at remote computer. - /// -internal static string strRDPSoundLeaveAtRemoteComputer - { - get - { - return ResourceManager.GetString("strRDPSoundLeaveAtRemoteComputer", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RDP ToggleFullscreen failed!. - /// -internal static string strRdpToggleFullscreenFailed - { - get - { - return ResourceManager.GetString("strRdpToggleFullscreenFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RDP ToggleSmartSize failed!. - /// -internal static string strRdpToggleSmartSizeFailed - { - get - { - return ResourceManager.GetString("strRdpToggleSmartSizeFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Reconnect to previously opened sessions on startup. - /// -internal static string strReconnectAtStartup - { - get - { - return ResourceManager.GetString("strReconnectAtStartup", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Refresh. - /// -internal static string strRefresh - { - get - { - return ResourceManager.GetString("strRefresh", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remote file. - /// -internal static string strRemoteFile - { - get - { - return ResourceManager.GetString("strRemoteFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove All. - /// -internal static string strRemoveAll - { - get - { - return ResourceManager.GetString("strRemoveAll", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Rename. - /// -internal static string strRename - { - get - { - return ResourceManager.GetString("strRename", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Rlogin. - /// -internal static string strRlogin - { - get - { - return ResourceManager.GetString("strRlogin", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Save. - /// -internal static string strSave - { - get - { - return ResourceManager.GetString("strSave", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Save All. - /// -internal static string strSaveAll - { - get - { - return ResourceManager.GetString("strSaveAll", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Do you want to save the current connections file before loading another?. - /// -internal static string strSaveConnectionsFileBeforeOpeningAnother - { - get - { - return ResourceManager.GetString("strSaveConnectionsFileBeforeOpeningAnother", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Save connections on exit. - /// -internal static string strSaveConsOnExit - { - get - { - return ResourceManager.GetString("strSaveConsOnExit", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Graphics Interchange Format File (.gif)|*.gif|Joint Photographic Experts Group File (.jpeg)|*.jpeg|Joint Photographic Experts Group File (.jpg)|*.jpg|Portable Network Graphics File (.png)|*.png. - /// -internal static string strSaveImageFilter - { - get - { - return ResourceManager.GetString("strSaveImageFilter", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Screen. - /// -internal static string strScreen - { - get - { - return ResourceManager.GetString("strScreen", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Screenshot. - /// -internal static string strScreenshot - { - get - { - return ResourceManager.GetString("strScreenshot", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Screenshots. - /// -internal static string strScreenshots - { - get - { - return ResourceManager.GetString("strScreenshots", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Search. - /// -internal static string strSearchPrompt - { - get - { - return ResourceManager.GetString("strSearchPrompt", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Send To.... - /// -internal static string strSendTo - { - get - { - return ResourceManager.GetString("strSendTo", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Get Sessions Background failed. - /// -internal static string strSessionGetFailed - { - get - { - return ResourceManager.GetString("strSessionGetFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Kill Session Background failed. - /// -internal static string strSessionKillFailed - { - get - { - return ResourceManager.GetString("strSessionKillFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Set hostname like display name when creating or renaming connections. - /// -internal static string strSetHostnameLikeDisplayName - { - get - { - return ResourceManager.GetString("strSetHostnameLikeDisplayName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Setting main form text failed. - /// -internal static string strSettingMainFormTextFailed - { - get - { - return ResourceManager.GetString("strSettingMainFormTextFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Couldn't save settings or dispose SysTray Icon!. - /// -internal static string strSettingsCouldNotBeSavedOrTrayDispose - { - get - { - return ResourceManager.GetString("strSettingsCouldNotBeSavedOrTrayDispose", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Show description tooltips in connection tree. - /// -internal static string strShowDescriptionTooltips - { - get - { - return ResourceManager.GetString("strShowDescriptionTooltips", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Show full connections file path in window title. - /// -internal static string strShowFullConsFilePath - { - get - { - return ResourceManager.GetString("strShowFullConsFilePath", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Show logon information on tab names. - /// -internal static string strShowLogonInfoOnTabs - { - get - { - return ResourceManager.GetString("strShowLogonInfoOnTabs", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Show protocols on tab names. - /// -internal static string strShowProtocolOnTabs - { - get - { - return ResourceManager.GetString("strShowProtocolOnTabs", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Single click on connection opens it. - /// -internal static string strSingleClickOnConnectionOpensIt - { - get - { - return ResourceManager.GetString("strSingleClickOnConnectionOpensIt", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Single click on opened connection switches to it. - /// -internal static string strSingleClickOnOpenConnectionSwitchesToIt - { - get - { - return ResourceManager.GetString("strSingleClickOnOpenConnectionSwitchesToIt", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Aspect. - /// -internal static string strSmartSizeModeAspect - { - get - { - return ResourceManager.GetString("strSmartSizeModeAspect", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Free. - /// -internal static string strSmartSizeModeFree - { - get - { - return ResourceManager.GetString("strSmartSizeModeFree", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No SmartSize. - /// -internal static string strSmartSizeModeNone - { - get - { - return ResourceManager.GetString("strSmartSizeModeNone", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Socks 5. - /// -internal static string strSocks5 - { - get - { - return ResourceManager.GetString("strSocks5", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Sort. - /// -internal static string strSort - { - get - { - return ResourceManager.GetString("strSort", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Ascending (A-Z). - /// -internal static string strSortAsc - { - get - { - return ResourceManager.GetString("strSortAsc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Descending (Z-A). - /// -internal static string strSortDesc - { - get - { - return ResourceManager.GetString("strSortDesc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Special Keys. - /// -internal static string strSpecialKeys - { - get - { - return ResourceManager.GetString("strSpecialKeys", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please see Help - Getting started - SQL Configuration for more Info!. - /// -internal static string strSQLInfo - { - get - { - return ResourceManager.GetString("strSQLInfo", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to SQL Server. - /// -internal static string strSQLServer - { - get - { - return ResourceManager.GetString("strSQLServer", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to SQL Update check finished and there is an update available! Going to refresh connections.. - /// -internal static string strSqlUpdateCheckUpdateAvailable - { - get - { - return ResourceManager.GetString("strSqlUpdateCheckUpdateAvailable", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to SSH version 1. - /// -internal static string strSsh1 - { - get - { - return ResourceManager.GetString("strSsh1", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to SSH version 2. - /// -internal static string strSsh2 - { - get - { - return ResourceManager.GetString("strSsh2", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to SSH background transfer failed!. - /// -internal static string strSSHStartTransferBG - { - get - { - return ResourceManager.GetString("strSSHStartTransferBG", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Transfer successful!. - /// -internal static string strSSHTranferSuccessful - { - get - { - return ResourceManager.GetString("strSSHTranferSuccessful", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to SSH Transfer End (UI.Window.SSHTransfer) failed!. - /// -internal static string strSSHTransferEndFailed - { - get - { - return ResourceManager.GetString("strSSHTransferEndFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to SSH transfer failed.. - /// -internal static string strSSHTransferFailed - { - get - { - return ResourceManager.GetString("strSSHTransferFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Start IP. - /// -internal static string strStartIP - { - get - { - return ResourceManager.GetString("strStartIP", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Start Port. - /// -internal static string strStartPort - { - get - { - return ResourceManager.GetString("strStartPort", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Startup/Exit. - /// -internal static string strStartupExit - { - get - { - return ResourceManager.GetString("strStartupExit", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Status. - /// -internal static string strStatus - { - get - { - return ResourceManager.GetString("strStatus", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Switch to Notifications panel on:. - /// -internal static string strSwitchToErrorsAndInfos - { - get - { - return ResourceManager.GetString("strSwitchToErrorsAndInfos", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Advanced. - /// -internal static string strTabAdvanced - { - get - { - return ResourceManager.GetString("strTabAdvanced", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Appearance. - /// -internal static string strTabAppearance - { - get - { - return ResourceManager.GetString("strTabAppearance", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Tabs && Panels. - /// -internal static string strTabsAndPanels - { - get - { - return ResourceManager.GetString("strTabsAndPanels", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Updates. - /// -internal static string strTabUpdates - { - get - { - return ResourceManager.GetString("strTabUpdates", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Telnet. - /// -internal static string strTelnet - { - get - { - return ResourceManager.GetString("strTelnet", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The following:. - /// -internal static string strTheFollowing - { - get - { - return ResourceManager.GetString("strTheFollowing", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Config Panel. - /// -internal static string strThemeCategoryConfigPanel - { - get - { - return ResourceManager.GetString("strThemeCategoryConfigPanel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connections Panel. - /// -internal static string strThemeCategoryConnectionsPanel - { - get - { - return ResourceManager.GetString("strThemeCategoryConnectionsPanel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to General. - /// -internal static string strThemeCategoryGeneral - { - get - { - return ResourceManager.GetString("strThemeCategoryGeneral", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The background colour of the config panel.. - /// -internal static string strThemeDescriptionConfigPanelBackgroundColor - { - get - { - return ResourceManager.GetString("strThemeDescriptionConfigPanelBackgroundColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The colour of the category text in the config panel.. - /// -internal static string strThemeDescriptionConfigPanelCategoryTextColor - { - get - { - return ResourceManager.GetString("strThemeDescriptionConfigPanelCategoryTextColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The colour of the grid lines in the config panel. - /// -internal static string strThemeDescriptionConfigPanelGridLineColor - { - get - { - return ResourceManager.GetString("strThemeDescriptionConfigPanelGridLineColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The background colour of the help area of the config panel.. - /// -internal static string strThemeDescriptionConfigPanelHelpBackgroundColor - { - get - { - return ResourceManager.GetString("strThemeDescriptionConfigPanelHelpBackgroundColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The colour of the text in the help area of the config panel.. - /// -internal static string strThemeDescriptionConfigPanelHelpTextColor - { - get - { - return ResourceManager.GetString("strThemeDescriptionConfigPanelHelpTextColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The colour of the text in the config panel.. - /// -internal static string strThemeDescriptionConfigPanelTextColor - { - get - { - return ResourceManager.GetString("strThemeDescriptionConfigPanelTextColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The background colour of the connections panel.. - /// -internal static string strThemeDescriptionConnectionsPanelBackgroundColor - { - get - { - return ResourceManager.GetString("strThemeDescriptionConnectionsPanelBackgroundColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The colour of the text in the connections panel.. - /// -internal static string strThemeDescriptionConnectionsPanelTextColor - { - get - { - return ResourceManager.GetString("strThemeDescriptionConnectionsPanelTextColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The colour of the tree lines in the connections panel.. - /// -internal static string strThemeDescriptionConnectionsPanelTreeLineColor - { - get - { - return ResourceManager.GetString("strThemeDescriptionConnectionsPanelTreeLineColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The background colour of the menus.. - /// -internal static string strThemeDescriptionMenuBackgroundColor - { - get - { - return ResourceManager.GetString("strThemeDescriptionMenuBackgroundColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The colour of the text in the menus.. - /// -internal static string strThemeDescriptionMenuTextColor - { - get - { - return ResourceManager.GetString("strThemeDescriptionMenuTextColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The background colour of the search box.. - /// -internal static string strThemeDescriptionSearchBoxBackgroundColor - { - get - { - return ResourceManager.GetString("strThemeDescriptionSearchBoxBackgroundColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The colour of the text in the search box.. - /// -internal static string strThemeDescriptionSearchBoxTextColor - { - get - { - return ResourceManager.GetString("strThemeDescriptionSearchBoxTextColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The colour of the prompt text in the search box.. - /// -internal static string strThemeDescriptionSearchBoxTextPromptColor - { - get - { - return ResourceManager.GetString("strThemeDescriptionSearchBoxTextPromptColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The background colour of the toolbars.. - /// -internal static string strThemeDescriptionToolbarBackgroundColor - { - get - { - return ResourceManager.GetString("strThemeDescriptionToolbarBackgroundColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The colour of the text in the toolbars.. - /// -internal static string strThemeDescriptionToolbarTextColor - { - get - { - return ResourceManager.GetString("strThemeDescriptionToolbarTextColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The background colour of the main window.. - /// -internal static string strThemeDescriptionWindowBackgroundColor - { - get - { - return ResourceManager.GetString("strThemeDescriptionWindowBackgroundColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Config Panel Background Colour. - /// -internal static string strThemeNameConfigPanelBackgroundColor - { - get - { - return ResourceManager.GetString("strThemeNameConfigPanelBackgroundColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Config Panel Category Text Colour. - /// -internal static string strThemeNameConfigPanelCategoryTextColor - { - get - { - return ResourceManager.GetString("strThemeNameConfigPanelCategoryTextColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Config Panel Grid Line Colour. - /// -internal static string strThemeNameConfigPanelGridLineColor - { - get - { - return ResourceManager.GetString("strThemeNameConfigPanelGridLineColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Config Panel Help Background Colour. - /// -internal static string strThemeNameConfigPanelHelpBackgroundColor - { - get - { - return ResourceManager.GetString("strThemeNameConfigPanelHelpBackgroundColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Config Panel Help Text Colour. - /// -internal static string strThemeNameConfigPanelHelpTextColor - { - get - { - return ResourceManager.GetString("strThemeNameConfigPanelHelpTextColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Config Panel Text Colour. - /// -internal static string strThemeNameConfigPanelTextColor - { - get - { - return ResourceManager.GetString("strThemeNameConfigPanelTextColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connections Panel Background Colour. - /// -internal static string strThemeNameConnectionsPanelBackgroundColor - { - get - { - return ResourceManager.GetString("strThemeNameConnectionsPanelBackgroundColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connections Panel Text Colour. - /// -internal static string strThemeNameConnectionsPanelTextColor - { - get - { - return ResourceManager.GetString("strThemeNameConnectionsPanelTextColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connections Panel Tree Line Colour. - /// -internal static string strThemeNameConnectionsPanelTreeLineColor - { - get - { - return ResourceManager.GetString("strThemeNameConnectionsPanelTreeLineColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Menu Background Colour. - /// -internal static string strThemeNameMenuBackgroundColor - { - get - { - return ResourceManager.GetString("strThemeNameMenuBackgroundColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Menu Text Colour. - /// -internal static string strThemeNameMenuTextColor - { - get - { - return ResourceManager.GetString("strThemeNameMenuTextColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Search Box Background Colour. - /// -internal static string strThemeNameSearchBoxBackgroundColor - { - get - { - return ResourceManager.GetString("strThemeNameSearchBoxBackgroundColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Search Box Text Colour. - /// -internal static string strThemeNameSearchBoxTextColor - { - get - { - return ResourceManager.GetString("strThemeNameSearchBoxTextColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Search Box Text Prompt Colour. - /// -internal static string strThemeNameSearchBoxTextPromptColor - { - get - { - return ResourceManager.GetString("strThemeNameSearchBoxTextPromptColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Toolbar Background Colour. - /// -internal static string strThemeNameToolbarBackgroundColor - { - get - { - return ResourceManager.GetString("strThemeNameToolbarBackgroundColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Toolbar Text Colour. - /// -internal static string strThemeNameToolbarTextColor - { - get - { - return ResourceManager.GetString("strThemeNameToolbarTextColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Window Background Colour. - /// -internal static string strThemeNameWindowBackgroundColor - { - get - { - return ResourceManager.GetString("strThemeNameWindowBackgroundColor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Error ({0}). - /// -internal static string strTitleError - { - get - { - return ResourceManager.GetString("strTitleError", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Information ({0}). - /// -internal static string strTitleInformation - { - get - { - return ResourceManager.GetString("strTitleInformation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Password. - /// -internal static string strTitlePassword - { - get - { - return ResourceManager.GetString("strTitlePassword", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Password for {0}. - /// -internal static string strTitlePasswordWithName - { - get - { - return ResourceManager.GetString("strTitlePasswordWithName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Select Panel. - /// -internal static string strTitleSelectPanel - { - get - { - return ResourceManager.GetString("strTitleSelectPanel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Warning ({0}). - /// -internal static string strTitleWarning - { - get - { - return ResourceManager.GetString("strTitleWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Transfer. - /// -internal static string strTransfer - { - get - { - return ResourceManager.GetString("strTransfer", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Transfer failed!. - /// -internal static string strTransferFailed - { - get - { - return ResourceManager.GetString("strTransferFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Try to integrate. - /// -internal static string strTryIntegrate - { - get - { - return ResourceManager.GetString("strTryIntegrate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Type. - /// -internal static string strType - { - get - { - return ResourceManager.GetString("strType", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Ultra VNC Repeater. - /// -internal static string strUltraVncRepeater - { - get - { - return ResourceManager.GetString("strUltraVncRepeater", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to UltraVNC SingleClick port:. - /// -internal static string strUltraVNCSCListeningPort - { - get - { - return ResourceManager.GetString("strUltraVNCSCListeningPort", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Uncheck the properties you want not to be saved!. - /// -internal static string strUncheckProperties - { - get - { - return ResourceManager.GetString("strUncheckProperties", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unnamed Theme. - /// -internal static string strUnnamedTheme - { - get - { - return ResourceManager.GetString("strUnnamedTheme", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to mRemoteNG requires an update. - /// -internal static string strUpdateAvailable - { - get - { - return ResourceManager.GetString("strUpdateAvailable", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to mRemoteNG can periodically connect to the mRemoteNG website to check for updates and product announcements.. - /// -internal static string strUpdateCheck - { - get - { - return ResourceManager.GetString("strUpdateCheck", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The update information could not be downloaded.. - /// -internal static string strUpdateCheckCompleteFailed - { - get - { - return ResourceManager.GetString("strUpdateCheckCompleteFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Check failed. - /// -internal static string strUpdateCheckFailedLabel - { - get - { - return ResourceManager.GetString("strUpdateCheckFailedLabel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Checking for updates.... - /// -internal static string strUpdateCheckingLabel - { - get - { - return ResourceManager.GetString("strUpdateCheckingLabel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to mRemoteNG Portable Edition does not currently support automatic updates.. - /// -internal static string strUpdateCheckPortableEdition - { - get - { - return ResourceManager.GetString("strUpdateCheckPortableEdition", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Download complete! - ///mRemoteNG will now quit and begin with the installation.. - /// -internal static string strUpdateDownloadComplete - { - get - { - return ResourceManager.GetString("strUpdateDownloadComplete", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The update could not be downloaded.. - /// -internal static string strUpdateDownloadCompleteFailed - { - get - { - return ResourceManager.GetString("strUpdateDownloadCompleteFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The update download could not be initiated.. - /// -internal static string strUpdateDownloadFailed - { - get - { - return ResourceManager.GetString("strUpdateDownloadFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Every {0} days. - /// -internal static string strUpdateFrequencyCustom - { - get - { - return ResourceManager.GetString("strUpdateFrequencyCustom", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Daily. - /// -internal static string strUpdateFrequencyDaily - { - get - { - return ResourceManager.GetString("strUpdateFrequencyDaily", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Monthly. - /// -internal static string strUpdateFrequencyMonthly - { - get - { - return ResourceManager.GetString("strUpdateFrequencyMonthly", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Weekly. - /// -internal static string strUpdateFrequencyWeekly - { - get - { - return ResourceManager.GetString("strUpdateFrequencyWeekly", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The announcement information could not be downloaded.. - /// -internal static string strUpdateGetAnnouncementInfoFailed - { - get - { - return ResourceManager.GetString("strUpdateGetAnnouncementInfoFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The change log could not be downloaded.. - /// -internal static string strUpdateGetChangeLogFailed - { - get - { - return ResourceManager.GetString("strUpdateGetChangeLogFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use a different username and password. - /// -internal static string strUseDifferentUsernameAndPassword - { - get - { - return ResourceManager.GetString("strUseDifferentUsernameAndPassword", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use only Notifications panel (no messagebox popups). - /// -internal static string strUseOnlyErrorsAndInfosPanel - { - get - { - return ResourceManager.GetString("strUseOnlyErrorsAndInfosPanel", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to User. - /// -internal static string strUser - { - get - { - return ResourceManager.GetString("strUser", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use the same username and password. - /// -internal static string strUseSameUsernameAndPassword - { - get - { - return ResourceManager.GetString("strUseSameUsernameAndPassword", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use a smart card. - /// -internal static string strUseSmartCard - { - get - { - return ResourceManager.GetString("strUseSmartCard", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use SQL Server to load && save connections. - /// -internal static string strUseSQLServer - { - get - { - return ResourceManager.GetString("strUseSQLServer", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Version. - /// -internal static string strVersion - { - get - { - return ResourceManager.GetString("strVersion", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to visionapp Remote Desktop 2008 CSV. - /// -internal static string strVisionAppRemoteDesktopCsv - { - get - { - return ResourceManager.GetString("strVisionAppRemoteDesktopCsv", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to VNC. - /// -internal static string strVnc - { - get - { - return ResourceManager.GetString("strVnc", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to VNC disconnect failed!. - /// -internal static string strVncConnectionDisconnectFailed - { - get - { - return ResourceManager.GetString("strVncConnectionDisconnectFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Opening connection failed!. - /// -internal static string strVncConnectionOpenFailed - { - get - { - return ResourceManager.GetString("strVncConnectionOpenFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to VNC Refresh Screen Failed!. - /// -internal static string strVncRefreshFailed - { - get - { - return ResourceManager.GetString("strVncRefreshFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to VNC SendSpecialKeys failed!. - /// -internal static string strVncSendSpecialKeysFailed - { - get - { - return ResourceManager.GetString("strVncSendSpecialKeysFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to VNC Set Event Handlers failed!. - /// -internal static string strVncSetEventHandlersFailed - { - get - { - return ResourceManager.GetString("strVncSetEventHandlersFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to VNC Set Props Failed!. - /// -internal static string strVncSetPropsFailed - { - get - { - return ResourceManager.GetString("strVncSetPropsFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to VNC Start Chat Failed!. - /// -internal static string strVncStartChatFailed - { - get - { - return ResourceManager.GetString("strVncStartChatFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to VNC Toggle SmartSize Failed!. - /// -internal static string strVncToggleSmartSizeFailed - { - get - { - return ResourceManager.GetString("strVncToggleSmartSizeFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to VNC Toggle ViewOnly Failed!. - /// -internal static string strVncToggleViewOnlyFailed - { - get - { - return ResourceManager.GetString("strVncToggleViewOnlyFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Warn me if authentication fails. - /// -internal static string strWarnIfAuthFails - { - get - { - return ResourceManager.GetString("strWarnIfAuthFails", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Warnings. - /// -internal static string strWarnings - { - get - { - return ResourceManager.GetString("strWarnings", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Uses the DockPanel Suite by [Weifen Luo]. - /// -internal static string strWeifenLuoAttribution - { - get - { - return ResourceManager.GetString("strWeifenLuoAttribution", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to http://sourceforge.net/projects/dockpanelsuite/. - /// -internal static string strWeifenLuoAttributionURL - { - get - { - return ResourceManager.GetString("strWeifenLuoAttributionURL", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Write log file (mRemoteNG.log). - /// -internal static string strWriteLogFile - { - get - { - return ResourceManager.GetString("strWriteLogFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to XULrunner path:. - /// -internal static string strXULrunnerPath - { - get - { - return ResourceManager.GetString("strXULrunnerPath", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Yes. - /// -internal static string strYes - { - get - { - return ResourceManager.GetString("strYes", resourceCulture); - } - } - } - } - +namespace mRemoteNG.My { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Language { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Language() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("mRemoteNG.Language.Language", typeof(Language).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to About. + /// + internal static string strAbout { + get { + return ResourceManager.GetString("strAbout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Active. + /// + internal static string strActive { + get { + return ResourceManager.GetString("strActive", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Active Directory. + /// + internal static string strActiveDirectory { + get { + return ResourceManager.GetString("strActiveDirectory", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Activity. + /// + internal static string strActivity { + get { + return ResourceManager.GetString("strActivity", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to New Connection. + /// + internal static string strAddConnection { + get { + return ResourceManager.GetString("strAddConnection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to New folder. + /// + internal static string strAddFolder { + get { + return ResourceManager.GetString("strAddFolder", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AddNodeFromXML failed!. + /// + internal static string strAddNodeFromXmlFailed { + get { + return ResourceManager.GetString("strAddNodeFromXmlFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AddNodesFromSQL failed!. + /// + internal static string strAddNodesFromSqlFailed { + get { + return ResourceManager.GetString("strAddNodesFromSqlFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Allow only a single instance of the application (mRemoteNG restart required). + /// + internal static string strAllowOnlySingleInstance { + get { + return ResourceManager.GetString("strAllowOnlySingleInstance", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Always. + /// + internal static string strAlways { + get { + return ResourceManager.GetString("strAlways", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Always connect, even if authentication fails. + /// + internal static string strAlwaysConnectEvenIfAuthFails { + get { + return ResourceManager.GetString("strAlwaysConnectEvenIfAuthFails", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Always show panel selection dialog when opening connections. + /// + internal static string strAlwaysShowPanelSelection { + get { + return ResourceManager.GetString("strAlwaysShowPanelSelection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Always show panel tabs. + /// + internal static string strAlwaysShowPanelTabs { + get { + return ResourceManager.GetString("strAlwaysShowPanelTabs", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Always show notification area icon. + /// + internal static string strAlwaysShowSysTrayIcon { + get { + return ResourceManager.GetString("strAlwaysShowSysTrayIcon", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Ask me again later. + /// + internal static string strAskUpdatesCommandAskLater { + get { + return ResourceManager.GetString("strAskUpdatesCommandAskLater", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Customize the settings now. + /// + internal static string strAskUpdatesCommandCustom { + get { + return ResourceManager.GetString("strAskUpdatesCommandCustom", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use the recommended settings. + /// + internal static string strAskUpdatesCommandRecommended { + get { + return ResourceManager.GetString("strAskUpdatesCommandRecommended", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0} can automatically check for updates that may provide new features and bug fixes. It is recommended that you allow {0} to check for updates weekly.. + /// + internal static string strAskUpdatesContent { + get { + return ResourceManager.GetString("strAskUpdatesContent", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Automatic update settings. + /// + internal static string strAskUpdatesMainInstruction { + get { + return ResourceManager.GetString("strAskUpdatesMainInstruction", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Aspect. + /// + internal static string strAspect { + get { + return ResourceManager.GetString("strAspect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Automatically get session information. + /// + internal static string strAutomaticallyGetSessionInfo { + get { + return ResourceManager.GetString("strAutomaticallyGetSessionInfo", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Auto save every:. + /// + internal static string strAutoSaveEvery { + get { + return ResourceManager.GetString("strAutoSaveEvery", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Minutes (0 means disabled). + /// + internal static string strAutoSaveMins { + get { + return ResourceManager.GetString("strAutoSaveMins", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Latest version. + /// + internal static string strAvailableVersion { + get { + return ResourceManager.GetString("strAvailableVersion", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &Browse.... + /// + internal static string strButtonBrowse { + get { + return ResourceManager.GetString("strButtonBrowse", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &Cancel. + /// + internal static string strButtonCancel { + get { + return ResourceManager.GetString("strButtonCancel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Change. + /// + internal static string strButtonChange { + get { + return ResourceManager.GetString("strButtonChange", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &Close. + /// + internal static string strButtonClose { + get { + return ResourceManager.GetString("strButtonClose", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Default Inheritance. + /// + internal static string strButtonDefaultInheritance { + get { + return ResourceManager.GetString("strButtonDefaultInheritance", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Default Properties. + /// + internal static string strButtonDefaultProperties { + get { + return ResourceManager.GetString("strButtonDefaultProperties", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Disconnect. + /// + internal static string strButtonDisconnect { + get { + return ResourceManager.GetString("strButtonDisconnect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Icon. + /// + internal static string strButtonIcon { + get { + return ResourceManager.GetString("strButtonIcon", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &Import. + /// + internal static string strButtonImport { + get { + return ResourceManager.GetString("strButtonImport", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Inheritance. + /// + internal static string strButtonInheritance { + get { + return ResourceManager.GetString("strButtonInheritance", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &Launch. + /// + internal static string strButtonLaunch { + get { + return ResourceManager.GetString("strButtonLaunch", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Launch PuTTY. + /// + internal static string strButtonLaunchPutty { + get { + return ResourceManager.GetString("strButtonLaunchPutty", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &New. + /// + internal static string strButtonNew { + get { + return ResourceManager.GetString("strButtonNew", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &OK. + /// + internal static string strButtonOK { + get { + return ResourceManager.GetString("strButtonOK", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Properties. + /// + internal static string strButtonProperties { + get { + return ResourceManager.GetString("strButtonProperties", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &Scan. + /// + internal static string strButtonScan { + get { + return ResourceManager.GetString("strButtonScan", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &Stop. + /// + internal static string strButtonStop { + get { + return ResourceManager.GetString("strButtonStop", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Test Proxy. + /// + internal static string strButtonTestProxy { + get { + return ResourceManager.GetString("strButtonTestProxy", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You cannot import a normal connection file. + ///Please use File - Load Connections for normal connection files!. + /// + internal static string strCannotImportNormalSessionFile { + get { + return ResourceManager.GetString("strCannotImportNormalSessionFile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cannot start Port Scan, incorrect IP format!. + /// + internal static string strCannotStartPortScan { + get { + return ResourceManager.GetString("strCannotStartPortScan", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Appearance. + /// + internal static string strCategoryAppearance { + get { + return ResourceManager.GetString("strCategoryAppearance", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connection. + /// + internal static string strCategoryConnection { + get { + return ResourceManager.GetString("strCategoryConnection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Credentials. + /// + internal static string strCategoryCredentials { + get { + return ResourceManager.GetString("strCategoryCredentials", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Display. + /// + internal static string strCategoryDisplay { + get { + return ResourceManager.GetString("strCategoryDisplay", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Gateway. + /// + internal static string strCategoryGateway { + get { + return ResourceManager.GetString("strCategoryGateway", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to General. + /// + internal static string strCategoryGeneral { + get { + return ResourceManager.GetString("strCategoryGeneral", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Miscellaneous. + /// + internal static string strCategoryMiscellaneous { + get { + return ResourceManager.GetString("strCategoryMiscellaneous", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Protocol. + /// + internal static string strCategoryProtocol { + get { + return ResourceManager.GetString("strCategoryProtocol", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Redirect. + /// + internal static string strCategoryRedirect { + get { + return ResourceManager.GetString("strCategoryRedirect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Always show this screen at startup. + /// + internal static string strCcAlwaysShowScreen { + get { + return ResourceManager.GetString("strCcAlwaysShowScreen", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Refresh. + /// + internal static string strCcCheckAgain { + get { + return ResourceManager.GetString("strCcCheckAgain", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Check failed!. + /// + internal static string strCcCheckFailed { + get { + return ResourceManager.GetString("strCcCheckFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Check succeeded!. + /// + internal static string strCcCheckSucceeded { + get { + return ResourceManager.GetString("strCcCheckSucceeded", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The (RDP) Sessions feature requires that you have a copy of eolwtscom.dll registered on your system. + ///mRemoteNG ships with this component but it is not registered automatically if you do not use the mRemoteNG Installer. + ///To register it manually, run the following command from an elevated command prompt: regsvr32 "C:\Program Files\mRemoteNG\eolwtscom.dll" (where C:\Program Files\mRemoteNG\ is the path to your mRemoteNG installation). + ///If this check still fails or you are unable to use the (RDP) Sessions feat [rest of string was truncated]";. + /// + internal static string strCcEOLFailed { + get { + return ResourceManager.GetString("strCcEOLFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to EOLWTSCOM was found and seems to be registered properly.. + /// + internal static string strCcEOLOK { + get { + return ResourceManager.GetString("strCcEOLOK", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to To use the Gecko Rendering Engine you need to have XULrunner 1.8.1.x and the path to the installation set in your Options. + ///You can download XULrunner 1.8.1.3 here: ftp://ftp.mozilla.org/pub/xulrunner/releases/1.8.1.3/contrib/win32/ + ///When you are finished downloading extract the package to a path of your choice. Then in mRemoteNG go to Tools - Options - Advanced and enter the correct path in the XULrunner path field. + ///If you are still not able to pass this check or use the Gecko Engine in mRemoteNG please c [rest of string was truncated]";. + /// + internal static string strCcGeckoFailed { + get { + return ResourceManager.GetString("strCcGeckoFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to XULrunner was found and seems to be installed properly.. + /// + internal static string strCcGeckoOK { + get { + return ResourceManager.GetString("strCcGeckoOK", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ICA requires that the XenDesktop Online Plugin is installed and that the wfica.ocx library is registered. You can download the client here: http://www.citrix.com/download/ + ///If you have the XenDesktop Online Plugin installed and the check still fails, try to register wfica.ocx manually. + ///To do this open up the run dialog (Start - Run) and enter the following: regsvr32 "c:\Program Files\Citrix\ICA Client\wfica.ocx" (Where c:\Program Files\Citrix\ICA Client\ is the path to your XenDesktop Online Plugin install [rest of string was truncated]";. + /// + internal static string strCcICAFailed { + get { + return ResourceManager.GetString("strCcICAFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to All ICA components were found and seem to be registered properly. + ///Citrix ICA Client Control Version {0}. + /// + internal static string strCcICAOK { + get { + return ResourceManager.GetString("strCcICAOK", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to not installed properly. + /// + internal static string strCcNotInstalledProperly { + get { + return ResourceManager.GetString("strCcNotInstalledProperly", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The SSH, Telnet, Rlogin and RAW protocols need PuTTY to work. PuTTY comes with every mRemoteNG package and is located in the installation path. + ///Please make sure that either you have the Putty.exe in your mRemoteNG directory (default: c:\Program Files\mRemoteNG\) or that you specified a valid path to your PuTTY executable in the Options (Tools - Options - Advanced - Custom PuTTY path). + /// + internal static string strCcPuttyFailed { + get { + return ResourceManager.GetString("strCcPuttyFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The PuTTY executable was found and should be ready to use.. + /// + internal static string strCcPuttyOK { + get { + return ResourceManager.GetString("strCcPuttyOK", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to For RDP to work properly you need to have at least Remote Desktop Connection (Terminal Services) Client 6.0 installed. You can download it here: http://support.microsoft.com/kb/925876 + ///If this check still fails or you are unable to use RDP, please consult the mRemoteNG Forum at http://forum.mremoteng.org/.. + /// + internal static string strCcRDPFailed { + get { + return ResourceManager.GetString("strCcRDPFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to All RDP components were found and seem to be registered properly. + ///Remote Desktop Connection Control Version {0}. + /// + internal static string strCcRDPOK { + get { + return ResourceManager.GetString("strCcRDPOK", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to VNC requires VncSharpNG.dll to be located in your mRemoteNG application folder. + ///Please make sure that you have the VncSharpNG.dll file in your mRemoteNG application folder (usually C:\Program Files\mRemoteNG\). + ///If you are still not able to pass this check or use VNC in mRemoteNG please consult the mRemoteNG Forum at http://forum.mremoteng.org/. + /// + internal static string strCcVNCFailed { + get { + return ResourceManager.GetString("strCcVNCFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to All VNC components were found and seem to be registered properly. + ///VncSharpNG Control Version {0}. + /// + internal static string strCcVNCOK { + get { + return ResourceManager.GetString("strCcVNCOK", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Automatically try to reconnect when disconnected from server (RDP && ICA only). + /// + internal static string strCheckboxAutomaticReconnect { + get { + return ResourceManager.GetString("strCheckboxAutomaticReconnect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Domain. + /// + internal static string strCheckboxDomain { + get { + return ResourceManager.GetString("strCheckboxDomain", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Do not show this message again.. + /// + internal static string strCheckboxDoNotShowThisMessageAgain { + get { + return ResourceManager.GetString("strCheckboxDoNotShowThisMessageAgain", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Inheritance. + /// + internal static string strCheckboxInheritance { + get { + return ResourceManager.GetString("strCheckboxInheritance", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Password. + /// + internal static string strCheckboxPassword { + get { + return ResourceManager.GetString("strCheckboxPassword", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to This proxy server requires authentication. + /// + internal static string strCheckboxProxyAuthentication { + get { + return ResourceManager.GetString("strCheckboxProxyAuthentication", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use custom PuTTY path:. + /// + internal static string strCheckboxPuttyPath { + get { + return ResourceManager.GetString("strCheckboxPuttyPath", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Reconnect when ready. + /// + internal static string strCheckboxReconnectWhenReady { + get { + return ResourceManager.GetString("strCheckboxReconnectWhenReady", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use a proxy server to connect. + /// + internal static string strCheckboxUpdateUseProxy { + get { + return ResourceManager.GetString("strCheckboxUpdateUseProxy", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Username. + /// + internal static string strCheckboxUsername { + get { + return ResourceManager.GetString("strCheckboxUsername", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Wait for exit. + /// + internal static string strCheckboxWaitForExit { + get { + return ResourceManager.GetString("strCheckboxWaitForExit", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Check Again. + /// + internal static string strCheckForUpdate { + get { + return ResourceManager.GetString("strCheckForUpdate", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Check for updates and announcements at startup. + /// + internal static string strCheckForUpdatesOnStartup { + get { + return ResourceManager.GetString("strCheckForUpdatesOnStartup", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Check now. + /// + internal static string strCheckNow { + get { + return ResourceManager.GetString("strCheckNow", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Check proper installation of components at startup. + /// + internal static string strCheckProperInstallationOfComponentsAtStartup { + get { + return ResourceManager.GetString("strCheckProperInstallationOfComponentsAtStartup", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Choose panel before connecting. + /// + internal static string strChoosePanelBeforeConnecting { + get { + return ResourceManager.GetString("strChoosePanelBeforeConnecting", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Closed Ports. + /// + internal static string strClosedPorts { + get { + return ResourceManager.GetString("strClosedPorts", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Collapse all folders. + /// + internal static string strCollapseAllFolders { + get { + return ResourceManager.GetString("strCollapseAllFolders", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Arguments. + /// + internal static string strColumnArguments { + get { + return ResourceManager.GetString("strColumnArguments", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Display Name. + /// + internal static string strColumnDisplayName { + get { + return ResourceManager.GetString("strColumnDisplayName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Filename. + /// + internal static string strColumnFilename { + get { + return ResourceManager.GetString("strColumnFilename", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Hostname/IP. + /// + internal static string strColumnHostnameIP { + get { + return ResourceManager.GetString("strColumnHostnameIP", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Message. + /// + internal static string strColumnMessage { + get { + return ResourceManager.GetString("strColumnMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Username. + /// + internal static string strColumnUsername { + get { + return ResourceManager.GetString("strColumnUsername", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Wait For Exit. + /// + internal static string strColumnWaitForExit { + get { + return ResourceManager.GetString("strColumnWaitForExit", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to E&xit {0}. + /// + internal static string strCommandExitProgram { + get { + return ResourceManager.GetString("strCommandExitProgram", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Couldn't parse command line args!. + /// + internal static string strCommandLineArgsCouldNotBeParsed { + get { + return ResourceManager.GetString("strCommandLineArgsCouldNotBeParsed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &Open a connection file. + /// + internal static string strCommandOpenConnectionFile { + get { + return ResourceManager.GetString("strCommandOpenConnectionFile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &Try again. + /// + internal static string strCommandTryAgain { + get { + return ResourceManager.GetString("strCommandTryAgain", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0} has detected the Lenovo Auto Scroll Utility running on this system. This utility is known to cause problems with {0}. It is recommended that you disable or uninstall it.. + /// + internal static string strCompatibilityLenovoAutoScrollUtilityDetected { + get { + return ResourceManager.GetString("strCompatibilityLenovoAutoScrollUtilityDetected", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Compatibility problem detected. + /// + internal static string strCompatibilityProblemDetected { + get { + return ResourceManager.GetString("strCompatibilityProblemDetected", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Components Check. + /// + internal static string strComponentsCheck { + get { + return ResourceManager.GetString("strComponentsCheck", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to btnIcon_Click failed!. + /// + internal static string strConfigPropertyGridButtonIconClickFailed { + get { + return ResourceManager.GetString("strConfigPropertyGridButtonIconClickFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ShowHideGridItems failed!. + /// + internal static string strConfigPropertyGridHideItemsFailed { + get { + return ResourceManager.GetString("strConfigPropertyGridHideItemsFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to IconMenu_Click failed!. + /// + internal static string strConfigPropertyGridMenuClickFailed { + get { + return ResourceManager.GetString("strConfigPropertyGridMenuClickFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Property Grid object failed!. + /// + internal static string strConfigPropertyGridObjectFailed { + get { + return ResourceManager.GetString("strConfigPropertyGridObjectFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to SetHostStatus failed!. + /// + internal static string strConfigPropertyGridSetHostStatusFailed { + get { + return ResourceManager.GetString("strConfigPropertyGridSetHostStatusFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to pGrid_PopertyValueChanged failed!. + /// + internal static string strConfigPropertyGridValueFailed { + get { + return ResourceManager.GetString("strConfigPropertyGridValueFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Config UI load failed!. + /// + internal static string strConfigUiLoadFailed { + get { + return ResourceManager.GetString("strConfigUiLoadFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Do you want to close the connection, "{0}"?. + /// + internal static string strConfirmCloseConnectionMainInstruction { + get { + return ResourceManager.GetString("strConfirmCloseConnectionMainInstruction", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to close the panel, "{0}"? Any connections that it contains will also be closed.. + /// + internal static string strConfirmCloseConnectionPanelMainInstruction { + get { + return ResourceManager.GetString("strConfirmCloseConnectionPanelMainInstruction", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to delete the external tool, "{0}"?. + /// + internal static string strConfirmDeleteExternalTool { + get { + return ResourceManager.GetString("strConfirmDeleteExternalTool", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to delete the {0} selected external tools?. + /// + internal static string strConfirmDeleteExternalToolMultiple { + get { + return ResourceManager.GetString("strConfirmDeleteExternalToolMultiple", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to delete the connection, "{0}"?. + /// + internal static string strConfirmDeleteNodeConnection { + get { + return ResourceManager.GetString("strConfirmDeleteNodeConnection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to delete the empty folder, "{0}"?. + /// + internal static string strConfirmDeleteNodeFolder { + get { + return ResourceManager.GetString("strConfirmDeleteNodeFolder", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to delete the folder, "{0}"? Any folders or connections that it contains will also be deleted.. + /// + internal static string strConfirmDeleteNodeFolderNotEmpty { + get { + return ResourceManager.GetString("strConfirmDeleteNodeFolderNotEmpty", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Do you want to close all open connections?. + /// + internal static string strConfirmExitMainInstruction { + get { + return ResourceManager.GetString("strConfirmExitMainInstruction", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to reset the panels to their default layout?. + /// + internal static string strConfirmResetLayout { + get { + return ResourceManager.GetString("strConfirmResetLayout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connect. + /// + internal static string strConnect { + get { + return ResourceManager.GetString("strConnect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connect in fullscreen mode. + /// + internal static string strConnectInFullscreen { + get { + return ResourceManager.GetString("strConnectInFullscreen", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connecting.... + /// + internal static string strConnecting { + get { + return ResourceManager.GetString("strConnecting", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Protocol Event Connected. + /// + internal static string strConnectionEventConnected { + get { + return ResourceManager.GetString("strConnectionEventConnected", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connection to "{0}" via "{1}" established by user "{2}" (Description: "{3}"; User Field: "{4}"). + /// + internal static string strConnectionEventConnectedDetail { + get { + return ResourceManager.GetString("strConnectionEventConnectedDetail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Conenction failed!. + /// + internal static string strConnectionEventConnectionFailed { + get { + return ResourceManager.GetString("strConnectionEventConnectionFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Protocol Event ErrorOccured. + /// + internal static string strConnectionEventErrorOccured { + get { + return ResourceManager.GetString("strConnectionEventErrorOccured", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Opening connection failed!. + /// + internal static string strConnectionOpenFailed { + get { + return ResourceManager.GetString("strConnectionOpenFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cannot open connection: No hostname specified!. + /// + internal static string strConnectionOpenFailedNoHostname { + get { + return ResourceManager.GetString("strConnectionOpenFailedNoHostname", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RDP error! + ///Error Code: {0} + ///Error Description: {1}. + /// + internal static string strConnectionRdpErrorDetail { + get { + return ResourceManager.GetString("strConnectionRdpErrorDetail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connections. + /// + internal static string strConnections { + get { + return ResourceManager.GetString("strConnections", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Couldn't set default port!. + /// + internal static string strConnectionSetDefaultPortFailed { + get { + return ResourceManager.GetString("strConnectionSetDefaultPortFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Couldn't create backup of connections file!. + /// + internal static string strConnectionsFileBackupFailed { + get { + return ResourceManager.GetString("strConnectionsFileBackupFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Couldn't import connections file!. + /// + internal static string strConnectionsFileCouldNotBeImported { + get { + return ResourceManager.GetString("strConnectionsFileCouldNotBeImported", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connections file "{0}" could not be loaded!. + /// + internal static string strConnectionsFileCouldNotBeLoaded { + get { + return ResourceManager.GetString("strConnectionsFileCouldNotBeLoaded", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connections file "{0}" could not be loaded! + ///Starting with new connections file.. + /// + internal static string strConnectionsFileCouldNotBeLoadedNew { + get { + return ResourceManager.GetString("strConnectionsFileCouldNotBeLoadedNew", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Couldn't save connections file!. + /// + internal static string strConnectionsFileCouldNotBeSaved { + get { + return ResourceManager.GetString("strConnectionsFileCouldNotBeSaved", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Couldn't save connections file as "{0}"!. + /// + internal static string strConnectionsFileCouldNotSaveAs { + get { + return ResourceManager.GetString("strConnectionsFileCouldNotSaveAs", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connect without credentials. + /// + internal static string strConnectNoCredentials { + get { + return ResourceManager.GetString("strConnectNoCredentials", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connect to console session. + /// + internal static string strConnectToConsoleSession { + get { + return ResourceManager.GetString("strConnectToConsoleSession", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connect (with options). + /// + internal static string strConnectWithOptions { + get { + return ResourceManager.GetString("strConnectWithOptions", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connection to {0} via {1} closed by user {2}.. + /// + internal static string strConnenctionClosedByUser { + get { + return ResourceManager.GetString("strConnenctionClosedByUser", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connection to {0} via {1} closed by user {2}. (Description: "{3}"; User Field: "{4}"). + /// + internal static string strConnenctionClosedByUserDetail { + get { + return ResourceManager.GetString("strConnenctionClosedByUserDetail", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connection Event Closed. + /// + internal static string strConnenctionCloseEvent { + get { + return ResourceManager.GetString("strConnenctionCloseEvent", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connection Event Closed failed!. + /// + internal static string strConnenctionCloseEventFailed { + get { + return ResourceManager.GetString("strConnenctionCloseEventFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Couldn't create new connections file!. + /// + internal static string strCouldNotCreateNewConnectionsFile { + get { + return ResourceManager.GetString("strCouldNotCreateNewConnectionsFile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Could not find ToolStrip control in FilteredPropertyGrid.. + /// + internal static string strCouldNotFindToolStripInFilteredPropertyGrid { + get { + return ResourceManager.GetString("strCouldNotFindToolStripInFilteredPropertyGrid", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Installed version. + /// + internal static string strCurrentVersion { + get { + return ResourceManager.GetString("strCurrentVersion", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Default Theme. + /// + internal static string strDefaultTheme { + get { + return ResourceManager.GetString("strDefaultTheme", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Detect. + /// + internal static string strDetect { + get { + return ResourceManager.GetString("strDetect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Don't connect to console session. + /// + internal static string strDontConnectToConsoleSessionMenuItem { + get { + return ResourceManager.GetString("strDontConnectToConsoleSessionMenuItem", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Don't connect if authentication fails. + /// + internal static string strDontConnectWhenAuthFails { + get { + return ResourceManager.GetString("strDontConnectWhenAuthFails", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Double click on tab closes it. + /// + internal static string strDoubleClickTabClosesIt { + get { + return ResourceManager.GetString("strDoubleClickTabClosesIt", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Download and Install. + /// + internal static string strDownloadAndInstall { + get { + return ResourceManager.GetString("strDownloadAndInstall", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Duplicate. + /// + internal static string strDuplicate { + get { + return ResourceManager.GetString("strDuplicate", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Do you want to continue with no password?. + /// + internal static string strEmptyPasswordContinue { + get { + return ResourceManager.GetString("strEmptyPasswordContinue", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to For empty Username, Password or Domain fields use:. + /// + internal static string strEmptyUsernamePasswordDomainFields { + get { + return ResourceManager.GetString("strEmptyUsernamePasswordDomainFields", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 128-bit. + /// + internal static string strEnc128Bit { + get { + return ResourceManager.GetString("strEnc128Bit", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 128-bit (logon only). + /// + internal static string strEnc128BitLogonOnly { + get { + return ResourceManager.GetString("strEnc128BitLogonOnly", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 40-bit. + /// + internal static string strEnc40Bit { + get { + return ResourceManager.GetString("strEnc40Bit", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 56-bit. + /// + internal static string strEnc56Bit { + get { + return ResourceManager.GetString("strEnc56Bit", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Basic. + /// + internal static string strEncBasic { + get { + return ResourceManager.GetString("strEncBasic", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Completely encrypt connection file. + /// + internal static string strEncryptCompleteConnectionFile { + get { + return ResourceManager.GetString("strEncryptCompleteConnectionFile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to End IP. + /// + internal static string strEndIP { + get { + return ResourceManager.GetString("strEndIP", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to End Port. + /// + internal static string strEndPort { + get { + return ResourceManager.GetString("strEndPort", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AddExternalToolsToToolBar (frmMain) failed. {0}. + /// + internal static string strErrorAddExternalToolsToToolBarFailed { + get { + return ResourceManager.GetString("strErrorAddExternalToolsToToolBarFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AddFolder (UI.Window.Tree) failed. {0}. + /// + internal static string strErrorAddFolderFailed { + get { + return ResourceManager.GetString("strErrorAddFolderFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The database version {0} is not compatible with this version of {1}.. + /// + internal static string strErrorBadDatabaseVersion { + get { + return ResourceManager.GetString("strErrorBadDatabaseVersion", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to CloneNode (Tree.Node) failed . {0}. + /// + internal static string strErrorCloneNodeFailed { + get { + return ResourceManager.GetString("strErrorCloneNodeFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Error code {0}.. + /// + internal static string strErrorCode { + get { + return ResourceManager.GetString("strErrorCode", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The connection list could not be saved.. + /// + internal static string strErrorConnectionListSaveFailed { + get { + return ResourceManager.GetString("strErrorConnectionListSaveFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PuTTY could not be launched.. + /// + internal static string strErrorCouldNotLaunchPutty { + get { + return ResourceManager.GetString("strErrorCouldNotLaunchPutty", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Decryption failed. {0}. + /// + internal static string strErrorDecryptionFailed { + get { + return ResourceManager.GetString("strErrorDecryptionFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Encryption failed. {0}. + /// + internal static string strErrorEncryptionFailed { + get { + return ResourceManager.GetString("strErrorEncryptionFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The Windows security setting, "System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing", is enabled. This setting is not compatible with {0}. + /// + ///See the Microsoft Support article at http://support.microsoft.com/kb/811833 for more information. + /// + ///{0} will now close.. + /// + internal static string strErrorFipsPolicyIncompatible { + get { + return ResourceManager.GetString("strErrorFipsPolicyIncompatible", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Errors. + /// + internal static string strErrors { + get { + return ResourceManager.GetString("strErrors", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The startup connection file could not be loaded.{0}{0}{2}{0}{3}{0}{0}In order to prevent data loss, {1} will now exit.. + /// + internal static string strErrorStartupConnectionFileLoad { + get { + return ResourceManager.GetString("strErrorStartupConnectionFileLoad", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to VerifyDatabaseVersion (Config.Connections.Save) failed. {0}. + /// + internal static string strErrorVerifyDatabaseVersionFailed { + get { + return ResourceManager.GetString("strErrorVerifyDatabaseVersionFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Expand all folders. + /// + internal static string strExpandAllFolders { + get { + return ResourceManager.GetString("strExpandAllFolders", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Experimental. + /// + internal static string strExperimental { + get { + return ResourceManager.GetString("strExperimental", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Export. + /// + internal static string strExport { + get { + return ResourceManager.GetString("strExport", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Export everything. + /// + internal static string strExportEverything { + get { + return ResourceManager.GetString("strExportEverything", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Export File. + /// + internal static string strExportFile { + get { + return ResourceManager.GetString("strExportFile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Export Items. + /// + internal static string strExportItems { + get { + return ResourceManager.GetString("strExportItems", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Export mRemote/mRemoteNG XML. + /// + internal static string strExportmRemoteXML { + get { + return ResourceManager.GetString("strExportmRemoteXML", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Export Properties. + /// + internal static string strExportProperties { + get { + return ResourceManager.GetString("strExportProperties", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Export the currently selected connection. + /// + internal static string strExportSelectedConnection { + get { + return ResourceManager.GetString("strExportSelectedConnection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Export the currently selected folder. + /// + internal static string strExportSelectedFolder { + get { + return ResourceManager.GetString("strExportSelectedFolder", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &Export to File.... + /// + internal static string strExportToFileMenuItem { + get { + return ResourceManager.GetString("strExportToFileMenuItem", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Ext. App. + /// + internal static string strExtApp { + get { + return ResourceManager.GetString("strExtApp", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to New External Tool. + /// + internal static string strExternalToolDefaultName { + get { + return ResourceManager.GetString("strExternalToolDefaultName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Includes icons by [FAMFAMFAM]. + /// + internal static string strFAMFAMFAMAttribution { + get { + return ResourceManager.GetString("strFAMFAMFAMAttribution", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to http://www.famfamfam.com/. + /// + internal static string strFAMFAMFAMAttributionURL { + get { + return ResourceManager.GetString("strFAMFAMFAMAttributionURL", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to File &Format:. + /// + internal static string strFileFormatLabel { + get { + return ResourceManager.GetString("strFileFormatLabel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to All Files (*.*). + /// + internal static string strFilterAll { + get { + return ResourceManager.GetString("strFilterAll", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to All importable files. + /// + internal static string strFilterAllImportable { + get { + return ResourceManager.GetString("strFilterAllImportable", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Application Files (*.exe). + /// + internal static string strFilterApplication { + get { + return ResourceManager.GetString("strFilterApplication", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to mRemote CSV Files (*.csv). + /// + internal static string strFiltermRemoteCSV { + get { + return ResourceManager.GetString("strFiltermRemoteCSV", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to mRemote XML Files (*.xml). + /// + internal static string strFiltermRemoteXML { + get { + return ResourceManager.GetString("strFiltermRemoteXML", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PuTTY Connection Manager files. + /// + internal static string strFilterPuttyConnectionManager { + get { + return ResourceManager.GetString("strFilterPuttyConnectionManager", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Remote Desktop Connection Manager files (*.rdg). + /// + internal static string strFilterRdgFiles { + get { + return ResourceManager.GetString("strFilterRdgFiles", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RDP Files (*.rdp). + /// + internal static string strFilterRDP { + get { + return ResourceManager.GetString("strFilterRDP", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to visionapp Remote Desktop 2008 CSV Files (*.csv). + /// + internal static string strFiltervRD2008CSV { + get { + return ResourceManager.GetString("strFiltervRD2008CSV", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Inherit {0}. + /// + internal static string strFormatInherit { + get { + return ResourceManager.GetString("strFormatInherit", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Description of inherited property: {0}. + /// + internal static string strFormatInheritDescription { + get { + return ResourceManager.GetString("strFormatInheritDescription", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Free. + /// + internal static string strFree { + get { + return ResourceManager.GetString("strFree", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Fullscreen. + /// + internal static string strFullscreen { + get { + return ResourceManager.GetString("strFullscreen", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to General. + /// + internal static string strGeneral { + get { + return ResourceManager.GetString("strGeneral", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Get Connection Info From SQL failed. + /// + internal static string strGetConnectionInfoFromSqlFailed { + get { + return ResourceManager.GetString("strGetConnectionInfoFromSqlFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to An error occured while loading the connection entry for "{0}" from "{1}". {2}. + /// + internal static string strGetConnectionInfoFromXmlFailed { + get { + return ResourceManager.GetString("strGetConnectionInfoFromXmlFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Automatic Reconnect. + /// + internal static string strGroupboxAutomaticReconnect { + get { + return ResourceManager.GetString("strGroupboxAutomaticReconnect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connection. + /// + internal static string strGroupboxConnection { + get { + return ResourceManager.GetString("strGroupboxConnection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to External Tool Properties. + /// + internal static string strGroupboxExternalToolProperties { + get { + return ResourceManager.GetString("strGroupboxExternalToolProperties", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Files. + /// + internal static string strGroupboxFiles { + get { + return ResourceManager.GetString("strGroupboxFiles", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Host. + /// + internal static string strHost { + get { + return ResourceManager.GetString("strHost", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to HTTP. + /// + internal static string strHttp { + get { + return ResourceManager.GetString("strHttp", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to HTTP Connect Failed!. + /// + internal static string strHttpConnectFailed { + get { + return ResourceManager.GetString("strHttpConnectFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Couldn't create new HTTP Connection!. + /// + internal static string strHttpConnectionFailed { + get { + return ResourceManager.GetString("strHttpConnectionFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Changing HTTP Document Tile Failed!. + /// + internal static string strHttpDocumentTileChangeFailed { + get { + return ResourceManager.GetString("strHttpDocumentTileChangeFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Gecko (Firefox). + /// + internal static string strHttpGecko { + get { + return ResourceManager.GetString("strHttpGecko", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Internet Explorer. + /// + internal static string strHttpInternetExplorer { + get { + return ResourceManager.GetString("strHttpInternetExplorer", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to HTTPS. + /// + internal static string strHttps { + get { + return ResourceManager.GetString("strHttps", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Set HTTP Props failed!. + /// + internal static string strHttpSetPropsFailed { + get { + return ResourceManager.GetString("strHttpSetPropsFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ICA. + /// + internal static string strICA { + get { + return ResourceManager.GetString("strICA", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Couldn't create new ICA Connection!. + /// + internal static string strIcaConnectionFailed { + get { + return ResourceManager.GetString("strIcaConnectionFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Loading ICA Plugin failed!. + /// + internal static string strIcaControlFailed { + get { + return ResourceManager.GetString("strIcaControlFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ICA SetCredentials failed!. + /// + internal static string strIcaSetCredentialsFailed { + get { + return ResourceManager.GetString("strIcaSetCredentialsFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ICA Set Event Handlers Failed!. + /// + internal static string strIcaSetEventHandlersFailed { + get { + return ResourceManager.GetString("strIcaSetEventHandlersFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ICA Set Props Failed!. + /// + internal static string strIcaSetPropsFailed { + get { + return ResourceManager.GetString("strIcaSetPropsFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ICA Set Resolution Failed!. + /// + internal static string strIcaSetResolutionFailed { + get { + return ResourceManager.GetString("strIcaSetResolutionFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Identify quick connect tabs by adding the prefix "Quick:". + /// + internal static string strIdentifyQuickConnectTabs { + get { + return ResourceManager.GetString("strIdentifyQuickConnectTabs", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Import from Active Directory. + /// + internal static string strImportAD { + get { + return ResourceManager.GetString("strImportAD", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Import/Export. + /// + internal static string strImportExport { + get { + return ResourceManager.GetString("strImportExport", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to An error occurred while importing the file, "{0}".. + /// + internal static string strImportFileFailedContent { + get { + return ResourceManager.GetString("strImportFileFailedContent", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Import failed. + /// + internal static string strImportFileFailedMainInstruction { + get { + return ResourceManager.GetString("strImportFileFailedMainInstruction", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Import from &File.... + /// + internal static string strImportFromFileMenuItem { + get { + return ResourceManager.GetString("strImportFromFileMenuItem", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Under the root{0}{1}|Under the selected folder{0}{2}. + /// + internal static string strImportLocationCommandButtons { + get { + return ResourceManager.GetString("strImportLocationCommandButtons", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Where would you like the imported items to be placed?. + /// + internal static string strImportLocationContent { + get { + return ResourceManager.GetString("strImportLocationContent", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Import location. + /// + internal static string strImportLocationMainInstruction { + get { + return ResourceManager.GetString("strImportLocationMainInstruction", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &Import. + /// + internal static string strImportMenuItem { + get { + return ResourceManager.GetString("strImportMenuItem", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Import mRemote/mRemoteNG XML. + /// + internal static string strImportmRemoteXML { + get { + return ResourceManager.GetString("strImportmRemoteXML", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Import from Port Scan. + /// + internal static string strImportPortScan { + get { + return ResourceManager.GetString("strImportPortScan", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Import from .RDP file(s). + /// + internal static string strImportRDPFiles { + get { + return ResourceManager.GetString("strImportRDPFiles", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Inactive. + /// + internal static string strInactive { + get { + return ResourceManager.GetString("strInactive", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Informations. + /// + internal static string strInformations { + get { + return ResourceManager.GetString("strInformations", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to mRemoteNG is up to date. + /// + internal static string strInheritNewConnection { + get { + return ResourceManager.GetString("strInheritNewConnection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connection failed!. + /// + internal static string strIntAppConnectionFailed { + get { + return ResourceManager.GetString("strIntAppConnectionFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Dispose of Int App process failed!. + /// + internal static string strIntAppDisposeFailed { + get { + return ResourceManager.GetString("strIntAppDisposeFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Int App Focus Failed!. + /// + internal static string strIntAppFocusFailed { + get { + return ResourceManager.GetString("strIntAppFocusFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Int App Handle: {0}. + /// + internal static string strIntAppHandle { + get { + return ResourceManager.GetString("strIntAppHandle", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Killing Int App Process failed!. + /// + internal static string strIntAppKillFailed { + get { + return ResourceManager.GetString("strIntAppKillFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Panel Handle: {0}. + /// + internal static string strIntAppParentHandle { + get { + return ResourceManager.GetString("strIntAppParentHandle", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Int App Resize failed!. + /// + internal static string strIntAppResizeFailed { + get { + return ResourceManager.GetString("strIntAppResizeFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to --- IntApp Stuff ---. + /// + internal static string strIntAppStuff { + get { + return ResourceManager.GetString("strIntAppStuff", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Int App Title: {0}. + /// + internal static string strIntAppTitle { + get { + return ResourceManager.GetString("strIntAppTitle", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to CTRL-ALT-DEL. + /// + internal static string strKeysCtrlAltDel { + get { + return ResourceManager.GetString("strKeysCtrlAltDel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to CTRL-ESC. + /// + internal static string strKeysCtrlEsc { + get { + return ResourceManager.GetString("strKeysCtrlEsc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Address:. + /// + internal static string strLabelAddress { + get { + return ResourceManager.GetString("strLabelAddress", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Arguments:. + /// + internal static string strLabelArguments { + get { + return ResourceManager.GetString("strLabelArguments", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Change Log:. + /// + internal static string strLabelChangeLog { + get { + return ResourceManager.GetString("strLabelChangeLog", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to When closing connections:. + /// + internal static string strLabelClosingConnections { + get { + return ResourceManager.GetString("strLabelClosingConnections", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &Connect:. + /// + internal static string strLabelConnect { + get { + return ResourceManager.GetString("strLabelConnect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Display Name. + /// + internal static string strLabelDisplayName { + get { + return ResourceManager.GetString("strLabelDisplayName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Domain:. + /// + internal static string strLabelDomain { + get { + return ResourceManager.GetString("strLabelDomain", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Filename:. + /// + internal static string strLabelFilename { + get { + return ResourceManager.GetString("strLabelFilename", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Hostname:. + /// + internal static string strLabelHostname { + get { + return ResourceManager.GetString("strLabelHostname", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Options:. + /// + internal static string strLabelOptions { + get { + return ResourceManager.GetString("strLabelOptions", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Password:. + /// + internal static string strLabelPassword { + get { + return ResourceManager.GetString("strLabelPassword", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Port:. + /// + internal static string strLabelPort { + get { + return ResourceManager.GetString("strLabelPort", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Portable Edition. + /// + internal static string strLabelPortableEdition { + get { + return ResourceManager.GetString("strLabelPortableEdition", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Protocol:. + /// + internal static string strLabelProtocol { + get { + return ResourceManager.GetString("strLabelProtocol", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to To configure PuTTY sessions click this button:. + /// + internal static string strLabelPuttySessionsConfig { + get { + return ResourceManager.GetString("strLabelPuttySessionsConfig", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Maximum PuTTY and integrated external tools wait time:. + /// + internal static string strLabelPuttyTimeout { + get { + return ResourceManager.GetString("strLabelPuttyTimeout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Released under the GNU General Public License (GPL). + /// + internal static string strLabelReleasedUnderGPL { + get { + return ResourceManager.GetString("strLabelReleasedUnderGPL", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to seconds. + /// + internal static string strLabelSeconds { + get { + return ResourceManager.GetString("strLabelSeconds", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select a panel from the list below or click New to add a new one. Click OK to continue.. + /// + internal static string strLabelSelectPanel { + get { + return ResourceManager.GetString("strLabelSelectPanel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Server Status:. + /// + internal static string strLabelServerStatus { + get { + return ResourceManager.GetString("strLabelServerStatus", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Database:. + /// + internal static string strLabelSQLDatabaseName { + get { + return ResourceManager.GetString("strLabelSQLDatabaseName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Database:. + /// + internal static string strLabelSQLServerDatabaseName { + get { + return ResourceManager.GetString("strLabelSQLServerDatabaseName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Username:. + /// + internal static string strLabelUsername { + get { + return ResourceManager.GetString("strLabelUsername", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Verify:. + /// + internal static string strLabelVerify { + get { + return ResourceManager.GetString("strLabelVerify", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Language. + /// + internal static string strLanguage { + get { + return ResourceManager.GetString("strLanguage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to (Automatically Detect). + /// + internal static string strLanguageDefault { + get { + return ResourceManager.GetString("strLanguageDefault", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0} must be restarted before changes to the language will take effect.. + /// + internal static string strLanguageRestartRequired { + get { + return ResourceManager.GetString("strLanguageRestartRequired", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Load from SQL failed. + /// + internal static string strLoadFromSqlFailed { + get { + return ResourceManager.GetString("strLoadFromSqlFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The connection information could not be loaded from the SQL server.. + /// + internal static string strLoadFromSqlFailedContent { + get { + return ResourceManager.GetString("strLoadFromSqlFailedContent", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Load From XML failed!. + /// + internal static string strLoadFromXmlFailed { + get { + return ResourceManager.GetString("strLoadFromXmlFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Local file. + /// + internal static string strLocalFile { + get { + return ResourceManager.GetString("strLocalFile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Local file does not exist!. + /// + internal static string strLocalFileDoesNotExist { + get { + return ResourceManager.GetString("strLocalFileDoesNotExist", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Logoff. + /// + internal static string strLogOff { + get { + return ResourceManager.GetString("strLogOff", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Writing to report file failed!. + /// + internal static string strLogWriteToFileFailed { + get { + return ResourceManager.GetString("strLogWriteToFileFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Couldn't save report to final location.. + /// + internal static string strLogWriteToFileFinalLocationFailed { + get { + return ResourceManager.GetString("strLogWriteToFileFinalLocationFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Uses the Magic library by [Crownwood Software]. + /// + internal static string strMagicLibraryAttribution { + get { + return ResourceManager.GetString("strMagicLibraryAttribution", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to http://www.dotnetmagic.com/. + /// + internal static string strMagicLibraryAttributionURL { + get { + return ResourceManager.GetString("strMagicLibraryAttributionURL", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to About. + /// + internal static string strMenuAbout { + get { + return ResourceManager.GetString("strMenuAbout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Add Connection Panel. + /// + internal static string strMenuAddConnectionPanel { + get { + return ResourceManager.GetString("strMenuAddConnectionPanel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Announcements. + /// + internal static string strMenuAnnouncements { + get { + return ResourceManager.GetString("strMenuAnnouncements", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Check for Updates. + /// + internal static string strMenuCheckForUpdates { + get { + return ResourceManager.GetString("strMenuCheckForUpdates", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Config. + /// + internal static string strMenuConfig { + get { + return ResourceManager.GetString("strMenuConfig", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connect. + /// + internal static string strMenuConnect { + get { + return ResourceManager.GetString("strMenuConnect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connection Panels. + /// + internal static string strMenuConnectionPanels { + get { + return ResourceManager.GetString("strMenuConnectionPanels", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connections. + /// + internal static string strMenuConnections { + get { + return ResourceManager.GetString("strMenuConnections", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connections and Config. + /// + internal static string strMenuConnectionsAndConfig { + get { + return ResourceManager.GetString("strMenuConnectionsAndConfig", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Copy. + /// + internal static string strMenuCopy { + get { + return ResourceManager.GetString("strMenuCopy", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Ctrl-Alt-Del. + /// + internal static string strMenuCtrlAltDel { + get { + return ResourceManager.GetString("strMenuCtrlAltDel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Ctrl-Esc. + /// + internal static string strMenuCtrlEsc { + get { + return ResourceManager.GetString("strMenuCtrlEsc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Delete.... + /// + internal static string strMenuDelete { + get { + return ResourceManager.GetString("strMenuDelete", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Delete Connection.... + /// + internal static string strMenuDeleteConnection { + get { + return ResourceManager.GetString("strMenuDeleteConnection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Delete External Tool.... + /// + internal static string strMenuDeleteExternalTool { + get { + return ResourceManager.GetString("strMenuDeleteExternalTool", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Delete Folder.... + /// + internal static string strMenuDeleteFolder { + get { + return ResourceManager.GetString("strMenuDeleteFolder", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Disconnect. + /// + internal static string strMenuDisconnect { + get { + return ResourceManager.GetString("strMenuDisconnect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Donate. + /// + internal static string strMenuDonate { + get { + return ResourceManager.GetString("strMenuDonate", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Duplicate. + /// + internal static string strMenuDuplicate { + get { + return ResourceManager.GetString("strMenuDuplicate", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Duplicate Connection. + /// + internal static string strMenuDuplicateConnection { + get { + return ResourceManager.GetString("strMenuDuplicateConnection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Duplicate Folder. + /// + internal static string strMenuDuplicateFolder { + get { + return ResourceManager.GetString("strMenuDuplicateFolder", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Duplicate Tab. + /// + internal static string strMenuDuplicateTab { + get { + return ResourceManager.GetString("strMenuDuplicateTab", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Exit. + /// + internal static string strMenuExit { + get { + return ResourceManager.GetString("strMenuExit", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to External Tools. + /// + internal static string strMenuExternalTools { + get { + return ResourceManager.GetString("strMenuExternalTools", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to External Tools Toolbar. + /// + internal static string strMenuExternalToolsToolbar { + get { + return ResourceManager.GetString("strMenuExternalToolsToolbar", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &File. + /// + internal static string strMenuFile { + get { + return ResourceManager.GetString("strMenuFile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Full Screen. + /// + internal static string strMenuFullScreen { + get { + return ResourceManager.GetString("strMenuFullScreen", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Full Screen (RDP). + /// + internal static string strMenuFullScreenRDP { + get { + return ResourceManager.GetString("strMenuFullScreenRDP", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &Help. + /// + internal static string strMenuHelp { + get { + return ResourceManager.GetString("strMenuHelp", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to mRemoteNG Help. + /// + internal static string strMenuHelpContents { + get { + return ResourceManager.GetString("strMenuHelpContents", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Jump To. + /// + internal static string strMenuJumpTo { + get { + return ResourceManager.GetString("strMenuJumpTo", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Launch External Tool. + /// + internal static string strMenuLaunchExternalTool { + get { + return ResourceManager.GetString("strMenuLaunchExternalTool", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to New Connection File. + /// + internal static string strMenuNewConnectionFile { + get { + return ResourceManager.GetString("strMenuNewConnectionFile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to New External Tool. + /// + internal static string strMenuNewExternalTool { + get { + return ResourceManager.GetString("strMenuNewExternalTool", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Notifications. + /// + internal static string strMenuNotifications { + get { + return ResourceManager.GetString("strMenuNotifications", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Copy All. + /// + internal static string strMenuNotificationsCopyAll { + get { + return ResourceManager.GetString("strMenuNotificationsCopyAll", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Delete. + /// + internal static string strMenuNotificationsDelete { + get { + return ResourceManager.GetString("strMenuNotificationsDelete", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Delete All. + /// + internal static string strMenuNotificationsDeleteAll { + get { + return ResourceManager.GetString("strMenuNotificationsDeleteAll", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Open Connection File.... + /// + internal static string strMenuOpenConnectionFile { + get { + return ResourceManager.GetString("strMenuOpenConnectionFile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Options. + /// + internal static string strMenuOptions { + get { + return ResourceManager.GetString("strMenuOptions", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Paste. + /// + internal static string strMenuPaste { + get { + return ResourceManager.GetString("strMenuPaste", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Port Scan. + /// + internal static string strMenuPortScan { + get { + return ResourceManager.GetString("strMenuPortScan", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Quick Connect Toolbar. + /// + internal static string strMenuQuickConnectToolbar { + get { + return ResourceManager.GetString("strMenuQuickConnectToolbar", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Reconnect. + /// + internal static string strMenuReconnect { + get { + return ResourceManager.GetString("strMenuReconnect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Refresh Screen (VNC). + /// + internal static string strMenuRefreshScreen { + get { + return ResourceManager.GetString("strMenuRefreshScreen", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Rename. + /// + internal static string strMenuRename { + get { + return ResourceManager.GetString("strMenuRename", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Rename Connection. + /// + internal static string strMenuRenameConnection { + get { + return ResourceManager.GetString("strMenuRenameConnection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Rename Folder. + /// + internal static string strMenuRenameFolder { + get { + return ResourceManager.GetString("strMenuRenameFolder", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Rename Tab. + /// + internal static string strMenuRenameTab { + get { + return ResourceManager.GetString("strMenuRenameTab", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Report a Bug. + /// + internal static string strMenuReportBug { + get { + return ResourceManager.GetString("strMenuReportBug", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Reset layout. + /// + internal static string strMenuResetLayout { + get { + return ResourceManager.GetString("strMenuResetLayout", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Save Connection File. + /// + internal static string strMenuSaveConnectionFile { + get { + return ResourceManager.GetString("strMenuSaveConnectionFile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Save Connection File As.... + /// + internal static string strMenuSaveConnectionFileAs { + get { + return ResourceManager.GetString("strMenuSaveConnectionFileAs", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Screenshot. + /// + internal static string strMenuScreenshot { + get { + return ResourceManager.GetString("strMenuScreenshot", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Screenshot Manager. + /// + internal static string strMenuScreenshotManager { + get { + return ResourceManager.GetString("strMenuScreenshotManager", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Send Special Keys (VNC). + /// + internal static string strMenuSendSpecialKeys { + get { + return ResourceManager.GetString("strMenuSendSpecialKeys", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Retrieve. + /// + internal static string strMenuSessionRetrieve { + get { + return ResourceManager.GetString("strMenuSessionRetrieve", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Sessions. + /// + internal static string strMenuSessions { + get { + return ResourceManager.GetString("strMenuSessions", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Sessions and Screenshots. + /// + internal static string strMenuSessionsAndScreenshots { + get { + return ResourceManager.GetString("strMenuSessionsAndScreenshots", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &Show Help Text. + /// + internal static string strMenuShowHelpText { + get { + return ResourceManager.GetString("strMenuShowHelpText", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Show Text. + /// + internal static string strMenuShowText { + get { + return ResourceManager.GetString("strMenuShowText", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to SmartSize (RDP/VNC). + /// + internal static string strMenuSmartSize { + get { + return ResourceManager.GetString("strMenuSmartSize", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to SSH File Transfer. + /// + internal static string strMenuSSHFileTransfer { + get { + return ResourceManager.GetString("strMenuSSHFileTransfer", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Start Chat (VNC). + /// + internal static string strMenuStartChat { + get { + return ResourceManager.GetString("strMenuStartChat", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Support Forum. + /// + internal static string strMenuSupportForum { + get { + return ResourceManager.GetString("strMenuSupportForum", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &Tools. + /// + internal static string strMenuTools { + get { + return ResourceManager.GetString("strMenuTools", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Transfer File (SSH). + /// + internal static string strMenuTransferFile { + get { + return ResourceManager.GetString("strMenuTransferFile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &View. + /// + internal static string strMenuView { + get { + return ResourceManager.GetString("strMenuView", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to View Only (VNC). + /// + internal static string strMenuViewOnly { + get { + return ResourceManager.GetString("strMenuViewOnly", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Website. + /// + internal static string strMenuWebsite { + get { + return ResourceManager.GetString("strMenuWebsite", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Minimize to notification area. + /// + internal static string strMinimizeToSysTray { + get { + return ResourceManager.GetString("strMinimizeToSysTray", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Move down. + /// + internal static string strMoveDown { + get { + return ResourceManager.GetString("strMoveDown", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Move up. + /// + internal static string strMoveUp { + get { + return ResourceManager.GetString("strMoveUp", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to mRemoteNG CSV. + /// + internal static string strMremoteNgCsv { + get { + return ResourceManager.GetString("strMremoteNgCsv", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to mRemoteNG XML. + /// + internal static string strMremoteNgXml { + get { + return ResourceManager.GetString("strMremoteNgXml", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to My current credentials (Windows logon information). + /// + internal static string strMyCurrentWindowsCreds { + get { + return ResourceManager.GetString("strMyCurrentWindowsCreds", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Never. + /// + internal static string strNever { + get { + return ResourceManager.GetString("strNever", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to New Connection. + /// + internal static string strNewConnection { + get { + return ResourceManager.GetString("strNewConnection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to New Folder. + /// + internal static string strNewFolder { + get { + return ResourceManager.GetString("strNewFolder", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to New Panel. + /// + internal static string strNewPanel { + get { + return ResourceManager.GetString("strNewPanel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to New Root. + /// + internal static string strNewRoot { + get { + return ResourceManager.GetString("strNewRoot", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to New Title. + /// + internal static string strNewTitle { + get { + return ResourceManager.GetString("strNewTitle", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No. + /// + internal static string strNo { + get { + return ResourceManager.GetString("strNo", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No Compression. + /// + internal static string strNoCompression { + get { + return ResourceManager.GetString("strNoCompression", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No Ext. App specified.. + /// + internal static string strNoExtAppDefined { + get { + return ResourceManager.GetString("strNoExtAppDefined", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to None. + /// + internal static string strNoInformation { + get { + return ResourceManager.GetString("strNoInformation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to None. + /// + internal static string strNone { + get { + return ResourceManager.GetString("strNone", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Normal. + /// + internal static string strNormal { + get { + return ResourceManager.GetString("strNormal", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No SmartSize. + /// + internal static string strNoSmartSize { + get { + return ResourceManager.GetString("strNoSmartSize", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No update available. + /// + internal static string strNoUpdateAvailable { + get { + return ResourceManager.GetString("strNoUpdateAvailable", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You are trying to load a connection file that was created using an very early version of mRemote, this could result in an runtime error. + ///If you run into such an error, please create a new connection file!. + /// + internal static string strOldConffile { + get { + return ResourceManager.GetString("strOldConffile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Open new tab to the right of the currently selected tab. + /// + internal static string strOpenNewTabRight { + get { + return ResourceManager.GetString("strOpenNewTabRight", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Open Ports. + /// + internal static string strOpenPorts { + get { + return ResourceManager.GetString("strOpenPorts", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &Delete. + /// + internal static string strOptionsKeyboardButtonDelete { + get { + return ResourceManager.GetString("strOptionsKeyboardButtonDelete", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &New. + /// + internal static string strOptionsKeyboardButtonNew { + get { + return ResourceManager.GetString("strOptionsKeyboardButtonNew", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &Reset to Default. + /// + internal static string strOptionsKeyboardButtonReset { + get { + return ResourceManager.GetString("strOptionsKeyboardButtonReset", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Reset &All to Default. + /// + internal static string strOptionsKeyboardButtonResetAll { + get { + return ResourceManager.GetString("strOptionsKeyboardButtonResetAll", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Tabs. + /// + internal static string strOptionsKeyboardCommandsGroupTabs { + get { + return ResourceManager.GetString("strOptionsKeyboardCommandsGroupTabs", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Next Tab. + /// + internal static string strOptionsKeyboardCommandsNextTab { + get { + return ResourceManager.GetString("strOptionsKeyboardCommandsNextTab", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Previous Tab. + /// + internal static string strOptionsKeyboardCommandsPreviousTab { + get { + return ResourceManager.GetString("strOptionsKeyboardCommandsPreviousTab", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Modify Shortcut. + /// + internal static string strOptionsKeyboardGroupModifyShortcut { + get { + return ResourceManager.GetString("strOptionsKeyboardGroupModifyShortcut", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Keyboard Shortcuts. + /// + internal static string strOptionsKeyboardLabelKeyboardShortcuts { + get { + return ResourceManager.GetString("strOptionsKeyboardLabelKeyboardShortcuts", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Testing.... + /// + internal static string strOptionsProxyTesting { + get { + return ResourceManager.GetString("strOptionsProxyTesting", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Keyboard. + /// + internal static string strOptionsTabKeyboard { + get { + return ResourceManager.GetString("strOptionsTabKeyboard", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Theme. + /// + internal static string strOptionsTabTheme { + get { + return ResourceManager.GetString("strOptionsTabTheme", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &Delete. + /// + internal static string strOptionsThemeButtonDelete { + get { + return ResourceManager.GetString("strOptionsThemeButtonDelete", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &New. + /// + internal static string strOptionsThemeButtonNew { + get { + return ResourceManager.GetString("strOptionsThemeButtonNew", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Panel Name. + /// + internal static string strPanelName { + get { + return ResourceManager.GetString("strPanelName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Password protect. + /// + internal static string strPasswordProtect { + get { + return ResourceManager.GetString("strPasswordProtect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Both passwords must match.. + /// + internal static string strPasswordStatusMustMatch { + get { + return ResourceManager.GetString("strPasswordStatusMustMatch", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The password must be at least 3 characters long.. + /// + internal static string strPasswordStatusTooShort { + get { + return ResourceManager.GetString("strPasswordStatusTooShort", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Please fill all fields. + /// + internal static string strPleaseFillAllFields { + get { + return ResourceManager.GetString("strPleaseFillAllFields", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Port scan complete.. + /// + internal static string strPortScanComplete { + get { + return ResourceManager.GetString("strPortScanComplete", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Couldn't load PortScan panel!. + /// + internal static string strPortScanCouldNotLoadPanel { + get { + return ResourceManager.GetString("strPortScanCouldNotLoadPanel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to (These properties will only be saved if you select mRemote/mRemoteNG XML as output file format!). + /// + internal static string strPropertiesWillOnlyBeSavedMRemoteXML { + get { + return ResourceManager.GetString("strPropertiesWillOnlyBeSavedMRemoteXML", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Enter the hostname or ip you want to connect to.. + /// + internal static string strPropertyDescriptionAddress { + get { + return ResourceManager.GetString("strPropertyDescriptionAddress", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Toggle all inheritance options.. + /// + internal static string strPropertyDescriptionAll { + get { + return ResourceManager.GetString("strPropertyDescriptionAll", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select which authentication level this connection should use.. + /// + internal static string strPropertyDescriptionAuthenticationLevel { + get { + return ResourceManager.GetString("strPropertyDescriptionAuthenticationLevel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select how you want to authenticate against the VNC server.. + /// + internal static string strPropertyDescriptionAuthenticationMode { + get { + return ResourceManager.GetString("strPropertyDescriptionAuthenticationMode", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select whether to automatically resize the connection when the window is resized or when fullscreen mode is toggled. Requires RDC 8.0 or higher.. + /// + internal static string strPropertyDescriptionAutomaticResize { + get { + return ResourceManager.GetString("strPropertyDescriptionAutomaticResize", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select whether to use bitmap caching or not.. + /// + internal static string strPropertyDescriptionCacheBitmaps { + get { + return ResourceManager.GetString("strPropertyDescriptionCacheBitmaps", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select the colour quality to be used.. + /// + internal static string strPropertyDescriptionColors { + get { + return ResourceManager.GetString("strPropertyDescriptionColors", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select the compression value to be used.. + /// + internal static string strPropertyDescriptionCompression { + get { + return ResourceManager.GetString("strPropertyDescriptionCompression", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Put your notes or a description for the host here.. + /// + internal static string strPropertyDescriptionDescription { + get { + return ResourceManager.GetString("strPropertyDescriptionDescription", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select yes if the theme of the remote host should be displayed.. + /// + internal static string strPropertyDescriptionDisplayThemes { + get { + return ResourceManager.GetString("strPropertyDescriptionDisplayThemes", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select yes if the wallpaper of the remote host should be displayed.. + /// + internal static string strPropertyDescriptionDisplayWallpaper { + get { + return ResourceManager.GetString("strPropertyDescriptionDisplayWallpaper", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Enter your domain.. + /// + internal static string strPropertyDescriptionDomain { + get { + return ResourceManager.GetString("strPropertyDescriptionDomain", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select whether to use desktop composition or not.. + /// + internal static string strPropertyDescriptionEnableDesktopComposition { + get { + return ResourceManager.GetString("strPropertyDescriptionEnableDesktopComposition", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select whether to use font smoothing or not.. + /// + internal static string strPropertyDescriptionEnableFontSmoothing { + get { + return ResourceManager.GetString("strPropertyDescriptionEnableFontSmoothing", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select the encoding mode to be used.. + /// + internal static string strPropertyDescriptionEncoding { + get { + return ResourceManager.GetString("strPropertyDescriptionEncoding", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select the encryption strength of the remote host.. + /// + internal static string strPropertyDescriptionEncryptionStrength { + get { + return ResourceManager.GetString("strPropertyDescriptionEncryptionStrength", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select the external tool to be started.. + /// + internal static string strPropertyDescriptionExternalTool { + get { + return ResourceManager.GetString("strPropertyDescriptionExternalTool", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select a external tool to be started after the disconnection to the remote host.. + /// + internal static string strPropertyDescriptionExternalToolAfter { + get { + return ResourceManager.GetString("strPropertyDescriptionExternalToolAfter", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select a external tool to be started before the connection to the remote host is established.. + /// + internal static string strPropertyDescriptionExternalToolBefore { + get { + return ResourceManager.GetString("strPropertyDescriptionExternalToolBefore", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Choose a icon that will be displayed when connected to the host.. + /// + internal static string strPropertyDescriptionIcon { + get { + return ResourceManager.GetString("strPropertyDescriptionIcon", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Specifies the load balancing information for use by load balancing routers to choose the best server.. + /// + internal static string strPropertyDescriptionLoadBalanceInfo { + get { + return ResourceManager.GetString("strPropertyDescriptionLoadBalanceInfo", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Enter the MAC address of the remote host if you wish to use it in an external tool.. + /// + internal static string strPropertyDescriptionMACAddress { + get { + return ResourceManager.GetString("strPropertyDescriptionMACAddress", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to This is the name that will be displayed in the connections tree.. + /// + internal static string strPropertyDescriptionName { + get { + return ResourceManager.GetString("strPropertyDescriptionName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Sets the panel in which the connection will open.. + /// + internal static string strPropertyDescriptionPanel { + get { + return ResourceManager.GetString("strPropertyDescriptionPanel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Enter your password.. + /// + internal static string strPropertyDescriptionPassword { + get { + return ResourceManager.GetString("strPropertyDescriptionPassword", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Enter the port the selected protocol is listening on.. + /// + internal static string strPropertyDescriptionPort { + get { + return ResourceManager.GetString("strPropertyDescriptionPort", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Choose the protocol mRemoteNG should use to connect to the host.. + /// + internal static string strPropertyDescriptionProtocol { + get { + return ResourceManager.GetString("strPropertyDescriptionProtocol", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select a PuTTY session to be used when connecting.. + /// + internal static string strPropertyDescriptionPuttySession { + get { + return ResourceManager.GetString("strPropertyDescriptionPuttySession", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Specifies the domain name that a user provides to connect to the RD Gateway server.. + /// + internal static string strPropertyDescriptionRDGatewayDomain { + get { + return ResourceManager.GetString("strPropertyDescriptionRDGatewayDomain", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Specifies the host name of the Remote Desktop Gateway server.. + /// + internal static string strPropertyDescriptionRDGatewayHostname { + get { + return ResourceManager.GetString("strPropertyDescriptionRDGatewayHostname", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Specifies when to use a Remote Desktop Gateway (RD Gateway) server.. + /// + internal static string strPropertyDescriptionRDGatewayUsageMethod { + get { + return ResourceManager.GetString("strPropertyDescriptionRDGatewayUsageMethod", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Specifies whether or not to log on to the gateway using the same username and password as the connection.. + /// + internal static string strPropertyDescriptionRDGatewayUseConnectionCredentials { + get { + return ResourceManager.GetString("strPropertyDescriptionRDGatewayUseConnectionCredentials", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Specifies the user name that a user provides to connect to the RD Gateway server.. + /// + internal static string strPropertyDescriptionRDGatewayUsername { + get { + return ResourceManager.GetString("strPropertyDescriptionRDGatewayUsername", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select whether local disk drives should be shown on the remote host.. + /// + internal static string strPropertyDescriptionRedirectDrives { + get { + return ResourceManager.GetString("strPropertyDescriptionRedirectDrives", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select whether key combinations (e.g. Alt-Tab) should be redirected to the remote host.. + /// + internal static string strPropertyDescriptionRedirectKeys { + get { + return ResourceManager.GetString("strPropertyDescriptionRedirectKeys", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select whether local ports (ie. com, parallel) should be shown on the remote host.. + /// + internal static string strPropertyDescriptionRedirectPorts { + get { + return ResourceManager.GetString("strPropertyDescriptionRedirectPorts", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select whether local printers should be shown on the remote host.. + /// + internal static string strPropertyDescriptionRedirectPrinters { + get { + return ResourceManager.GetString("strPropertyDescriptionRedirectPrinters", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select whether local smart cards should be available on the remote host.. + /// + internal static string strPropertyDescriptionRedirectSmartCards { + get { + return ResourceManager.GetString("strPropertyDescriptionRedirectSmartCards", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select how remote sound should be redirected.. + /// + internal static string strPropertyDescriptionRedirectSounds { + get { + return ResourceManager.GetString("strPropertyDescriptionRedirectSounds", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select one of the available rendering engines that will be used to display HTML.. + /// + internal static string strPropertyDescriptionRenderingEngine { + get { + return ResourceManager.GetString("strPropertyDescriptionRenderingEngine", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Choose the resolution or mode this connection will open in.. + /// + internal static string strPropertyDescriptionResolution { + get { + return ResourceManager.GetString("strPropertyDescriptionResolution", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select the SmartSize mode to be used.. + /// + internal static string strPropertyDescriptionSmartSizeMode { + get { + return ResourceManager.GetString("strPropertyDescriptionSmartSizeMode", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connect to the console session of the remote host.. + /// + internal static string strPropertyDescriptionUseConsoleSession { + get { + return ResourceManager.GetString("strPropertyDescriptionUseConsoleSession", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use the Credential Security Support Provider (CredSSP) for authentication if it is available.. + /// + internal static string strPropertyDescriptionUseCredSsp { + get { + return ResourceManager.GetString("strPropertyDescriptionUseCredSsp", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Feel free to enter any information you need here.. + /// + internal static string strPropertyDescriptionUser1 { + get { + return ResourceManager.GetString("strPropertyDescriptionUser1", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Enter your username.. + /// + internal static string strPropertyDescriptionUsername { + get { + return ResourceManager.GetString("strPropertyDescriptionUsername", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to If you want to establish a view only connection to the host select yes.. + /// + internal static string strPropertyDescriptionViewOnly { + get { + return ResourceManager.GetString("strPropertyDescriptionViewOnly", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Enter the proxy address to be used.. + /// + internal static string strPropertyDescriptionVNCProxyAddress { + get { + return ResourceManager.GetString("strPropertyDescriptionVNCProxyAddress", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Enter your password for authenticating against the proxy.. + /// + internal static string strPropertyDescriptionVNCProxyPassword { + get { + return ResourceManager.GetString("strPropertyDescriptionVNCProxyPassword", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Enter the port the proxy server listens on.. + /// + internal static string strPropertyDescriptionVNCProxyPort { + get { + return ResourceManager.GetString("strPropertyDescriptionVNCProxyPort", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to If you use a proxy to tunnel VNC connections, select which type it is.. + /// + internal static string strPropertyDescriptionVNCProxyType { + get { + return ResourceManager.GetString("strPropertyDescriptionVNCProxyType", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Enter your username for authenticating against the proxy.. + /// + internal static string strPropertyDescriptionVNCProxyUsername { + get { + return ResourceManager.GetString("strPropertyDescriptionVNCProxyUsername", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Hostname/IP. + /// + internal static string strPropertyNameAddress { + get { + return ResourceManager.GetString("strPropertyNameAddress", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to All. + /// + internal static string strPropertyNameAll { + get { + return ResourceManager.GetString("strPropertyNameAll", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Server Authentication. + /// + internal static string strPropertyNameAuthenticationLevel { + get { + return ResourceManager.GetString("strPropertyNameAuthenticationLevel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Authentication Mode. + /// + internal static string strPropertyNameAuthenticationMode { + get { + return ResourceManager.GetString("strPropertyNameAuthenticationMode", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Automatic Resize. + /// + internal static string strPropertyNameAutomaticResize { + get { + return ResourceManager.GetString("strPropertyNameAutomaticResize", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cache Bitmaps. + /// + internal static string strPropertyNameCacheBitmaps { + get { + return ResourceManager.GetString("strPropertyNameCacheBitmaps", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Colours. + /// + internal static string strPropertyNameColors { + get { + return ResourceManager.GetString("strPropertyNameColors", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Compression. + /// + internal static string strPropertyNameCompression { + get { + return ResourceManager.GetString("strPropertyNameCompression", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Description. + /// + internal static string strPropertyNameDescription { + get { + return ResourceManager.GetString("strPropertyNameDescription", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Display Themes. + /// + internal static string strPropertyNameDisplayThemes { + get { + return ResourceManager.GetString("strPropertyNameDisplayThemes", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Display Wallpaper. + /// + internal static string strPropertyNameDisplayWallpaper { + get { + return ResourceManager.GetString("strPropertyNameDisplayWallpaper", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Domain. + /// + internal static string strPropertyNameDomain { + get { + return ResourceManager.GetString("strPropertyNameDomain", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Desktop Composition. + /// + internal static string strPropertyNameEnableDesktopComposition { + get { + return ResourceManager.GetString("strPropertyNameEnableDesktopComposition", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Font Smoothing. + /// + internal static string strPropertyNameEnableFontSmoothing { + get { + return ResourceManager.GetString("strPropertyNameEnableFontSmoothing", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Encoding. + /// + internal static string strPropertyNameEncoding { + get { + return ResourceManager.GetString("strPropertyNameEncoding", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Encryption Strength. + /// + internal static string strPropertyNameEncryptionStrength { + get { + return ResourceManager.GetString("strPropertyNameEncryptionStrength", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to External Tool. + /// + internal static string strPropertyNameExternalTool { + get { + return ResourceManager.GetString("strPropertyNameExternalTool", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to External Tool After. + /// + internal static string strPropertyNameExternalToolAfter { + get { + return ResourceManager.GetString("strPropertyNameExternalToolAfter", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to External Tool Before. + /// + internal static string strPropertyNameExternalToolBefore { + get { + return ResourceManager.GetString("strPropertyNameExternalToolBefore", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Icon. + /// + internal static string strPropertyNameIcon { + get { + return ResourceManager.GetString("strPropertyNameIcon", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Load Balance Info. + /// + internal static string strPropertyNameLoadBalanceInfo { + get { + return ResourceManager.GetString("strPropertyNameLoadBalanceInfo", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to MAC Address. + /// + internal static string strPropertyNameMACAddress { + get { + return ResourceManager.GetString("strPropertyNameMACAddress", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Name. + /// + internal static string strPropertyNameName { + get { + return ResourceManager.GetString("strPropertyNameName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Panel. + /// + internal static string strPropertyNamePanel { + get { + return ResourceManager.GetString("strPropertyNamePanel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Password. + /// + internal static string strPropertyNamePassword { + get { + return ResourceManager.GetString("strPropertyNamePassword", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Port. + /// + internal static string strPropertyNamePort { + get { + return ResourceManager.GetString("strPropertyNamePort", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Protocol. + /// + internal static string strPropertyNameProtocol { + get { + return ResourceManager.GetString("strPropertyNameProtocol", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PuTTY Session. + /// + internal static string strPropertyNamePuttySession { + get { + return ResourceManager.GetString("strPropertyNamePuttySession", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Gateway Domain. + /// + internal static string strPropertyNameRDGatewayDomain { + get { + return ResourceManager.GetString("strPropertyNameRDGatewayDomain", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Gateway Hostname. + /// + internal static string strPropertyNameRDGatewayHostname { + get { + return ResourceManager.GetString("strPropertyNameRDGatewayHostname", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Remote Desktop Gateway Password. + /// + internal static string strPropertyNameRDGatewayPassword { + get { + return ResourceManager.GetString("strPropertyNameRDGatewayPassword", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use Gateway. + /// + internal static string strPropertyNameRDGatewayUsageMethod { + get { + return ResourceManager.GetString("strPropertyNameRDGatewayUsageMethod", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Gateway Credentials. + /// + internal static string strPropertyNameRDGatewayUseConnectionCredentials { + get { + return ResourceManager.GetString("strPropertyNameRDGatewayUseConnectionCredentials", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Gateway Username. + /// + internal static string strPropertyNameRDGatewayUsername { + get { + return ResourceManager.GetString("strPropertyNameRDGatewayUsername", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Disk Drives. + /// + internal static string strPropertyNameRedirectDrives { + get { + return ResourceManager.GetString("strPropertyNameRedirectDrives", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Key Combinations. + /// + internal static string strPropertyNameRedirectKeys { + get { + return ResourceManager.GetString("strPropertyNameRedirectKeys", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Ports. + /// + internal static string strPropertyNameRedirectPorts { + get { + return ResourceManager.GetString("strPropertyNameRedirectPorts", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Printers. + /// + internal static string strPropertyNameRedirectPrinters { + get { + return ResourceManager.GetString("strPropertyNameRedirectPrinters", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Smart Cards. + /// + internal static string strPropertyNameRedirectSmartCards { + get { + return ResourceManager.GetString("strPropertyNameRedirectSmartCards", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Sounds. + /// + internal static string strPropertyNameRedirectSounds { + get { + return ResourceManager.GetString("strPropertyNameRedirectSounds", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Rendering Engine. + /// + internal static string strPropertyNameRenderingEngine { + get { + return ResourceManager.GetString("strPropertyNameRenderingEngine", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Resolution. + /// + internal static string strPropertyNameResolution { + get { + return ResourceManager.GetString("strPropertyNameResolution", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to SmartSize Mode. + /// + internal static string strPropertyNameSmartSizeMode { + get { + return ResourceManager.GetString("strPropertyNameSmartSizeMode", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use Console Session. + /// + internal static string strPropertyNameUseConsoleSession { + get { + return ResourceManager.GetString("strPropertyNameUseConsoleSession", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use CredSSP. + /// + internal static string strPropertyNameUseCredSsp { + get { + return ResourceManager.GetString("strPropertyNameUseCredSsp", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to User Field. + /// + internal static string strPropertyNameUser1 { + get { + return ResourceManager.GetString("strPropertyNameUser1", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Username. + /// + internal static string strPropertyNameUsername { + get { + return ResourceManager.GetString("strPropertyNameUsername", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to View Only. + /// + internal static string strPropertyNameViewOnly { + get { + return ResourceManager.GetString("strPropertyNameViewOnly", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Proxy Address. + /// + internal static string strPropertyNameVNCProxyAddress { + get { + return ResourceManager.GetString("strPropertyNameVNCProxyAddress", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Proxy Password. + /// + internal static string strPropertyNameVNCProxyPassword { + get { + return ResourceManager.GetString("strPropertyNameVNCProxyPassword", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Proxy Port. + /// + internal static string strPropertyNameVNCProxyPort { + get { + return ResourceManager.GetString("strPropertyNameVNCProxyPort", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Proxy Type. + /// + internal static string strPropertyNameVNCProxyType { + get { + return ResourceManager.GetString("strPropertyNameVNCProxyType", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Proxy Username. + /// + internal static string strPropertyNameVNCProxyUsername { + get { + return ResourceManager.GetString("strPropertyNameVNCProxyUsername", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Protocol Event Disconnected. + ///Message: + ///{0}. + /// + internal static string strProtocolEventDisconnected { + get { + return ResourceManager.GetString("strProtocolEventDisconnected", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Protocol Event Disconnected failed. + ///{0}. + /// + internal static string strProtocolEventDisconnectFailed { + get { + return ResourceManager.GetString("strProtocolEventDisconnectFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Protocol to import. + /// + internal static string strProtocolToImport { + get { + return ResourceManager.GetString("strProtocolToImport", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Proxy test failed!. + /// + internal static string strProxyTestFailed { + get { + return ResourceManager.GetString("strProxyTestFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Proxy test succeeded!. + /// + internal static string strProxyTestSucceeded { + get { + return ResourceManager.GetString("strProxyTestSucceeded", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connection failed!. + /// + internal static string strPuttyConnectionFailed { + get { + return ResourceManager.GetString("strPuttyConnectionFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Dispose of Putty process failed!. + /// + internal static string strPuttyDisposeFailed { + get { + return ResourceManager.GetString("strPuttyDisposeFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Couldn't set focus!. + /// + internal static string strPuttyFocusFailed { + get { + return ResourceManager.GetString("strPuttyFocusFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Get Putty Sessions Failed!. + /// + internal static string strPuttyGetSessionsFailed { + get { + return ResourceManager.GetString("strPuttyGetSessionsFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Putty Handle: {0}. + /// + internal static string strPuttyHandle { + get { + return ResourceManager.GetString("strPuttyHandle", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Killing Putty Process failed!. + /// + internal static string strPuttyKillFailed { + get { + return ResourceManager.GetString("strPuttyKillFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Panel Handle: {0}. + /// + internal static string strPuttyParentHandle { + get { + return ResourceManager.GetString("strPuttyParentHandle", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Putty Resize Failed!. + /// + internal static string strPuttyResizeFailed { + get { + return ResourceManager.GetString("strPuttyResizeFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PuTTY Saved Sessions. + /// + internal static string strPuttySavedSessionsRootName { + get { + return ResourceManager.GetString("strPuttySavedSessionsRootName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PuTTY Session Settings. + /// + internal static string strPuttySessionSettings { + get { + return ResourceManager.GetString("strPuttySessionSettings", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PuTTY Settings. + /// + internal static string strPuttySettings { + get { + return ResourceManager.GetString("strPuttySettings", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Show PuTTY Settings Dialog failed!. + /// + internal static string strPuttyShowSettingsDialogFailed { + get { + return ResourceManager.GetString("strPuttyShowSettingsDialogFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Putty Start Failed!. + /// + internal static string strPuttyStartFailed { + get { + return ResourceManager.GetString("strPuttyStartFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to --- PuTTY Stuff ---. + /// + internal static string strPuttyStuff { + get { + return ResourceManager.GetString("strPuttyStuff", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to PuTTY Title: {0}. + /// + internal static string strPuttyTitle { + get { + return ResourceManager.GetString("strPuttyTitle", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Quick: {0}. + /// + internal static string strQuick { + get { + return ResourceManager.GetString("strQuick", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Quick Connect. + /// + internal static string strQuickConnect { + get { + return ResourceManager.GetString("strQuickConnect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Quick Connect Add Failed!. + /// + internal static string strQuickConnectAddFailed { + get { + return ResourceManager.GetString("strQuickConnectAddFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Creating quick connect failed. + /// + internal static string strQuickConnectFailed { + get { + return ResourceManager.GetString("strQuickConnectFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to &Warn me when closing connections. + /// + internal static string strRadioCloseWarnAll { + get { + return ResourceManager.GetString("strRadioCloseWarnAll", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Warn me only when e&xiting mRemoteNG. + /// + internal static string strRadioCloseWarnExit { + get { + return ResourceManager.GetString("strRadioCloseWarnExit", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Warn me only when closing &multiple connections. + /// + internal static string strRadioCloseWarnMultiple { + get { + return ResourceManager.GetString("strRadioCloseWarnMultiple", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Do &not warn me when closing connections. + /// + internal static string strRadioCloseWarnNever { + get { + return ResourceManager.GetString("strRadioCloseWarnNever", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RAW. + /// + internal static string strRAW { + get { + return ResourceManager.GetString("strRAW", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RDP. + /// + internal static string strRDP { + get { + return ResourceManager.GetString("strRDP", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 16777216 Colours (24-bit). + /// + internal static string strRDP16777216Colors { + get { + return ResourceManager.GetString("strRDP16777216Colors", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 256 Colours (8-bit). + /// + internal static string strRDP256Colors { + get { + return ResourceManager.GetString("strRDP256Colors", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 32768 Colours (15-bit). + /// + internal static string strRDP32768Colors { + get { + return ResourceManager.GetString("strRDP32768Colors", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 16777216 Colours (32-bit). + /// + internal static string strRDP4294967296Colors { + get { + return ResourceManager.GetString("strRDP4294967296Colors", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to 65536 Colours (16-bit). + /// + internal static string strRDP65536Colors { + get { + return ResourceManager.GetString("strRDP65536Colors", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RDP Add Resolution failed!. + /// + internal static string strRdpAddResolutionFailed { + get { + return ResourceManager.GetString("strRdpAddResolutionFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RDP Add Resolutions failed!. + /// + internal static string strRdpAddResolutionsFailed { + get { + return ResourceManager.GetString("strRdpAddResolutionsFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Add Session failed. + /// + internal static string strRdpAddSessionFailed { + get { + return ResourceManager.GetString("strRdpAddSessionFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Close RDP Connection failed!. + /// + internal static string strRdpCloseConnectionFailed { + get { + return ResourceManager.GetString("strRdpCloseConnectionFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Opening connection failed!. + /// + internal static string strRdpConnectionOpenFailed { + get { + return ResourceManager.GetString("strRdpConnectionOpenFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Couldn't create RDP control, please check mRemoteNG requirements.. + /// + internal static string strRdpControlCreationFailed { + get { + return ResourceManager.GetString("strRdpControlCreationFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Disable Cursor blinking. + /// + internal static string strRDPDisableCursorblinking { + get { + return ResourceManager.GetString("strRDPDisableCursorblinking", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Disable Cursor Shadow. + /// + internal static string strRDPDisableCursorShadow { + get { + return ResourceManager.GetString("strRDPDisableCursorShadow", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Disable Full Window drag. + /// + internal static string strRDPDisableFullWindowdrag { + get { + return ResourceManager.GetString("strRDPDisableFullWindowdrag", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Disable Menu Animations. + /// + internal static string strRDPDisableMenuAnimations { + get { + return ResourceManager.GetString("strRDPDisableMenuAnimations", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Disable Themes. + /// + internal static string strRDPDisableThemes { + get { + return ResourceManager.GetString("strRDPDisableThemes", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Disable Wallpaper. + /// + internal static string strRDPDisableWallpaper { + get { + return ResourceManager.GetString("strRDPDisableWallpaper", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RDP disconnected!. + /// + internal static string strRdpDisconnected { + get { + return ResourceManager.GetString("strRdpDisconnected", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RDP Disconnect failed, trying to close!. + /// + internal static string strRdpDisconnectFailed { + get { + return ResourceManager.GetString("strRdpDisconnectFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Internal error code 1.. + /// + internal static string strRdpErrorCode1 { + get { + return ResourceManager.GetString("strRdpErrorCode1", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Internal error code 2.. + /// + internal static string strRdpErrorCode2 { + get { + return ResourceManager.GetString("strRdpErrorCode2", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Internal error code 3. This is not a valid state.. + /// + internal static string strRdpErrorCode3 { + get { + return ResourceManager.GetString("strRdpErrorCode3", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Internal error code 4.. + /// + internal static string strRdpErrorCode4 { + get { + return ResourceManager.GetString("strRdpErrorCode4", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to An unrecoverable error has occurred during client connection.. + /// + internal static string strRdpErrorConnection { + get { + return ResourceManager.GetString("strRdpErrorConnection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to GetError failed (FatalErrors). + /// + internal static string strRdpErrorGetFailure { + get { + return ResourceManager.GetString("strRdpErrorGetFailure", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to An unknown fatal RDP error has occurred. Error code {0}.. + /// + internal static string strRdpErrorGetUnknown { + get { + return ResourceManager.GetString("strRdpErrorGetUnknown", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to An out-of-memory error has occurred.. + /// + internal static string strRdpErrorOutOfMemory { + get { + return ResourceManager.GetString("strRdpErrorOutOfMemory", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to An unknown error has occurred.. + /// + internal static string strRdpErrorUnknown { + get { + return ResourceManager.GetString("strRdpErrorUnknown", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to A window-creation error has occurred.. + /// + internal static string strRdpErrorWindowCreation { + get { + return ResourceManager.GetString("strRdpErrorWindowCreation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Winsock initialization error.. + /// + internal static string strRdpErrorWinsock { + get { + return ResourceManager.GetString("strRdpErrorWinsock", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Couldn't import rdp file!. + /// + internal static string strRdpFileCouldNotBeImported { + get { + return ResourceManager.GetString("strRdpFileCouldNotBeImported", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Fit To Panel. + /// + internal static string strRDPFitToPanel { + get { + return ResourceManager.GetString("strRDPFitToPanel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RDP Focus failed!. + /// + internal static string strRdpFocusFailed { + get { + return ResourceManager.GetString("strRdpFocusFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RD Gateway is supported.. + /// + internal static string strRdpGatewayIsSupported { + get { + return ResourceManager.GetString("strRdpGatewayIsSupported", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RD Gateway is not supported!. + /// + internal static string strRdpGatewayNotSupported { + get { + return ResourceManager.GetString("strRdpGatewayNotSupported", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to GetSessions failed!. + /// + internal static string strRdpGetSessionsFailed { + get { + return ResourceManager.GetString("strRdpGetSessionsFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Open RDP Connection failed!. + /// + internal static string strRdpOpenConnectionFailed { + get { + return ResourceManager.GetString("strRdpOpenConnectionFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RDP reconnection count:. + /// + internal static string strRdpReconnectCount { + get { + return ResourceManager.GetString("strRdpReconnectCount", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RDP SetAuthenticationLevel failed!. + /// + internal static string strRdpSetAuthenticationLevelFailed { + get { + return ResourceManager.GetString("strRdpSetAuthenticationLevelFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RDP SetUseConsoleSession failed!. + /// + internal static string strRdpSetConsoleSessionFailed { + get { + return ResourceManager.GetString("strRdpSetConsoleSessionFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Setting Console switch for RDC {0}.. + /// + internal static string strRdpSetConsoleSwitch { + get { + return ResourceManager.GetString("strRdpSetConsoleSwitch", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RDP SetCredentials failed!. + /// + internal static string strRdpSetCredentialsFailed { + get { + return ResourceManager.GetString("strRdpSetCredentialsFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RDP SetEventHandlers failed!. + /// + internal static string strRdpSetEventHandlersFailed { + get { + return ResourceManager.GetString("strRdpSetEventHandlersFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RDP SetRDGateway failed!. + /// + internal static string strRdpSetGatewayFailed { + get { + return ResourceManager.GetString("strRdpSetGatewayFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RDP SetPerformanceFlags failed!. + /// + internal static string strRdpSetPerformanceFlagsFailed { + get { + return ResourceManager.GetString("strRdpSetPerformanceFlagsFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RDP SetPort failed!. + /// + internal static string strRdpSetPortFailed { + get { + return ResourceManager.GetString("strRdpSetPortFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RDP SetProps failed!. + /// + internal static string strRdpSetPropsFailed { + get { + return ResourceManager.GetString("strRdpSetPropsFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Rdp Set Redirection Failed!. + /// + internal static string strRdpSetRedirectionFailed { + get { + return ResourceManager.GetString("strRdpSetRedirectionFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Rdp Set Redirect Keys Failed!. + /// + internal static string strRdpSetRedirectKeysFailed { + get { + return ResourceManager.GetString("strRdpSetRedirectKeysFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RDP SetResolution failed!. + /// + internal static string strRdpSetResolutionFailed { + get { + return ResourceManager.GetString("strRdpSetResolutionFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Smart Size. + /// + internal static string strRDPSmartSize { + get { + return ResourceManager.GetString("strRDPSmartSize", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Bring to this computer. + /// + internal static string strRDPSoundBringToThisComputer { + get { + return ResourceManager.GetString("strRDPSoundBringToThisComputer", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Do not play. + /// + internal static string strRDPSoundDoNotPlay { + get { + return ResourceManager.GetString("strRDPSoundDoNotPlay", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Leave at remote computer. + /// + internal static string strRDPSoundLeaveAtRemoteComputer { + get { + return ResourceManager.GetString("strRDPSoundLeaveAtRemoteComputer", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RDP ToggleFullscreen failed!. + /// + internal static string strRdpToggleFullscreenFailed { + get { + return ResourceManager.GetString("strRdpToggleFullscreenFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RDP ToggleSmartSize failed!. + /// + internal static string strRdpToggleSmartSizeFailed { + get { + return ResourceManager.GetString("strRdpToggleSmartSizeFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Reconnect to previously opened sessions on startup. + /// + internal static string strReconnectAtStartup { + get { + return ResourceManager.GetString("strReconnectAtStartup", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Refresh. + /// + internal static string strRefresh { + get { + return ResourceManager.GetString("strRefresh", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Remote file. + /// + internal static string strRemoteFile { + get { + return ResourceManager.GetString("strRemoteFile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Remove All. + /// + internal static string strRemoveAll { + get { + return ResourceManager.GetString("strRemoveAll", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Rename. + /// + internal static string strRename { + get { + return ResourceManager.GetString("strRename", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Rlogin. + /// + internal static string strRlogin { + get { + return ResourceManager.GetString("strRlogin", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Save. + /// + internal static string strSave { + get { + return ResourceManager.GetString("strSave", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Save All. + /// + internal static string strSaveAll { + get { + return ResourceManager.GetString("strSaveAll", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Do you want to save the current connections file before loading another?. + /// + internal static string strSaveConnectionsFileBeforeOpeningAnother { + get { + return ResourceManager.GetString("strSaveConnectionsFileBeforeOpeningAnother", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Save connections on exit. + /// + internal static string strSaveConsOnExit { + get { + return ResourceManager.GetString("strSaveConsOnExit", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Graphics Interchange Format File (.gif)|*.gif|Joint Photographic Experts Group File (.jpeg)|*.jpeg|Joint Photographic Experts Group File (.jpg)|*.jpg|Portable Network Graphics File (.png)|*.png. + /// + internal static string strSaveImageFilter { + get { + return ResourceManager.GetString("strSaveImageFilter", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Screen. + /// + internal static string strScreen { + get { + return ResourceManager.GetString("strScreen", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Screenshot. + /// + internal static string strScreenshot { + get { + return ResourceManager.GetString("strScreenshot", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Screenshots. + /// + internal static string strScreenshots { + get { + return ResourceManager.GetString("strScreenshots", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Search. + /// + internal static string strSearchPrompt { + get { + return ResourceManager.GetString("strSearchPrompt", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Send To.... + /// + internal static string strSendTo { + get { + return ResourceManager.GetString("strSendTo", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Get Sessions Background failed. + /// + internal static string strSessionGetFailed { + get { + return ResourceManager.GetString("strSessionGetFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Kill Session Background failed. + /// + internal static string strSessionKillFailed { + get { + return ResourceManager.GetString("strSessionKillFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Set hostname like display name when creating or renaming connections. + /// + internal static string strSetHostnameLikeDisplayName { + get { + return ResourceManager.GetString("strSetHostnameLikeDisplayName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Setting main form text failed. + /// + internal static string strSettingMainFormTextFailed { + get { + return ResourceManager.GetString("strSettingMainFormTextFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Couldn't save settings or dispose SysTray Icon!. + /// + internal static string strSettingsCouldNotBeSavedOrTrayDispose { + get { + return ResourceManager.GetString("strSettingsCouldNotBeSavedOrTrayDispose", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Show description tooltips in connection tree. + /// + internal static string strShowDescriptionTooltips { + get { + return ResourceManager.GetString("strShowDescriptionTooltips", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Show full connections file path in window title. + /// + internal static string strShowFullConsFilePath { + get { + return ResourceManager.GetString("strShowFullConsFilePath", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Show logon information on tab names. + /// + internal static string strShowLogonInfoOnTabs { + get { + return ResourceManager.GetString("strShowLogonInfoOnTabs", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Show protocols on tab names. + /// + internal static string strShowProtocolOnTabs { + get { + return ResourceManager.GetString("strShowProtocolOnTabs", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Single click on connection opens it. + /// + internal static string strSingleClickOnConnectionOpensIt { + get { + return ResourceManager.GetString("strSingleClickOnConnectionOpensIt", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Single click on opened connection switches to it. + /// + internal static string strSingleClickOnOpenConnectionSwitchesToIt { + get { + return ResourceManager.GetString("strSingleClickOnOpenConnectionSwitchesToIt", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Aspect. + /// + internal static string strSmartSizeModeAspect { + get { + return ResourceManager.GetString("strSmartSizeModeAspect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Free. + /// + internal static string strSmartSizeModeFree { + get { + return ResourceManager.GetString("strSmartSizeModeFree", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No SmartSize. + /// + internal static string strSmartSizeModeNone { + get { + return ResourceManager.GetString("strSmartSizeModeNone", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Socks 5. + /// + internal static string strSocks5 { + get { + return ResourceManager.GetString("strSocks5", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Sort. + /// + internal static string strSort { + get { + return ResourceManager.GetString("strSort", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Ascending (A-Z). + /// + internal static string strSortAsc { + get { + return ResourceManager.GetString("strSortAsc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Descending (Z-A). + /// + internal static string strSortDesc { + get { + return ResourceManager.GetString("strSortDesc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Special Keys. + /// + internal static string strSpecialKeys { + get { + return ResourceManager.GetString("strSpecialKeys", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Please see Help - Getting started - SQL Configuration for more Info!. + /// + internal static string strSQLInfo { + get { + return ResourceManager.GetString("strSQLInfo", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to SQL Server. + /// + internal static string strSQLServer { + get { + return ResourceManager.GetString("strSQLServer", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to SQL Update check finished and there is an update available! Going to refresh connections.. + /// + internal static string strSqlUpdateCheckUpdateAvailable { + get { + return ResourceManager.GetString("strSqlUpdateCheckUpdateAvailable", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to SSH version 1. + /// + internal static string strSsh1 { + get { + return ResourceManager.GetString("strSsh1", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to SSH version 2. + /// + internal static string strSsh2 { + get { + return ResourceManager.GetString("strSsh2", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to SSH background transfer failed!. + /// + internal static string strSSHStartTransferBG { + get { + return ResourceManager.GetString("strSSHStartTransferBG", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Transfer successful!. + /// + internal static string strSSHTranferSuccessful { + get { + return ResourceManager.GetString("strSSHTranferSuccessful", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to SSH Transfer End (UI.Window.SSHTransfer) failed!. + /// + internal static string strSSHTransferEndFailed { + get { + return ResourceManager.GetString("strSSHTransferEndFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to SSH transfer failed.. + /// + internal static string strSSHTransferFailed { + get { + return ResourceManager.GetString("strSSHTransferFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Start IP. + /// + internal static string strStartIP { + get { + return ResourceManager.GetString("strStartIP", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Start Port. + /// + internal static string strStartPort { + get { + return ResourceManager.GetString("strStartPort", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Startup/Exit. + /// + internal static string strStartupExit { + get { + return ResourceManager.GetString("strStartupExit", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Status. + /// + internal static string strStatus { + get { + return ResourceManager.GetString("strStatus", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Switch to Notifications panel on:. + /// + internal static string strSwitchToErrorsAndInfos { + get { + return ResourceManager.GetString("strSwitchToErrorsAndInfos", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Advanced. + /// + internal static string strTabAdvanced { + get { + return ResourceManager.GetString("strTabAdvanced", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Appearance. + /// + internal static string strTabAppearance { + get { + return ResourceManager.GetString("strTabAppearance", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Tabs && Panels. + /// + internal static string strTabsAndPanels { + get { + return ResourceManager.GetString("strTabsAndPanels", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Updates. + /// + internal static string strTabUpdates { + get { + return ResourceManager.GetString("strTabUpdates", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Telnet. + /// + internal static string strTelnet { + get { + return ResourceManager.GetString("strTelnet", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The following:. + /// + internal static string strTheFollowing { + get { + return ResourceManager.GetString("strTheFollowing", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Config Panel. + /// + internal static string strThemeCategoryConfigPanel { + get { + return ResourceManager.GetString("strThemeCategoryConfigPanel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connections Panel. + /// + internal static string strThemeCategoryConnectionsPanel { + get { + return ResourceManager.GetString("strThemeCategoryConnectionsPanel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to General. + /// + internal static string strThemeCategoryGeneral { + get { + return ResourceManager.GetString("strThemeCategoryGeneral", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The background colour of the config panel.. + /// + internal static string strThemeDescriptionConfigPanelBackgroundColor { + get { + return ResourceManager.GetString("strThemeDescriptionConfigPanelBackgroundColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The colour of the category text in the config panel.. + /// + internal static string strThemeDescriptionConfigPanelCategoryTextColor { + get { + return ResourceManager.GetString("strThemeDescriptionConfigPanelCategoryTextColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The colour of the grid lines in the config panel. + /// + internal static string strThemeDescriptionConfigPanelGridLineColor { + get { + return ResourceManager.GetString("strThemeDescriptionConfigPanelGridLineColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The background colour of the help area of the config panel.. + /// + internal static string strThemeDescriptionConfigPanelHelpBackgroundColor { + get { + return ResourceManager.GetString("strThemeDescriptionConfigPanelHelpBackgroundColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The colour of the text in the help area of the config panel.. + /// + internal static string strThemeDescriptionConfigPanelHelpTextColor { + get { + return ResourceManager.GetString("strThemeDescriptionConfigPanelHelpTextColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The colour of the text in the config panel.. + /// + internal static string strThemeDescriptionConfigPanelTextColor { + get { + return ResourceManager.GetString("strThemeDescriptionConfigPanelTextColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The background colour of the connections panel.. + /// + internal static string strThemeDescriptionConnectionsPanelBackgroundColor { + get { + return ResourceManager.GetString("strThemeDescriptionConnectionsPanelBackgroundColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The colour of the text in the connections panel.. + /// + internal static string strThemeDescriptionConnectionsPanelTextColor { + get { + return ResourceManager.GetString("strThemeDescriptionConnectionsPanelTextColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The colour of the tree lines in the connections panel.. + /// + internal static string strThemeDescriptionConnectionsPanelTreeLineColor { + get { + return ResourceManager.GetString("strThemeDescriptionConnectionsPanelTreeLineColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The background colour of the menus.. + /// + internal static string strThemeDescriptionMenuBackgroundColor { + get { + return ResourceManager.GetString("strThemeDescriptionMenuBackgroundColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The colour of the text in the menus.. + /// + internal static string strThemeDescriptionMenuTextColor { + get { + return ResourceManager.GetString("strThemeDescriptionMenuTextColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The background colour of the search box.. + /// + internal static string strThemeDescriptionSearchBoxBackgroundColor { + get { + return ResourceManager.GetString("strThemeDescriptionSearchBoxBackgroundColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The colour of the text in the search box.. + /// + internal static string strThemeDescriptionSearchBoxTextColor { + get { + return ResourceManager.GetString("strThemeDescriptionSearchBoxTextColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The colour of the prompt text in the search box.. + /// + internal static string strThemeDescriptionSearchBoxTextPromptColor { + get { + return ResourceManager.GetString("strThemeDescriptionSearchBoxTextPromptColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The background colour of the toolbars.. + /// + internal static string strThemeDescriptionToolbarBackgroundColor { + get { + return ResourceManager.GetString("strThemeDescriptionToolbarBackgroundColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The colour of the text in the toolbars.. + /// + internal static string strThemeDescriptionToolbarTextColor { + get { + return ResourceManager.GetString("strThemeDescriptionToolbarTextColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The background colour of the main window.. + /// + internal static string strThemeDescriptionWindowBackgroundColor { + get { + return ResourceManager.GetString("strThemeDescriptionWindowBackgroundColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Config Panel Background Colour. + /// + internal static string strThemeNameConfigPanelBackgroundColor { + get { + return ResourceManager.GetString("strThemeNameConfigPanelBackgroundColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Config Panel Category Text Colour. + /// + internal static string strThemeNameConfigPanelCategoryTextColor { + get { + return ResourceManager.GetString("strThemeNameConfigPanelCategoryTextColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Config Panel Grid Line Colour. + /// + internal static string strThemeNameConfigPanelGridLineColor { + get { + return ResourceManager.GetString("strThemeNameConfigPanelGridLineColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Config Panel Help Background Colour. + /// + internal static string strThemeNameConfigPanelHelpBackgroundColor { + get { + return ResourceManager.GetString("strThemeNameConfigPanelHelpBackgroundColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Config Panel Help Text Colour. + /// + internal static string strThemeNameConfigPanelHelpTextColor { + get { + return ResourceManager.GetString("strThemeNameConfigPanelHelpTextColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Config Panel Text Colour. + /// + internal static string strThemeNameConfigPanelTextColor { + get { + return ResourceManager.GetString("strThemeNameConfigPanelTextColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connections Panel Background Colour. + /// + internal static string strThemeNameConnectionsPanelBackgroundColor { + get { + return ResourceManager.GetString("strThemeNameConnectionsPanelBackgroundColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connections Panel Text Colour. + /// + internal static string strThemeNameConnectionsPanelTextColor { + get { + return ResourceManager.GetString("strThemeNameConnectionsPanelTextColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Connections Panel Tree Line Colour. + /// + internal static string strThemeNameConnectionsPanelTreeLineColor { + get { + return ResourceManager.GetString("strThemeNameConnectionsPanelTreeLineColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Menu Background Colour. + /// + internal static string strThemeNameMenuBackgroundColor { + get { + return ResourceManager.GetString("strThemeNameMenuBackgroundColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Menu Text Colour. + /// + internal static string strThemeNameMenuTextColor { + get { + return ResourceManager.GetString("strThemeNameMenuTextColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Search Box Background Colour. + /// + internal static string strThemeNameSearchBoxBackgroundColor { + get { + return ResourceManager.GetString("strThemeNameSearchBoxBackgroundColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Search Box Text Colour. + /// + internal static string strThemeNameSearchBoxTextColor { + get { + return ResourceManager.GetString("strThemeNameSearchBoxTextColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Search Box Text Prompt Colour. + /// + internal static string strThemeNameSearchBoxTextPromptColor { + get { + return ResourceManager.GetString("strThemeNameSearchBoxTextPromptColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Toolbar Background Colour. + /// + internal static string strThemeNameToolbarBackgroundColor { + get { + return ResourceManager.GetString("strThemeNameToolbarBackgroundColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Toolbar Text Colour. + /// + internal static string strThemeNameToolbarTextColor { + get { + return ResourceManager.GetString("strThemeNameToolbarTextColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Window Background Colour. + /// + internal static string strThemeNameWindowBackgroundColor { + get { + return ResourceManager.GetString("strThemeNameWindowBackgroundColor", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Error ({0}). + /// + internal static string strTitleError { + get { + return ResourceManager.GetString("strTitleError", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Information ({0}). + /// + internal static string strTitleInformation { + get { + return ResourceManager.GetString("strTitleInformation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Password. + /// + internal static string strTitlePassword { + get { + return ResourceManager.GetString("strTitlePassword", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Password for {0}. + /// + internal static string strTitlePasswordWithName { + get { + return ResourceManager.GetString("strTitlePasswordWithName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Select Panel. + /// + internal static string strTitleSelectPanel { + get { + return ResourceManager.GetString("strTitleSelectPanel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Warning ({0}). + /// + internal static string strTitleWarning { + get { + return ResourceManager.GetString("strTitleWarning", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Transfer. + /// + internal static string strTransfer { + get { + return ResourceManager.GetString("strTransfer", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Transfer failed!. + /// + internal static string strTransferFailed { + get { + return ResourceManager.GetString("strTransferFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Try to integrate. + /// + internal static string strTryIntegrate { + get { + return ResourceManager.GetString("strTryIntegrate", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Type. + /// + internal static string strType { + get { + return ResourceManager.GetString("strType", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Ultra VNC Repeater. + /// + internal static string strUltraVncRepeater { + get { + return ResourceManager.GetString("strUltraVncRepeater", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to UltraVNC SingleClick port:. + /// + internal static string strUltraVNCSCListeningPort { + get { + return ResourceManager.GetString("strUltraVNCSCListeningPort", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Uncheck the properties you want not to be saved!. + /// + internal static string strUncheckProperties { + get { + return ResourceManager.GetString("strUncheckProperties", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Unnamed Theme. + /// + internal static string strUnnamedTheme { + get { + return ResourceManager.GetString("strUnnamedTheme", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to mRemoteNG requires an update. + /// + internal static string strUpdateAvailable { + get { + return ResourceManager.GetString("strUpdateAvailable", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to mRemoteNG can periodically connect to the mRemoteNG website to check for updates and product announcements.. + /// + internal static string strUpdateCheck { + get { + return ResourceManager.GetString("strUpdateCheck", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The update information could not be downloaded.. + /// + internal static string strUpdateCheckCompleteFailed { + get { + return ResourceManager.GetString("strUpdateCheckCompleteFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Check failed. + /// + internal static string strUpdateCheckFailedLabel { + get { + return ResourceManager.GetString("strUpdateCheckFailedLabel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Checking for updates.... + /// + internal static string strUpdateCheckingLabel { + get { + return ResourceManager.GetString("strUpdateCheckingLabel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to mRemoteNG Portable Edition does not currently support automatic updates.. + /// + internal static string strUpdateCheckPortableEdition { + get { + return ResourceManager.GetString("strUpdateCheckPortableEdition", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Download complete! + ///mRemoteNG will now quit and begin with the installation.. + /// + internal static string strUpdateDownloadComplete { + get { + return ResourceManager.GetString("strUpdateDownloadComplete", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The update could not be downloaded.. + /// + internal static string strUpdateDownloadCompleteFailed { + get { + return ResourceManager.GetString("strUpdateDownloadCompleteFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The update download could not be initiated.. + /// + internal static string strUpdateDownloadFailed { + get { + return ResourceManager.GetString("strUpdateDownloadFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Every {0} days. + /// + internal static string strUpdateFrequencyCustom { + get { + return ResourceManager.GetString("strUpdateFrequencyCustom", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Daily. + /// + internal static string strUpdateFrequencyDaily { + get { + return ResourceManager.GetString("strUpdateFrequencyDaily", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Monthly. + /// + internal static string strUpdateFrequencyMonthly { + get { + return ResourceManager.GetString("strUpdateFrequencyMonthly", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Weekly. + /// + internal static string strUpdateFrequencyWeekly { + get { + return ResourceManager.GetString("strUpdateFrequencyWeekly", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The announcement information could not be downloaded.. + /// + internal static string strUpdateGetAnnouncementInfoFailed { + get { + return ResourceManager.GetString("strUpdateGetAnnouncementInfoFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The change log could not be downloaded.. + /// + internal static string strUpdateGetChangeLogFailed { + get { + return ResourceManager.GetString("strUpdateGetChangeLogFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use a different username and password. + /// + internal static string strUseDifferentUsernameAndPassword { + get { + return ResourceManager.GetString("strUseDifferentUsernameAndPassword", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use only Notifications panel (no messagebox popups). + /// + internal static string strUseOnlyErrorsAndInfosPanel { + get { + return ResourceManager.GetString("strUseOnlyErrorsAndInfosPanel", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to User. + /// + internal static string strUser { + get { + return ResourceManager.GetString("strUser", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use the same username and password. + /// + internal static string strUseSameUsernameAndPassword { + get { + return ResourceManager.GetString("strUseSameUsernameAndPassword", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use a smart card. + /// + internal static string strUseSmartCard { + get { + return ResourceManager.GetString("strUseSmartCard", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use SQL Server to load && save connections. + /// + internal static string strUseSQLServer { + get { + return ResourceManager.GetString("strUseSQLServer", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Version. + /// + internal static string strVersion { + get { + return ResourceManager.GetString("strVersion", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to visionapp Remote Desktop 2008 CSV. + /// + internal static string strVisionAppRemoteDesktopCsv { + get { + return ResourceManager.GetString("strVisionAppRemoteDesktopCsv", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to VNC. + /// + internal static string strVnc { + get { + return ResourceManager.GetString("strVnc", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to VNC disconnect failed!. + /// + internal static string strVncConnectionDisconnectFailed { + get { + return ResourceManager.GetString("strVncConnectionDisconnectFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Opening connection failed!. + /// + internal static string strVncConnectionOpenFailed { + get { + return ResourceManager.GetString("strVncConnectionOpenFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to VNC Refresh Screen Failed!. + /// + internal static string strVncRefreshFailed { + get { + return ResourceManager.GetString("strVncRefreshFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to VNC SendSpecialKeys failed!. + /// + internal static string strVncSendSpecialKeysFailed { + get { + return ResourceManager.GetString("strVncSendSpecialKeysFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to VNC Set Event Handlers failed!. + /// + internal static string strVncSetEventHandlersFailed { + get { + return ResourceManager.GetString("strVncSetEventHandlersFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to VNC Set Props Failed!. + /// + internal static string strVncSetPropsFailed { + get { + return ResourceManager.GetString("strVncSetPropsFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to VNC Start Chat Failed!. + /// + internal static string strVncStartChatFailed { + get { + return ResourceManager.GetString("strVncStartChatFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to VNC Toggle SmartSize Failed!. + /// + internal static string strVncToggleSmartSizeFailed { + get { + return ResourceManager.GetString("strVncToggleSmartSizeFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to VNC Toggle ViewOnly Failed!. + /// + internal static string strVncToggleViewOnlyFailed { + get { + return ResourceManager.GetString("strVncToggleViewOnlyFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Warn me if authentication fails. + /// + internal static string strWarnIfAuthFails { + get { + return ResourceManager.GetString("strWarnIfAuthFails", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Warnings. + /// + internal static string strWarnings { + get { + return ResourceManager.GetString("strWarnings", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Uses the DockPanel Suite by [Weifen Luo]. + /// + internal static string strWeifenLuoAttribution { + get { + return ResourceManager.GetString("strWeifenLuoAttribution", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to http://sourceforge.net/projects/dockpanelsuite/. + /// + internal static string strWeifenLuoAttributionURL { + get { + return ResourceManager.GetString("strWeifenLuoAttributionURL", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Write log file (mRemoteNG.log). + /// + internal static string strWriteLogFile { + get { + return ResourceManager.GetString("strWriteLogFile", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to XULrunner path:. + /// + internal static string strXULrunnerPath { + get { + return ResourceManager.GetString("strXULrunnerPath", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Yes. + /// + internal static string strYes { + get { + return ResourceManager.GetString("strYes", resourceCulture); + } + } + } } diff --git a/mRemoteV1/CS/Messages/Messages.Collector.cs b/mRemoteV1/CS/Messages/Messages.Collector.cs index a5cd0bdd9..f86891bf4 100644 --- a/mRemoteV1/CS/Messages/Messages.Collector.cs +++ b/mRemoteV1/CS/Messages/Messages.Collector.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,7 +8,7 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports +using mRemoteNG.My; @@ -17,28 +16,28 @@ namespace mRemoteNG.Messages { public class Collector { -#region Constructors + #region Constructors public Collector(UI.Window.ErrorsAndInfos MessageCollectorForm) { this._MCForm = MessageCollectorForm; CreateTimer(); } -#endregion + #endregion -#region Private Properties + #region Private Properties private Timer ECTimer; private UI.Window.ErrorsAndInfos _MCForm; -#endregion + #endregion -#region Public Properties + #region Public Properties public UI.Window.ErrorsAndInfos MCForm { get { return this._MCForm; } set { this._MCForm = value; } } -#endregion + #endregion -#region Public Methods + #region Public Methods public void AddMessage(Messages.MessageClass MsgClass, string MsgText, bool OnlyLog = false) { Messages.Message nMsg = new Messages.Message(); @@ -46,10 +45,10 @@ namespace mRemoteNG.Messages nMsg.MsgText = MsgText; nMsg.MsgDate = DateTime.Now; - if (My.Settings.Default.SwitchToMCOnInformation && nMsg.MsgClass == Messages.MessageClass.InformationMsg) + if (Settings.Default.SwitchToMCOnInformation && nMsg.MsgClass == Messages.MessageClass.InformationMsg) { Debug.Print("Info: " + nMsg.MsgText); - if (My.Settings.Default.WriteLogFile) + if (Settings.Default.WriteLogFile) { App.Runtime.Log.Info(nMsg.MsgText); } @@ -59,7 +58,7 @@ namespace mRemoteNG.Messages return; } - if (My.Settings.Default.ShowNoMessageBoxes) + if (Settings.Default.ShowNoMessageBoxes) { ECTimer.Enabled = true; } @@ -69,10 +68,10 @@ namespace mRemoteNG.Messages } } - if (My.Settings.Default.SwitchToMCOnWarning && nMsg.MsgClass == Messages.MessageClass.WarningMsg) + if (Settings.Default.SwitchToMCOnWarning && nMsg.MsgClass == Messages.MessageClass.WarningMsg) { Debug.Print("Warning: " + nMsg.MsgText); - if (My.Settings.Default.WriteLogFile) + if (Settings.Default.WriteLogFile) { App.Runtime.Log.Warn(nMsg.MsgText); } @@ -82,7 +81,7 @@ namespace mRemoteNG.Messages return; } - if (My.Settings.Default.ShowNoMessageBoxes) + if (Settings.Default.ShowNoMessageBoxes) { ECTimer.Enabled = true; } @@ -92,7 +91,7 @@ namespace mRemoteNG.Messages } } - if (My.Settings.Default.SwitchToMCOnError && nMsg.MsgClass == Messages.MessageClass.ErrorMsg) + if (Settings.Default.SwitchToMCOnError && nMsg.MsgClass == Messages.MessageClass.ErrorMsg) { Debug.Print("Error: " + nMsg.MsgText); @@ -104,7 +103,7 @@ namespace mRemoteNG.Messages return; } - if (My.Settings.Default.ShowNoMessageBoxes) + if (Settings.Default.ShowNoMessageBoxes) { ECTimer.Enabled = true; } @@ -118,7 +117,7 @@ namespace mRemoteNG.Messages { Debug.Print("Report: " + nMsg.MsgText); - if (My.Settings.Default.WriteLogFile) + if (Settings.Default.WriteLogFile) { App.Runtime.Log.Info(nMsg.MsgText); } @@ -140,7 +139,7 @@ namespace mRemoteNG.Messages } #endregion -#region Private Methods + #region Private Methods private void CreateTimer() { ECTimer = new Timer(); @@ -157,7 +156,7 @@ namespace mRemoteNG.Messages private void SwitchToMessage() { - this._MCForm.PreviousActiveForm = frmMain.Default.pnlDock.ActiveContent; + this._MCForm.PreviousActiveForm = (WeifenLuo.WinFormsUI.Docking.DockContent)frmMain.Default.pnlDock.ActiveContent; this.ShowMCForm(); this._MCForm.lvErrorCollector.Focus(); this._MCForm.lvErrorCollector.SelectedItems.Clear(); @@ -180,9 +179,9 @@ namespace mRemoteNG.Messages break; } } -#endregion + #endregion -#region Delegates + #region Delegates private delegate void ShowMCFormCB(); private void ShowMCForm() { @@ -210,6 +209,6 @@ namespace mRemoteNG.Messages this._MCForm.lvErrorCollector.Items.Insert(0, lvItem); } } -#endregion + #endregion } } diff --git a/mRemoteV1/CS/Messages/Messages.Message.cs b/mRemoteV1/CS/Messages/Messages.Message.cs index 85d7be505..acbfe641f 100644 --- a/mRemoteV1/CS/Messages/Messages.Message.cs +++ b/mRemoteV1/CS/Messages/Messages.Message.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,7 +8,6 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports namespace mRemoteNG.Messages @@ -23,44 +21,44 @@ namespace mRemoteNG.Messages } public class Message + { + private MessageClass _MsgClass; + public MessageClass MsgClass { - private MessageClass _MsgClass; -public MessageClass MsgClass + get { - get - { - return _MsgClass; - } - set - { - _MsgClass = value; - } + return _MsgClass; } - - private string _MsgText; -public string MsgText + set { - get - { - return _MsgText; - } - set - { - _MsgText = value; - } - } - - private DateTime _MsgDate; -public DateTime MsgDate - { - get - { - return _MsgDate; - } - set - { - _MsgDate = value; - } + _MsgClass = value; } } + + private string _MsgText; + public string MsgText + { + get + { + return _MsgText; + } + set + { + _MsgText = value; + } + } + + private DateTime _MsgDate; + public DateTime MsgDate + { + get + { + return _MsgDate; + } + set + { + _MsgDate = value; + } + } + } } diff --git a/mRemoteV1/CS/Properties/Resources.Designer.cs b/mRemoteV1/CS/Properties/Resources.Designer.cs index 6d65dcd5b..083343274 100644 --- a/mRemoteV1/CS/Properties/Resources.Designer.cs +++ b/mRemoteV1/CS/Properties/Resources.Designer.cs @@ -1,14 +1,14 @@ -//------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.42000 +// Runtime Version:4.0.30319.34209 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ -namespace My { +namespace mRemoteNG.My { using System; @@ -21,8 +21,8 @@ namespace My { // with the /str option, or rebuild your VS project. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - - public class Resources { + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { private static global::System.Resources.ResourceManager resourceMan; @@ -36,10 +36,10 @@ namespace My { /// Returns the cached ResourceManager instance used by this class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - public static global::System.Resources.ResourceManager ResourceManager { + internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("My.Resources.Resources", typeof(Resources).Assembly); + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("mRemoteNG.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; @@ -51,7 +51,7 @@ namespace My { /// resource lookups using this strongly typed resource class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - public static global::System.Globalization.CultureInfo Culture { + internal static global::System.Globalization.CultureInfo Culture { get { return resourceCulture; } @@ -63,7 +63,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap _Error { + internal static System.Drawing.Bitmap _Error { get { object obj = ResourceManager.GetObject("_Error", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -73,7 +73,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap ActiveDirectory { + internal static System.Drawing.Bitmap ActiveDirectory { get { object obj = ResourceManager.GetObject("ActiveDirectory", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -83,7 +83,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon ActiveDirectory_Icon { + internal static System.Drawing.Icon ActiveDirectory_Icon { get { object obj = ResourceManager.GetObject("ActiveDirectory_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -93,7 +93,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon Appearance_Icon { + internal static System.Drawing.Icon Appearance_Icon { get { object obj = ResourceManager.GetObject("Appearance_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -103,7 +103,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap application_side_tree { + internal static System.Drawing.Bitmap application_side_tree { get { object obj = ResourceManager.GetObject("application_side_tree", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -113,7 +113,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Arrow_Down { + internal static System.Drawing.Bitmap Arrow_Down { get { object obj = ResourceManager.GetObject("Arrow_Down", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -123,7 +123,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap arrow_out { + internal static System.Drawing.Bitmap arrow_out { get { object obj = ResourceManager.GetObject("arrow_out", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -133,7 +133,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Arrow_Up { + internal static System.Drawing.Bitmap Arrow_Up { get { object obj = ResourceManager.GetObject("Arrow_Up", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -143,7 +143,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Bad_Symbol { + internal static System.Drawing.Bitmap Bad_Symbol { get { object obj = ResourceManager.GetObject("Bad_Symbol", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -153,7 +153,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Bug { + internal static System.Drawing.Bitmap Bug { get { object obj = ResourceManager.GetObject("Bug", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -163,7 +163,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Chat { + internal static System.Drawing.Bitmap Chat { get { object obj = ResourceManager.GetObject("Chat", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -173,7 +173,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap cog { + internal static System.Drawing.Bitmap cog { get { object obj = ResourceManager.GetObject("cog", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -183,7 +183,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap cog_error { + internal static System.Drawing.Bitmap cog_error { get { object obj = ResourceManager.GetObject("cog_error", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -193,7 +193,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Collapse { + internal static System.Drawing.Bitmap Collapse { get { object obj = ResourceManager.GetObject("Collapse", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -203,7 +203,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap ComponentsCheck { + internal static System.Drawing.Bitmap ComponentsCheck { get { object obj = ResourceManager.GetObject("ComponentsCheck", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -213,7 +213,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon ComponentsCheck_Icon { + internal static System.Drawing.Icon ComponentsCheck_Icon { get { object obj = ResourceManager.GetObject("ComponentsCheck_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -223,7 +223,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Config { + internal static System.Drawing.Bitmap Config { get { object obj = ResourceManager.GetObject("Config", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -233,7 +233,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon Config_Icon { + internal static System.Drawing.Icon Config_Icon { get { object obj = ResourceManager.GetObject("Config_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -243,7 +243,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Connection_Add { + internal static System.Drawing.Bitmap Connection_Add { get { object obj = ResourceManager.GetObject("Connection_Add", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -253,7 +253,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Connection_Duplicate { + internal static System.Drawing.Bitmap Connection_Duplicate { get { object obj = ResourceManager.GetObject("Connection_Duplicate", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -263,7 +263,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Connections_Load { + internal static System.Drawing.Bitmap Connections_Load { get { object obj = ResourceManager.GetObject("Connections_Load", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -273,7 +273,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Connections_New { + internal static System.Drawing.Bitmap Connections_New { get { object obj = ResourceManager.GetObject("Connections_New", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -283,7 +283,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Connections_Save { + internal static System.Drawing.Bitmap Connections_Save { get { object obj = ResourceManager.GetObject("Connections_Save", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -293,7 +293,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Connections_SaveAs { + internal static System.Drawing.Bitmap Connections_SaveAs { get { object obj = ResourceManager.GetObject("Connections_SaveAs", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -303,7 +303,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon Connections_SaveAs_Icon { + internal static System.Drawing.Icon Connections_SaveAs_Icon { get { object obj = ResourceManager.GetObject("Connections_SaveAs_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -313,7 +313,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Console { + internal static System.Drawing.Bitmap Console { get { object obj = ResourceManager.GetObject("Console", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -323,7 +323,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Copy { + internal static System.Drawing.Bitmap Copy { get { object obj = ResourceManager.GetObject("Copy", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -333,7 +333,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Delete { + internal static System.Drawing.Bitmap Delete { get { object obj = ResourceManager.GetObject("Delete", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -343,7 +343,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Donate { + internal static System.Drawing.Bitmap Donate { get { object obj = ResourceManager.GetObject("Donate", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -353,7 +353,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap ErrorsAndInfos { + internal static System.Drawing.Bitmap ErrorsAndInfos { get { object obj = ResourceManager.GetObject("ErrorsAndInfos", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -363,7 +363,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap ErrorSmall { + internal static System.Drawing.Bitmap ErrorSmall { get { object obj = ResourceManager.GetObject("ErrorSmall", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -373,7 +373,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Expand { + internal static System.Drawing.Bitmap Expand { get { object obj = ResourceManager.GetObject("Expand", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -383,7 +383,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap ExtApp { + internal static System.Drawing.Bitmap ExtApp { get { object obj = ResourceManager.GetObject("ExtApp", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -393,7 +393,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap ExtApp_Add { + internal static System.Drawing.Bitmap ExtApp_Add { get { object obj = ResourceManager.GetObject("ExtApp_Add", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -403,7 +403,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap ExtApp_Delete { + internal static System.Drawing.Bitmap ExtApp_Delete { get { object obj = ResourceManager.GetObject("ExtApp_Delete", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -413,7 +413,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon ExtApp_Icon { + internal static System.Drawing.Icon ExtApp_Icon { get { object obj = ResourceManager.GetObject("ExtApp_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -423,7 +423,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap ExtApp_Start { + internal static System.Drawing.Bitmap ExtApp_Start { get { object obj = ResourceManager.GetObject("ExtApp_Start", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -433,7 +433,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap File { + internal static System.Drawing.Bitmap File { get { object obj = ResourceManager.GetObject("File", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -443,7 +443,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Folder { + internal static System.Drawing.Bitmap Folder { get { object obj = ResourceManager.GetObject("Folder", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -453,7 +453,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Folder_Add { + internal static System.Drawing.Bitmap Folder_Add { get { object obj = ResourceManager.GetObject("Folder_Add", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -463,7 +463,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Fullscreen { + internal static System.Drawing.Bitmap Fullscreen { get { object obj = ResourceManager.GetObject("Fullscreen", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -473,7 +473,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Good_Symbol { + internal static System.Drawing.Bitmap Good_Symbol { get { object obj = ResourceManager.GetObject("Good_Symbol", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -483,7 +483,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Help { + internal static System.Drawing.Bitmap Help { get { object obj = ResourceManager.GetObject("Help", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -493,7 +493,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon Help_Icon { + internal static System.Drawing.Icon Help_Icon { get { object obj = ResourceManager.GetObject("Help_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -503,7 +503,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap HostStatus_Check { + internal static System.Drawing.Bitmap HostStatus_Check { get { object obj = ResourceManager.GetObject("HostStatus_Check", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -513,7 +513,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap HostStatus_Off { + internal static System.Drawing.Bitmap HostStatus_Off { get { object obj = ResourceManager.GetObject("HostStatus_Off", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -523,7 +523,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap HostStatus_On { + internal static System.Drawing.Bitmap HostStatus_On { get { object obj = ResourceManager.GetObject("HostStatus_On", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -533,7 +533,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Info { + internal static System.Drawing.Bitmap Info { get { object obj = ResourceManager.GetObject("Info", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -543,7 +543,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon Info_Icon { + internal static System.Drawing.Icon Info_Icon { get { object obj = ResourceManager.GetObject("Info_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -553,7 +553,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Information { + internal static System.Drawing.Bitmap Information { get { object obj = ResourceManager.GetObject("Information", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -563,7 +563,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap InformationSmall { + internal static System.Drawing.Bitmap InformationSmall { get { object obj = ResourceManager.GetObject("InformationSmall", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -573,7 +573,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Inheritance { + internal static System.Drawing.Bitmap Inheritance { get { object obj = ResourceManager.GetObject("Inheritance", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -583,7 +583,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Inheritance_Default { + internal static System.Drawing.Bitmap Inheritance_Default { get { object obj = ResourceManager.GetObject("Inheritance_Default", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -593,7 +593,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap JumpTo { + internal static System.Drawing.Bitmap JumpTo { get { object obj = ResourceManager.GetObject("JumpTo", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -603,7 +603,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap key_delete { + internal static System.Drawing.Bitmap key_delete { get { object obj = ResourceManager.GetObject("key_delete", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -613,7 +613,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Keyboard { + internal static System.Drawing.Bitmap Keyboard { get { object obj = ResourceManager.GetObject("Keyboard", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -623,7 +623,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Lock { + internal static System.Drawing.Bitmap Lock { get { object obj = ResourceManager.GetObject("Lock", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -633,7 +633,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Logo { + internal static System.Drawing.Bitmap Logo { get { object obj = ResourceManager.GetObject("Logo", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -643,7 +643,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Monitor { + internal static System.Drawing.Bitmap Monitor { get { object obj = ResourceManager.GetObject("Monitor", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -653,7 +653,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap monitor_delete { + internal static System.Drawing.Bitmap monitor_delete { get { object obj = ResourceManager.GetObject("monitor_delete", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -663,7 +663,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap monitor_go { + internal static System.Drawing.Bitmap monitor_go { get { object obj = ResourceManager.GetObject("monitor_go", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -673,7 +673,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Monitor_GoTo { + internal static System.Drawing.Bitmap Monitor_GoTo { get { object obj = ResourceManager.GetObject("Monitor_GoTo", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -683,7 +683,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap mRemote { + internal static System.Drawing.Bitmap mRemote { get { object obj = ResourceManager.GetObject("mRemote", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -693,7 +693,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon mRemote_Icon { + internal static System.Drawing.Icon mRemote_Icon { get { object obj = ResourceManager.GetObject("mRemote_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -703,7 +703,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap News { + internal static System.Drawing.Bitmap News { get { object obj = ResourceManager.GetObject("News", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -713,7 +713,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon News_Icon { + internal static System.Drawing.Icon News_Icon { get { object obj = ResourceManager.GetObject("News_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -723,7 +723,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Options { + internal static System.Drawing.Bitmap Options { get { object obj = ResourceManager.GetObject("Options", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -733,7 +733,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon Options_Icon { + internal static System.Drawing.Icon Options_Icon { get { object obj = ResourceManager.GetObject("Options_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -743,7 +743,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Page { + internal static System.Drawing.Bitmap Page { get { object obj = ResourceManager.GetObject("Page", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -753,7 +753,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap page_copy { + internal static System.Drawing.Bitmap page_copy { get { object obj = ResourceManager.GetObject("page_copy", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -763,7 +763,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Panel_Add { + internal static System.Drawing.Bitmap Panel_Add { get { object obj = ResourceManager.GetObject("Panel_Add", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -773,7 +773,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Panel_Close { + internal static System.Drawing.Bitmap Panel_Close { get { object obj = ResourceManager.GetObject("Panel_Close", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -783,7 +783,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Panels { + internal static System.Drawing.Bitmap Panels { get { object obj = ResourceManager.GetObject("Panels", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -793,7 +793,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon Panels_Icon { + internal static System.Drawing.Icon Panels_Icon { get { object obj = ResourceManager.GetObject("Panels_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -803,7 +803,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Pause { + internal static System.Drawing.Bitmap Pause { get { object obj = ResourceManager.GetObject("Pause", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -813,7 +813,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Play { + internal static System.Drawing.Bitmap Play { get { object obj = ResourceManager.GetObject("Play", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -823,7 +823,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Play_Quick { + internal static System.Drawing.Bitmap Play_Quick { get { object obj = ResourceManager.GetObject("Play_Quick", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -833,7 +833,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon Play_Quick_Icon { + internal static System.Drawing.Icon Play_Quick_Icon { get { object obj = ResourceManager.GetObject("Play_Quick_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -843,7 +843,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap PortScan { + internal static System.Drawing.Bitmap PortScan { get { object obj = ResourceManager.GetObject("PortScan", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -853,7 +853,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon PortScan_Icon { + internal static System.Drawing.Icon PortScan_Icon { get { object obj = ResourceManager.GetObject("PortScan_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -863,7 +863,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Properties { + internal static System.Drawing.Bitmap Properties { get { object obj = ResourceManager.GetObject("Properties", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -873,7 +873,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Properties_Default { + internal static System.Drawing.Bitmap Properties_Default { get { object obj = ResourceManager.GetObject("Properties_Default", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -883,7 +883,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap puttycm { + internal static System.Drawing.Bitmap puttycm { get { object obj = ResourceManager.GetObject("puttycm", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -893,7 +893,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap PuttyConfig { + internal static System.Drawing.Bitmap PuttyConfig { get { object obj = ResourceManager.GetObject("PuttyConfig", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -903,7 +903,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap PuttySessions { + internal static System.Drawing.Bitmap PuttySessions { get { object obj = ResourceManager.GetObject("PuttySessions", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -913,7 +913,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Quit { + internal static System.Drawing.Bitmap Quit { get { object obj = ResourceManager.GetObject("Quit", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -923,7 +923,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon RDCMan_Icon { + internal static System.Drawing.Icon RDCMan_Icon { get { object obj = ResourceManager.GetObject("RDCMan_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -933,7 +933,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap RDP { + internal static System.Drawing.Bitmap RDP { get { object obj = ResourceManager.GetObject("RDP", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -943,7 +943,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Refresh { + internal static System.Drawing.Bitmap Refresh { get { object obj = ResourceManager.GetObject("Refresh", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -953,7 +953,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Rename { + internal static System.Drawing.Bitmap Rename { get { object obj = ResourceManager.GetObject("Rename", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -963,7 +963,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Root { + internal static System.Drawing.Bitmap Root { get { object obj = ResourceManager.GetObject("Root", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -973,7 +973,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon Root_Icon { + internal static System.Drawing.Icon Root_Icon { get { object obj = ResourceManager.GetObject("Root_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -983,7 +983,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Save { + internal static System.Drawing.Bitmap Save { get { object obj = ResourceManager.GetObject("Save", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -993,7 +993,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon Save_Icon { + internal static System.Drawing.Icon Save_Icon { get { object obj = ResourceManager.GetObject("Save_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -1003,7 +1003,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Screenshot { + internal static System.Drawing.Bitmap Screenshot { get { object obj = ResourceManager.GetObject("Screenshot", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -1013,7 +1013,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Screenshot_Add { + internal static System.Drawing.Bitmap Screenshot_Add { get { object obj = ResourceManager.GetObject("Screenshot_Add", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -1023,7 +1023,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Screenshot_Copy { + internal static System.Drawing.Bitmap Screenshot_Copy { get { object obj = ResourceManager.GetObject("Screenshot_Copy", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -1033,7 +1033,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Screenshot_Delete { + internal static System.Drawing.Bitmap Screenshot_Delete { get { object obj = ResourceManager.GetObject("Screenshot_Delete", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -1043,7 +1043,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon Screenshot_Icon { + internal static System.Drawing.Icon Screenshot_Icon { get { object obj = ResourceManager.GetObject("Screenshot_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -1053,7 +1053,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Screenshot_Save { + internal static System.Drawing.Bitmap Screenshot_Save { get { object obj = ResourceManager.GetObject("Screenshot_Save", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -1063,7 +1063,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Search { + internal static System.Drawing.Bitmap Search { get { object obj = ResourceManager.GetObject("Search", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -1073,7 +1073,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Session_LogOff { + internal static System.Drawing.Bitmap Session_LogOff { get { object obj = ResourceManager.GetObject("Session_LogOff", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -1083,7 +1083,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Sessions { + internal static System.Drawing.Bitmap Sessions { get { object obj = ResourceManager.GetObject("Sessions", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -1093,7 +1093,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon Sessions_Icon { + internal static System.Drawing.Icon Sessions_Icon { get { object obj = ResourceManager.GetObject("Sessions_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -1103,7 +1103,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap SmartSize { + internal static System.Drawing.Bitmap SmartSize { get { object obj = ResourceManager.GetObject("SmartSize", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -1113,7 +1113,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Sort_AZ { + internal static System.Drawing.Bitmap Sort_AZ { get { object obj = ResourceManager.GetObject("Sort_AZ", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -1123,7 +1123,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Sort_ZA { + internal static System.Drawing.Bitmap Sort_ZA { get { object obj = ResourceManager.GetObject("Sort_ZA", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -1133,7 +1133,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap SSHTransfer { + internal static System.Drawing.Bitmap SSHTransfer { get { object obj = ResourceManager.GetObject("SSHTransfer", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -1143,7 +1143,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon SSHTransfer_Icon { + internal static System.Drawing.Icon SSHTransfer_Icon { get { object obj = ResourceManager.GetObject("SSHTransfer_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -1153,7 +1153,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon StartupExit_Icon { + internal static System.Drawing.Icon StartupExit_Icon { get { object obj = ResourceManager.GetObject("StartupExit_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -1163,7 +1163,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon Tab_Icon { + internal static System.Drawing.Icon Tab_Icon { get { object obj = ResourceManager.GetObject("Tab_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -1173,7 +1173,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Tools { + internal static System.Drawing.Bitmap Tools { get { object obj = ResourceManager.GetObject("Tools", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -1183,7 +1183,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Update { + internal static System.Drawing.Bitmap Update { get { object obj = ResourceManager.GetObject("Update", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -1193,7 +1193,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon Update_Icon { + internal static System.Drawing.Icon Update_Icon { get { object obj = ResourceManager.GetObject("Update_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -1203,7 +1203,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap user_comment { + internal static System.Drawing.Bitmap user_comment { get { object obj = ResourceManager.GetObject("user_comment", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -1213,7 +1213,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap UVNC_SC { + internal static System.Drawing.Bitmap UVNC_SC { get { object obj = ResourceManager.GetObject("UVNC_SC", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -1223,7 +1223,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// - public static System.Drawing.Icon UVNC_SC_Icon { + internal static System.Drawing.Icon UVNC_SC_Icon { get { object obj = ResourceManager.GetObject("UVNC_SC_Icon", resourceCulture); return ((System.Drawing.Icon)(obj)); @@ -1233,7 +1233,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap View { + internal static System.Drawing.Bitmap View { get { object obj = ResourceManager.GetObject("View", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -1243,7 +1243,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Warning { + internal static System.Drawing.Bitmap Warning { get { object obj = ResourceManager.GetObject("Warning", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -1253,7 +1253,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap WarningSmall { + internal static System.Drawing.Bitmap WarningSmall { get { object obj = ResourceManager.GetObject("WarningSmall", resourceCulture); return ((System.Drawing.Bitmap)(obj)); @@ -1263,7 +1263,7 @@ namespace My { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - public static System.Drawing.Bitmap Website { + internal static System.Drawing.Bitmap Website { get { object obj = ResourceManager.GetObject("Website", resourceCulture); return ((System.Drawing.Bitmap)(obj)); diff --git a/mRemoteV1/CS/Properties/Settings.Designer.cs b/mRemoteV1/CS/Properties/Settings.Designer.cs index cd5dfa60b..e4209766f 100644 --- a/mRemoteV1/CS/Properties/Settings.Designer.cs +++ b/mRemoteV1/CS/Properties/Settings.Designer.cs @@ -1,2936 +1,2487 @@ -// VBConversions Note: VB project level imports -using System.Collections.Generic; -using System; -using AxWFICALib; -using System.Drawing; -using System.Diagnostics; -using System.Data; -using AxMSTSCLib; -using Microsoft.VisualBasic; -using System.Collections; -using System.Windows.Forms; -// End of VB project level imports - -using System.Threading; - -//------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.1008 +// Runtime Version:4.0.30319.34209 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ - - -namespace mRemoteNG -{ - namespace My - { - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute(), - global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0"), - global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase - { - - private static Settings defaultInstance = (My.Settings) (global::System.Configuration.ApplicationSettingsBase.Synchronized(new My.Settings())); - -#region My.Settings Auto-Save Functionality -#if _MyType - private static bool addedHandler; - - private static object addedHandlerLockObject = new object(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute(), global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]private static void AutoSaveSettings(global::System.Object sender, global::System.EventArgs e) - { - if ((new Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase()).SaveMySettingsOnExit) - { - My.Settings.Default.Save(); - } - } -#endif -#endregion - -public static Settings Default - { - get - { - -#if _MyType - if (!addedHandler) - { - lock(addedHandlerLockObject) - { - if (!addedHandler) - { - (new Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase).Shutdown += AutoSaveSettings; - addedHandler = true; - } - } - } -#endif - return defaultInstance; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute()]public global::System.Drawing.Point MainFormLocation - { - get - { - return ((global::System.Drawing.Point) (this["MainFormLocation"])); - } - set - { - this["MainFormLocation"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute()]public global::System.Drawing.Size MainFormSize - { - get - { - return ((global::System.Drawing.Size) (this["MainFormSize"])); - } - set - { - this["MainFormSize"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("Normal")]public global::System.Windows.Forms.FormWindowState MainFormState - { - get - { - return ((global::System.Windows.Forms.FormWindowState) (this["MainFormState"])); - } - set - { - this["MainFormState"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool MainFormKiosk - { - get - { - return System.Convert.ToBoolean(this["MainFormKiosk"]); - } - set - { - this["MainFormKiosk"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("True")]public bool DoUpgrade - { - get - { - return System.Convert.ToBoolean(this["DoUpgrade"]); - } - set - { - this["DoUpgrade"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string CustomPuttyPath - { - get - { - return System.Convert.ToString(this["CustomPuttyPath"]); - } - set - { - this["CustomPuttyPath"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("True")]public bool ShowNoMessageBoxes - { - get - { - return System.Convert.ToBoolean(this["ShowNoMessageBoxes"]); - } - set - { - this["ShowNoMessageBoxes"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("True")]public bool SwitchToMCOnInformation - { - get - { - return System.Convert.ToBoolean(this["SwitchToMCOnInformation"]); - } - set - { - this["SwitchToMCOnInformation"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("True")]public bool SwitchToMCOnWarning - { - get - { - return System.Convert.ToBoolean(this["SwitchToMCOnWarning"]); - } - set - { - this["SwitchToMCOnWarning"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("True")]public bool SwitchToMCOnError - { - get - { - return System.Convert.ToBoolean(this["SwitchToMCOnError"]); - } - set - { - this["SwitchToMCOnError"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool AutomaticallyGetSessionInfo - { - get - { - return System.Convert.ToBoolean(this["AutomaticallyGetSessionInfo"]); - } - set - { - this["AutomaticallyGetSessionInfo"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool LoadConsFromCustomLocation - { - get - { - return System.Convert.ToBoolean(this["LoadConsFromCustomLocation"]); - } - set - { - this["LoadConsFromCustomLocation"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string CustomConsPath - { - get - { - return System.Convert.ToString(this["CustomConsPath"]); - } - set - { - this["CustomConsPath"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("True")]public bool SaveConsOnExit - { - get - { - return System.Convert.ToBoolean(this["SaveConsOnExit"]); - } - set - { - this["SaveConsOnExit"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("True")]public bool CheckForUpdatesOnStartup - { - get - { - return System.Convert.ToBoolean(this["CheckForUpdatesOnStartup"]); - } - set - { - this["CheckForUpdatesOnStartup"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool ShowDescriptionTooltipsInTree - { - get - { - return System.Convert.ToBoolean(this["ShowDescriptionTooltipsInTree"]); - } - set - { - this["ShowDescriptionTooltipsInTree"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool ShowSystemTrayIcon - { - get - { - return System.Convert.ToBoolean(this["ShowSystemTrayIcon"]); - } - set - { - this["ShowSystemTrayIcon"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("True")]public bool OpenTabsRightOfSelected - { - get - { - return System.Convert.ToBoolean(this["OpenTabsRightOfSelected"]); - } - set - { - this["OpenTabsRightOfSelected"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool ShowLogonInfoOnTabs - { - get - { - return System.Convert.ToBoolean(this["ShowLogonInfoOnTabs"]); - } - set - { - this["ShowLogonInfoOnTabs"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool SingleClickOnConnectionOpensIt - { - get - { - return System.Convert.ToBoolean(this["SingleClickOnConnectionOpensIt"]); - } - set - { - this["SingleClickOnConnectionOpensIt"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("noinfo")]public string EmptyCredentials - { - get - { - return System.Convert.ToString(this["EmptyCredentials"]); - } - set - { - this["EmptyCredentials"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string DefaultUsername - { - get - { - return System.Convert.ToString(this["DefaultUsername"]); - } - set - { - this["DefaultUsername"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string DefaultPassword - { - get - { - return System.Convert.ToString(this["DefaultPassword"]); - } - set - { - this["DefaultPassword"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string DefaultDomain - { - get - { - return System.Convert.ToString(this["DefaultDomain"]); - } - set - { - this["DefaultDomain"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool WriteLogFile - { - get - { - return System.Convert.ToBoolean(this["WriteLogFile"]); - } - set - { - this["WriteLogFile"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool UseCustomPuttyPath - { - get - { - return System.Convert.ToBoolean(this["UseCustomPuttyPath"]); - } - set - { - this["UseCustomPuttyPath"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool ShowCompleteConsPathInTitle - { - get - { - return System.Convert.ToBoolean(this["ShowCompleteConsPathInTitle"]); - } - set - { - this["ShowCompleteConsPathInTitle"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("True")]public bool FirstStart - { - get - { - return System.Convert.ToBoolean(this["FirstStart"]); - } - set - { - this["FirstStart"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool ShowProtocolOnTabs - { - get - { - return System.Convert.ToBoolean(this["ShowProtocolOnTabs"]); - } - set - { - this["ShowProtocolOnTabs"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool ResetPanels - { - get - { - return System.Convert.ToBoolean(this["ResetPanels"]); - } - set - { - this["ResetPanels"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool UpdateUseProxy - { - get - { - return System.Convert.ToBoolean(this["UpdateUseProxy"]); - } - set - { - this["UpdateUseProxy"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string UpdateProxyAddress - { - get - { - return System.Convert.ToString(this["UpdateProxyAddress"]); - } - set - { - this["UpdateProxyAddress"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("80")]public int UpdateProxyPort - { - get - { - return System.Convert.ToInt32(this["UpdateProxyPort"]); - } - set - { - this["UpdateProxyPort"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool UpdateProxyUseAuthentication - { - get - { - return System.Convert.ToBoolean(this["UpdateProxyUseAuthentication"]); - } - set - { - this["UpdateProxyUseAuthentication"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string UpdateProxyAuthUser - { - get - { - return System.Convert.ToString(this["UpdateProxyAuthUser"]); - } - set - { - this["UpdateProxyAuthUser"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string UpdateProxyAuthPass - { - get - { - return System.Convert.ToString(this["UpdateProxyAuthPass"]); - } - set - { - this["UpdateProxyAuthPass"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string ConDefaultDescription - { - get - { - return System.Convert.ToString(this["ConDefaultDescription"]); - } - set - { - this["ConDefaultDescription"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string ConDefaultUsername - { - get - { - return System.Convert.ToString(this["ConDefaultUsername"]); - } - set - { - this["ConDefaultUsername"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string ConDefaultPassword - { - get - { - return System.Convert.ToString(this["ConDefaultPassword"]); - } - set - { - this["ConDefaultPassword"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string ConDefaultDomain - { - get - { - return System.Convert.ToString(this["ConDefaultDomain"]); - } - set - { - this["ConDefaultDomain"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("RDP")]public string ConDefaultProtocol - { - get - { - return System.Convert.ToString(this["ConDefaultProtocol"]); - } - set - { - this["ConDefaultProtocol"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("Default Settings")]public string ConDefaultPuttySession - { - get - { - return System.Convert.ToString(this["ConDefaultPuttySession"]); - } - set - { - this["ConDefaultPuttySession"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool ConDefaultUseConsoleSession - { - get - { - return System.Convert.ToBoolean(this["ConDefaultUseConsoleSession"]); - } - set - { - this["ConDefaultUseConsoleSession"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("FitToWindow")]public string ConDefaultResolution - { - get - { - return System.Convert.ToString(this["ConDefaultResolution"]); - } - set - { - this["ConDefaultResolution"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("Colors16Bit")]public string ConDefaultColors - { - get - { - return System.Convert.ToString(this["ConDefaultColors"]); - } - set - { - this["ConDefaultColors"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("True")]public bool ConDefaultCacheBitmaps - { - get - { - return System.Convert.ToBoolean(this["ConDefaultCacheBitmaps"]); - } - set - { - this["ConDefaultCacheBitmaps"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool ConDefaultDisplayWallpaper - { - get - { - return System.Convert.ToBoolean(this["ConDefaultDisplayWallpaper"]); - } - set - { - this["ConDefaultDisplayWallpaper"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool ConDefaultDisplayThemes - { - get - { - return System.Convert.ToBoolean(this["ConDefaultDisplayThemes"]); - } - set - { - this["ConDefaultDisplayThemes"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool ConDefaultRedirectKeys - { - get - { - return System.Convert.ToBoolean(this["ConDefaultRedirectKeys"]); - } - set - { - this["ConDefaultRedirectKeys"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool ConDefaultRedirectDiskDrives - { - get - { - return System.Convert.ToBoolean(this["ConDefaultRedirectDiskDrives"]); - } - set - { - this["ConDefaultRedirectDiskDrives"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool ConDefaultRedirectPrinters - { - get - { - return System.Convert.ToBoolean(this["ConDefaultRedirectPrinters"]); - } - set - { - this["ConDefaultRedirectPrinters"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool ConDefaultRedirectPorts - { - get - { - return System.Convert.ToBoolean(this["ConDefaultRedirectPorts"]); - } - set - { - this["ConDefaultRedirectPorts"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool ConDefaultRedirectSmartCards - { - get - { - return System.Convert.ToBoolean(this["ConDefaultRedirectSmartCards"]); - } - set - { - this["ConDefaultRedirectSmartCards"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("DoNotPlay")]public string ConDefaultRedirectSound - { - get - { - return System.Convert.ToString(this["ConDefaultRedirectSound"]); - } - set - { - this["ConDefaultRedirectSound"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("2")]public int MaxPuttyWaitTime - { - get - { - return System.Convert.ToInt32(this["MaxPuttyWaitTime"]); - } - set - { - this["MaxPuttyWaitTime"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool SingleInstance - { - get - { - return System.Convert.ToBoolean(this["SingleInstance"]); - } - set - { - this["SingleInstance"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool OpenConsFromLastSession - { - get - { - return System.Convert.ToBoolean(this["OpenConsFromLastSession"]); - } - set - { - this["OpenConsFromLastSession"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool NoReconnect - { - get - { - return System.Convert.ToBoolean(this["NoReconnect"]); - } - set - { - this["NoReconnect"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("0")]public int AutoSaveEveryMinutes - { - get - { - return System.Convert.ToInt32(this["AutoSaveEveryMinutes"]); - } - set - { - this["AutoSaveEveryMinutes"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool ExtAppsTBVisible - { - get - { - return System.Convert.ToBoolean(this["ExtAppsTBVisible"]); - } - set - { - this["ExtAppsTBVisible"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("True")]public bool ExtAppsTBShowText - { - get - { - return System.Convert.ToBoolean(this["ExtAppsTBShowText"]); - } - set - { - this["ExtAppsTBShowText"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("0, 0")]public global::System.Drawing.Point ExtAppsTBLocation - { - get - { - return ((global::System.Drawing.Point) (this["ExtAppsTBLocation"])); - } - set - { - this["ExtAppsTBLocation"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("Bottom")]public string ExtAppsTBParentDock - { - get - { - return System.Convert.ToString(this["ExtAppsTBParentDock"]); - } - set - { - this["ExtAppsTBParentDock"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("True")]public bool QuickyTBVisible - { - get - { - return System.Convert.ToBoolean(this["QuickyTBVisible"]); - } - set - { - this["QuickyTBVisible"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("3, 24")]public global::System.Drawing.Point QuickyTBLocation - { - get - { - return ((global::System.Drawing.Point) (this["QuickyTBLocation"])); - } - set - { - this["QuickyTBLocation"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("Top")]public string QuickyTBParentDock - { - get - { - return System.Convert.ToString(this["QuickyTBParentDock"]); - } - set - { - this["QuickyTBParentDock"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool ResetToolbars - { - get - { - return System.Convert.ToBoolean(this["ResetToolbars"]); - } - set - { - this["ResetToolbars"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool UseSQLServer - { - get - { - return System.Convert.ToBoolean(this["UseSQLServer"]); - } - set - { - this["UseSQLServer"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string SQLHost - { - get - { - return System.Convert.ToString(this["SQLHost"]); - } - set - { - this["SQLHost"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string SQLUser - { - get - { - return System.Convert.ToString(this["SQLUser"]); - } - set - { - this["SQLUser"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string SQLPass - { - get - { - return System.Convert.ToString(this["SQLPass"]); - } - set - { - this["SQLPass"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultCacheBitmaps - { - get - { - return System.Convert.ToBoolean(this["InhDefaultCacheBitmaps"]); - } - set - { - this["InhDefaultCacheBitmaps"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultColors - { - get - { - return System.Convert.ToBoolean(this["InhDefaultColors"]); - } - set - { - this["InhDefaultColors"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultDescription - { - get - { - return System.Convert.ToBoolean(this["InhDefaultDescription"]); - } - set - { - this["InhDefaultDescription"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultDisplayThemes - { - get - { - return System.Convert.ToBoolean(this["InhDefaultDisplayThemes"]); - } - set - { - this["InhDefaultDisplayThemes"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultDisplayWallpaper - { - get - { - return System.Convert.ToBoolean(this["InhDefaultDisplayWallpaper"]); - } - set - { - this["InhDefaultDisplayWallpaper"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultDomain - { - get - { - return System.Convert.ToBoolean(this["InhDefaultDomain"]); - } - set - { - this["InhDefaultDomain"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultIcon - { - get - { - return System.Convert.ToBoolean(this["InhDefaultIcon"]); - } - set - { - this["InhDefaultIcon"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultPassword - { - get - { - return System.Convert.ToBoolean(this["InhDefaultPassword"]); - } - set - { - this["InhDefaultPassword"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultPort - { - get - { - return System.Convert.ToBoolean(this["InhDefaultPort"]); - } - set - { - this["InhDefaultPort"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultProtocol - { - get - { - return System.Convert.ToBoolean(this["InhDefaultProtocol"]); - } - set - { - this["InhDefaultProtocol"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultPuttySession - { - get - { - return System.Convert.ToBoolean(this["InhDefaultPuttySession"]); - } - set - { - this["InhDefaultPuttySession"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultRedirectDiskDrives - { - get - { - return System.Convert.ToBoolean(this["InhDefaultRedirectDiskDrives"]); - } - set - { - this["InhDefaultRedirectDiskDrives"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultRedirectKeys - { - get - { - return System.Convert.ToBoolean(this["InhDefaultRedirectKeys"]); - } - set - { - this["InhDefaultRedirectKeys"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultRedirectPorts - { - get - { - return System.Convert.ToBoolean(this["InhDefaultRedirectPorts"]); - } - set - { - this["InhDefaultRedirectPorts"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultRedirectPrinters - { - get - { - return System.Convert.ToBoolean(this["InhDefaultRedirectPrinters"]); - } - set - { - this["InhDefaultRedirectPrinters"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultRedirectSmartCards - { - get - { - return System.Convert.ToBoolean(this["InhDefaultRedirectSmartCards"]); - } - set - { - this["InhDefaultRedirectSmartCards"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultRedirectSound - { - get - { - return System.Convert.ToBoolean(this["InhDefaultRedirectSound"]); - } - set - { - this["InhDefaultRedirectSound"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultResolution - { - get - { - return System.Convert.ToBoolean(this["InhDefaultResolution"]); - } - set - { - this["InhDefaultResolution"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultUseConsoleSession - { - get - { - return System.Convert.ToBoolean(this["InhDefaultUseConsoleSession"]); - } - set - { - this["InhDefaultUseConsoleSession"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultUsername - { - get - { - return System.Convert.ToBoolean(this["InhDefaultUsername"]); - } - set - { - this["InhDefaultUsername"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultPanel - { - get - { - return System.Convert.ToBoolean(this["InhDefaultPanel"]); - } - set - { - this["InhDefaultPanel"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("EncrBasic")]public string ConDefaultICAEncryptionStrength - { - get - { - return System.Convert.ToString(this["ConDefaultICAEncryptionStrength"]); - } - set - { - this["ConDefaultICAEncryptionStrength"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultICAEncryptionStrength - { - get - { - return System.Convert.ToBoolean(this["InhDefaultICAEncryptionStrength"]); - } - set - { - this["InhDefaultICAEncryptionStrength"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string ConDefaultPreExtApp - { - get - { - return System.Convert.ToString(this["ConDefaultPreExtApp"]); - } - set - { - this["ConDefaultPreExtApp"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string ConDefaultPostExtApp - { - get - { - return System.Convert.ToString(this["ConDefaultPostExtApp"]); - } - set - { - this["ConDefaultPostExtApp"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultPreExtApp - { - get - { - return System.Convert.ToBoolean(this["InhDefaultPreExtApp"]); - } - set - { - this["InhDefaultPreExtApp"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultPostExtApp - { - get - { - return System.Convert.ToBoolean(this["InhDefaultPostExtApp"]); - } - set - { - this["InhDefaultPostExtApp"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool SetHostnameLikeDisplayName - { - get - { - return System.Convert.ToBoolean(this["SetHostnameLikeDisplayName"]); - } - set - { - this["SetHostnameLikeDisplayName"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("True")]public bool DoubleClickOnTabClosesIt - { - get - { - return System.Convert.ToBoolean(this["DoubleClickOnTabClosesIt"]); - } - set - { - this["DoubleClickOnTabClosesIt"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool ReconnectOnDisconnect - { - get - { - return System.Convert.ToBoolean(this["ReconnectOnDisconnect"]); - } - set - { - this["ReconnectOnDisconnect"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool AlwaysShowPanelSelectionDlg - { - get - { - return System.Convert.ToBoolean(this["AlwaysShowPanelSelectionDlg"]); - } - set - { - this["AlwaysShowPanelSelectionDlg"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("AuthVNC")]public string ConDefaultVNCAuthMode - { - get - { - return System.Convert.ToString(this["ConDefaultVNCAuthMode"]); - } - set - { - this["ConDefaultVNCAuthMode"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("ColNormal")]public string ConDefaultVNCColors - { - get - { - return System.Convert.ToString(this["ConDefaultVNCColors"]); - } - set - { - this["ConDefaultVNCColors"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("SmartSAspect")]public string ConDefaultVNCSmartSizeMode - { - get - { - return System.Convert.ToString(this["ConDefaultVNCSmartSizeMode"]); - } - set - { - this["ConDefaultVNCSmartSizeMode"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool ConDefaultVNCViewOnly - { - get - { - return System.Convert.ToBoolean(this["ConDefaultVNCViewOnly"]); - } - set - { - this["ConDefaultVNCViewOnly"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("CompNone")]public string ConDefaultVNCCompression - { - get - { - return System.Convert.ToString(this["ConDefaultVNCCompression"]); - } - set - { - this["ConDefaultVNCCompression"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("EncHextile")]public string ConDefaultVNCEncoding - { - get - { - return System.Convert.ToString(this["ConDefaultVNCEncoding"]); - } - set - { - this["ConDefaultVNCEncoding"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string ConDefaultVNCProxyIP - { - get - { - return System.Convert.ToString(this["ConDefaultVNCProxyIP"]); - } - set - { - this["ConDefaultVNCProxyIP"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string ConDefaultVNCProxyPassword - { - get - { - return System.Convert.ToString(this["ConDefaultVNCProxyPassword"]); - } - set - { - this["ConDefaultVNCProxyPassword"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("0")]public int ConDefaultVNCProxyPort - { - get - { - return System.Convert.ToInt32(this["ConDefaultVNCProxyPort"]); - } - set - { - this["ConDefaultVNCProxyPort"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("ProxyNone")]public string ConDefaultVNCProxyType - { - get - { - return System.Convert.ToString(this["ConDefaultVNCProxyType"]); - } - set - { - this["ConDefaultVNCProxyType"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string ConDefaultVNCProxyUsername - { - get - { - return System.Convert.ToString(this["ConDefaultVNCProxyUsername"]); - } - set - { - this["ConDefaultVNCProxyUsername"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultVNCAuthMode - { - get - { - return System.Convert.ToBoolean(this["InhDefaultVNCAuthMode"]); - } - set - { - this["InhDefaultVNCAuthMode"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultVNCColors - { - get - { - return System.Convert.ToBoolean(this["InhDefaultVNCColors"]); - } - set - { - this["InhDefaultVNCColors"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultVNCSmartSizeMode - { - get - { - return System.Convert.ToBoolean(this["InhDefaultVNCSmartSizeMode"]); - } - set - { - this["InhDefaultVNCSmartSizeMode"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultVNCViewOnly - { - get - { - return System.Convert.ToBoolean(this["InhDefaultVNCViewOnly"]); - } - set - { - this["InhDefaultVNCViewOnly"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultVNCCompression - { - get - { - return System.Convert.ToBoolean(this["InhDefaultVNCCompression"]); - } - set - { - this["InhDefaultVNCCompression"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultVNCEncoding - { - get - { - return System.Convert.ToBoolean(this["InhDefaultVNCEncoding"]); - } - set - { - this["InhDefaultVNCEncoding"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultVNCProxyIP - { - get - { - return System.Convert.ToBoolean(this["InhDefaultVNCProxyIP"]); - } - set - { - this["InhDefaultVNCProxyIP"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultVNCProxyPassword - { - get - { - return System.Convert.ToBoolean(this["InhDefaultVNCProxyPassword"]); - } - set - { - this["InhDefaultVNCProxyPassword"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultVNCProxyPort - { - get - { - return System.Convert.ToBoolean(this["InhDefaultVNCProxyPort"]); - } - set - { - this["InhDefaultVNCProxyPort"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultVNCProxyType - { - get - { - return System.Convert.ToBoolean(this["InhDefaultVNCProxyType"]); - } - set - { - this["InhDefaultVNCProxyType"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultVNCProxyUsername - { - get - { - return System.Convert.ToBoolean(this["InhDefaultVNCProxyUsername"]); - } - set - { - this["InhDefaultVNCProxyUsername"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool MinimizeToTray - { - get - { - return System.Convert.ToBoolean(this["MinimizeToTray"]); - } - set - { - this["MinimizeToTray"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool SingleClickSwitchesToOpenConnection - { - get - { - return System.Convert.ToBoolean(this["SingleClickSwitchesToOpenConnection"]); - } - set - { - this["SingleClickSwitchesToOpenConnection"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("NoAuth")]public string ConDefaultRDPAuthenticationLevel - { - get - { - return System.Convert.ToString(this["ConDefaultRDPAuthenticationLevel"]); - } - set - { - this["ConDefaultRDPAuthenticationLevel"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultRDPAuthenticationLevel - { - get - { - return System.Convert.ToBoolean(this["InhDefaultRDPAuthenticationLevel"]); - } - set - { - this["InhDefaultRDPAuthenticationLevel"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("5500")]public int UVNCSCPort - { - get - { - return System.Convert.ToInt32(this["UVNCSCPort"]); - } - set - { - this["UVNCSCPort"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool StartupComponentsCheck - { - get - { - return System.Convert.ToBoolean(this["StartupComponentsCheck"]); - } - set - { - this["StartupComponentsCheck"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string XULRunnerPath - { - get - { - return System.Convert.ToString(this["XULRunnerPath"]); - } - set - { - this["XULRunnerPath"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("IE")]public string ConDefaultRenderingEngine - { - get - { - return System.Convert.ToString(this["ConDefaultRenderingEngine"]); - } - set - { - this["ConDefaultRenderingEngine"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultRenderingEngine - { - get - { - return System.Convert.ToBoolean(this["InhDefaultRenderingEngine"]); - } - set - { - this["InhDefaultRenderingEngine"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string ConDefaultMacAddress - { - get - { - return System.Convert.ToString(this["ConDefaultMacAddress"]); - } - set - { - this["ConDefaultMacAddress"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultMacAddress - { - get - { - return System.Convert.ToBoolean(this["InhDefaultMacAddress"]); - } - set - { - this["InhDefaultMacAddress"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool EncryptCompleteConnectionsFile - { - get - { - return System.Convert.ToBoolean(this["EncryptCompleteConnectionsFile"]); - } - set - { - this["EncryptCompleteConnectionsFile"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string ConDefaultUserField - { - get - { - return System.Convert.ToString(this["ConDefaultUserField"]); - } - set - { - this["ConDefaultUserField"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultUserField - { - get - { - return System.Convert.ToBoolean(this["InhDefaultUserField"]); - } - set - { - this["InhDefaultUserField"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string ConDefaultExtApp - { - get - { - return System.Convert.ToString(this["ConDefaultExtApp"]); - } - set - { - this["ConDefaultExtApp"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultExtApp - { - get - { - return System.Convert.ToBoolean(this["InhDefaultExtApp"]); - } - set - { - this["InhDefaultExtApp"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string LastAnnouncement - { - get - { - return System.Convert.ToString(this["LastAnnouncement"]); - } - set - { - this["LastAnnouncement"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool CheckForUpdatesAsked - { - get - { - return System.Convert.ToBoolean(this["CheckForUpdatesAsked"]); - } - set - { - this["CheckForUpdatesAsked"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("7")]public int CheckForUpdatesFrequencyDays - { - get - { - return System.Convert.ToInt32(this["CheckForUpdatesFrequencyDays"]); - } - set - { - this["CheckForUpdatesFrequencyDays"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("1980-01-01")]public DateTime CheckForUpdatesLastCheck - { - get - { - return System.Convert.ToDateTime(this["CheckForUpdatesLastCheck"]); - } - set - { - this["CheckForUpdatesLastCheck"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool UpdatePending - { - get - { - return System.Convert.ToBoolean(this["UpdatePending"]); - } - set - { - this["UpdatePending"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("Never")]public string ConDefaultRDGatewayUsageMethod - { - get - { - return System.Convert.ToString(this["ConDefaultRDGatewayUsageMethod"]); - } - set - { - this["ConDefaultRDGatewayUsageMethod"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("Yes")]public string ConDefaultRDGatewayUseConnectionCredentials - { - get - { - return System.Convert.ToString(this["ConDefaultRDGatewayUseConnectionCredentials"]); - } - set - { - this["ConDefaultRDGatewayUseConnectionCredentials"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("mRemoteNG")]public string ConDefaultIcon - { - get - { - return System.Convert.ToString(this["ConDefaultIcon"]); - } - set - { - this["ConDefaultIcon"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultRDGatewayUsageMethod - { - get - { - return System.Convert.ToBoolean(this["InhDefaultRDGatewayUsageMethod"]); - } - set - { - this["InhDefaultRDGatewayUsageMethod"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultRDGatewayHostname - { - get - { - return System.Convert.ToBoolean(this["InhDefaultRDGatewayHostname"]); - } - set - { - this["InhDefaultRDGatewayHostname"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultRDGatewayUsername - { - get - { - return System.Convert.ToBoolean(this["InhDefaultRDGatewayUsername"]); - } - set - { - this["InhDefaultRDGatewayUsername"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultRDGatewayPassword - { - get - { - return System.Convert.ToBoolean(this["InhDefaultRDGatewayPassword"]); - } - set - { - this["InhDefaultRDGatewayPassword"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultRDGatewayDomain - { - get - { - return System.Convert.ToBoolean(this["InhDefaultRDGatewayDomain"]); - } - set - { - this["InhDefaultRDGatewayDomain"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultRDGatewayUseConnectionCredentials - { - get - { - return System.Convert.ToBoolean(this["InhDefaultRDGatewayUseConnectionCredentials"]); - } - set - { - this["InhDefaultRDGatewayUseConnectionCredentials"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("5")]public int RdpReconnectionCount - { - get - { - return System.Convert.ToInt32(this["RdpReconnectionCount"]); - } - set - { - this["RdpReconnectionCount"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string OverrideUICulture - { - get - { - return System.Convert.ToString(this["OverrideUICulture"]); - } - set - { - this["OverrideUICulture"] = value; - } - } - -[global::System.Configuration.ApplicationScopedSettingAttribute(), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("de,el,en,en-US,es-AR,es,fr,hu,it,nb-NO,nl,pt,pt-BR,pl,ru,uk,zh-CN,zh-TW")]public string SupportedUICultures - { - get - { - return System.Convert.ToString(this["SupportedUICultures"]); - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string ConDefaultRDGatewayHostname - { - get - { - return System.Convert.ToString(this["ConDefaultRDGatewayHostname"]); - } - set - { - this["ConDefaultRDGatewayHostname"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string ConDefaultRDGatewayUsername - { - get - { - return System.Convert.ToString(this["ConDefaultRDGatewayUsername"]); - } - set - { - this["ConDefaultRDGatewayUsername"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string ConDefaultRDGatewayPassword - { - get - { - return System.Convert.ToString(this["ConDefaultRDGatewayPassword"]); - } - set - { - this["ConDefaultRDGatewayPassword"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string ConDefaultRDGatewayDomain - { - get - { - return System.Convert.ToString(this["ConDefaultRDGatewayDomain"]); - } - set - { - this["ConDefaultRDGatewayDomain"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool ConDefaultEnableFontSmoothing - { - get - { - return System.Convert.ToBoolean(this["ConDefaultEnableFontSmoothing"]); - } - set - { - this["ConDefaultEnableFontSmoothing"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultEnableFontSmoothing - { - get - { - return System.Convert.ToBoolean(this["InhDefaultEnableFontSmoothing"]); - } - set - { - this["InhDefaultEnableFontSmoothing"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool ConDefaultEnableDesktopComposition - { - get - { - return System.Convert.ToBoolean(this["ConDefaultEnableDesktopComposition"]); - } - set - { - this["ConDefaultEnableDesktopComposition"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultEnableDesktopComposition - { - get - { - return System.Convert.ToBoolean(this["InhDefaultEnableDesktopComposition"]); - } - set - { - this["InhDefaultEnableDesktopComposition"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("4")]public int ConfirmCloseConnection - { - get - { - return System.Convert.ToInt32(this["ConfirmCloseConnection"]); - } - set - { - this["ConfirmCloseConnection"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute()]public global::System.Drawing.Size MainFormRestoreSize - { - get - { - return ((global::System.Drawing.Size) (this["MainFormRestoreSize"])); - } - set - { - this["MainFormRestoreSize"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute()]public global::System.Drawing.Point MainFormRestoreLocation - { - get - { - return ((global::System.Drawing.Point) (this["MainFormRestoreLocation"])); - } - set - { - this["MainFormRestoreLocation"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("mRemoteNG")]public string SQLDatabaseName - { - get - { - return System.Convert.ToString(this["SQLDatabaseName"]); - } - set - { - this["SQLDatabaseName"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("10"), -global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]public int BackupFileKeepCount - { - get - { - return System.Convert.ToInt32(this["BackupFileKeepCount"]); - } - set - { - this["BackupFileKeepCount"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("{0}.{1:yyyyMMdd-HHmmssffff}.backup"), -global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]public string BackupFileNameFormat - { - get - { - return System.Convert.ToString(this["BackupFileNameFormat"]); - } - set - { - this["BackupFileNameFormat"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultUseCredSsp - { - get - { - return System.Convert.ToBoolean(this["InhDefaultUseCredSsp"]); - } - set - { - this["InhDefaultUseCredSsp"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("True")]public bool ConDefaultUseCredSsp - { - get - { - return System.Convert.ToBoolean(this["ConDefaultUseCredSsp"]); - } - set - { - this["ConDefaultUseCredSsp"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False"), -global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]public bool AlwaysShowPanelTabs - { - get - { - return System.Convert.ToBoolean(this["AlwaysShowPanelTabs"]); - } - set - { - this["AlwaysShowPanelTabs"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False"), -global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]public bool IdentifyQuickConnectTabs - { - get - { - return System.Convert.ToBoolean(this["IdentifyQuickConnectTabs"]); - } - set - { - this["IdentifyQuickConnectTabs"] = value; - } - } - -[global::System.Configuration.ApplicationScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("release")]public string UpdateChannel - { - get - { - return System.Convert.ToString(this["UpdateChannel"]); - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string ThemeName - { - get - { - return System.Convert.ToString(this["ThemeName"]); - } - set - { - this["ThemeName"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("True")]public bool ShowConfigHelpText - { - get - { - return System.Convert.ToBoolean(this["ShowConfigHelpText"]); - } - set - { - this["ShowConfigHelpText"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string PuttySavedSessionsName - { - get - { - return System.Convert.ToString(this["PuttySavedSessionsName"]); - } - set - { - this["PuttySavedSessionsName"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string PuttySavedSessionsPanel - { - get - { - return System.Convert.ToString(this["PuttySavedSessionsPanel"]); - } - set - { - this["PuttySavedSessionsPanel"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("True")]public bool CompatibilityWarnLenovoAutoScrollUtility - { - get - { - return System.Convert.ToBoolean(this["CompatibilityWarnLenovoAutoScrollUtility"]); - } - set - { - this["CompatibilityWarnLenovoAutoScrollUtility"] = value; - } - } - -[global::System.Configuration.ApplicationScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("https://update.mremoteng.org/announcement.txt")]public string AnnouncementAddress - { - get - { - return System.Convert.ToString(this["AnnouncementAddress"]); - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("https://update.mremoteng.org/")]public string UpdateAddress - { - get - { - return System.Convert.ToString(this["UpdateAddress"]); - } - set - { - this["UpdateAddress"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("")]public string ConDefaultLoadBalanceInfo - { - get - { - return System.Convert.ToString(this["ConDefaultLoadBalanceInfo"]); - } - set - { - this["ConDefaultLoadBalanceInfo"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("True")]public bool ConDefaultAutomaticResize - { - get - { - return System.Convert.ToBoolean(this["ConDefaultAutomaticResize"]); - } - set - { - this["ConDefaultAutomaticResize"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultLoadBalanceInfo - { - get - { - return System.Convert.ToBoolean(this["InhDefaultLoadBalanceInfo"]); - } - set - { - this["InhDefaultLoadBalanceInfo"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("False")]public bool InhDefaultAutomaticResize - { - get - { - return System.Convert.ToBoolean(this["InhDefaultAutomaticResize"]); - } - set - { - this["InhDefaultAutomaticResize"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("RDP"), -global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]public string QuickConnectProtocol - { - get - { - return System.Convert.ToString(this["QuickConnectProtocol"]); - } - set - { - this["QuickConnectProtocol"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("9/9, 33/8"), -global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]public string KeysPreviousTab - { - get - { - return System.Convert.ToString(this["KeysPreviousTab"]); - } - set - { - this["KeysPreviousTab"] = value; - } - } - -[global::System.Configuration.UserScopedSettingAttribute(), -global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider)), -global::System.Diagnostics.DebuggerNonUserCodeAttribute(), -global::System.Configuration.DefaultSettingValueAttribute("9/8, 34/8"), -global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]public string KeysNextTab - { - get - { - return System.Convert.ToString(this["KeysNextTab"]); - } - set - { - this["KeysNextTab"] = value; - } - } - } - } - - namespace My - { - - [global::Microsoft.VisualBasic.HideModuleNameAttribute(), - global::System.Diagnostics.DebuggerNonUserCodeAttribute(), - global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]internal sealed class MySettingsProperty - { - -[global::System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")]internal static global::mRemoteNG.My.Settings Settings - { - get - { - return global::mRemoteNG.My.Settings.Default; - } - } - } - } - +namespace mRemoteNG.My { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Drawing.Point MainFormLocation { + get { + return ((global::System.Drawing.Point)(this["MainFormLocation"])); + } + set { + this["MainFormLocation"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Drawing.Size MainFormSize { + get { + return ((global::System.Drawing.Size)(this["MainFormSize"])); + } + set { + this["MainFormSize"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Normal")] + public global::System.Windows.Forms.FormWindowState MainFormState { + get { + return ((global::System.Windows.Forms.FormWindowState)(this["MainFormState"])); + } + set { + this["MainFormState"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool MainFormKiosk { + get { + return ((bool)(this["MainFormKiosk"])); + } + set { + this["MainFormKiosk"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool DoUpgrade { + get { + return ((bool)(this["DoUpgrade"])); + } + set { + this["DoUpgrade"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string CustomPuttyPath { + get { + return ((string)(this["CustomPuttyPath"])); + } + set { + this["CustomPuttyPath"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool ShowNoMessageBoxes { + get { + return ((bool)(this["ShowNoMessageBoxes"])); + } + set { + this["ShowNoMessageBoxes"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool SwitchToMCOnInformation { + get { + return ((bool)(this["SwitchToMCOnInformation"])); + } + set { + this["SwitchToMCOnInformation"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool SwitchToMCOnWarning { + get { + return ((bool)(this["SwitchToMCOnWarning"])); + } + set { + this["SwitchToMCOnWarning"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool SwitchToMCOnError { + get { + return ((bool)(this["SwitchToMCOnError"])); + } + set { + this["SwitchToMCOnError"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool AutomaticallyGetSessionInfo { + get { + return ((bool)(this["AutomaticallyGetSessionInfo"])); + } + set { + this["AutomaticallyGetSessionInfo"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool LoadConsFromCustomLocation { + get { + return ((bool)(this["LoadConsFromCustomLocation"])); + } + set { + this["LoadConsFromCustomLocation"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string CustomConsPath { + get { + return ((string)(this["CustomConsPath"])); + } + set { + this["CustomConsPath"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool SaveConsOnExit { + get { + return ((bool)(this["SaveConsOnExit"])); + } + set { + this["SaveConsOnExit"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool CheckForUpdatesOnStartup { + get { + return ((bool)(this["CheckForUpdatesOnStartup"])); + } + set { + this["CheckForUpdatesOnStartup"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool ShowDescriptionTooltipsInTree { + get { + return ((bool)(this["ShowDescriptionTooltipsInTree"])); + } + set { + this["ShowDescriptionTooltipsInTree"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool ShowSystemTrayIcon { + get { + return ((bool)(this["ShowSystemTrayIcon"])); + } + set { + this["ShowSystemTrayIcon"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool OpenTabsRightOfSelected { + get { + return ((bool)(this["OpenTabsRightOfSelected"])); + } + set { + this["OpenTabsRightOfSelected"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool ShowLogonInfoOnTabs { + get { + return ((bool)(this["ShowLogonInfoOnTabs"])); + } + set { + this["ShowLogonInfoOnTabs"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool SingleClickOnConnectionOpensIt { + get { + return ((bool)(this["SingleClickOnConnectionOpensIt"])); + } + set { + this["SingleClickOnConnectionOpensIt"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("noinfo")] + public string EmptyCredentials { + get { + return ((string)(this["EmptyCredentials"])); + } + set { + this["EmptyCredentials"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string DefaultUsername { + get { + return ((string)(this["DefaultUsername"])); + } + set { + this["DefaultUsername"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string DefaultPassword { + get { + return ((string)(this["DefaultPassword"])); + } + set { + this["DefaultPassword"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string DefaultDomain { + get { + return ((string)(this["DefaultDomain"])); + } + set { + this["DefaultDomain"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool WriteLogFile { + get { + return ((bool)(this["WriteLogFile"])); + } + set { + this["WriteLogFile"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool UseCustomPuttyPath { + get { + return ((bool)(this["UseCustomPuttyPath"])); + } + set { + this["UseCustomPuttyPath"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool ShowCompleteConsPathInTitle { + get { + return ((bool)(this["ShowCompleteConsPathInTitle"])); + } + set { + this["ShowCompleteConsPathInTitle"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool FirstStart { + get { + return ((bool)(this["FirstStart"])); + } + set { + this["FirstStart"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool ShowProtocolOnTabs { + get { + return ((bool)(this["ShowProtocolOnTabs"])); + } + set { + this["ShowProtocolOnTabs"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool ResetPanels { + get { + return ((bool)(this["ResetPanels"])); + } + set { + this["ResetPanels"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool UpdateUseProxy { + get { + return ((bool)(this["UpdateUseProxy"])); + } + set { + this["UpdateUseProxy"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string UpdateProxyAddress { + get { + return ((string)(this["UpdateProxyAddress"])); + } + set { + this["UpdateProxyAddress"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("80")] + public int UpdateProxyPort { + get { + return ((int)(this["UpdateProxyPort"])); + } + set { + this["UpdateProxyPort"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool UpdateProxyUseAuthentication { + get { + return ((bool)(this["UpdateProxyUseAuthentication"])); + } + set { + this["UpdateProxyUseAuthentication"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string UpdateProxyAuthUser { + get { + return ((string)(this["UpdateProxyAuthUser"])); + } + set { + this["UpdateProxyAuthUser"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string UpdateProxyAuthPass { + get { + return ((string)(this["UpdateProxyAuthPass"])); + } + set { + this["UpdateProxyAuthPass"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string ConDefaultDescription { + get { + return ((string)(this["ConDefaultDescription"])); + } + set { + this["ConDefaultDescription"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string ConDefaultUsername { + get { + return ((string)(this["ConDefaultUsername"])); + } + set { + this["ConDefaultUsername"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string ConDefaultPassword { + get { + return ((string)(this["ConDefaultPassword"])); + } + set { + this["ConDefaultPassword"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string ConDefaultDomain { + get { + return ((string)(this["ConDefaultDomain"])); + } + set { + this["ConDefaultDomain"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("RDP")] + public string ConDefaultProtocol { + get { + return ((string)(this["ConDefaultProtocol"])); + } + set { + this["ConDefaultProtocol"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Default Settings")] + public string ConDefaultPuttySession { + get { + return ((string)(this["ConDefaultPuttySession"])); + } + set { + this["ConDefaultPuttySession"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool ConDefaultUseConsoleSession { + get { + return ((bool)(this["ConDefaultUseConsoleSession"])); + } + set { + this["ConDefaultUseConsoleSession"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("FitToWindow")] + public string ConDefaultResolution { + get { + return ((string)(this["ConDefaultResolution"])); + } + set { + this["ConDefaultResolution"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Colors16Bit")] + public string ConDefaultColors { + get { + return ((string)(this["ConDefaultColors"])); + } + set { + this["ConDefaultColors"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool ConDefaultCacheBitmaps { + get { + return ((bool)(this["ConDefaultCacheBitmaps"])); + } + set { + this["ConDefaultCacheBitmaps"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool ConDefaultDisplayWallpaper { + get { + return ((bool)(this["ConDefaultDisplayWallpaper"])); + } + set { + this["ConDefaultDisplayWallpaper"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool ConDefaultDisplayThemes { + get { + return ((bool)(this["ConDefaultDisplayThemes"])); + } + set { + this["ConDefaultDisplayThemes"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool ConDefaultRedirectKeys { + get { + return ((bool)(this["ConDefaultRedirectKeys"])); + } + set { + this["ConDefaultRedirectKeys"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool ConDefaultRedirectDiskDrives { + get { + return ((bool)(this["ConDefaultRedirectDiskDrives"])); + } + set { + this["ConDefaultRedirectDiskDrives"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool ConDefaultRedirectPrinters { + get { + return ((bool)(this["ConDefaultRedirectPrinters"])); + } + set { + this["ConDefaultRedirectPrinters"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool ConDefaultRedirectPorts { + get { + return ((bool)(this["ConDefaultRedirectPorts"])); + } + set { + this["ConDefaultRedirectPorts"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool ConDefaultRedirectSmartCards { + get { + return ((bool)(this["ConDefaultRedirectSmartCards"])); + } + set { + this["ConDefaultRedirectSmartCards"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("DoNotPlay")] + public string ConDefaultRedirectSound { + get { + return ((string)(this["ConDefaultRedirectSound"])); + } + set { + this["ConDefaultRedirectSound"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("2")] + public int MaxPuttyWaitTime { + get { + return ((int)(this["MaxPuttyWaitTime"])); + } + set { + this["MaxPuttyWaitTime"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool SingleInstance { + get { + return ((bool)(this["SingleInstance"])); + } + set { + this["SingleInstance"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool OpenConsFromLastSession { + get { + return ((bool)(this["OpenConsFromLastSession"])); + } + set { + this["OpenConsFromLastSession"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool NoReconnect { + get { + return ((bool)(this["NoReconnect"])); + } + set { + this["NoReconnect"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("0")] + public int AutoSaveEveryMinutes { + get { + return ((int)(this["AutoSaveEveryMinutes"])); + } + set { + this["AutoSaveEveryMinutes"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool ExtAppsTBVisible { + get { + return ((bool)(this["ExtAppsTBVisible"])); + } + set { + this["ExtAppsTBVisible"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool ExtAppsTBShowText { + get { + return ((bool)(this["ExtAppsTBShowText"])); + } + set { + this["ExtAppsTBShowText"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("0, 0")] + public global::System.Drawing.Point ExtAppsTBLocation { + get { + return ((global::System.Drawing.Point)(this["ExtAppsTBLocation"])); + } + set { + this["ExtAppsTBLocation"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Bottom")] + public string ExtAppsTBParentDock { + get { + return ((string)(this["ExtAppsTBParentDock"])); + } + set { + this["ExtAppsTBParentDock"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool QuickyTBVisible { + get { + return ((bool)(this["QuickyTBVisible"])); + } + set { + this["QuickyTBVisible"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("3, 24")] + public global::System.Drawing.Point QuickyTBLocation { + get { + return ((global::System.Drawing.Point)(this["QuickyTBLocation"])); + } + set { + this["QuickyTBLocation"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Top")] + public string QuickyTBParentDock { + get { + return ((string)(this["QuickyTBParentDock"])); + } + set { + this["QuickyTBParentDock"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool ResetToolbars { + get { + return ((bool)(this["ResetToolbars"])); + } + set { + this["ResetToolbars"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool UseSQLServer { + get { + return ((bool)(this["UseSQLServer"])); + } + set { + this["UseSQLServer"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string SQLHost { + get { + return ((string)(this["SQLHost"])); + } + set { + this["SQLHost"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string SQLUser { + get { + return ((string)(this["SQLUser"])); + } + set { + this["SQLUser"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string SQLPass { + get { + return ((string)(this["SQLPass"])); + } + set { + this["SQLPass"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultCacheBitmaps { + get { + return ((bool)(this["InhDefaultCacheBitmaps"])); + } + set { + this["InhDefaultCacheBitmaps"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultColors { + get { + return ((bool)(this["InhDefaultColors"])); + } + set { + this["InhDefaultColors"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultDescription { + get { + return ((bool)(this["InhDefaultDescription"])); + } + set { + this["InhDefaultDescription"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultDisplayThemes { + get { + return ((bool)(this["InhDefaultDisplayThemes"])); + } + set { + this["InhDefaultDisplayThemes"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultDisplayWallpaper { + get { + return ((bool)(this["InhDefaultDisplayWallpaper"])); + } + set { + this["InhDefaultDisplayWallpaper"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultDomain { + get { + return ((bool)(this["InhDefaultDomain"])); + } + set { + this["InhDefaultDomain"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultIcon { + get { + return ((bool)(this["InhDefaultIcon"])); + } + set { + this["InhDefaultIcon"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultPassword { + get { + return ((bool)(this["InhDefaultPassword"])); + } + set { + this["InhDefaultPassword"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultPort { + get { + return ((bool)(this["InhDefaultPort"])); + } + set { + this["InhDefaultPort"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultProtocol { + get { + return ((bool)(this["InhDefaultProtocol"])); + } + set { + this["InhDefaultProtocol"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultPuttySession { + get { + return ((bool)(this["InhDefaultPuttySession"])); + } + set { + this["InhDefaultPuttySession"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultRedirectDiskDrives { + get { + return ((bool)(this["InhDefaultRedirectDiskDrives"])); + } + set { + this["InhDefaultRedirectDiskDrives"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultRedirectKeys { + get { + return ((bool)(this["InhDefaultRedirectKeys"])); + } + set { + this["InhDefaultRedirectKeys"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultRedirectPorts { + get { + return ((bool)(this["InhDefaultRedirectPorts"])); + } + set { + this["InhDefaultRedirectPorts"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultRedirectPrinters { + get { + return ((bool)(this["InhDefaultRedirectPrinters"])); + } + set { + this["InhDefaultRedirectPrinters"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultRedirectSmartCards { + get { + return ((bool)(this["InhDefaultRedirectSmartCards"])); + } + set { + this["InhDefaultRedirectSmartCards"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultRedirectSound { + get { + return ((bool)(this["InhDefaultRedirectSound"])); + } + set { + this["InhDefaultRedirectSound"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultResolution { + get { + return ((bool)(this["InhDefaultResolution"])); + } + set { + this["InhDefaultResolution"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultUseConsoleSession { + get { + return ((bool)(this["InhDefaultUseConsoleSession"])); + } + set { + this["InhDefaultUseConsoleSession"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultUsername { + get { + return ((bool)(this["InhDefaultUsername"])); + } + set { + this["InhDefaultUsername"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultPanel { + get { + return ((bool)(this["InhDefaultPanel"])); + } + set { + this["InhDefaultPanel"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("EncrBasic")] + public string ConDefaultICAEncryptionStrength { + get { + return ((string)(this["ConDefaultICAEncryptionStrength"])); + } + set { + this["ConDefaultICAEncryptionStrength"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultICAEncryptionStrength { + get { + return ((bool)(this["InhDefaultICAEncryptionStrength"])); + } + set { + this["InhDefaultICAEncryptionStrength"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string ConDefaultPreExtApp { + get { + return ((string)(this["ConDefaultPreExtApp"])); + } + set { + this["ConDefaultPreExtApp"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string ConDefaultPostExtApp { + get { + return ((string)(this["ConDefaultPostExtApp"])); + } + set { + this["ConDefaultPostExtApp"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultPreExtApp { + get { + return ((bool)(this["InhDefaultPreExtApp"])); + } + set { + this["InhDefaultPreExtApp"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultPostExtApp { + get { + return ((bool)(this["InhDefaultPostExtApp"])); + } + set { + this["InhDefaultPostExtApp"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool SetHostnameLikeDisplayName { + get { + return ((bool)(this["SetHostnameLikeDisplayName"])); + } + set { + this["SetHostnameLikeDisplayName"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool DoubleClickOnTabClosesIt { + get { + return ((bool)(this["DoubleClickOnTabClosesIt"])); + } + set { + this["DoubleClickOnTabClosesIt"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool ReconnectOnDisconnect { + get { + return ((bool)(this["ReconnectOnDisconnect"])); + } + set { + this["ReconnectOnDisconnect"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool AlwaysShowPanelSelectionDlg { + get { + return ((bool)(this["AlwaysShowPanelSelectionDlg"])); + } + set { + this["AlwaysShowPanelSelectionDlg"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("AuthVNC")] + public string ConDefaultVNCAuthMode { + get { + return ((string)(this["ConDefaultVNCAuthMode"])); + } + set { + this["ConDefaultVNCAuthMode"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("ColNormal")] + public string ConDefaultVNCColors { + get { + return ((string)(this["ConDefaultVNCColors"])); + } + set { + this["ConDefaultVNCColors"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("SmartSAspect")] + public string ConDefaultVNCSmartSizeMode { + get { + return ((string)(this["ConDefaultVNCSmartSizeMode"])); + } + set { + this["ConDefaultVNCSmartSizeMode"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool ConDefaultVNCViewOnly { + get { + return ((bool)(this["ConDefaultVNCViewOnly"])); + } + set { + this["ConDefaultVNCViewOnly"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("CompNone")] + public string ConDefaultVNCCompression { + get { + return ((string)(this["ConDefaultVNCCompression"])); + } + set { + this["ConDefaultVNCCompression"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("EncHextile")] + public string ConDefaultVNCEncoding { + get { + return ((string)(this["ConDefaultVNCEncoding"])); + } + set { + this["ConDefaultVNCEncoding"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string ConDefaultVNCProxyIP { + get { + return ((string)(this["ConDefaultVNCProxyIP"])); + } + set { + this["ConDefaultVNCProxyIP"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string ConDefaultVNCProxyPassword { + get { + return ((string)(this["ConDefaultVNCProxyPassword"])); + } + set { + this["ConDefaultVNCProxyPassword"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("0")] + public int ConDefaultVNCProxyPort { + get { + return ((int)(this["ConDefaultVNCProxyPort"])); + } + set { + this["ConDefaultVNCProxyPort"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("ProxyNone")] + public string ConDefaultVNCProxyType { + get { + return ((string)(this["ConDefaultVNCProxyType"])); + } + set { + this["ConDefaultVNCProxyType"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string ConDefaultVNCProxyUsername { + get { + return ((string)(this["ConDefaultVNCProxyUsername"])); + } + set { + this["ConDefaultVNCProxyUsername"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultVNCAuthMode { + get { + return ((bool)(this["InhDefaultVNCAuthMode"])); + } + set { + this["InhDefaultVNCAuthMode"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultVNCColors { + get { + return ((bool)(this["InhDefaultVNCColors"])); + } + set { + this["InhDefaultVNCColors"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultVNCSmartSizeMode { + get { + return ((bool)(this["InhDefaultVNCSmartSizeMode"])); + } + set { + this["InhDefaultVNCSmartSizeMode"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultVNCViewOnly { + get { + return ((bool)(this["InhDefaultVNCViewOnly"])); + } + set { + this["InhDefaultVNCViewOnly"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultVNCCompression { + get { + return ((bool)(this["InhDefaultVNCCompression"])); + } + set { + this["InhDefaultVNCCompression"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultVNCEncoding { + get { + return ((bool)(this["InhDefaultVNCEncoding"])); + } + set { + this["InhDefaultVNCEncoding"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultVNCProxyIP { + get { + return ((bool)(this["InhDefaultVNCProxyIP"])); + } + set { + this["InhDefaultVNCProxyIP"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultVNCProxyPassword { + get { + return ((bool)(this["InhDefaultVNCProxyPassword"])); + } + set { + this["InhDefaultVNCProxyPassword"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultVNCProxyPort { + get { + return ((bool)(this["InhDefaultVNCProxyPort"])); + } + set { + this["InhDefaultVNCProxyPort"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultVNCProxyType { + get { + return ((bool)(this["InhDefaultVNCProxyType"])); + } + set { + this["InhDefaultVNCProxyType"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultVNCProxyUsername { + get { + return ((bool)(this["InhDefaultVNCProxyUsername"])); + } + set { + this["InhDefaultVNCProxyUsername"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool MinimizeToTray { + get { + return ((bool)(this["MinimizeToTray"])); + } + set { + this["MinimizeToTray"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool SingleClickSwitchesToOpenConnection { + get { + return ((bool)(this["SingleClickSwitchesToOpenConnection"])); + } + set { + this["SingleClickSwitchesToOpenConnection"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("NoAuth")] + public string ConDefaultRDPAuthenticationLevel { + get { + return ((string)(this["ConDefaultRDPAuthenticationLevel"])); + } + set { + this["ConDefaultRDPAuthenticationLevel"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultRDPAuthenticationLevel { + get { + return ((bool)(this["InhDefaultRDPAuthenticationLevel"])); + } + set { + this["InhDefaultRDPAuthenticationLevel"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("5500")] + public int UVNCSCPort { + get { + return ((int)(this["UVNCSCPort"])); + } + set { + this["UVNCSCPort"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool StartupComponentsCheck { + get { + return ((bool)(this["StartupComponentsCheck"])); + } + set { + this["StartupComponentsCheck"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string XULRunnerPath { + get { + return ((string)(this["XULRunnerPath"])); + } + set { + this["XULRunnerPath"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("IE")] + public string ConDefaultRenderingEngine { + get { + return ((string)(this["ConDefaultRenderingEngine"])); + } + set { + this["ConDefaultRenderingEngine"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultRenderingEngine { + get { + return ((bool)(this["InhDefaultRenderingEngine"])); + } + set { + this["InhDefaultRenderingEngine"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string ConDefaultMacAddress { + get { + return ((string)(this["ConDefaultMacAddress"])); + } + set { + this["ConDefaultMacAddress"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultMacAddress { + get { + return ((bool)(this["InhDefaultMacAddress"])); + } + set { + this["InhDefaultMacAddress"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool EncryptCompleteConnectionsFile { + get { + return ((bool)(this["EncryptCompleteConnectionsFile"])); + } + set { + this["EncryptCompleteConnectionsFile"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string ConDefaultUserField { + get { + return ((string)(this["ConDefaultUserField"])); + } + set { + this["ConDefaultUserField"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultUserField { + get { + return ((bool)(this["InhDefaultUserField"])); + } + set { + this["InhDefaultUserField"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string ConDefaultExtApp { + get { + return ((string)(this["ConDefaultExtApp"])); + } + set { + this["ConDefaultExtApp"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultExtApp { + get { + return ((bool)(this["InhDefaultExtApp"])); + } + set { + this["InhDefaultExtApp"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string LastAnnouncement { + get { + return ((string)(this["LastAnnouncement"])); + } + set { + this["LastAnnouncement"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool CheckForUpdatesAsked { + get { + return ((bool)(this["CheckForUpdatesAsked"])); + } + set { + this["CheckForUpdatesAsked"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("7")] + public int CheckForUpdatesFrequencyDays { + get { + return ((int)(this["CheckForUpdatesFrequencyDays"])); + } + set { + this["CheckForUpdatesFrequencyDays"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("1980-01-01")] + public global::System.DateTime CheckForUpdatesLastCheck { + get { + return ((global::System.DateTime)(this["CheckForUpdatesLastCheck"])); + } + set { + this["CheckForUpdatesLastCheck"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool UpdatePending { + get { + return ((bool)(this["UpdatePending"])); + } + set { + this["UpdatePending"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Never")] + public string ConDefaultRDGatewayUsageMethod { + get { + return ((string)(this["ConDefaultRDGatewayUsageMethod"])); + } + set { + this["ConDefaultRDGatewayUsageMethod"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Yes")] + public string ConDefaultRDGatewayUseConnectionCredentials { + get { + return ((string)(this["ConDefaultRDGatewayUseConnectionCredentials"])); + } + set { + this["ConDefaultRDGatewayUseConnectionCredentials"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("mRemoteNG")] + public string ConDefaultIcon { + get { + return ((string)(this["ConDefaultIcon"])); + } + set { + this["ConDefaultIcon"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultRDGatewayUsageMethod { + get { + return ((bool)(this["InhDefaultRDGatewayUsageMethod"])); + } + set { + this["InhDefaultRDGatewayUsageMethod"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultRDGatewayHostname { + get { + return ((bool)(this["InhDefaultRDGatewayHostname"])); + } + set { + this["InhDefaultRDGatewayHostname"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultRDGatewayUsername { + get { + return ((bool)(this["InhDefaultRDGatewayUsername"])); + } + set { + this["InhDefaultRDGatewayUsername"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultRDGatewayPassword { + get { + return ((bool)(this["InhDefaultRDGatewayPassword"])); + } + set { + this["InhDefaultRDGatewayPassword"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultRDGatewayDomain { + get { + return ((bool)(this["InhDefaultRDGatewayDomain"])); + } + set { + this["InhDefaultRDGatewayDomain"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultRDGatewayUseConnectionCredentials { + get { + return ((bool)(this["InhDefaultRDGatewayUseConnectionCredentials"])); + } + set { + this["InhDefaultRDGatewayUseConnectionCredentials"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("5")] + public int RdpReconnectionCount { + get { + return ((int)(this["RdpReconnectionCount"])); + } + set { + this["RdpReconnectionCount"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string OverrideUICulture { + get { + return ((string)(this["OverrideUICulture"])); + } + set { + this["OverrideUICulture"] = value; + } + } + + [global::System.Configuration.ApplicationScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("de,el,en,en-US,es-AR,es,fr,hu,it,nb-NO,nl,pt,pt-BR,pl,ru,uk,zh-CN,zh-TW")] + public string SupportedUICultures { + get { + return ((string)(this["SupportedUICultures"])); + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string ConDefaultRDGatewayHostname { + get { + return ((string)(this["ConDefaultRDGatewayHostname"])); + } + set { + this["ConDefaultRDGatewayHostname"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string ConDefaultRDGatewayUsername { + get { + return ((string)(this["ConDefaultRDGatewayUsername"])); + } + set { + this["ConDefaultRDGatewayUsername"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string ConDefaultRDGatewayPassword { + get { + return ((string)(this["ConDefaultRDGatewayPassword"])); + } + set { + this["ConDefaultRDGatewayPassword"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string ConDefaultRDGatewayDomain { + get { + return ((string)(this["ConDefaultRDGatewayDomain"])); + } + set { + this["ConDefaultRDGatewayDomain"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool ConDefaultEnableFontSmoothing { + get { + return ((bool)(this["ConDefaultEnableFontSmoothing"])); + } + set { + this["ConDefaultEnableFontSmoothing"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultEnableFontSmoothing { + get { + return ((bool)(this["InhDefaultEnableFontSmoothing"])); + } + set { + this["InhDefaultEnableFontSmoothing"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool ConDefaultEnableDesktopComposition { + get { + return ((bool)(this["ConDefaultEnableDesktopComposition"])); + } + set { + this["ConDefaultEnableDesktopComposition"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultEnableDesktopComposition { + get { + return ((bool)(this["InhDefaultEnableDesktopComposition"])); + } + set { + this["InhDefaultEnableDesktopComposition"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("4")] + public int ConfirmCloseConnection { + get { + return ((int)(this["ConfirmCloseConnection"])); + } + set { + this["ConfirmCloseConnection"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Drawing.Size MainFormRestoreSize { + get { + return ((global::System.Drawing.Size)(this["MainFormRestoreSize"])); + } + set { + this["MainFormRestoreSize"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Drawing.Point MainFormRestoreLocation { + get { + return ((global::System.Drawing.Point)(this["MainFormRestoreLocation"])); + } + set { + this["MainFormRestoreLocation"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("mRemoteNG")] + public string SQLDatabaseName { + get { + return ((string)(this["SQLDatabaseName"])); + } + set { + this["SQLDatabaseName"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("10")] + [global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)] + public int BackupFileKeepCount { + get { + return ((int)(this["BackupFileKeepCount"])); + } + set { + this["BackupFileKeepCount"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("{0}.{1:yyyyMMdd-HHmmssffff}.backup")] + [global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)] + public string BackupFileNameFormat { + get { + return ((string)(this["BackupFileNameFormat"])); + } + set { + this["BackupFileNameFormat"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultUseCredSsp { + get { + return ((bool)(this["InhDefaultUseCredSsp"])); + } + set { + this["InhDefaultUseCredSsp"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool ConDefaultUseCredSsp { + get { + return ((bool)(this["ConDefaultUseCredSsp"])); + } + set { + this["ConDefaultUseCredSsp"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + [global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)] + public bool AlwaysShowPanelTabs { + get { + return ((bool)(this["AlwaysShowPanelTabs"])); + } + set { + this["AlwaysShowPanelTabs"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + [global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)] + public bool IdentifyQuickConnectTabs { + get { + return ((bool)(this["IdentifyQuickConnectTabs"])); + } + set { + this["IdentifyQuickConnectTabs"] = value; + } + } + + [global::System.Configuration.ApplicationScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("release")] + public string UpdateChannel { + get { + return ((string)(this["UpdateChannel"])); + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string ThemeName { + get { + return ((string)(this["ThemeName"])); + } + set { + this["ThemeName"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool ShowConfigHelpText { + get { + return ((bool)(this["ShowConfigHelpText"])); + } + set { + this["ShowConfigHelpText"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string PuttySavedSessionsName { + get { + return ((string)(this["PuttySavedSessionsName"])); + } + set { + this["PuttySavedSessionsName"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string PuttySavedSessionsPanel { + get { + return ((string)(this["PuttySavedSessionsPanel"])); + } + set { + this["PuttySavedSessionsPanel"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool CompatibilityWarnLenovoAutoScrollUtility { + get { + return ((bool)(this["CompatibilityWarnLenovoAutoScrollUtility"])); + } + set { + this["CompatibilityWarnLenovoAutoScrollUtility"] = value; + } + } + + [global::System.Configuration.ApplicationScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("https://update.mremoteng.org/announcement.txt")] + public string AnnouncementAddress { + get { + return ((string)(this["AnnouncementAddress"])); + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("https://update.mremoteng.org/")] + public string UpdateAddress { + get { + return ((string)(this["UpdateAddress"])); + } + set { + this["UpdateAddress"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string ConDefaultLoadBalanceInfo { + get { + return ((string)(this["ConDefaultLoadBalanceInfo"])); + } + set { + this["ConDefaultLoadBalanceInfo"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool ConDefaultAutomaticResize { + get { + return ((bool)(this["ConDefaultAutomaticResize"])); + } + set { + this["ConDefaultAutomaticResize"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultLoadBalanceInfo { + get { + return ((bool)(this["InhDefaultLoadBalanceInfo"])); + } + set { + this["InhDefaultLoadBalanceInfo"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool InhDefaultAutomaticResize { + get { + return ((bool)(this["InhDefaultAutomaticResize"])); + } + set { + this["InhDefaultAutomaticResize"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("RDP")] + [global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)] + public string QuickConnectProtocol { + get { + return ((string)(this["QuickConnectProtocol"])); + } + set { + this["QuickConnectProtocol"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("9/9, 33/8")] + [global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)] + public string KeysPreviousTab { + get { + return ((string)(this["KeysPreviousTab"])); + } + set { + this["KeysPreviousTab"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(mRemoteNG.Config.Settings.Providers.ChooseProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("9/8, 34/8")] + [global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)] + public string KeysNextTab { + get { + return ((string)(this["KeysNextTab"])); + } + set { + this["KeysNextTab"] = value; + } + } + } } diff --git a/mRemoteV1/CS/Properties/Settings.settings b/mRemoteV1/CS/Properties/Settings.settings index 4a04e1cfa..87647df89 100644 --- a/mRemoteV1/CS/Properties/Settings.settings +++ b/mRemoteV1/CS/Properties/Settings.settings @@ -1,5 +1,5 @@  - + diff --git a/mRemoteV1/CS/Root/PuttySessions.Info.cs b/mRemoteV1/CS/Root/PuttySessions.Info.cs index e111a127c..8630c4767 100644 --- a/mRemoteV1/CS/Root/PuttySessions.Info.cs +++ b/mRemoteV1/CS/Root/PuttySessions.Info.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,11 +8,8 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports - using mRemoteNG.My; using mRemoteNG.Tools; -//using mRemoteNG.Tools.LocalizedAttributes; namespace mRemoteNG.Root.PuttySessions @@ -25,7 +21,6 @@ namespace mRemoteNG.Root.PuttySessions // VBConversions Note: Non-static class variable initialization is below. Class variables cannot be initially assigned non-static values in C#. _name = Language.strPuttySavedSessionsRootName; _panel = My.Language.strGeneral; - } private string _name; // VBConversions Note: Initial value cannot be assigned here since it is non-static. Assignment has been moved to the class constructors. @@ -47,7 +42,7 @@ namespace mRemoteNG.Root.PuttySessions { TreeNode.Text = value; } - Settings.PuttySavedSessionsName = value; + My.Settings.Default.PuttySavedSessionsName = value; } } @@ -68,7 +63,7 @@ namespace mRemoteNG.Root.PuttySessions return ; } _panel = value; - Settings.PuttySavedSessionsPanel = value; + My.Settings.Default.PuttySavedSessionsPanel = value; } } } diff --git a/mRemoteV1/CS/Root/Root.Info.cs b/mRemoteV1/CS/Root/Root.Info.cs index 12873da2c..8021d05b5 100644 --- a/mRemoteV1/CS/Root/Root.Info.cs +++ b/mRemoteV1/CS/Root/Root.Info.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,17 +8,16 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports using mRemoteNG.Tools; using System.ComponentModel; -//using mRemoteNG.Tools.LocalizedAttributes; namespace mRemoteNG.Root { - [DefaultProperty("Name")]public class Info + [DefaultProperty("Name")] + public class Info { -#region Constructors + #region Constructors public Info(RootType rootType) { // VBConversions Note: Non-static class variable initialization is below. Class variables cannot be initially assigned non-static values in C#. @@ -27,9 +25,9 @@ namespace mRemoteNG.Root Type = rootType; } -#endregion + #endregion -#region Public Properties + #region Public Properties private string _name; // VBConversions Note: Initial value cannot be assigned here since it is non-static. Assignment has been moved to the class constructors. [LocalizedAttributes.LocalizedCategory("strCategoryDisplay", 1), Browsable(true), @@ -63,20 +61,23 @@ namespace mRemoteNG.Root TypeConverter(typeof(Tools.Misc.YesNoTypeConverter))] public bool Password { get; set; } - [Browsable(false)]public string PasswordString {get; set;} + [Browsable(false)] + public string PasswordString {get; set;} - [Browsable(false)]public RootType Type {get; set;} + [Browsable(false)] + public RootType Type {get; set;} - [Browsable(false)]public TreeNode TreeNode {get; set;} -#endregion + [Browsable(false)] + public TreeNode TreeNode {get; set;} + #endregion -#region Public Enumerations + #region Public Enumerations public enum RootType { Connection, Credential, PuttySessions } -#endregion + #endregion } } diff --git a/mRemoteV1/CS/Security/Security.Save.cs b/mRemoteV1/CS/Security/Security.Save.cs index a36d88692..028ee949f 100644 --- a/mRemoteV1/CS/Security/Security.Save.cs +++ b/mRemoteV1/CS/Security/Security.Save.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,74 +8,72 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports - namespace mRemoteNG.Security { public class Save + { + public Save(bool DisableEverything = false) { - public Save(bool DisableEverything = false) + if (DisableEverything == false) { - if (DisableEverything == false) - { - _Username = true; - _Password = true; - _Domain = true; - _Inheritance = true; - } - } - - private bool _Username; -public bool Username - { - get - { - return _Username; - } - set - { - _Username = value; - } - } - - private bool _Password; -public bool Password - { - get - { - return _Password; - } - set - { - _Password = value; - } - } - - private bool _Domain; -public bool Domain - { - get - { - return _Domain; - } - set - { - _Domain = value; - } - } - - private bool _Inheritance; -public bool Inheritance - { - get - { - return _Inheritance; - } - set - { - _Inheritance = value; - } + _Username = true; + _Password = true; + _Domain = true; + _Inheritance = true; } } + + private bool _Username; + public bool Username + { + get + { + return _Username; + } + set + { + _Username = value; + } + } + + private bool _Password; + public bool Password + { + get + { + return _Password; + } + set + { + _Password = value; + } + } + + private bool _Domain; + public bool Domain + { + get + { + return _Domain; + } + set + { + _Domain = value; + } + } + + private bool _Inheritance; + public bool Inheritance + { + get + { + return _Inheritance; + } + set + { + _Inheritance = value; + } + } + } } diff --git a/mRemoteV1/CS/Settings.cs b/mRemoteV1/CS/Settings.cs new file mode 100644 index 000000000..478a55ef0 --- /dev/null +++ b/mRemoteV1/CS/Settings.cs @@ -0,0 +1,28 @@ +namespace mRemoteNG.My { + + + // This class allows you to handle specific events on the settings class: + // The SettingChanging event is raised before a setting's value is changed. + // The PropertyChanged event is raised after a setting's value is changed. + // The SettingsLoaded event is raised after the setting values are loaded. + // The SettingsSaving event is raised before the setting values are saved. + internal sealed partial class Settings { + + public Settings() { + // // To add event handlers for saving and changing settings, uncomment the lines below: + // + // this.SettingChanging += this.SettingChangingEventHandler; + // + // this.SettingsSaving += this.SettingsSavingEventHandler; + // + } + + private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) { + // Add code to handle the SettingChangingEvent event here. + } + + private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e) { + // Add code to handle the SettingsSaving event here. + } + } +} diff --git a/mRemoteV1/CS/Themes/ThemeInfo.cs b/mRemoteV1/CS/Themes/ThemeInfo.cs index f3bc562b9..11d94cef7 100644 --- a/mRemoteV1/CS/Themes/ThemeInfo.cs +++ b/mRemoteV1/CS/Themes/ThemeInfo.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,10 +8,7 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports - using System.ComponentModel; -//using mRemoteNG.Tools.LocalizedAttributes; using mRemoteNG.My; using mRemoteNG.Tools; @@ -21,7 +17,7 @@ namespace mRemoteNG.Themes { public class ThemeInfo : ICloneable, INotifyPropertyChanged { -#region Public Methods + #region Public Methods public ThemeInfo(string themeName = null) { // VBConversions Note: Non-static class variable initialization is below. Class variables cannot be initially assigned non-static values in C#. @@ -66,9 +62,9 @@ namespace mRemoteNG.Themes return true; } -#endregion + #endregion -#region Events + #region Events public event PropertyChangedEventHandler PropertyChanged; protected void NotifyPropertyChanged(string propertyName) { @@ -76,9 +72,9 @@ namespace mRemoteNG.Themes (PropertyChanged != null) PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } -#endregion + #endregion -#region Properties + #region Properties private string _name; // VBConversions Note: Initial value cannot be assigned here since it is non-static. Assignment has been moved to the class constructors. [Browsable(false)] public string Name @@ -98,7 +94,7 @@ namespace mRemoteNG.Themes } } -#region General + #region General private Color _windowBackgroundColor; // VBConversions Note: Initial value cannot be assigned here since it is non-static. Assignment has been moved to the class constructors. [LocalizedAttributes.LocalizedCategory("strThemeCategoryGeneral", 1), LocalizedAttributes.LocalizedDisplayName("strThemeNameWindowBackgroundColor"), @@ -204,9 +200,9 @@ namespace mRemoteNG.Themes NotifyPropertyChanged("ToolbarTextColor"); } } -#endregion + #endregion -#region Connections Panel + #region Connections Panel private Color _connectionsPanelBackgroundColor; // VBConversions Note: Initial value cannot be assigned here since it is non-static. Assignment has been moved to the class constructors. [LocalizedAttributes.LocalizedCategory("strThemeCategoryConnectionsPanel", 2), LocalizedAttributes.LocalizedDisplayName("strThemeNameConnectionsPanelBackgroundColor"), @@ -332,9 +328,9 @@ namespace mRemoteNG.Themes NotifyPropertyChanged("SearchBoxTextColor"); } } -#endregion + #endregion -#region Config Panel + #region Config Panel private Color _configPanelBackgroundColor; // VBConversions Note: Initial value cannot be assigned here since it is non-static. Assignment has been moved to the class constructors. [LocalizedAttributes.LocalizedCategory("strThemeCategoryConfigPanel", 3), LocalizedAttributes.LocalizedDisplayName("strThemeNameConfigPanelBackgroundColor"), @@ -460,7 +456,7 @@ namespace mRemoteNG.Themes NotifyPropertyChanged("ConfigPanelGridLineColor"); } } -#endregion -#endregion + #endregion + #endregion } -} +} \ No newline at end of file diff --git a/mRemoteV1/CS/Themes/ThemeManager.cs b/mRemoteV1/CS/Themes/ThemeManager.cs index ce9b031a2..28ff7bcd3 100644 --- a/mRemoteV1/CS/Themes/ThemeManager.cs +++ b/mRemoteV1/CS/Themes/ThemeManager.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,8 +8,6 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports - using System.IO; using System.ComponentModel; using mRemoteNG.My; @@ -19,145 +16,145 @@ using mRemoteNG.My; namespace mRemoteNG.Themes { public class ThemeManager + { + #region Public Methods + public static ThemeInfo LoadTheme(string themeName, bool setActive = true) { -#region Public Methods - public static ThemeInfo LoadTheme(string themeName, bool setActive = true) - { - ThemeInfo loadedTheme = DefaultTheme; + ThemeInfo loadedTheme = DefaultTheme; - if (!string.IsNullOrEmpty(themeName)) + if (!string.IsNullOrEmpty(themeName)) + { + foreach (ThemeInfo theme in LoadThemes()) { - foreach (ThemeInfo theme in LoadThemes()) + if (theme.Name == themeName) { - if (theme.Name == themeName) - { - loadedTheme = theme; - break; - } + loadedTheme = theme; + break; } } + } - if (setActive) - { - ActiveTheme = loadedTheme; - } - return loadedTheme; - } - - public static List LoadThemes() + if (setActive) { - List themes = new List(); - themes.Add(DefaultTheme); - try - { - themes.AddRange(ThemeSerializer.LoadFromXmlFile(Path.Combine(App.Info.Settings.SettingsPath, App.Info.Settings.ThemesFileName))); - } - catch (FileNotFoundException) - { - } - - return themes; + ActiveTheme = loadedTheme; } - - public static void SaveThemes(List themes) - { - themes.Remove(DefaultTheme); - ThemeSerializer.SaveToXmlFile(themes, Path.Combine(App.Info.Settings.SettingsPath, App.Info.Settings.ThemesFileName)); - } - - public static void SaveThemes(ThemeInfo[] themes) - { - SaveThemes(new List(themes)); - } - - public static void SaveThemes(BindingList themes) - { - ThemeInfo[] themesArray = new ThemeInfo[themes.Count - 1 + 1]; - themes.CopyTo(themesArray, 0); - SaveThemes(themesArray); - } -#endregion - -#region Events - public delegate void ThemeChangedEventHandler(); - private static ThemeChangedEventHandler ThemeChangedEvent; - - public static event ThemeChangedEventHandler ThemeChanged - { - add - { - ThemeChangedEvent = (ThemeChangedEventHandler) System.Delegate.Combine(ThemeChangedEvent, value); - } - remove - { - ThemeChangedEvent = (ThemeChangedEventHandler) System.Delegate.Remove(ThemeChangedEvent, value); - } - } - - protected static void NotifyThemeChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) - { - if (e.PropertyName == "Name") - { - return ; - } - if (ThemeChangedEvent != null) - ThemeChangedEvent(); - } -#endregion - -#region Properties - // ReSharper disable InconsistentNaming - private static readonly ThemeInfo _defaultTheme = new ThemeInfo(Language.strDefaultTheme); - // ReSharper restore InconsistentNaming -public static ThemeInfo DefaultTheme - { - get - { - return _defaultTheme; - } - } - - private static ThemeInfo _activeTheme; - private static bool _activeThemeHandlerSet = false; -public static ThemeInfo ActiveTheme - { - get - { - if (_activeTheme == null) - { - return DefaultTheme; - } - return _activeTheme; - } - set - { - // We need to set ActiveTheme to the new theme to make sure it references the right object. - // However, if both themes have the same properties, we don't need to raise a notification event. - bool needNotify = true; - if (_activeTheme != null) - { - if (_activeTheme.Equals(value)) - { - needNotify = false; - } - } - - if (_activeThemeHandlerSet) - { - _activeTheme.PropertyChanged -= NotifyThemeChanged; - } - - _activeTheme = value; - - _activeTheme.PropertyChanged += NotifyThemeChanged; - _activeThemeHandlerSet = true; - - if (needNotify) - { - NotifyThemeChanged(_activeTheme, new PropertyChangedEventArgs("")); - } - } - } -#endregion + return loadedTheme; } + + public static List LoadThemes() + { + List themes = new List(); + themes.Add(DefaultTheme); + try + { + themes.AddRange(ThemeSerializer.LoadFromXmlFile(Path.Combine(App.Info.Settings.SettingsPath, App.Info.Settings.ThemesFileName))); + } + catch (FileNotFoundException) + { + } + + return themes; + } + + public static void SaveThemes(List themes) + { + themes.Remove(DefaultTheme); + ThemeSerializer.SaveToXmlFile(themes, Path.Combine(App.Info.Settings.SettingsPath, App.Info.Settings.ThemesFileName)); + } + + public static void SaveThemes(ThemeInfo[] themes) + { + SaveThemes(new List(themes)); + } + + public static void SaveThemes(BindingList themes) + { + ThemeInfo[] themesArray = new ThemeInfo[themes.Count - 1 + 1]; + themes.CopyTo(themesArray, 0); + SaveThemes(themesArray); + } + #endregion + + #region Events + public delegate void ThemeChangedEventHandler(); + private static ThemeChangedEventHandler ThemeChangedEvent; + + public static event ThemeChangedEventHandler ThemeChanged + { + add + { + ThemeChangedEvent = (ThemeChangedEventHandler) System.Delegate.Combine(ThemeChangedEvent, value); + } + remove + { + ThemeChangedEvent = (ThemeChangedEventHandler) System.Delegate.Remove(ThemeChangedEvent, value); + } + } + + protected static void NotifyThemeChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) + { + if (e.PropertyName == "Name") + { + return ; + } + if (ThemeChangedEvent != null) + ThemeChangedEvent(); + } + #endregion + + #region Properties + // ReSharper disable InconsistentNaming + private static readonly ThemeInfo _defaultTheme = new ThemeInfo(Language.strDefaultTheme); + // ReSharper restore InconsistentNaming + public static ThemeInfo DefaultTheme + { + get + { + return _defaultTheme; + } + } + + private static ThemeInfo _activeTheme; + private static bool _activeThemeHandlerSet = false; + public static ThemeInfo ActiveTheme + { + get + { + if (_activeTheme == null) + { + return DefaultTheme; + } + return _activeTheme; + } + set + { + // We need to set ActiveTheme to the new theme to make sure it references the right object. + // However, if both themes have the same properties, we don't need to raise a notification event. + bool needNotify = true; + if (_activeTheme != null) + { + if (_activeTheme.Equals(value)) + { + needNotify = false; + } + } + + if (_activeThemeHandlerSet) + { + _activeTheme.PropertyChanged -= NotifyThemeChanged; + } + + _activeTheme = value; + + _activeTheme.PropertyChanged += NotifyThemeChanged; + _activeThemeHandlerSet = true; + + if (needNotify) + { + NotifyThemeChanged(_activeTheme, new PropertyChangedEventArgs("")); + } + } + } + #endregion + } } diff --git a/mRemoteV1/CS/Themes/ThemeSerializer.cs b/mRemoteV1/CS/Themes/ThemeSerializer.cs index d31529508..7237ff9ba 100644 --- a/mRemoteV1/CS/Themes/ThemeSerializer.cs +++ b/mRemoteV1/CS/Themes/ThemeSerializer.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,8 +8,6 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports - using System.IO; using System.Xml; using System.Reflection; @@ -19,141 +16,141 @@ using System.Reflection; namespace mRemoteNG.Themes { public class ThemeSerializer + { + public static void SaveToXmlFile(ThemeInfo themeInfo, string filename) { - public static void SaveToXmlFile(ThemeInfo themeInfo, string filename) - { - List themeList = new List(); - themeList.Add(themeInfo); - SaveToXmlFile(themeList, filename); - } + List themeList = new List(); + themeList.Add(themeInfo); + SaveToXmlFile(themeList, filename); + } - public static void SaveToXmlFile(List themes, string filename) + public static void SaveToXmlFile(List themes, string filename) + { + string tempFileName = Path.GetTempFileName(); + XmlTextWriter xmlTextWriter = new XmlTextWriter(tempFileName, System.Text.Encoding.UTF8); + + xmlTextWriter.Formatting = Formatting.Indented; + xmlTextWriter.Indentation = 4; + + xmlTextWriter.WriteStartDocument(); + + xmlTextWriter.WriteStartElement("mRemoteNG"); + + xmlTextWriter.WriteStartElement("FileInfo"); + xmlTextWriter.WriteAttributeString("Version", "1.0"); + xmlTextWriter.WriteElementString("FileType", "Theme"); + xmlTextWriter.WriteElementString("FileTypeVersion", "1.0"); + xmlTextWriter.WriteEndElement(); // FileInfo + + Type themeType = (new ThemeInfo()).GetType(); + Type colorType = (new Color()).GetType(); + Color color = new Color(); + foreach (ThemeInfo themeInfo in themes) { - string tempFileName = Path.GetTempFileName(); - XmlTextWriter xmlTextWriter = new XmlTextWriter(tempFileName, System.Text.Encoding.UTF8); - - xmlTextWriter.Formatting = Formatting.Indented; - xmlTextWriter.Indentation = 4; - - xmlTextWriter.WriteStartDocument(); - - xmlTextWriter.WriteStartElement("mRemoteNG"); - - xmlTextWriter.WriteStartElement("FileInfo"); - xmlTextWriter.WriteAttributeString("Version", "1.0"); - xmlTextWriter.WriteElementString("FileType", "Theme"); - xmlTextWriter.WriteElementString("FileTypeVersion", "1.0"); - xmlTextWriter.WriteEndElement(); // FileInfo - - Type themeType = (new ThemeInfo()).GetType(); - Type colorType = (new Color()).GetType(); - Color color = new Color(); - foreach (ThemeInfo themeInfo in themes) - { - xmlTextWriter.WriteStartElement("Theme"); - xmlTextWriter.WriteAttributeString("Name", themeInfo.Name); + xmlTextWriter.WriteStartElement("Theme"); + xmlTextWriter.WriteAttributeString("Name", themeInfo.Name); - foreach (PropertyInfo propertyInfo in themeType.GetProperties()) + foreach (PropertyInfo propertyInfo in themeType.GetProperties()) + { + if (!(propertyInfo.PropertyType == colorType)) { - if (!(propertyInfo.PropertyType == colorType)) - { - continue; - } - color = propertyInfo.GetValue(themeInfo, null); - xmlTextWriter.WriteStartElement("Color"); - xmlTextWriter.WriteAttributeString("Name", propertyInfo.Name); - xmlTextWriter.WriteAttributeString("Value", EncodeColorName(color)); - xmlTextWriter.WriteEndElement(); // Color + continue; } + color = (Color)propertyInfo.GetValue(themeInfo, null); + xmlTextWriter.WriteStartElement("Color"); + xmlTextWriter.WriteAttributeString("Name", propertyInfo.Name); + xmlTextWriter.WriteAttributeString("Value", EncodeColorName(color)); + xmlTextWriter.WriteEndElement(); // Color + } - xmlTextWriter.WriteEndElement(); // Theme - } - - xmlTextWriter.WriteEndElement(); // mRemoteNG - - xmlTextWriter.Close(); - - File.Delete(filename); - File.Move(tempFileName, filename); + xmlTextWriter.WriteEndElement(); // Theme } + + xmlTextWriter.WriteEndElement(); // mRemoteNG + + xmlTextWriter.Close(); + + File.Delete(filename); + File.Move(tempFileName, filename); + } - public static List LoadFromXmlFile(string filename) + public static List LoadFromXmlFile(string filename) + { + XmlDocument xmlDocument = new XmlDocument(); + xmlDocument.Load(filename); + + XmlNode fileInfoNode = xmlDocument.SelectSingleNode("/mRemoteNG/FileInfo"); + Version fileInfoVersion = new Version(fileInfoNode.Attributes["Version"].Value); + if (fileInfoVersion > new Version(1, 0)) { - XmlDocument xmlDocument = new XmlDocument(); - xmlDocument.Load(filename); + throw (new FileFormatException(string.Format("Unsupported FileInfo version ({0}).", fileInfoVersion))); + } - XmlNode fileInfoNode = xmlDocument.SelectSingleNode("/mRemoteNG/FileInfo"); - Version fileInfoVersion = new Version(fileInfoNode.Attributes["Version"].Value); - if (fileInfoVersion > new Version(1, 0)) - { - throw (new FileFormatException(string.Format("Unsupported FileInfo version ({0}).", fileInfoVersion))); - } + XmlNode fileTypeNode = fileInfoNode.SelectSingleNode("./FileType"); + string fileType = fileTypeNode.InnerText; + if (!(fileType == "Theme")) + { + throw (new FileFormatException(string.Format("Incorrect FileType ({0}). Expected \"Theme\".", fileType))); + } - XmlNode fileTypeNode = fileInfoNode.SelectSingleNode("./FileType"); - string fileType = fileTypeNode.InnerText; - if (!(fileType == "Theme")) - { - throw (new FileFormatException(string.Format("Incorrect FileType ({0}). Expected \"Theme\".", fileType))); - } + Version fileTypeVersion = new Version(fileInfoNode.SelectSingleNode("./FileTypeVersion").InnerText); + if (fileTypeVersion > new Version(1, 0)) + { + throw (new FileFormatException(string.Format("Unsupported FileTypeVersion ({0}).", fileTypeVersion))); + } - Version fileTypeVersion = new Version(fileInfoNode.SelectSingleNode("./FileTypeVersion").InnerText); - if (fileTypeVersion > new Version(1, 0)) + XmlNodeList themeNodes = xmlDocument.SelectNodes("/mRemoteNG/Theme"); + List themes = new List(); + ThemeInfo themeInfo = default(ThemeInfo); + Type themeType = (new ThemeInfo()).GetType(); + Type colorType = (new Color()).GetType(); + string colorName = ""; + string colorValue = ""; + PropertyInfo propertyInfo = default(PropertyInfo); + foreach (XmlNode themeNode in themeNodes) + { + themeInfo = new ThemeInfo(); + themeInfo.Name = themeNode.Attributes["Name"].Value; + foreach (XmlNode colorNode in themeNode.SelectNodes("./Color")) { - throw (new FileFormatException(string.Format("Unsupported FileTypeVersion ({0}).", fileTypeVersion))); - } - - XmlNodeList themeNodes = xmlDocument.SelectNodes("/mRemoteNG/Theme"); - List themes = new List(); - ThemeInfo themeInfo = default(ThemeInfo); - Type themeType = (new ThemeInfo()).GetType(); - Type colorType = (new Color()).GetType(); - string colorName = ""; - string colorValue = ""; - PropertyInfo propertyInfo = default(PropertyInfo); - foreach (XmlNode themeNode in themeNodes) - { - themeInfo = new ThemeInfo(); - themeInfo.Name = themeNode.Attributes["Name"].Value; - foreach (XmlNode colorNode in themeNode.SelectNodes("./Color")) + colorName = colorNode.Attributes["Name"].Value; + colorValue = colorNode.Attributes["Value"].Value; + propertyInfo = themeType.GetProperty(colorName); + if (propertyInfo == null || !(propertyInfo.PropertyType == colorType)) { - colorName = colorNode.Attributes["Name"].Value; - colorValue = colorNode.Attributes["Value"].Value; - propertyInfo = themeType.GetProperty(colorName); - if (propertyInfo == null || !(propertyInfo.PropertyType == colorType)) - { - continue; - } - propertyInfo.SetValue(themeInfo, DecodeColorName(colorValue), null); + continue; } - themes.Add(themeInfo); + propertyInfo.SetValue(themeInfo, DecodeColorName(colorValue), null); } + themes.Add(themeInfo); + } - return themes; - } + return themes; + } - private static string EncodeColorName(Color color) + private static string EncodeColorName(Color color) + { + if (color.IsNamedColor) { - if (color.IsNamedColor) - { - return color.Name; - } - else - { - return Conversion.Hex(color.ToArgb()).PadLeft(8, '0'); - } + return color.Name; } - - private static Color DecodeColorName(string name) + else { - System.Text.RegularExpressions.Regex regex = new System.Text.RegularExpressions.Regex("^[0-9a-fA-F]{8}$"); - if (regex.Match(name).Success) - { - return Color.FromArgb(Convert.ToInt32(name, 16)); - } - else - { - return Color.FromName(name); - } + return Conversion.Hex(color.ToArgb()).PadLeft(8, '0'); } } + + private static Color DecodeColorName(string name) + { + System.Text.RegularExpressions.Regex regex = new System.Text.RegularExpressions.Regex("^[0-9a-fA-F]{8}$"); + if (regex.Match(name).Success) + { + return Color.FromArgb(Convert.ToInt32(name, 16)); + } + else + { + return Color.FromName(name); + } + } + } } diff --git a/mRemoteV1/CS/Tools/Authenticode.cs b/mRemoteV1/CS/Tools/Authenticode.cs index d21352a90..06a880fc8 100644 --- a/mRemoteV1/CS/Tools/Authenticode.cs +++ b/mRemoteV1/CS/Tools/Authenticode.cs @@ -68,13 +68,13 @@ namespace mRemoteNG.Tools Marshal.StructureToPtr(trustFileInfo, trustFileInfoPointer, false); Win32.WINTRUST_DATA trustData = new Win32.WINTRUST_DATA(); - trustData.dwUIChoice = Display; + trustData.dwUIChoice = (uint)Display; trustData.fdwRevocationChecks = Win32.WTD_REVOKE_WHOLECHAIN; trustData.dwUnionChoice = Win32.WTD_CHOICE_FILE; trustData.pFile = trustFileInfoPointer; trustData.dwStateAction = Win32.WTD_STATEACTION_IGNORE; trustData.dwProvFlags = Win32.WTD_DISABLE_MD2_MD4; - trustData.dwUIContext = DisplayContext; + trustData.dwUIContext = (uint)DisplayContext; trustDataPointer = Marshal.AllocCoTaskMem(Marshal.SizeOf(trustData)); Marshal.StructureToPtr(trustData, trustDataPointer, false); diff --git a/mRemoteV1/CS/Tools/CommandLineArguments.cs b/mRemoteV1/CS/Tools/CommandLineArguments.cs index 582cf507e..f35970fc3 100644 --- a/mRemoteV1/CS/Tools/CommandLineArguments.cs +++ b/mRemoteV1/CS/Tools/CommandLineArguments.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,8 +8,6 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports - using System.Text.RegularExpressions; @@ -18,141 +15,141 @@ namespace mRemoteNG.Tools { // Adapted from http://qntm.org/cmd public class CommandLineArguments + { + #region Protected Fields + protected List Arguments = new List(); + #endregion + + #region Public Properties + public bool EscapeForShell {get; set;} + #endregion + + #region Public Methods + public void Add(string argument, bool forceQuotes = false) { -#region Protected Fields - protected List Arguments = new List(); -#endregion + Arguments.Add(new Argument(argument, false, forceQuotes)); + } -#region Public Properties - public bool EscapeForShell {get; set;} -#endregion - -#region Public Methods - public void Add(string argument, bool forceQuotes = false) + public void Add(params string[] argumentArray) + { + foreach (string argument in argumentArray) { - Arguments.Add(new argument(argument, false, forceQuotes)); + Add(argument); } + } - public void Add(params string[] argumentArray) + public void AddFileName(string fileName, bool forceQuotes = false) + { + Arguments.Add(new Argument(fileName, true, forceQuotes)); + } + + public override string ToString() + { + List processedArguments = new List(); + + foreach (Argument argument in Arguments) { - foreach (string argument in argumentArray) - { - Add(argument); - } + processedArguments.Add(ProcessArgument(argument, EscapeForShell)); } + + return string.Join(" ", processedArguments.ToArray()); + } - public void AddFileName(string fileName, bool forceQuotes = false) + public static string PrefixFileName(string argument) + { + if (string.IsNullOrEmpty(argument)) { - Arguments.Add(new Argument(fileName, true, forceQuotes)); - } - - public override string ToString() - { - List processedArguments = new List(); - - foreach (Argument argument in Arguments) - { - processedArguments.Add(ProcessArgument(argument, EscapeForShell)); - } - - return string.Join(" ", processedArguments.ToArray()); - } - - public static string PrefixFileName(string argument) - { - if (string.IsNullOrEmpty(argument)) - { - return argument; - } - - if (argument.StartsWith("-")) - { - argument = ".\\" + argument; - } - return argument; } - - public static string EscapeBackslashes(string argument) + + if (argument.StartsWith("-")) { - if (string.IsNullOrEmpty(argument)) - { - return argument; - } - - // Sequence of backslashes followed by a double quote: - // double up all the backslashes and escape the double quote - return Regex.Replace(argument, "(\\\\*)\"", "$1$1\\\""); + argument = ".\\" + argument; } - - public static string EscapeBackslashesForTrailingQuote(string argument) - { - if (string.IsNullOrEmpty(argument)) - { - return argument; - } - // Sequence of backslashes followed by the end of the string - // (which will become a double quote): - // double up all the backslashes - return Regex.Replace(argument, "(\\\\*)$", "$1$1"); - } - - public static string QuoteArgument(string argument, bool forceQuotes = false) - { - if (!forceQuotes && !string.IsNullOrEmpty(argument) && !argument.Contains(" ")) - { - return argument; - } - - return "\"" + EscapeBackslashesForTrailingQuote(argument) + "\""; - } - - public static string EscapeShellMetacharacters(string argument) - { - if (string.IsNullOrEmpty(argument)) - { - return argument; - } - - return Regex.Replace(argument, "([()%!^\"<>&|])", "^$1"); - } -#endregion - -#region Protected Methods - protected static string ProcessArgument(Argument argument, bool escapeForShell = false) - { - string text = argument.Text; - - if (argument.IsFileName) - { - text = PrefixFileName(text); - } - text = EscapeBackslashes(text); - text = QuoteArgument(text, argument.ForceQuotes); - if (escapeForShell) - { - text = EscapeShellMetacharacters(text); - } - - return text; - } -#endregion - -#region Protected Classes - protected class Argument - { - public Argument(string text, bool isFileName = false, bool forceQuotes = false) - { - this.Text = text; - this.IsFileName = isFileName; - this.ForceQuotes = forceQuotes; - } - - public string Text {get; set;} - public bool IsFileName {get; set;} - public bool ForceQuotes {get; set;} - } -#endregion + return argument; } + + public static string EscapeBackslashes(string argument) + { + if (string.IsNullOrEmpty(argument)) + { + return argument; + } + + // Sequence of backslashes followed by a double quote: + // double up all the backslashes and escape the double quote + return Regex.Replace(argument, "(\\\\*)\"", "$1$1\\\""); + } + + public static string EscapeBackslashesForTrailingQuote(string argument) + { + if (string.IsNullOrEmpty(argument)) + { + return argument; + } + + // Sequence of backslashes followed by the end of the string + // (which will become a double quote): + // double up all the backslashes + return Regex.Replace(argument, "(\\\\*)$", "$1$1"); + } + + public static string QuoteArgument(string argument, bool forceQuotes = false) + { + if (!forceQuotes && !string.IsNullOrEmpty(argument) && !argument.Contains(" ")) + { + return argument; + } + + return "\"" + EscapeBackslashesForTrailingQuote(argument) + "\""; + } + + public static string EscapeShellMetacharacters(string argument) + { + if (string.IsNullOrEmpty(argument)) + { + return argument; + } + + return Regex.Replace(argument, "([()%!^\"<>&|])", "^$1"); + } + #endregion + + #region Protected Methods + protected static string ProcessArgument(Argument argument, bool escapeForShell = false) + { + string text = argument.Text; + + if (argument.IsFileName) + { + text = PrefixFileName(text); + } + text = EscapeBackslashes(text); + text = QuoteArgument(text, argument.ForceQuotes); + if (escapeForShell) + { + text = EscapeShellMetacharacters(text); + } + + return text; + } + #endregion + + #region Protected Classes + protected class Argument + { + public Argument(string text, bool isFileName = false, bool forceQuotes = false) + { + this.Text = text; + this.IsFileName = isFileName; + this.ForceQuotes = forceQuotes; + } + + public string Text {get; set;} + public bool IsFileName {get; set;} + public bool ForceQuotes {get; set;} + } + #endregion + } } diff --git a/mRemoteV1/CS/Tools/EnumWindows.cs b/mRemoteV1/CS/Tools/EnumWindows.cs index ed8f296a5..342c5ae58 100644 --- a/mRemoteV1/CS/Tools/EnumWindows.cs +++ b/mRemoteV1/CS/Tools/EnumWindows.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,55 +8,53 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports - using System.Runtime.InteropServices; namespace mRemoteNG.Tools { public class EnumWindows + { + public static List EnumWindows_Renamed() { - public static List EnumWindows_Renamed() - { - List handleList = new List(); + List handleList = new List(); - HandleLists.Add(handleList); - int handleIndex = HandleLists.IndexOf(handleList); - Win32.EnumWindows(EnumCallback, handleIndex); - HandleLists.Remove(handleList); + HandleLists.Add(handleList); + int handleIndex = HandleLists.IndexOf(handleList); + Win32.EnumWindows(EnumCallback, handleIndex); + HandleLists.Remove(handleList); - return handleList; - } - - public static List EnumChildWindows(IntPtr hWndParent) - { - List handleList = new List(); - - HandleLists.Add(handleList); - int handleIndex = HandleLists.IndexOf(handleList); - Win32.EnumChildWindows(hWndParent, EnumCallback, handleIndex); - HandleLists.Remove(handleList); - - return handleList; - } - - private static readonly List> HandleLists = new List>(); - - private static bool EnumCallback(int hwnd, int lParam) - { - HandleLists[lParam].Add(hwnd); - return true; - } - - // ReSharper disable ClassNeverInstantiated.Local - private class Win32 - { - // ReSharper restore ClassNeverInstantiated.Local - public delegate bool EnumWindowsProc(int hwnd, int lParam); - [DllImport("user32", ExactSpelling=true, CharSet=CharSet.Ansi, SetLastError=true)] - public static extern bool EnumWindows(EnumWindowsProc lpEnumFunc, int lParam); - [DllImport("user32", ExactSpelling=true, CharSet=CharSet.Ansi, SetLastError=true)] - public static extern bool EnumChildWindows(IntPtr hWndParent, EnumWindowsProc lpEnumFunc, int lParam); - } + return handleList; } + + public static List EnumChildWindows(IntPtr hWndParent) + { + List handleList = new List(); + + HandleLists.Add(handleList); + int handleIndex = HandleLists.IndexOf(handleList); + Win32.EnumChildWindows(hWndParent, EnumCallback, handleIndex); + HandleLists.Remove(handleList); + + return handleList; + } + + private static readonly List> HandleLists = new List>(); + + private static bool EnumCallback(int hwnd, int lParam) + { + HandleLists[lParam].Add((IntPtr)hwnd); + return true; + } + + // ReSharper disable ClassNeverInstantiated.Local + private class Win32 + { + // ReSharper restore ClassNeverInstantiated.Local + public delegate bool EnumWindowsProc(int hwnd, int lParam); + [DllImport("user32", ExactSpelling=true, CharSet=CharSet.Ansi, SetLastError=true)] + public static extern bool EnumWindows(EnumWindowsProc lpEnumFunc, int lParam); + [DllImport("user32", ExactSpelling=true, CharSet=CharSet.Ansi, SetLastError=true)] + public static extern bool EnumChildWindows(IntPtr hWndParent, EnumWindowsProc lpEnumFunc, int lParam); + } + } } diff --git a/mRemoteV1/CS/Tools/EnvironmentInfo.cs b/mRemoteV1/CS/Tools/EnvironmentInfo.cs index 3e9eea7e1..24989ae16 100644 --- a/mRemoteV1/CS/Tools/EnvironmentInfo.cs +++ b/mRemoteV1/CS/Tools/EnvironmentInfo.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,62 +8,62 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports - using System.Runtime.InteropServices; namespace mRemoteNG.Tools { public class EnvironmentInfo + { + public static bool IsWow64 { -public static bool IsWow64 + get { - get + Win32.IsWow64ProcessDelegate isWow64ProcessDelegate = GetIsWow64ProcessDelegate(); + if (isWow64ProcessDelegate == null) { - Win32.IsWow64ProcessDelegate isWow64ProcessDelegate = GetIsWow64ProcessDelegate(); - if (isWow64ProcessDelegate == null) - { - return false; - } + return false; + } - bool isWow64Process = false; - bool result = System.Convert.ToBoolean(isWow64ProcessDelegate.Invoke(Process.GetCurrentProcess().Handle, isWow64Process)); - if (!result) - { - return false; - } + bool isWow64Process = false; + bool result = System.Convert.ToBoolean(isWow64ProcessDelegate.Invoke(Process.GetCurrentProcess().Handle, ref isWow64Process)); + if (!result) + { + return false; + } - return isWow64Process; - } - } - - private static Win32.IsWow64ProcessDelegate GetIsWow64ProcessDelegate() - { - IntPtr moduleHandle = Win32.LoadLibrary("kernel32"); - if (moduleHandle == IntPtr.Zero) - { - return null; - } - - IntPtr functionPointer = Win32.GetProcAddress(moduleHandle, "IsWow64Process"); - if (functionPointer == IntPtr.Zero) - { - return null; - } - - return Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(Win32.IsWow64ProcessDelegate)); - } - - protected class Win32 - { - // ReSharper disable InconsistentNaming - [DllImport("kernel32", CharSet = CharSet.Auto, SetLastError = true)]public static extern IntPtr LoadLibrary([In(), MarshalAs(UnmanagedType.LPTStr)]string lpFileName); - - [DllImport("kernel32", ExactSpelling = true, CharSet = CharSet.Ansi, SetLastError = true)]public static extern IntPtr GetProcAddress([In()]IntPtr hModule, [In(), MarshalAs(UnmanagedType.LPStr)]string lpProcName); - - public delegate bool IsWow64ProcessDelegate([In()]IntPtr hProcess, ref bool Wow64Process); - // ReSharper restore InconsistentNaming + return isWow64Process; } } + + private static Win32.IsWow64ProcessDelegate GetIsWow64ProcessDelegate() + { + IntPtr moduleHandle = Win32.LoadLibrary("kernel32"); + if (moduleHandle == IntPtr.Zero) + { + return null; + } + + IntPtr functionPointer = Win32.GetProcAddress(moduleHandle, "IsWow64Process"); + if (functionPointer == IntPtr.Zero) + { + return null; + } + + return (Win32.IsWow64ProcessDelegate)Marshal.GetDelegateForFunctionPointer(functionPointer, typeof(Win32.IsWow64ProcessDelegate)); + } + + protected class Win32 + { + // ReSharper disable InconsistentNaming + [DllImport("kernel32", CharSet = CharSet.Auto, SetLastError = true)] + public static extern IntPtr LoadLibrary([In(), MarshalAs(UnmanagedType.LPTStr)]string lpFileName); + + [DllImport("kernel32", ExactSpelling = true, CharSet = CharSet.Ansi, SetLastError = true)] + public static extern IntPtr GetProcAddress([In()]IntPtr hModule, [In(), MarshalAs(UnmanagedType.LPStr)]string lpProcName); + + public delegate bool IsWow64ProcessDelegate([In()]IntPtr hProcess, ref bool Wow64Process); + // ReSharper restore InconsistentNaming + } + } } diff --git a/mRemoteV1/CS/Tools/ProcessController.cs b/mRemoteV1/CS/Tools/ProcessController.cs index 88409ceeb..ecb81f32c 100644 --- a/mRemoteV1/CS/Tools/ProcessController.cs +++ b/mRemoteV1/CS/Tools/ProcessController.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,8 +8,6 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports - using System.Runtime.InteropServices; using System.Text; using mRemoteNG.My; @@ -19,249 +16,247 @@ using mRemoteNG.My; namespace mRemoteNG.Tools { public class ProcessController + { + #region Public Methods + public bool Start(string fileName, CommandLineArguments arguments = null) { -#region Public Methods - public bool Start(string fileName, CommandLineArguments arguments = null) + Process.StartInfo.UseShellExecute = false; + Process.StartInfo.FileName = fileName; + if (arguments != null) { - Process.StartInfo.UseShellExecute = false; - Process.StartInfo.FileName = fileName; - if (arguments != null) - { - Process.StartInfo.Arguments = arguments.ToString(); - } - - if (!Process.Start()) - { - return false; - } - GetMainWindowHandle(); - - return true; + Process.StartInfo.Arguments = arguments.ToString(); } + + if (!Process.Start()) + { + return false; + } + GetMainWindowHandle(); + + return true; + } - public bool SetControlVisible(string className, string text, bool visible = true) + public bool SetControlVisible(string className, string text, bool visible = true) + { + if (Process == null || Process.HasExited) { - if (Process == null || Process.HasExited) - { - return false; - } - if (Handle == IntPtr.Zero) - { - return false; - } - - IntPtr controlHandle = GetControlHandle(className, text); - if (controlHandle == IntPtr.Zero) - { - return false; - } - - int nCmdShow = 0; - if (visible) - { - nCmdShow = Win32.SW_SHOW; - } - else - { - nCmdShow = Win32.SW_HIDE; - } - - Win32.ShowWindow(controlHandle, nCmdShow); - - return true; + return false; } + if (Handle == IntPtr.Zero) + { + return false; + } + + IntPtr controlHandle = GetControlHandle(className, text); + if (controlHandle == IntPtr.Zero) + { + return false; + } + + int nCmdShow = 0; + if (visible) + { + nCmdShow = Win32.SW_SHOW; + } + else + { + nCmdShow = Win32.SW_HIDE; + } + Win32.ShowWindow(controlHandle, nCmdShow); + return true; + } - public bool SetControlText(string className, string oldText, string newText) + public bool SetControlText(string className, string oldText, string newText) + { + if (Process == null || Process.HasExited) { - if (Process == null || Process.HasExited) - { - return false; - } - if (Handle == IntPtr.Zero) - { - return false; - } - - IntPtr controlHandle = GetControlHandle(className, oldText); - if (controlHandle == IntPtr.Zero) - { - return false; - } - - IntPtr result = Win32.SendMessage(controlHandle, Win32.WM_SETTEXT, 0, new StringBuilder(newText)); - if (!(result.ToInt32() == Win32.TRUE)) - { - return false; - } - - return true; + return false; } + if (Handle == IntPtr.Zero) + { + return false; + } + + IntPtr controlHandle = GetControlHandle(className, oldText); + if (controlHandle == IntPtr.Zero) + { + return false; + } + + IntPtr result = Win32.SendMessage(controlHandle, Win32.WM_SETTEXT, (IntPtr)0, new StringBuilder(newText)); + if (!(result.ToInt32() == Win32.TRUE)) + { + return false; + } + + return true; + } - public bool SelectListBoxItem(string itemText) + public bool SelectListBoxItem(string itemText) + { + if (Process == null || Process.HasExited) { - if (Process == null || Process.HasExited) - { - return false; - } - if (Handle == IntPtr.Zero) - { - return false; - } - - IntPtr listBoxHandle = GetControlHandle("ListBox"); - if (listBoxHandle == IntPtr.Zero) - { - return false; - } - - IntPtr result = Win32.SendMessage(listBoxHandle, Win32.LB_SELECTSTRING, -1, new StringBuilder(itemText)); - if (result.ToInt32() == Win32.LB_ERR) - { - return false; - } - - return true; + return false; } + if (Handle == IntPtr.Zero) + { + return false; + } + + IntPtr listBoxHandle = GetControlHandle("ListBox"); + if (listBoxHandle == IntPtr.Zero) + { + return false; + } + + IntPtr result = Win32.SendMessage(listBoxHandle, Win32.LB_SELECTSTRING, (IntPtr)(-1), new StringBuilder(itemText)); + if (result.ToInt32() == Win32.LB_ERR) + { + return false; + } + + return true; + } - public bool ClickButton(string text) + public bool ClickButton(string text) + { + if (Process == null || Process.HasExited) { - if (Process == null || Process.HasExited) - { - return false; - } - if (Handle == IntPtr.Zero) - { - return false; - } - - IntPtr buttonHandle = GetControlHandle("Button", text); - if (buttonHandle == IntPtr.Zero) - { - return false; - } - - int buttonControlId = Win32.GetDlgCtrlID(buttonHandle); - Win32.SendMessage(Handle, Win32.WM_COMMAND, buttonControlId, buttonHandle); - - return true; + return false; } + if (Handle == IntPtr.Zero) + { + return false; + } + + IntPtr buttonHandle = GetControlHandle("Button", text); + if (buttonHandle == IntPtr.Zero) + { + return false; + } + + int buttonControlId = Win32.GetDlgCtrlID(buttonHandle.ToInt32()); + Win32.SendMessage(Handle, Win32.WM_COMMAND, (IntPtr)buttonControlId, buttonHandle); + + return true; + } - public void WaitForExit() + public void WaitForExit() + { + if (Process == null || Process.HasExited) { - if (Process == null || Process.HasExited) - { - return ; - } - Process.WaitForExit(); + return ; } + Process.WaitForExit(); + } #endregion #region Protected Fields - protected Process Process = new Process(); - protected IntPtr Handle = IntPtr.Zero; - protected List Controls = new List(); + protected Process Process = new Process(); + protected IntPtr Handle = IntPtr.Zero; + protected List Controls = new List(); #endregion #region Protected Methods - protected IntPtr GetMainWindowHandle() + protected IntPtr GetMainWindowHandle() + { + if (Process == null || Process.HasExited) { - if (Process == null || Process.HasExited) - { - return IntPtr.Zero; - } - - Process.WaitForInputIdle(Settings.MaxPuttyWaitTime * 1000); - - Handle = IntPtr.Zero; - int startTicks = Environment.TickCount; - while (Handle == IntPtr.Zero && Environment.TickCount < startTicks + (Settings.MaxPuttyWaitTime * 1000)) - { - Process.Refresh(); - Handle = Process.MainWindowHandle; - if (Handle == IntPtr.Zero) - { - System.Threading.Thread.Sleep(0); - } - } - - return Handle; + return IntPtr.Zero; } - protected IntPtr GetControlHandle(string className, string text = "") + Process.WaitForInputIdle(My.Settings.Default.MaxPuttyWaitTime * 1000); + + Handle = IntPtr.Zero; + int startTicks = Environment.TickCount; + while (Handle == IntPtr.Zero && Environment.TickCount < startTicks + (My.Settings.Default.MaxPuttyWaitTime * 1000)) { - if (Process == null || Process.HasExited) - { - return IntPtr.Zero; - } + Process.Refresh(); + Handle = Process.MainWindowHandle; if (Handle == IntPtr.Zero) { - return IntPtr.Zero; + System.Threading.Thread.Sleep(0); } + } - if (Controls.Count == 0) - { - Controls = EnumWindows.EnumChildWindows(Handle); - } + return Handle; + } + + protected IntPtr GetControlHandle(string className, string text = "") + { + if (Process == null || Process.HasExited) + { + return IntPtr.Zero; + } + if (Handle == IntPtr.Zero) + { + return IntPtr.Zero; + } - System.Text.StringBuilder stringBuilder = new System.Text.StringBuilder(); - IntPtr controlHandle = IntPtr.Zero; - foreach (IntPtr control in Controls) + if (Controls.Count == 0) + { + Controls = EnumWindows.EnumChildWindows(Handle); + } + + System.Text.StringBuilder stringBuilder = new System.Text.StringBuilder(); + IntPtr controlHandle = IntPtr.Zero; + foreach (IntPtr control in Controls) + { + Win32.GetClassName(control, stringBuilder, stringBuilder.Capacity); + if (stringBuilder.ToString() == className) { - Win32.GetClassName(control, stringBuilder, stringBuilder.Capacity); - if (stringBuilder.ToString() == className) + if (string.IsNullOrEmpty(text)) { - if (string.IsNullOrEmpty(text)) + controlHandle = control; + break; + } + else + { + Win32.SendMessage(control, Win32.WM_GETTEXT, new IntPtr(stringBuilder.Capacity), stringBuilder); + if (stringBuilder.ToString() == text) { controlHandle = control; break; } - else - { - Win32.SendMessage(control, Win32.WM_GETTEXT, stringBuilder.Capacity, stringBuilder); - if (stringBuilder.ToString() == text) - { - controlHandle = control; - break; - } - } } } - - return controlHandle; } + + return controlHandle; + } #endregion #region Win32 - // ReSharper disable ClassNeverInstantiated.Local - private class Win32 - { - // ReSharper restore ClassNeverInstantiated.Local - // ReSharper disable InconsistentNaming - // ReSharper disable UnusedMethodReturnValue.Local - [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]public static extern void GetClassName(IntPtr hWnd, System.Text.StringBuilder lpClassName, int nMaxCount); + // ReSharper disable ClassNeverInstantiated.Local + private class Win32 + { + // ReSharper restore ClassNeverInstantiated.Local + // ReSharper disable InconsistentNaming + // ReSharper disable UnusedMethodReturnValue.Local + [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]public static extern void GetClassName(IntPtr hWnd, System.Text.StringBuilder lpClassName, int nMaxCount); - [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]public static extern IntPtr SendMessage(IntPtr hWnd, UInt32 Msg, IntPtr wParam, IntPtr lParam); + [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]public static extern IntPtr SendMessage(IntPtr hWnd, UInt32 Msg, IntPtr wParam, IntPtr lParam); - [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]public static extern IntPtr SendMessage(IntPtr hWnd, UInt32 Msg, IntPtr wParam, System.Text.StringBuilder lParam); + [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]public static extern IntPtr SendMessage(IntPtr hWnd, UInt32 Msg, IntPtr wParam, System.Text.StringBuilder lParam); - [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]public static extern int GetDlgCtrlID(int hwndCtl); + [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]public static extern int GetDlgCtrlID(int hwndCtl); - [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]public static extern bool ShowWindow(IntPtr hWnd, int nCmdShow); + [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]public static extern bool ShowWindow(IntPtr hWnd, int nCmdShow); - public const int LB_ERR = -1; - public const int LB_SELECTSTRING = 0x18C; + public const int LB_ERR = -1; + public const int LB_SELECTSTRING = 0x18C; - public const int WM_SETTEXT = 0xC; - public const int WM_GETTEXT = 0xD; - public const int WM_COMMAND = 0x111; + public const int WM_SETTEXT = 0xC; + public const int WM_GETTEXT = 0xD; + public const int WM_COMMAND = 0x111; - public const int SW_HIDE = 0; - public const int SW_SHOW = 5; + public const int SW_HIDE = 0; + public const int SW_SHOW = 5; - public const int TRUE = 1; - // ReSharper restore UnusedMethodReturnValue.Local - // ReSharper restore InconsistentNaming - } -#endregion + public const int TRUE = 1; + // ReSharper restore UnusedMethodReturnValue.Local + // ReSharper restore InconsistentNaming } +#endregion + } } diff --git a/mRemoteV1/CS/Tools/PropertyGridCommandSite.cs b/mRemoteV1/CS/Tools/PropertyGridCommandSite.cs index c8a2d0046..54d5715dd 100644 --- a/mRemoteV1/CS/Tools/PropertyGridCommandSite.cs +++ b/mRemoteV1/CS/Tools/PropertyGridCommandSite.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,8 +8,6 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports - using System.ComponentModel; using System.ComponentModel.Design; using System.Reflection; @@ -20,14 +17,13 @@ namespace mRemoteNG.Tools { public class PropertyGridCommandSite : IMenuCommandService, ISite { - protected object TheObject; public PropertyGridCommandSite(object @object) { TheObject = @object; } -public DesignerVerbCollection Verbs + public DesignerVerbCollection Verbs { get { @@ -121,7 +117,7 @@ public DesignerVerbCollection Verbs } } -public System.ComponentModel.IComponent Component + public System.ComponentModel.IComponent Component { get { @@ -129,7 +125,7 @@ public System.ComponentModel.IComponent Component } } -public System.ComponentModel.IContainer Container + public System.ComponentModel.IContainer Container { get { @@ -137,7 +133,7 @@ public System.ComponentModel.IContainer Container } } -public bool DesignMode + public bool DesignMode { get { @@ -145,7 +141,7 @@ public bool DesignMode } } -public string Name + public string Name { get { @@ -195,22 +191,22 @@ public string Name } public class CommandAttribute : Attribute + { + private bool _Command = false; + public bool Command { - private bool _Command = false; -public bool Command + get { - get - { - return _Command; - } - set - { - _Command = value; - } + return _Command; } - public CommandAttribute(bool isCommand = true) + set { - Command = isCommand; + _Command = value; } } + public CommandAttribute(bool isCommand = true) + { + Command = isCommand; + } + } } diff --git a/mRemoteV1/CS/Tools/ReconnectGroup.Designer.cs b/mRemoteV1/CS/Tools/ReconnectGroup.Designer.cs index 33608a0b3..8d0443fe4 100644 --- a/mRemoteV1/CS/Tools/ReconnectGroup.Designer.cs +++ b/mRemoteV1/CS/Tools/ReconnectGroup.Designer.cs @@ -110,7 +110,7 @@ namespace mRemoteNG // //pbServerStatus // - this.pbServerStatus.Image = global::My.Resources.Resources.HostStatus_Check; + this.pbServerStatus.Image = My.Resources.HostStatus_Check; this.pbServerStatus.Location = new System.Drawing.Point(99, 23); this.pbServerStatus.Name = "pbServerStatus"; this.pbServerStatus.Size = new System.Drawing.Size(16, 16); diff --git a/mRemoteV1/CS/Tools/ReconnectGroup.cs b/mRemoteV1/CS/Tools/ReconnectGroup.cs index 2c9698655..fafb42a27 100644 --- a/mRemoteV1/CS/Tools/ReconnectGroup.cs +++ b/mRemoteV1/CS/Tools/ReconnectGroup.cs @@ -29,11 +29,11 @@ namespace mRemoteNG { if (value == true) { - SetStatusImage(global::My.Resources.HostStatus_On); + SetStatusImage(My.Resources.HostStatus_On); } else { - SetStatusImage(global::My.Resources.HostStatus_Off); + SetStatusImage(My.Resources.HostStatus_Off); } _ServerReady = value; diff --git a/mRemoteV1/CS/Tools/Tools.Controls.cs b/mRemoteV1/CS/Tools/Tools.Controls.cs index 019447320..d808fe6fd 100644 --- a/mRemoteV1/CS/Tools/Tools.Controls.cs +++ b/mRemoteV1/CS/Tools/Tools.Controls.cs @@ -86,7 +86,7 @@ namespace mRemoteNG.Tools { this._cMenCons = new ToolStripMenuItem(); this._cMenCons.Text = My.Language.strConnections; - this._cMenCons.Image = global::My.Resources.Root; + this._cMenCons.Image = My.Resources.Root; this._cMenSep1 = new ToolStripSeparator(); @@ -102,7 +102,7 @@ namespace mRemoteNG.Tools this._nI = new NotifyIcon(); this._nI.Text = "mRemote"; this._nI.BalloonTipText = "mRemote"; - this._nI.Icon = global::My.Resources.mRemote_Icon; + this._nI.Icon = My.Resources.mRemote_Icon; this._nI.ContextMenuStrip = this._cMen; this._nI.Visible = true; @@ -155,7 +155,7 @@ namespace mRemoteNG.Tools if (Tree.Node.GetNodeType(tNode) == Tree.Node.Type.Container) { - tMenItem.Image = global::My.Resources.Folder; + tMenItem.Image = My.Resources.Folder; tMenItem.Tag = tNode.Tag; menToolStrip.DropDownItems.Add(tMenItem); diff --git a/mRemoteV1/CS/Tree/Tree.Node.cs b/mRemoteV1/CS/Tree/Tree.Node.cs index 72ac7390b..f69533828 100644 --- a/mRemoteV1/CS/Tree/Tree.Node.cs +++ b/mRemoteV1/CS/Tree/Tree.Node.cs @@ -32,22 +32,13 @@ namespace mRemoteNG.Tree private static TreeView _TreeView; public static TreeView TreeView { - get - { - return _TreeView; - } - set - { - _TreeView = value; - } + get { return _TreeView; } + set { _TreeView = value; } } public static TreeNode SelectedNode { - get - { - return _TreeView.SelectedNode; - } + get { return _TreeView.SelectedNode; } set { treeNodeToBeSelected = value; @@ -72,7 +63,6 @@ namespace mRemoteNG.Tree } } - public static string GetConstantID(TreeNode node) { if (GetNodeType(node) == Type.Connection) @@ -525,7 +515,7 @@ namespace mRemoteNG.Tree if (newName.Length > 0) { - SelectedNode.Tag.Name = newName; + ((Connection.Info)SelectedNode.Tag).Name = newName; if (My.Settings.Default.SetHostnameLikeDisplayName) { diff --git a/mRemoteV1/CS/Controls/ListView.cs b/mRemoteV1/CS/UI/Controls/ListView.cs similarity index 99% rename from mRemoteV1/CS/Controls/ListView.cs rename to mRemoteV1/CS/UI/Controls/ListView.cs index 837836c87..b8219e4ba 100644 --- a/mRemoteV1/CS/Controls/ListView.cs +++ b/mRemoteV1/CS/UI/Controls/ListView.cs @@ -207,7 +207,7 @@ namespace mRemoteNG.Controls break; } - if (RightToLeft) + if (RightToLeft.ToString() != null) { format.FormatFlags = (System.Drawing.StringFormatFlags) (format.FormatFlags | StringFormatFlags.DirectionRightToLeft); } diff --git a/mRemoteV1/CS/Controls/QuickConnectComboBox.cs b/mRemoteV1/CS/UI/Controls/QuickConnectComboBox.cs similarity index 98% rename from mRemoteV1/CS/Controls/QuickConnectComboBox.cs rename to mRemoteV1/CS/UI/Controls/QuickConnectComboBox.cs index 62e6b3d60..1201cb802 100644 --- a/mRemoteV1/CS/Controls/QuickConnectComboBox.cs +++ b/mRemoteV1/CS/UI/Controls/QuickConnectComboBox.cs @@ -17,7 +17,6 @@ namespace mRemoteNG.Controls { public class QuickConnectComboBox : ToolStripComboBox { - private ComboBox _comboBox; private bool _ignoreEnter = false; @@ -97,7 +96,7 @@ namespace mRemoteNG.Controls if (drawItem is HistoryItem) { HistoryItem historyItem = (HistoryItem) drawItem; - drawString = historyItem.ToString[true]; + drawString = historyItem.ToString(true); } else { @@ -188,7 +187,7 @@ namespace mRemoteNG.Controls } } -#region Events + #region Events public class ConnectRequestedEventArgs : EventArgs { @@ -199,7 +198,7 @@ namespace mRemoteNG.Controls private string _connectionString; -public string ConnectionString + public string ConnectionString { get { diff --git a/mRemoteV1/CS/UI/Controls/TextBox.cs b/mRemoteV1/CS/UI/Controls/TextBox.cs new file mode 100644 index 000000000..0de3b7b96 --- /dev/null +++ b/mRemoteV1/CS/UI/Controls/TextBox.cs @@ -0,0 +1,74 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; +using System.ComponentModel; + + +// Adapted from http://stackoverflow.com/a/3678888/2101395 + +namespace mRemoteNG.Controls +{ + public class TextBox : System.Windows.Forms.TextBox + { + #region Public Properties + [Category("Behavior"), + DefaultValue(false)]private bool _SelectAllOnFocus = false; + public bool SelectAllOnFocus + { + get + { + return _SelectAllOnFocus; + } + set + { + _SelectAllOnFocus = value; + } + } + #endregion + + #region Protected Methods + protected override void OnEnter(EventArgs e) + { + base.OnEnter(e); + + if (MouseButtons == MouseButtons.None) + { + SelectAll(); + _focusHandled = true; + } + } + + protected override void OnLeave(EventArgs e) + { + base.OnLeave(e); + + _focusHandled = false; + } + + protected override void OnMouseUp(MouseEventArgs e) + { + base.OnMouseUp(e); + + if (!_focusHandled) + { + if (SelectionLength == 0) + { + SelectAll(); + } + _focusHandled = true; + } + } + #endregion + + #region Private Fields + private bool _focusHandled = false; + #endregion + } +} \ No newline at end of file diff --git a/mRemoteV1/CS/Controls/ToolStripSplitButton.cs b/mRemoteV1/CS/UI/Controls/ToolStripSplitButton.cs similarity index 89% rename from mRemoteV1/CS/Controls/ToolStripSplitButton.cs rename to mRemoteV1/CS/UI/Controls/ToolStripSplitButton.cs index 52ddd04ed..dbfdc1fce 100644 --- a/mRemoteV1/CS/Controls/ToolStripSplitButton.cs +++ b/mRemoteV1/CS/UI/Controls/ToolStripSplitButton.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,7 +8,6 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports namespace mRemoteNG @@ -19,7 +17,7 @@ namespace mRemoteNG public class ToolStripSplitButton : System.Windows.Forms.ToolStripSplitButton { -public ToolStripDropDown DropDown + public ToolStripDropDown DropDown { get { @@ -30,7 +28,7 @@ public ToolStripDropDown DropDown if (base.DropDown != value) { base.DropDown = value; - base.DropDown.Closing += new System.EventHandler(DropDown_Closing); + base.DropDown.Closing += DropDown_Closing; } } } diff --git a/mRemoteV1/CS/UI/Forms/ExportForm.Designer.cs b/mRemoteV1/CS/UI/Forms/ExportForm.Designer.cs new file mode 100644 index 000000000..c07aed90a --- /dev/null +++ b/mRemoteV1/CS/UI/Forms/ExportForm.Designer.cs @@ -0,0 +1,313 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; + + +namespace mRemoteNG.Forms +{ + public partial class ExportForm : Form + { + #region Windows Form Designer generated code + + private void InitializeComponent() + { + this.btnCancel = new System.Windows.Forms.Button(); + this.Load += new System.EventHandler(ExportForm_Load); + this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); + this.btnOK = new System.Windows.Forms.Button(); + this.btnOK.Click += new System.EventHandler(this.btnOK_Click); + this.lblUncheckProperties = new System.Windows.Forms.Label(); + this.chkUsername = new System.Windows.Forms.CheckBox(); + this.chkPassword = new System.Windows.Forms.CheckBox(); + this.chkDomain = new System.Windows.Forms.CheckBox(); + this.chkInheritance = new System.Windows.Forms.CheckBox(); + this.txtFileName = new System.Windows.Forms.TextBox(); + this.txtFileName.TextChanged += new System.EventHandler(this.txtFileName_TextChanged); + this.btnBrowse = new System.Windows.Forms.Button(); + this.btnBrowse.Click += new System.EventHandler(this.btnBrowse_Click); + this.grpProperties = new System.Windows.Forms.GroupBox(); + this.grpFile = new System.Windows.Forms.GroupBox(); + this.lblFileFormat = new System.Windows.Forms.Label(); + this.lblFileName = new System.Windows.Forms.Label(); + this.cboFileFormat = new System.Windows.Forms.ComboBox(); + this.grpItems = new System.Windows.Forms.GroupBox(); + this.lblSelectedConnection = new System.Windows.Forms.Label(); + this.lblSelectedFolder = new System.Windows.Forms.Label(); + this.rdoExportSelectedConnection = new System.Windows.Forms.RadioButton(); + this.rdoExportSelectedFolder = new System.Windows.Forms.RadioButton(); + this.rdoExportEverything = new System.Windows.Forms.RadioButton(); + this.grpProperties.SuspendLayout(); + this.grpFile.SuspendLayout(); + this.grpItems.SuspendLayout(); + this.SuspendLayout(); + // + //btnCancel + // + this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.btnCancel.Location = new System.Drawing.Point(447, 473); + this.btnCancel.Name = "btnCancel"; + this.btnCancel.Size = new System.Drawing.Size(75, 23); + this.btnCancel.TabIndex = 3; + this.btnCancel.Text = "&Cancel"; + this.btnCancel.UseVisualStyleBackColor = true; + // + //btnOK + // + this.btnOK.Location = new System.Drawing.Point(366, 473); + this.btnOK.Name = "btnOK"; + this.btnOK.Size = new System.Drawing.Size(75, 23); + this.btnOK.TabIndex = 2; + this.btnOK.Text = "&OK"; + this.btnOK.UseVisualStyleBackColor = true; + // + //lblUncheckProperties + // + this.lblUncheckProperties.AutoSize = true; + this.lblUncheckProperties.Location = new System.Drawing.Point(12, 134); + this.lblUncheckProperties.Name = "lblUncheckProperties"; + this.lblUncheckProperties.Size = new System.Drawing.Size(244, 13); + this.lblUncheckProperties.TabIndex = 4; + this.lblUncheckProperties.Text = "Uncheck the properties you want not to be saved!"; + // + //chkUsername + // + this.chkUsername.AutoSize = true; + this.chkUsername.Checked = true; + this.chkUsername.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkUsername.Location = new System.Drawing.Point(15, 32); + this.chkUsername.Name = "chkUsername"; + this.chkUsername.Size = new System.Drawing.Size(74, 17); + this.chkUsername.TabIndex = 0; + this.chkUsername.Text = "Username"; + this.chkUsername.UseVisualStyleBackColor = true; + // + //chkPassword + // + this.chkPassword.AutoSize = true; + this.chkPassword.Checked = true; + this.chkPassword.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkPassword.Location = new System.Drawing.Point(15, 55); + this.chkPassword.Name = "chkPassword"; + this.chkPassword.Size = new System.Drawing.Size(72, 17); + this.chkPassword.TabIndex = 1; + this.chkPassword.Text = "Password"; + this.chkPassword.UseVisualStyleBackColor = true; + // + //chkDomain + // + this.chkDomain.AutoSize = true; + this.chkDomain.Checked = true; + this.chkDomain.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkDomain.Location = new System.Drawing.Point(15, 78); + this.chkDomain.Name = "chkDomain"; + this.chkDomain.Size = new System.Drawing.Size(62, 17); + this.chkDomain.TabIndex = 2; + this.chkDomain.Text = "Domain"; + this.chkDomain.UseVisualStyleBackColor = true; + // + //chkInheritance + // + this.chkInheritance.AutoSize = true; + this.chkInheritance.Checked = true; + this.chkInheritance.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkInheritance.Location = new System.Drawing.Point(15, 101); + this.chkInheritance.Name = "chkInheritance"; + this.chkInheritance.Size = new System.Drawing.Size(79, 17); + this.chkInheritance.TabIndex = 3; + this.chkInheritance.Text = "Inheritance"; + this.chkInheritance.UseVisualStyleBackColor = true; + // + //txtFileName + // + this.txtFileName.Location = new System.Drawing.Point(15, 48); + this.txtFileName.Name = "txtFileName"; + this.txtFileName.Size = new System.Drawing.Size(396, 20); + this.txtFileName.TabIndex = 1; + // + //btnBrowse + // + this.btnBrowse.Location = new System.Drawing.Point(417, 46); + this.btnBrowse.Name = "btnBrowse"; + this.btnBrowse.Size = new System.Drawing.Size(75, 23); + this.btnBrowse.TabIndex = 2; + this.btnBrowse.Text = "&Browse"; + this.btnBrowse.UseVisualStyleBackColor = true; + // + //grpProperties + // + this.grpProperties.Controls.Add(this.lblUncheckProperties); + this.grpProperties.Controls.Add(this.chkInheritance); + this.grpProperties.Controls.Add(this.chkUsername); + this.grpProperties.Controls.Add(this.chkDomain); + this.grpProperties.Controls.Add(this.chkPassword); + this.grpProperties.Location = new System.Drawing.Point(12, 304); + this.grpProperties.Name = "grpProperties"; + this.grpProperties.Size = new System.Drawing.Size(510, 163); + this.grpProperties.TabIndex = 1; + this.grpProperties.TabStop = false; + this.grpProperties.Text = "Export Properties"; + // + //grpFile + // + this.grpFile.Controls.Add(this.lblFileFormat); + this.grpFile.Controls.Add(this.lblFileName); + this.grpFile.Controls.Add(this.cboFileFormat); + this.grpFile.Controls.Add(this.txtFileName); + this.grpFile.Controls.Add(this.btnBrowse); + this.grpFile.Location = new System.Drawing.Point(12, 12); + this.grpFile.Name = "grpFile"; + this.grpFile.Size = new System.Drawing.Size(510, 140); + this.grpFile.TabIndex = 0; + this.grpFile.TabStop = false; + this.grpFile.Text = "Export File"; + // + //lblFileFormat + // + this.lblFileFormat.AutoSize = true; + this.lblFileFormat.Location = new System.Drawing.Point(12, 84); + this.lblFileFormat.Name = "lblFileFormat"; + this.lblFileFormat.Size = new System.Drawing.Size(61, 13); + this.lblFileFormat.TabIndex = 3; + this.lblFileFormat.Text = "File &Format:"; + // + //lblFileName + // + this.lblFileName.AutoSize = true; + this.lblFileName.Location = new System.Drawing.Point(12, 32); + this.lblFileName.Name = "lblFileName"; + this.lblFileName.Size = new System.Drawing.Size(52, 13); + this.lblFileName.TabIndex = 0; + this.lblFileName.Text = "Filename:"; + // + //cboFileFormat + // + this.cboFileFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cboFileFormat.FormattingEnabled = true; + this.cboFileFormat.Location = new System.Drawing.Point(15, 100); + this.cboFileFormat.Name = "cboFileFormat"; + this.cboFileFormat.Size = new System.Drawing.Size(294, 21); + this.cboFileFormat.TabIndex = 4; + // + //grpItems + // + this.grpItems.Controls.Add(this.lblSelectedConnection); + this.grpItems.Controls.Add(this.lblSelectedFolder); + this.grpItems.Controls.Add(this.rdoExportSelectedConnection); + this.grpItems.Controls.Add(this.rdoExportSelectedFolder); + this.grpItems.Controls.Add(this.rdoExportEverything); + this.grpItems.Location = new System.Drawing.Point(12, 158); + this.grpItems.Name = "grpItems"; + this.grpItems.Size = new System.Drawing.Size(510, 140); + this.grpItems.TabIndex = 4; + this.grpItems.TabStop = false; + this.grpItems.Text = "Export Items"; + // + //lblSelectedConnection + // + this.lblSelectedConnection.AutoSize = true; + this.lblSelectedConnection.Location = new System.Drawing.Point(48, 111); + this.lblSelectedConnection.Name = "lblSelectedConnection"; + this.lblSelectedConnection.Size = new System.Drawing.Size(92, 13); + this.lblSelectedConnection.TabIndex = 4; + this.lblSelectedConnection.Text = "Connection Name"; + // + //lblSelectedFolder + // + this.lblSelectedFolder.AutoSize = true; + this.lblSelectedFolder.Location = new System.Drawing.Point(48, 75); + this.lblSelectedFolder.Name = "lblSelectedFolder"; + this.lblSelectedFolder.Size = new System.Drawing.Size(67, 13); + this.lblSelectedFolder.TabIndex = 3; + this.lblSelectedFolder.Text = "Folder Name"; + // + //rdoExportSelectedConnection + // + this.rdoExportSelectedConnection.AutoSize = true; + this.rdoExportSelectedConnection.Location = new System.Drawing.Point(15, 91); + this.rdoExportSelectedConnection.Name = "rdoExportSelectedConnection"; + this.rdoExportSelectedConnection.Size = new System.Drawing.Size(215, 17); + this.rdoExportSelectedConnection.TabIndex = 2; + this.rdoExportSelectedConnection.TabStop = true; + this.rdoExportSelectedConnection.Text = "Export the currently selected connection"; + this.rdoExportSelectedConnection.UseVisualStyleBackColor = true; + // + //rdoExportSelectedFolder + // + this.rdoExportSelectedFolder.AutoSize = true; + this.rdoExportSelectedFolder.Location = new System.Drawing.Point(15, 55); + this.rdoExportSelectedFolder.Name = "rdoExportSelectedFolder"; + this.rdoExportSelectedFolder.Size = new System.Drawing.Size(188, 17); + this.rdoExportSelectedFolder.TabIndex = 1; + this.rdoExportSelectedFolder.TabStop = true; + this.rdoExportSelectedFolder.Text = "Export the currently selected folder"; + this.rdoExportSelectedFolder.UseVisualStyleBackColor = true; + // + //rdoExportEverything + // + this.rdoExportEverything.AutoSize = true; + this.rdoExportEverything.Checked = true; + this.rdoExportEverything.Location = new System.Drawing.Point(15, 32); + this.rdoExportEverything.Name = "rdoExportEverything"; + this.rdoExportEverything.Size = new System.Drawing.Size(107, 17); + this.rdoExportEverything.TabIndex = 0; + this.rdoExportEverything.TabStop = true; + this.rdoExportEverything.Text = "Export everything"; + this.rdoExportEverything.UseVisualStyleBackColor = true; + // + //ExportForm + // + this.AcceptButton = this.btnOK; + this.CancelButton = this.btnCancel; + this.ClientSize = new System.Drawing.Size(534, 508); + this.Controls.Add(this.grpItems); + this.Controls.Add(this.grpFile); + this.Controls.Add(this.grpProperties); + this.Controls.Add(this.btnCancel); + this.Controls.Add(this.btnOK); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.Icon = My.Resources.Connections_SaveAs_Icon; + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "ExportForm"; + this.ShowInTaskbar = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "Export Connections"; + this.grpProperties.ResumeLayout(false); + this.grpProperties.PerformLayout(); + this.grpFile.ResumeLayout(false); + this.grpFile.PerformLayout(); + this.grpItems.ResumeLayout(false); + this.grpItems.PerformLayout(); + this.ResumeLayout(false); + + } + private System.Windows.Forms.Button btnCancel; + private System.Windows.Forms.Button btnOK; + private System.Windows.Forms.Label lblUncheckProperties; + private System.Windows.Forms.CheckBox chkUsername; + private System.Windows.Forms.CheckBox chkPassword; + private System.Windows.Forms.CheckBox chkDomain; + private System.Windows.Forms.CheckBox chkInheritance; + private System.Windows.Forms.TextBox txtFileName; + private System.Windows.Forms.Button btnBrowse; + private System.Windows.Forms.GroupBox grpProperties; + private System.Windows.Forms.GroupBox grpFile; + private System.Windows.Forms.Label lblFileFormat; + private System.Windows.Forms.Label lblFileName; + private System.Windows.Forms.ComboBox cboFileFormat; + private System.Windows.Forms.GroupBox grpItems; + private System.Windows.Forms.Label lblSelectedConnection; + private System.Windows.Forms.Label lblSelectedFolder; + private System.Windows.Forms.RadioButton rdoExportSelectedConnection; + private System.Windows.Forms.RadioButton rdoExportSelectedFolder; + private System.Windows.Forms.RadioButton rdoExportEverything; + #endregion + } +} diff --git a/mRemoteV1/CS/UI/Forms/ExportForm.cs b/mRemoteV1/CS/UI/Forms/ExportForm.cs new file mode 100644 index 000000000..5ea4ef165 --- /dev/null +++ b/mRemoteV1/CS/UI/Forms/ExportForm.cs @@ -0,0 +1,338 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; +using System.ComponentModel; +using mRemoteNG.Config; +using mRemoteNG.App; +using mRemoteNG.My; + + +namespace mRemoteNG.Forms +{ + public partial class ExportForm : Form + { + #region Public Properties + public string FileName + { + get + { + return txtFileName.Text; + } + set + { + txtFileName.Text = value; + } + } + + public Config.Connections.Save.Format SaveFormat + { + get + { + ExportFormat exportFormat = cboFileFormat.SelectedItem as ExportFormat; + if (exportFormat == null) + { + return Config.Connections.Save.Format.mRXML; + } + else + { + return exportFormat.Format; + } + } + set + { + foreach (object item in cboFileFormat.Items) + { + ExportFormat exportFormat = item as ExportFormat; + if (exportFormat == null) + { + continue; + } + if (exportFormat.Format == value) + { + cboFileFormat.SelectedItem = item; + break; + } + } + } + } + + public ExportScope Scope + { + get + { + if (rdoExportSelectedFolder.Checked) + { + return ExportScope.SelectedFolder; + } + else if (rdoExportSelectedConnection.Checked) + { + return ExportScope.SelectedConnection; + } + else + { + return ExportScope.Everything; + } + } + set + { + switch (value) + { + case ExportScope.Everything: + rdoExportEverything.Checked = true; + break; + case ExportScope.SelectedFolder: + rdoExportSelectedFolder.Checked = true; + break; + case ExportScope.SelectedConnection: + rdoExportSelectedConnection.Checked = true; + break; + } + } + } + + private TreeNode _selectedFolder; + public TreeNode SelectedFolder + { + get + { + return _selectedFolder; + } + set + { + _selectedFolder = value; + if (value == null) + { + lblSelectedFolder.Text = string.Empty; + } + else + { + lblSelectedFolder.Text = value.Text; + } + rdoExportSelectedFolder.Enabled = value != null; + } + } + + private TreeNode _selectedConnection; + public TreeNode SelectedConnection + { + get + { + return _selectedConnection; + } + set + { + _selectedConnection = value; + if (value == null) + { + lblSelectedConnection.Text = string.Empty; + } + else + { + lblSelectedConnection.Text = value.Text; + } + rdoExportSelectedConnection.Enabled = value != null; + } + } + + public bool IncludeUsername + { + get + { + return chkUsername.Checked; + } + set + { + chkUsername.Checked = value; + } + } + + public bool IncludePassword + { + get + { + return chkPassword.Checked; + } + set + { + chkPassword.Checked = value; + } + } + + public bool IncludeDomain + { + get + { + return chkDomain.Checked; + } + set + { + chkDomain.Checked = value; + } + } + + public bool IncludeInheritance + { + get + { + return chkInheritance.Checked; + } + set + { + chkInheritance.Checked = value; + } + } + #endregion + + #region Constructors + public ExportForm() + { + InitializeComponent(); + + Runtime.FontOverride(this); + + SelectedFolder = null; + SelectedConnection = null; + + btnOK.Enabled = false; + } + #endregion + + #region Private Methods + #region Event Handlers + public void ExportForm_Load(object sender, EventArgs e) + { + cboFileFormat.Items.Clear(); + cboFileFormat.Items.Add(new ExportFormat(Config.Connections.Save.Format.mRXML)); + cboFileFormat.Items.Add(new ExportFormat(Config.Connections.Save.Format.mRCSV)); + cboFileFormat.Items.Add(new ExportFormat(Config.Connections.Save.Format.vRDCSV)); + cboFileFormat.SelectedIndex = 0; + + ApplyLanguage(); + } + + public void txtFileName_TextChanged(System.Object sender, EventArgs e) + { + btnOK.Enabled = !string.IsNullOrEmpty(txtFileName.Text); + } + + public void btnBrowse_Click(System.Object sender, EventArgs e) + { + using (SaveFileDialog saveFileDialog = new SaveFileDialog()) + { + saveFileDialog.CheckPathExists = true; + saveFileDialog.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Personal); + saveFileDialog.OverwritePrompt = true; + + List fileTypes = new List(); + fileTypes.AddRange(new[] {Language.strFiltermRemoteXML, "*.xml"}); + fileTypes.AddRange(new[] {Language.strFiltermRemoteCSV, "*.csv"}); + fileTypes.AddRange(new[] {Language.strFiltervRD2008CSV, "*.csv"}); + fileTypes.AddRange(new[] {Language.strFilterAll, "*.*"}); + + saveFileDialog.Filter = string.Join("|", fileTypes.ToArray()); + + if (!(saveFileDialog.ShowDialog(this) == DialogResult.OK)) + { + return ; + } + + txtFileName.Text = saveFileDialog.FileName; + } + + } + + public void btnOK_Click(System.Object sender, EventArgs e) + { + DialogResult = DialogResult.OK; + } + + public void btnCancel_Click(System.Object sender, EventArgs e) + { + DialogResult = DialogResult.Cancel; + } + #endregion + + private void ApplyLanguage() + { + Text = Language.strExport; + + grpFile.Text = Language.strExportFile; + lblFileName.Text = Language.strLabelFilename; + btnBrowse.Text = Language.strButtonBrowse; + lblFileFormat.Text = Language.strFileFormatLabel; + + grpItems.Text = Language.strExportItems; + rdoExportEverything.Text = Language.strExportEverything; + rdoExportSelectedFolder.Text = Language.strExportSelectedFolder; + rdoExportSelectedConnection.Text = Language.strExportSelectedConnection; + + grpProperties.Text = Language.strExportProperties; + chkUsername.Text = Language.strCheckboxUsername; + chkPassword.Text = Language.strCheckboxPassword; + chkDomain.Text = Language.strCheckboxDomain; + chkInheritance.Text = Language.strCheckboxInheritance; + lblUncheckProperties.Text = Language.strUncheckProperties; + + btnOK.Text = Language.strButtonOK; + btnCancel.Text = Language.strButtonCancel; + } + #endregion + + #region Public Enumerations + public enum ExportScope + { + Everything, + SelectedFolder, + SelectedConnection + } + #endregion + + #region Private Classes + [ImmutableObject(true)] + private class ExportFormat + { + #region Public Properties + private Config.Connections.Save.Format _format; + public Config.Connections.Save.Format Format + { + get + { + return _format; + } + } + #endregion + + #region Constructors + public ExportFormat(Config.Connections.Save.Format format) + { + _format = format; + } + #endregion + + #region Public Methods + public override string ToString() + { + switch (Format) + { + case Config.Connections.Save.Format.mRXML: + return Language.strMremoteNgXml; + case Config.Connections.Save.Format.mRCSV: + return Language.strMremoteNgCsv; + case Config.Connections.Save.Format.vRDCSV: + return Language.strVisionAppRemoteDesktopCsv; + default: + return Format.ToString(); + } + } + #endregion + } + #endregion + } +} diff --git a/mRemoteV1/CS/Forms/ExportForm.resx b/mRemoteV1/CS/UI/Forms/ExportForm.resx similarity index 100% rename from mRemoteV1/CS/Forms/ExportForm.resx rename to mRemoteV1/CS/UI/Forms/ExportForm.resx diff --git a/mRemoteV1/CS/UI/Forms/OptionsForm.Designer.cs b/mRemoteV1/CS/UI/Forms/OptionsForm.Designer.cs new file mode 100644 index 000000000..b5db4921a --- /dev/null +++ b/mRemoteV1/CS/UI/Forms/OptionsForm.Designer.cs @@ -0,0 +1,115 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; + + +namespace mRemoteNG.Forms +{ + [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()]public + partial class OptionsForm : System.Windows.Forms.Form + { + + //Form overrides dispose to clean up the component list. + [System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing) + { + try + { + if (disposing && components != null) + { + components.Dispose(); + } + } + finally + { + base.Dispose(disposing); + } + } + + //Required by the Windows Form Designer + private System.ComponentModel.Container components = null; + + //NOTE: The following procedure is required by the Windows Form Designer + //It can be modified using the Windows Form Designer. + //Do not modify it using the code editor. + [System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OptionsForm)); + mRemoteNG.Controls.Alignment Alignment2 = new mRemoteNG.Controls.Alignment(); + this.PagePanel = new System.Windows.Forms.Panel(); + base.Load += new System.EventHandler(OptionsForm_Load); + base.FormClosing += new System.Windows.Forms.FormClosingEventHandler(OptionsForm_FormClosing); + this.OkButton = new System.Windows.Forms.Button(); + this.OkButton.Click += new System.EventHandler(this.OkButton_Click); + this.CancelButtonControl = new System.Windows.Forms.Button(); + this.CancelButtonControl.Click += new System.EventHandler(this.CancelButtonControl_Click); + this.PageListView = new mRemoteNG.Controls.ListView(); + this.PageListView.ItemSelectionChanged += new System.Windows.Forms.ListViewItemSelectionChangedEventHandler(this.PageListView_ItemSelectionChanged); + this.PageListView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.PageListView_MouseUp); + this.SuspendLayout(); + // + //PagePanel + // + resources.ApplyResources(this.PagePanel, "PagePanel"); + this.PagePanel.Name = "PagePanel"; + // + //OkButton + // + resources.ApplyResources(this.OkButton, "OkButton"); + this.OkButton.Name = "OkButton"; + this.OkButton.UseVisualStyleBackColor = true; + // + //CancelButtonControl + // + this.CancelButtonControl.DialogResult = System.Windows.Forms.DialogResult.Cancel; + resources.ApplyResources(this.CancelButtonControl, "CancelButtonControl"); + this.CancelButtonControl.Name = "CancelButtonControl"; + this.CancelButtonControl.UseVisualStyleBackColor = true; + // + //PageListView + // + this.PageListView.InactiveHighlightBackColor = System.Drawing.SystemColors.Highlight; + this.PageListView.InactiveHighlightBorderColor = System.Drawing.SystemColors.HotTrack; + this.PageListView.InactiveHighlightForeColor = System.Drawing.SystemColors.HighlightText; + Alignment2.Horizontal = mRemoteNG.Controls.HorizontalAlignment.Left; + Alignment2.Vertical = mRemoteNG.Controls.VerticalAlignment.Middle; + this.PageListView.LabelAlignment = Alignment2; + resources.ApplyResources(this.PageListView, "PageListView"); + this.PageListView.MultiSelect = false; + this.PageListView.Name = "PageListView"; + this.PageListView.OwnerDraw = true; + this.PageListView.ShowFocusCues = false; + this.PageListView.TileSize = new System.Drawing.Size(150, 30); + this.PageListView.UseCompatibleStateImageBehavior = false; + this.PageListView.View = System.Windows.Forms.View.Tile; + // + //OptionsForm + // + this.AcceptButton = this.OkButton; + resources.ApplyResources(this, "$this"); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.CancelButton = this.CancelButtonControl; + this.Controls.Add(this.CancelButtonControl); + this.Controls.Add(this.OkButton); + this.Controls.Add(this.PagePanel); + this.Controls.Add(this.PageListView); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "OptionsForm"; + this.ShowInTaskbar = false; + this.ResumeLayout(false); + + } + internal mRemoteNG.Controls.ListView PageListView; + internal System.Windows.Forms.Panel PagePanel; + internal System.Windows.Forms.Button OkButton; + internal System.Windows.Forms.Button CancelButtonControl; + } +} diff --git a/mRemoteV1/CS/Forms/OptionsForm.cs b/mRemoteV1/CS/UI/Forms/OptionsForm.cs similarity index 96% rename from mRemoteV1/CS/Forms/OptionsForm.cs rename to mRemoteV1/CS/UI/Forms/OptionsForm.cs index 2c77bd305..ba77d1673 100644 --- a/mRemoteV1/CS/Forms/OptionsForm.cs +++ b/mRemoteV1/CS/UI/Forms/OptionsForm.cs @@ -24,7 +24,7 @@ namespace mRemoteNG.Forms InitializeComponent(); // Add any initialization after the InitializeComponent() call. - FontOverride(this); + Runtime.FontOverride(this); _pages.Add(new Forms.OptionsPages.StartupExitPage(), new PageInfo()); _pages.Add(new AppearancePage(), new PageInfo()); @@ -65,8 +65,8 @@ namespace mRemoteNG.Forms { foreach (KeyValuePair keyValuePair in _pages) { - OptionsPage page = KeyValuePair.Key; - PageInfo pageInfo = KeyValuePair.Value; + OptionsPage page = keyValuePair.Key; + PageInfo pageInfo = keyValuePair.Value; _pageIconImageList.Images.Add(pageInfo.IconKey, page.PageIcon); pageInfo.ListViewItem = PageListView.Items.Add(page.PageName, pageInfo.IconKey); } @@ -210,8 +210,8 @@ namespace mRemoteNG.Forms { foreach (KeyValuePair keyValuePair in _pages) { - OptionsPage page = KeyValuePair.Key; - PageInfo pageInfo = KeyValuePair.Value; + OptionsPage page = keyValuePair.Key; + PageInfo pageInfo = keyValuePair.Value; if (pageInfo.ListViewItem == listViewItem) { return page; diff --git a/mRemoteV1/CS/Forms/OptionsForm.resx b/mRemoteV1/CS/UI/Forms/OptionsForm.resx similarity index 100% rename from mRemoteV1/CS/Forms/OptionsForm.resx rename to mRemoteV1/CS/UI/Forms/OptionsForm.resx diff --git a/mRemoteV1/CS/UI/Forms/OptionsPages/AdvancedPage.Designer.cs b/mRemoteV1/CS/UI/Forms/OptionsPages/AdvancedPage.Designer.cs new file mode 100644 index 000000000..7c348e9bd --- /dev/null +++ b/mRemoteV1/CS/UI/Forms/OptionsPages/AdvancedPage.Designer.cs @@ -0,0 +1,284 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; + + +namespace mRemoteNG.Forms.OptionsPages +{ + [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()] + public partial class AdvancedPage : OptionsPage + { + + //UserControl overrides dispose to clean up the component list. + [System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing) + { + try + { + if (disposing && components != null) + { + components.Dispose(); + } + } + finally + { + base.Dispose(disposing); + } + } + + //Required by the Windows Form Designer + private System.ComponentModel.Container components = null; + + //NOTE: The following procedure is required by the Windows Form Designer + //It can be modified using the Windows Form Designer. + //Do not modify it using the code editor. + [System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AdvancedPage)); + this.chkWriteLogFile = new System.Windows.Forms.CheckBox(); + this.chkAutomaticallyGetSessionInfo = new System.Windows.Forms.CheckBox(); + this.lblXulRunnerPath = new System.Windows.Forms.Label(); + this.lblMaximumPuttyWaitTime = new System.Windows.Forms.Label(); + this.chkEncryptCompleteFile = new System.Windows.Forms.CheckBox(); + this.chkAutomaticReconnect = new System.Windows.Forms.CheckBox(); + this.btnBrowseXulRunnerPath = new System.Windows.Forms.Button(); + this.btnBrowseXulRunnerPath.Click += new System.EventHandler(this.btnBrowseXulRunnerPath_Click); + this.numPuttyWaitTime = new System.Windows.Forms.NumericUpDown(); + this.chkUseCustomPuttyPath = new System.Windows.Forms.CheckBox(); + this.chkUseCustomPuttyPath.CheckedChanged += new System.EventHandler(this.chkUseCustomPuttyPath_CheckedChanged); + this.lblConfigurePuttySessions = new System.Windows.Forms.Label(); + this.txtXULrunnerPath = new System.Windows.Forms.TextBox(); + this.numUVNCSCPort = new System.Windows.Forms.NumericUpDown(); + this.txtCustomPuttyPath = new System.Windows.Forms.TextBox(); + this.txtCustomPuttyPath.TextChanged += new System.EventHandler(this.txtCustomPuttyPath_TextChanged); + this.btnLaunchPutty = new System.Windows.Forms.Button(); + this.btnLaunchPutty.Click += new System.EventHandler(this.btnLaunchPutty_Click); + this.lblUVNCSCPort = new System.Windows.Forms.Label(); + this.lblSeconds = new System.Windows.Forms.Label(); + this.btnBrowseCustomPuttyPath = new System.Windows.Forms.Button(); + this.btnBrowseCustomPuttyPath.Click += new System.EventHandler(this.btnBrowseCustomPuttyPath_Click); + ((System.ComponentModel.ISupportInitialize) this.numPuttyWaitTime).BeginInit(); + ((System.ComponentModel.ISupportInitialize) this.numUVNCSCPort).BeginInit(); + this.SuspendLayout(); + // + //chkWriteLogFile + // + this.chkWriteLogFile.AutoSize = true; + this.chkWriteLogFile.Location = new System.Drawing.Point(3, 0); + this.chkWriteLogFile.Name = "chkWriteLogFile"; + this.chkWriteLogFile.Size = new System.Drawing.Size(171, 17); + this.chkWriteLogFile.TabIndex = 17; + this.chkWriteLogFile.Text = "Write log file (mRemoteNG.log)"; + this.chkWriteLogFile.UseVisualStyleBackColor = true; + // + //chkAutomaticallyGetSessionInfo + // + this.chkAutomaticallyGetSessionInfo.AutoSize = true; + this.chkAutomaticallyGetSessionInfo.Location = new System.Drawing.Point(3, 46); + this.chkAutomaticallyGetSessionInfo.Name = "chkAutomaticallyGetSessionInfo"; + this.chkAutomaticallyGetSessionInfo.Size = new System.Drawing.Size(198, 17); + this.chkAutomaticallyGetSessionInfo.TabIndex = 19; + this.chkAutomaticallyGetSessionInfo.Text = "Automatically get session information"; + this.chkAutomaticallyGetSessionInfo.UseVisualStyleBackColor = true; + // + //lblXulRunnerPath + // + this.lblXulRunnerPath.AutoSize = true; + this.lblXulRunnerPath.Location = new System.Drawing.Point(3, 217); + this.lblXulRunnerPath.Name = "lblXulRunnerPath"; + this.lblXulRunnerPath.Size = new System.Drawing.Size(85, 13); + this.lblXulRunnerPath.TabIndex = 29; + this.lblXulRunnerPath.Text = "XULrunner path:"; + // + //lblMaximumPuttyWaitTime + // + this.lblMaximumPuttyWaitTime.Location = new System.Drawing.Point(3, 185); + this.lblMaximumPuttyWaitTime.Name = "lblMaximumPuttyWaitTime"; + this.lblMaximumPuttyWaitTime.Size = new System.Drawing.Size(364, 13); + this.lblMaximumPuttyWaitTime.TabIndex = 26; + this.lblMaximumPuttyWaitTime.Text = "Maximum PuTTY wait time:"; + this.lblMaximumPuttyWaitTime.TextAlign = System.Drawing.ContentAlignment.TopRight; + // + //chkEncryptCompleteFile + // + this.chkEncryptCompleteFile.AutoSize = true; + this.chkEncryptCompleteFile.Location = new System.Drawing.Point(3, 23); + this.chkEncryptCompleteFile.Name = "chkEncryptCompleteFile"; + this.chkEncryptCompleteFile.Size = new System.Drawing.Size(180, 17); + this.chkEncryptCompleteFile.TabIndex = 18; + this.chkEncryptCompleteFile.Text = "Encrypt complete connection file"; + this.chkEncryptCompleteFile.UseVisualStyleBackColor = true; + // + //chkAutomaticReconnect + // + this.chkAutomaticReconnect.AutoSize = true; + this.chkAutomaticReconnect.Location = new System.Drawing.Point(3, 69); + this.chkAutomaticReconnect.Name = "chkAutomaticReconnect"; + this.chkAutomaticReconnect.Size = new System.Drawing.Size(399, 17); + this.chkAutomaticReconnect.TabIndex = 20; + this.chkAutomaticReconnect.Text = "Automatically try to reconnect when disconnected from server (RDP && ICA only)"; + this.chkAutomaticReconnect.UseVisualStyleBackColor = true; + // + //btnBrowseXulRunnerPath + // + this.btnBrowseXulRunnerPath.Location = new System.Drawing.Point(373, 233); + this.btnBrowseXulRunnerPath.Name = "btnBrowseXulRunnerPath"; + this.btnBrowseXulRunnerPath.Size = new System.Drawing.Size(75, 23); + this.btnBrowseXulRunnerPath.TabIndex = 31; + this.btnBrowseXulRunnerPath.Text = "Browse..."; + this.btnBrowseXulRunnerPath.UseVisualStyleBackColor = true; + // + //numPuttyWaitTime + // + this.numPuttyWaitTime.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.numPuttyWaitTime.Location = new System.Drawing.Point(373, 183); + this.numPuttyWaitTime.Maximum = new decimal(new int[] {999, 0, 0, 0}); + this.numPuttyWaitTime.Name = "numPuttyWaitTime"; + this.numPuttyWaitTime.Size = new System.Drawing.Size(49, 20); + this.numPuttyWaitTime.TabIndex = 27; + this.numPuttyWaitTime.Value = new decimal(new int[] {5, 0, 0, 0}); + // + //chkUseCustomPuttyPath + // + this.chkUseCustomPuttyPath.AutoSize = true; + this.chkUseCustomPuttyPath.Location = new System.Drawing.Point(3, 92); + this.chkUseCustomPuttyPath.Name = "chkUseCustomPuttyPath"; + this.chkUseCustomPuttyPath.Size = new System.Drawing.Size(146, 17); + this.chkUseCustomPuttyPath.TabIndex = 21; + this.chkUseCustomPuttyPath.Text = "Use custom PuTTY path:"; + this.chkUseCustomPuttyPath.UseVisualStyleBackColor = true; + // + //lblConfigurePuttySessions + // + this.lblConfigurePuttySessions.Location = new System.Drawing.Point(3, 154); + this.lblConfigurePuttySessions.Name = "lblConfigurePuttySessions"; + this.lblConfigurePuttySessions.Size = new System.Drawing.Size(364, 13); + this.lblConfigurePuttySessions.TabIndex = 24; + this.lblConfigurePuttySessions.Text = "To configure PuTTY sessions click this button:"; + this.lblConfigurePuttySessions.TextAlign = System.Drawing.ContentAlignment.TopRight; + // + //txtXULrunnerPath + // + this.txtXULrunnerPath.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtXULrunnerPath.Location = new System.Drawing.Point(21, 235); + this.txtXULrunnerPath.Name = "txtXULrunnerPath"; + this.txtXULrunnerPath.Size = new System.Drawing.Size(346, 20); + this.txtXULrunnerPath.TabIndex = 30; + // + //numUVNCSCPort + // + this.numUVNCSCPort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.numUVNCSCPort.Location = new System.Drawing.Point(373, 276); + this.numUVNCSCPort.Maximum = new decimal(new int[] {65535, 0, 0, 0}); + this.numUVNCSCPort.Name = "numUVNCSCPort"; + this.numUVNCSCPort.Size = new System.Drawing.Size(72, 20); + this.numUVNCSCPort.TabIndex = 33; + this.numUVNCSCPort.Value = new decimal(new int[] {5500, 0, 0, 0}); + this.numUVNCSCPort.Visible = false; + // + //txtCustomPuttyPath + // + this.txtCustomPuttyPath.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtCustomPuttyPath.Enabled = false; + this.txtCustomPuttyPath.Location = new System.Drawing.Point(21, 115); + this.txtCustomPuttyPath.Name = "txtCustomPuttyPath"; + this.txtCustomPuttyPath.Size = new System.Drawing.Size(346, 20); + this.txtCustomPuttyPath.TabIndex = 22; + // + //btnLaunchPutty + // + this.btnLaunchPutty.Image = My.Resources.PuttyConfig; + this.btnLaunchPutty.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnLaunchPutty.Location = new System.Drawing.Point(373, 149); + this.btnLaunchPutty.Name = "btnLaunchPutty"; + this.btnLaunchPutty.Size = new System.Drawing.Size(110, 23); + this.btnLaunchPutty.TabIndex = 25; + this.btnLaunchPutty.Text = "Launch PuTTY"; + this.btnLaunchPutty.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.btnLaunchPutty.UseVisualStyleBackColor = true; + // + //lblUVNCSCPort + // + this.lblUVNCSCPort.Location = new System.Drawing.Point(3, 278); + this.lblUVNCSCPort.Name = "lblUVNCSCPort"; + this.lblUVNCSCPort.Size = new System.Drawing.Size(364, 13); + this.lblUVNCSCPort.TabIndex = 32; + this.lblUVNCSCPort.Text = "UltraVNC SingleClick Listening Port:"; + this.lblUVNCSCPort.TextAlign = System.Drawing.ContentAlignment.TopRight; + this.lblUVNCSCPort.Visible = false; + // + //lblSeconds + // + this.lblSeconds.AutoSize = true; + this.lblSeconds.Location = new System.Drawing.Point(428, 185); + this.lblSeconds.Name = "lblSeconds"; + this.lblSeconds.Size = new System.Drawing.Size(47, 13); + this.lblSeconds.TabIndex = 28; + this.lblSeconds.Text = "seconds"; + // + //btnBrowseCustomPuttyPath + // + this.btnBrowseCustomPuttyPath.Enabled = false; + this.btnBrowseCustomPuttyPath.Location = new System.Drawing.Point(373, 113); + this.btnBrowseCustomPuttyPath.Name = "btnBrowseCustomPuttyPath"; + this.btnBrowseCustomPuttyPath.Size = new System.Drawing.Size(75, 23); + this.btnBrowseCustomPuttyPath.TabIndex = 23; + this.btnBrowseCustomPuttyPath.Text = "Browse..."; + this.btnBrowseCustomPuttyPath.UseVisualStyleBackColor = true; + // + //AdvancedPage + // + this.AutoScaleDimensions = new System.Drawing.SizeF((float) (6.0F), (float) (13.0F)); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.chkWriteLogFile); + this.Controls.Add(this.chkAutomaticallyGetSessionInfo); + this.Controls.Add(this.lblXulRunnerPath); + this.Controls.Add(this.lblMaximumPuttyWaitTime); + this.Controls.Add(this.chkEncryptCompleteFile); + this.Controls.Add(this.chkAutomaticReconnect); + this.Controls.Add(this.btnBrowseXulRunnerPath); + this.Controls.Add(this.numPuttyWaitTime); + this.Controls.Add(this.chkUseCustomPuttyPath); + this.Controls.Add(this.lblConfigurePuttySessions); + this.Controls.Add(this.txtXULrunnerPath); + this.Controls.Add(this.numUVNCSCPort); + this.Controls.Add(this.txtCustomPuttyPath); + this.Controls.Add(this.btnLaunchPutty); + this.Controls.Add(this.lblUVNCSCPort); + this.Controls.Add(this.lblSeconds); + this.Controls.Add(this.btnBrowseCustomPuttyPath); + this.Name = "AdvancedPage"; + this.PageIcon = (System.Drawing.Icon) (resources.GetObject("$this.PageIcon")); + this.Size = new System.Drawing.Size(610, 489); + ((System.ComponentModel.ISupportInitialize) this.numPuttyWaitTime).EndInit(); + ((System.ComponentModel.ISupportInitialize) this.numUVNCSCPort).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + internal System.Windows.Forms.CheckBox chkWriteLogFile; + internal System.Windows.Forms.CheckBox chkAutomaticallyGetSessionInfo; + internal System.Windows.Forms.Label lblXulRunnerPath; + internal System.Windows.Forms.Label lblMaximumPuttyWaitTime; + internal System.Windows.Forms.CheckBox chkEncryptCompleteFile; + internal System.Windows.Forms.CheckBox chkAutomaticReconnect; + internal System.Windows.Forms.Button btnBrowseXulRunnerPath; + internal System.Windows.Forms.NumericUpDown numPuttyWaitTime; + internal System.Windows.Forms.CheckBox chkUseCustomPuttyPath; + internal System.Windows.Forms.Label lblConfigurePuttySessions; + internal System.Windows.Forms.TextBox txtXULrunnerPath; + internal System.Windows.Forms.NumericUpDown numUVNCSCPort; + internal System.Windows.Forms.TextBox txtCustomPuttyPath; + internal System.Windows.Forms.Button btnLaunchPutty; + internal System.Windows.Forms.Label lblUVNCSCPort; + internal System.Windows.Forms.Label lblSeconds; + internal System.Windows.Forms.Button btnBrowseCustomPuttyPath; + + } +} diff --git a/mRemoteV1/CS/UI/Forms/OptionsPages/AdvancedPage.cs b/mRemoteV1/CS/UI/Forms/OptionsPages/AdvancedPage.cs new file mode 100644 index 000000000..009b9a9ca --- /dev/null +++ b/mRemoteV1/CS/UI/Forms/OptionsPages/AdvancedPage.cs @@ -0,0 +1,224 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; +using System.IO; +using mRemoteNG.App; +using mRemoteNG.My; +using mRemoteNG.Connection.Protocol; +using mRemoteNG.Tools; +using PSTaskDialog; + + +namespace mRemoteNG.Forms.OptionsPages +{ + public partial class AdvancedPage + { + public AdvancedPage() + { + InitializeComponent(); + } + + #region Public Methods + public override string PageName + { + get + { + return Language.strTabAdvanced; + } + set + { + } + } + + public override void ApplyLanguage() + { + base.ApplyLanguage(); + + lblSeconds.Text = Language.strLabelSeconds; + lblMaximumPuttyWaitTime.Text = Language.strLabelPuttyTimeout; + chkAutomaticReconnect.Text = Language.strCheckboxAutomaticReconnect; + lblConfigurePuttySessions.Text = Language.strLabelPuttySessionsConfig; + btnLaunchPutty.Text = Language.strButtonLaunchPutty; + btnBrowseCustomPuttyPath.Text = Language.strButtonBrowse; + chkUseCustomPuttyPath.Text = Language.strCheckboxPuttyPath; + chkAutomaticallyGetSessionInfo.Text = Language.strAutomaticallyGetSessionInfo; + chkWriteLogFile.Text = Language.strWriteLogFile; + lblUVNCSCPort.Text = Language.strUltraVNCSCListeningPort; + lblXulRunnerPath.Text = Language.strXULrunnerPath; + btnBrowseXulRunnerPath.Text = Language.strButtonBrowse; + chkEncryptCompleteFile.Text = Language.strEncryptCompleteConnectionFile; + } + + public override void LoadSettings() + { + base.SaveSettings(); + + chkWriteLogFile.Checked = System.Convert.ToBoolean(My.Settings.Default.WriteLogFile); + chkEncryptCompleteFile.Checked = System.Convert.ToBoolean(My.Settings.Default.EncryptCompleteConnectionsFile); + chkAutomaticallyGetSessionInfo.Checked = System.Convert.ToBoolean(My.Settings.Default.AutomaticallyGetSessionInfo); + chkAutomaticReconnect.Checked = System.Convert.ToBoolean(My.Settings.Default.ReconnectOnDisconnect); + numPuttyWaitTime.Value = System.Convert.ToDecimal(My.Settings.Default.MaxPuttyWaitTime); + + chkUseCustomPuttyPath.Checked = My.Settings.Default.UseCustomPuttyPath; + txtCustomPuttyPath.Text = My.Settings.Default.CustomPuttyPath; + SetPuttyLaunchButtonEnabled(); + + numUVNCSCPort.Value = System.Convert.ToDecimal(My.Settings.Default.UVNCSCPort); + + txtXULrunnerPath.Text = System.Convert.ToString(My.Settings.Default.XULRunnerPath); + } + + public override void SaveSettings() + { + base.SaveSettings(); + + My.Settings.Default.WriteLogFile = chkWriteLogFile.Checked; + My.Settings.Default.EncryptCompleteConnectionsFile = chkEncryptCompleteFile.Checked; + My.Settings.Default.AutomaticallyGetSessionInfo = chkAutomaticallyGetSessionInfo.Checked; + My.Settings.Default.ReconnectOnDisconnect = chkAutomaticReconnect.Checked; + + bool puttyPathChanged = false; + if (!(My.Settings.Default.CustomPuttyPath == txtCustomPuttyPath.Text)) + { + puttyPathChanged = true; + My.Settings.Default.CustomPuttyPath = txtCustomPuttyPath.Text; + } + if (!(My.Settings.Default.UseCustomPuttyPath == chkUseCustomPuttyPath.Checked)) + { + puttyPathChanged = true; + My.Settings.Default.UseCustomPuttyPath = chkUseCustomPuttyPath.Checked; + } + if (puttyPathChanged) + { + if (My.Settings.Default.UseCustomPuttyPath) + { + PuttyBase.PuttyPath = My.Settings.Default.CustomPuttyPath; + } + else + { + PuttyBase.PuttyPath = App.Info.General.PuttyPath; + } + Config.Putty.Sessions.AddSessionsToTree(); + } + + My.Settings.Default.MaxPuttyWaitTime = (int)numPuttyWaitTime.Value; + + My.Settings.Default.UVNCSCPort = (int)numUVNCSCPort.Value; + + My.Settings.Default.XULRunnerPath = txtXULrunnerPath.Text; + } + #endregion + + #region Private Methods + #region Event Handlers + public void chkUseCustomPuttyPath_CheckedChanged(object sender, EventArgs e) + { + txtCustomPuttyPath.Enabled = chkUseCustomPuttyPath.Checked; + btnBrowseCustomPuttyPath.Enabled = chkUseCustomPuttyPath.Checked; + SetPuttyLaunchButtonEnabled(); + } + + public void txtCustomPuttyPath_TextChanged(object sender, EventArgs e) + { + SetPuttyLaunchButtonEnabled(); + } + + public void btnBrowseCustomPuttyPath_Click(object sender, EventArgs e) + { + using (OpenFileDialog openFileDialog = new OpenFileDialog()) + { + openFileDialog.Filter = string.Format("{0}|*.exe|{1}|*.*", Language.strFilterApplication, Language.strFilterAll); + openFileDialog.FileName = Path.GetFileName(App.Info.General.PuttyPath); + openFileDialog.CheckFileExists = true; + openFileDialog.Multiselect = false; + + if (openFileDialog.ShowDialog() == DialogResult.OK) + { + txtCustomPuttyPath.Text = openFileDialog.FileName; + SetPuttyLaunchButtonEnabled(); + } + } + + } + + public void btnLaunchPutty_Click(object sender, EventArgs e) + { + try + { + PuttyProcessController puttyProcess = new PuttyProcessController(); + string fileName = ""; + if (chkUseCustomPuttyPath.Checked) + { + fileName = txtCustomPuttyPath.Text; + } + else + { + fileName = App.Info.General.PuttyPath; + } + puttyProcess.Start(fileName); + puttyProcess.SetControlText("Button", "&Cancel", "&Close"); + puttyProcess.SetControlVisible("Button", "&Open", false); + puttyProcess.WaitForExit(); + } + catch (Exception ex) + { + cTaskDialog.MessageBox(System.Convert.ToString(Application.ProductName), Language.strErrorCouldNotLaunchPutty, "", ex.Message, "", "", eTaskDialogButtons.OK, eSysIcons.Error, eSysIcons.Error); + } + } + + public void btnBrowseXulRunnerPath_Click(object sender, EventArgs e) + { + FolderBrowserDialog oDlg = new FolderBrowserDialog(); + oDlg.ShowNewFolderButton = false; + + if (oDlg.ShowDialog() == DialogResult.OK) + { + txtXULrunnerPath.Text = oDlg.SelectedPath; + } + + oDlg.Dispose(); + } + #endregion + + private void SetPuttyLaunchButtonEnabled() + { + string puttyPath = ""; + if (chkUseCustomPuttyPath.Checked) + { + puttyPath = txtCustomPuttyPath.Text; + } + else + { + puttyPath = App.Info.General.PuttyPath; + } + + bool exists = false; + try + { + exists = File.Exists(puttyPath); + } + catch + { + } + + if (exists) + { + lblConfigurePuttySessions.Enabled = true; + btnLaunchPutty.Enabled = true; + } + else + { + lblConfigurePuttySessions.Enabled = false; + btnLaunchPutty.Enabled = false; + } + } + #endregion + } +} diff --git a/mRemoteV1/CS/Forms/OptionsPages/AdvancedPage.resx b/mRemoteV1/CS/UI/Forms/OptionsPages/AdvancedPage.resx similarity index 100% rename from mRemoteV1/CS/Forms/OptionsPages/AdvancedPage.resx rename to mRemoteV1/CS/UI/Forms/OptionsPages/AdvancedPage.resx diff --git a/mRemoteV1/CS/UI/Forms/OptionsPages/AppearancePage.Designer.cs b/mRemoteV1/CS/UI/Forms/OptionsPages/AppearancePage.Designer.cs new file mode 100644 index 000000000..85121e989 --- /dev/null +++ b/mRemoteV1/CS/UI/Forms/OptionsPages/AppearancePage.Designer.cs @@ -0,0 +1,147 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; + + +namespace mRemoteNG.Forms.OptionsPages +{ + [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()] + public partial class AppearancePage : OptionsPage + { + + //UserControl overrides dispose to clean up the component list. + [System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing) + { + try + { + if (disposing && components != null) + { + components.Dispose(); + } + } + finally + { + base.Dispose(disposing); + } + } + + //Required by the Windows Form Designer + private System.ComponentModel.Container components = null; + + //NOTE: The following procedure is required by the Windows Form Designer + //It can be modified using the Windows Form Designer. + //Do not modify it using the code editor. + [System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AppearancePage)); + this.lblLanguageRestartRequired = new System.Windows.Forms.Label(); + this.cboLanguage = new System.Windows.Forms.ComboBox(); + this.lblLanguage = new System.Windows.Forms.Label(); + this.chkShowFullConnectionsFilePathInTitle = new System.Windows.Forms.CheckBox(); + this.chkShowDescriptionTooltipsInTree = new System.Windows.Forms.CheckBox(); + this.chkShowSystemTrayIcon = new System.Windows.Forms.CheckBox(); + this.chkMinimizeToSystemTray = new System.Windows.Forms.CheckBox(); + this.SuspendLayout(); + // + //lblLanguageRestartRequired + // + this.lblLanguageRestartRequired.AutoSize = true; + this.lblLanguageRestartRequired.Location = new System.Drawing.Point(3, 56); + this.lblLanguageRestartRequired.Name = "lblLanguageRestartRequired"; + this.lblLanguageRestartRequired.Size = new System.Drawing.Size(380, 13); + this.lblLanguageRestartRequired.TabIndex = 9; + this.lblLanguageRestartRequired.Text = "mRemoteNG must be restarted before changes to the language will take effect."; + // + //cboLanguage + // + this.cboLanguage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cboLanguage.FormattingEnabled = true; + this.cboLanguage.Location = new System.Drawing.Point(3, 24); + this.cboLanguage.Name = "cboLanguage"; + this.cboLanguage.Size = new System.Drawing.Size(304, 21); + this.cboLanguage.Sorted = true; + this.cboLanguage.TabIndex = 8; + // + //lblLanguage + // + this.lblLanguage.AutoSize = true; + this.lblLanguage.Location = new System.Drawing.Point(3, 0); + this.lblLanguage.Name = "lblLanguage"; + this.lblLanguage.Size = new System.Drawing.Size(55, 13); + this.lblLanguage.TabIndex = 7; + this.lblLanguage.Text = "Language"; + // + //chkShowFullConnectionsFilePathInTitle + // + this.chkShowFullConnectionsFilePathInTitle.AutoSize = true; + this.chkShowFullConnectionsFilePathInTitle.Location = new System.Drawing.Point(3, 141); + this.chkShowFullConnectionsFilePathInTitle.Name = "chkShowFullConnectionsFilePathInTitle"; + this.chkShowFullConnectionsFilePathInTitle.Size = new System.Drawing.Size(239, 17); + this.chkShowFullConnectionsFilePathInTitle.TabIndex = 11; + this.chkShowFullConnectionsFilePathInTitle.Text = "Show full connections file path in window title"; + this.chkShowFullConnectionsFilePathInTitle.UseVisualStyleBackColor = true; + // + //chkShowDescriptionTooltipsInTree + // + this.chkShowDescriptionTooltipsInTree.AutoSize = true; + this.chkShowDescriptionTooltipsInTree.Location = new System.Drawing.Point(3, 118); + this.chkShowDescriptionTooltipsInTree.Name = "chkShowDescriptionTooltipsInTree"; + this.chkShowDescriptionTooltipsInTree.Size = new System.Drawing.Size(231, 17); + this.chkShowDescriptionTooltipsInTree.TabIndex = 10; + this.chkShowDescriptionTooltipsInTree.Text = "Show description tooltips in connection tree"; + this.chkShowDescriptionTooltipsInTree.UseVisualStyleBackColor = true; + // + //chkShowSystemTrayIcon + // + this.chkShowSystemTrayIcon.AutoSize = true; + this.chkShowSystemTrayIcon.Location = new System.Drawing.Point(3, 187); + this.chkShowSystemTrayIcon.Name = "chkShowSystemTrayIcon"; + this.chkShowSystemTrayIcon.Size = new System.Drawing.Size(172, 17); + this.chkShowSystemTrayIcon.TabIndex = 12; + this.chkShowSystemTrayIcon.Text = "Always show System Tray Icon"; + this.chkShowSystemTrayIcon.UseVisualStyleBackColor = true; + // + //chkMinimizeToSystemTray + // + this.chkMinimizeToSystemTray.AutoSize = true; + this.chkMinimizeToSystemTray.Location = new System.Drawing.Point(3, 210); + this.chkMinimizeToSystemTray.Name = "chkMinimizeToSystemTray"; + this.chkMinimizeToSystemTray.Size = new System.Drawing.Size(139, 17); + this.chkMinimizeToSystemTray.TabIndex = 13; + this.chkMinimizeToSystemTray.Text = "Minimize to System Tray"; + this.chkMinimizeToSystemTray.UseVisualStyleBackColor = true; + // + //AppearancePage + // + this.Controls.Add(this.lblLanguageRestartRequired); + this.Controls.Add(this.cboLanguage); + this.Controls.Add(this.lblLanguage); + this.Controls.Add(this.chkShowFullConnectionsFilePathInTitle); + this.Controls.Add(this.chkShowDescriptionTooltipsInTree); + this.Controls.Add(this.chkShowSystemTrayIcon); + this.Controls.Add(this.chkMinimizeToSystemTray); + this.Name = "AppearancePage"; + this.PageIcon = (System.Drawing.Icon) (resources.GetObject("$this.PageIcon")); + this.Size = new System.Drawing.Size(610, 489); + this.ResumeLayout(false); + this.PerformLayout(); + + } + internal System.Windows.Forms.Label Label1; + internal System.Windows.Forms.Label lblLanguageRestartRequired; + internal System.Windows.Forms.ComboBox cboLanguage; + internal System.Windows.Forms.Label lblLanguage; + internal System.Windows.Forms.CheckBox chkShowFullConnectionsFilePathInTitle; + internal System.Windows.Forms.CheckBox chkShowDescriptionTooltipsInTree; + internal System.Windows.Forms.CheckBox chkShowSystemTrayIcon; + internal System.Windows.Forms.CheckBox chkMinimizeToSystemTray; + + } +} diff --git a/mRemoteV1/CS/UI/Forms/OptionsPages/AppearancePage.cs b/mRemoteV1/CS/UI/Forms/OptionsPages/AppearancePage.cs new file mode 100644 index 000000000..de01513d3 --- /dev/null +++ b/mRemoteV1/CS/UI/Forms/OptionsPages/AppearancePage.cs @@ -0,0 +1,109 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; +using mRemoteNG.App; +using mRemoteNG.My; + + +namespace mRemoteNG.Forms.OptionsPages +{ + public partial class AppearancePage + { + public AppearancePage() + { + InitializeComponent(); + } + public override string PageName + { + get + { + return Language.strTabAppearance; + } + set + { + } + } + + public override void ApplyLanguage() + { + base.ApplyLanguage(); + + lblLanguage.Text = Language.strLanguage; + lblLanguageRestartRequired.Text = string.Format(Language.strLanguageRestartRequired, Application.ProductName); + chkShowDescriptionTooltipsInTree.Text = Language.strShowDescriptionTooltips; + chkShowFullConnectionsFilePathInTitle.Text = Language.strShowFullConsFilePath; + chkShowSystemTrayIcon.Text = Language.strAlwaysShowSysTrayIcon; + chkMinimizeToSystemTray.Text = Language.strMinimizeToSysTray; + } + + public override void LoadSettings() + { + base.SaveSettings(); + + cboLanguage.Items.Clear(); + cboLanguage.Items.Add(Language.strLanguageDefault); + + foreach (string nativeName in SupportedCultures.CultureNativeNames) + { + cboLanguage.Items.Add(nativeName); + } + if (!string.IsNullOrEmpty(My.Settings.Default.OverrideUICulture) && SupportedCultures.IsNameSupported(My.Settings.Default.OverrideUICulture)) + { + cboLanguage.SelectedItem = SupportedCultures.get_CultureNativeName(My.Settings.Default.OverrideUICulture); + } + if (cboLanguage.SelectedIndex == -1) + { + cboLanguage.SelectedIndex = 0; + } + + chkShowDescriptionTooltipsInTree.Checked = My.Settings.Default.ShowDescriptionTooltipsInTree; + chkShowFullConnectionsFilePathInTitle.Checked = My.Settings.Default.ShowCompleteConsPathInTitle; + chkShowSystemTrayIcon.Checked = My.Settings.Default.ShowSystemTrayIcon; + chkMinimizeToSystemTray.Checked = My.Settings.Default.MinimizeToTray; + } + + public override void SaveSettings() + { + base.SaveSettings(); + + if (cboLanguage.SelectedIndex > 0 && SupportedCultures.IsNativeNameSupported(System.Convert.ToString(cboLanguage.SelectedItem))) + { + My.Settings.Default.OverrideUICulture = SupportedCultures.get_CultureName(System.Convert.ToString(cboLanguage.SelectedItem)); + } + else + { + My.Settings.Default.OverrideUICulture = string.Empty; + } + + My.Settings.Default.ShowDescriptionTooltipsInTree = chkShowDescriptionTooltipsInTree.Checked; + My.Settings.Default.ShowCompleteConsPathInTitle = chkShowFullConnectionsFilePathInTitle.Checked; + frmMain.Default.ShowFullPathInTitle = chkShowFullConnectionsFilePathInTitle.Checked; + + My.Settings.Default.ShowSystemTrayIcon = chkShowSystemTrayIcon.Checked; + if (My.Settings.Default.ShowSystemTrayIcon) + { + if (Runtime.NotificationAreaIcon == null) + { + Runtime.NotificationAreaIcon = new Tools.Controls.NotificationAreaIcon(); + } + } + else + { + if (Runtime.NotificationAreaIcon != null) + { + Runtime.NotificationAreaIcon.Dispose(); + Runtime.NotificationAreaIcon = null; + } + } + + My.Settings.Default.MinimizeToTray = chkMinimizeToSystemTray.Checked; + } + } +} diff --git a/mRemoteV1/CS/Forms/OptionsPages/AppearancePage.resx b/mRemoteV1/CS/UI/Forms/OptionsPages/AppearancePage.resx similarity index 100% rename from mRemoteV1/CS/Forms/OptionsPages/AppearancePage.resx rename to mRemoteV1/CS/UI/Forms/OptionsPages/AppearancePage.resx diff --git a/mRemoteV1/CS/UI/Forms/OptionsPages/ConnectionsPage.Designer.cs b/mRemoteV1/CS/UI/Forms/OptionsPages/ConnectionsPage.Designer.cs new file mode 100644 index 000000000..b18bca9a5 --- /dev/null +++ b/mRemoteV1/CS/UI/Forms/OptionsPages/ConnectionsPage.Designer.cs @@ -0,0 +1,412 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; + + +namespace mRemoteNG.Forms.OptionsPages +{ + [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()] + public partial class ConnectionsPage : OptionsPage + { + + //UserControl overrides dispose to clean up the component list. + [System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing) + { + try + { + if (disposing && components != null) + { + components.Dispose(); + } + } + finally + { + base.Dispose(disposing); + } + } + + //Required by the Windows Form Designer + private System.ComponentModel.Container components = null; + + //NOTE: The following procedure is required by the Windows Form Designer + //It can be modified using the Windows Form Designer. + //Do not modify it using the code editor. + [System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConnectionsPage)); + this.pnlRdpReconnectionCount = new System.Windows.Forms.Panel(); + this.lblRdpReconnectionCount = new System.Windows.Forms.Label(); + this.numRdpReconnectionCount = new System.Windows.Forms.NumericUpDown(); + this.chkSingleClickOnConnectionOpensIt = new System.Windows.Forms.CheckBox(); + this.chkHostnameLikeDisplayName = new System.Windows.Forms.CheckBox(); + this.pnlDefaultCredentials = new System.Windows.Forms.Panel(); + this.radCredentialsCustom = new System.Windows.Forms.RadioButton(); + this.radCredentialsCustom.CheckedChanged += new System.EventHandler(this.radCredentialsCustom_CheckedChanged); + this.lblDefaultCredentials = new System.Windows.Forms.Label(); + this.radCredentialsNoInfo = new System.Windows.Forms.RadioButton(); + this.radCredentialsWindows = new System.Windows.Forms.RadioButton(); + this.txtCredentialsDomain = new System.Windows.Forms.TextBox(); + this.lblCredentialsUsername = new System.Windows.Forms.Label(); + this.txtCredentialsPassword = new System.Windows.Forms.TextBox(); + this.lblCredentialsPassword = new System.Windows.Forms.Label(); + this.txtCredentialsUsername = new System.Windows.Forms.TextBox(); + this.lblCredentialsDomain = new System.Windows.Forms.Label(); + this.chkSingleClickOnOpenedConnectionSwitchesToIt = new System.Windows.Forms.CheckBox(); + this.pnlAutoSave = new System.Windows.Forms.Panel(); + this.lblAutoSave1 = new System.Windows.Forms.Label(); + this.numAutoSave = new System.Windows.Forms.NumericUpDown(); + this.lblAutoSave2 = new System.Windows.Forms.Label(); + this.pnlConfirmCloseConnection = new System.Windows.Forms.Panel(); + this.lblClosingConnections = new System.Windows.Forms.Label(); + this.radCloseWarnAll = new System.Windows.Forms.RadioButton(); + this.radCloseWarnMultiple = new System.Windows.Forms.RadioButton(); + this.radCloseWarnExit = new System.Windows.Forms.RadioButton(); + this.radCloseWarnNever = new System.Windows.Forms.RadioButton(); + this.pnlRdpReconnectionCount.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize) this.numRdpReconnectionCount).BeginInit(); + this.pnlDefaultCredentials.SuspendLayout(); + this.pnlAutoSave.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize) this.numAutoSave).BeginInit(); + this.pnlConfirmCloseConnection.SuspendLayout(); + this.SuspendLayout(); + // + //pnlRdpReconnectionCount + // + this.pnlRdpReconnectionCount.Controls.Add(this.lblRdpReconnectionCount); + this.pnlRdpReconnectionCount.Controls.Add(this.numRdpReconnectionCount); + this.pnlRdpReconnectionCount.Location = new System.Drawing.Point(3, 69); + this.pnlRdpReconnectionCount.Name = "pnlRdpReconnectionCount"; + this.pnlRdpReconnectionCount.Size = new System.Drawing.Size(596, 29); + this.pnlRdpReconnectionCount.TabIndex = 10; + // + //lblRdpReconnectionCount + // + this.lblRdpReconnectionCount.Location = new System.Drawing.Point(6, 9); + this.lblRdpReconnectionCount.Name = "lblRdpReconnectionCount"; + this.lblRdpReconnectionCount.Size = new System.Drawing.Size(288, 13); + this.lblRdpReconnectionCount.TabIndex = 0; + this.lblRdpReconnectionCount.Text = "RDP Reconnection Count"; + this.lblRdpReconnectionCount.TextAlign = System.Drawing.ContentAlignment.TopRight; + // + //numRdpReconnectionCount + // + this.numRdpReconnectionCount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.numRdpReconnectionCount.Location = new System.Drawing.Point(300, 7); + this.numRdpReconnectionCount.Maximum = new decimal(new int[] {20, 0, 0, 0}); + this.numRdpReconnectionCount.Name = "numRdpReconnectionCount"; + this.numRdpReconnectionCount.Size = new System.Drawing.Size(53, 20); + this.numRdpReconnectionCount.TabIndex = 1; + this.numRdpReconnectionCount.Value = new decimal(new int[] {5, 0, 0, 0}); + // + //chkSingleClickOnConnectionOpensIt + // + this.chkSingleClickOnConnectionOpensIt.AutoSize = true; + this.chkSingleClickOnConnectionOpensIt.Location = new System.Drawing.Point(3, 0); + this.chkSingleClickOnConnectionOpensIt.Name = "chkSingleClickOnConnectionOpensIt"; + this.chkSingleClickOnConnectionOpensIt.Size = new System.Drawing.Size(191, 17); + this.chkSingleClickOnConnectionOpensIt.TabIndex = 7; + this.chkSingleClickOnConnectionOpensIt.Text = "Single click on connection opens it"; + this.chkSingleClickOnConnectionOpensIt.UseVisualStyleBackColor = true; + // + //chkHostnameLikeDisplayName + // + this.chkHostnameLikeDisplayName.AutoSize = true; + this.chkHostnameLikeDisplayName.Location = new System.Drawing.Point(3, 46); + this.chkHostnameLikeDisplayName.Name = "chkHostnameLikeDisplayName"; + this.chkHostnameLikeDisplayName.Size = new System.Drawing.Size(328, 17); + this.chkHostnameLikeDisplayName.TabIndex = 9; + this.chkHostnameLikeDisplayName.Text = "Set hostname like display name when creating new connections"; + this.chkHostnameLikeDisplayName.UseVisualStyleBackColor = true; + // + //pnlDefaultCredentials + // + this.pnlDefaultCredentials.Controls.Add(this.radCredentialsCustom); + this.pnlDefaultCredentials.Controls.Add(this.lblDefaultCredentials); + this.pnlDefaultCredentials.Controls.Add(this.radCredentialsNoInfo); + this.pnlDefaultCredentials.Controls.Add(this.radCredentialsWindows); + this.pnlDefaultCredentials.Controls.Add(this.txtCredentialsDomain); + this.pnlDefaultCredentials.Controls.Add(this.lblCredentialsUsername); + this.pnlDefaultCredentials.Controls.Add(this.txtCredentialsPassword); + this.pnlDefaultCredentials.Controls.Add(this.lblCredentialsPassword); + this.pnlDefaultCredentials.Controls.Add(this.txtCredentialsUsername); + this.pnlDefaultCredentials.Controls.Add(this.lblCredentialsDomain); + this.pnlDefaultCredentials.Location = new System.Drawing.Point(3, 139); + this.pnlDefaultCredentials.Name = "pnlDefaultCredentials"; + this.pnlDefaultCredentials.Size = new System.Drawing.Size(596, 175); + this.pnlDefaultCredentials.TabIndex = 12; + // + //radCredentialsCustom + // + this.radCredentialsCustom.AutoSize = true; + this.radCredentialsCustom.Location = new System.Drawing.Point(16, 69); + this.radCredentialsCustom.Name = "radCredentialsCustom"; + this.radCredentialsCustom.Size = new System.Drawing.Size(87, 17); + this.radCredentialsCustom.TabIndex = 3; + this.radCredentialsCustom.Text = "the following:"; + this.radCredentialsCustom.UseVisualStyleBackColor = true; + // + //lblDefaultCredentials + // + this.lblDefaultCredentials.AutoSize = true; + this.lblDefaultCredentials.Location = new System.Drawing.Point(3, 9); + this.lblDefaultCredentials.Name = "lblDefaultCredentials"; + this.lblDefaultCredentials.Size = new System.Drawing.Size(257, 13); + this.lblDefaultCredentials.TabIndex = 0; + this.lblDefaultCredentials.Text = "For empty Username, Password or Domain fields use:"; + // + //radCredentialsNoInfo + // + this.radCredentialsNoInfo.AutoSize = true; + this.radCredentialsNoInfo.Checked = true; + this.radCredentialsNoInfo.Location = new System.Drawing.Point(16, 31); + this.radCredentialsNoInfo.Name = "radCredentialsNoInfo"; + this.radCredentialsNoInfo.Size = new System.Drawing.Size(91, 17); + this.radCredentialsNoInfo.TabIndex = 1; + this.radCredentialsNoInfo.TabStop = true; + this.radCredentialsNoInfo.Text = "no information"; + this.radCredentialsNoInfo.UseVisualStyleBackColor = true; + // + //radCredentialsWindows + // + this.radCredentialsWindows.AutoSize = true; + this.radCredentialsWindows.Location = new System.Drawing.Point(16, 50); + this.radCredentialsWindows.Name = "radCredentialsWindows"; + this.radCredentialsWindows.Size = new System.Drawing.Size(227, 17); + this.radCredentialsWindows.TabIndex = 2; + this.radCredentialsWindows.Text = "my current credentials (windows logon info)"; + this.radCredentialsWindows.UseVisualStyleBackColor = true; + // + //txtCredentialsDomain + // + this.txtCredentialsDomain.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtCredentialsDomain.Enabled = false; + this.txtCredentialsDomain.Location = new System.Drawing.Point(140, 147); + this.txtCredentialsDomain.Name = "txtCredentialsDomain"; + this.txtCredentialsDomain.Size = new System.Drawing.Size(150, 20); + this.txtCredentialsDomain.TabIndex = 9; + // + //lblCredentialsUsername + // + this.lblCredentialsUsername.Enabled = false; + this.lblCredentialsUsername.Location = new System.Drawing.Point(37, 95); + this.lblCredentialsUsername.Name = "lblCredentialsUsername"; + this.lblCredentialsUsername.Size = new System.Drawing.Size(97, 13); + this.lblCredentialsUsername.TabIndex = 4; + this.lblCredentialsUsername.Text = "Username:"; + this.lblCredentialsUsername.TextAlign = System.Drawing.ContentAlignment.TopRight; + // + //txtCredentialsPassword + // + this.txtCredentialsPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtCredentialsPassword.Enabled = false; + this.txtCredentialsPassword.Location = new System.Drawing.Point(140, 120); + this.txtCredentialsPassword.Name = "txtCredentialsPassword"; + this.txtCredentialsPassword.Size = new System.Drawing.Size(150, 20); + this.txtCredentialsPassword.TabIndex = 7; + this.txtCredentialsPassword.UseSystemPasswordChar = true; + // + //lblCredentialsPassword + // + this.lblCredentialsPassword.Enabled = false; + this.lblCredentialsPassword.Location = new System.Drawing.Point(34, 123); + this.lblCredentialsPassword.Name = "lblCredentialsPassword"; + this.lblCredentialsPassword.Size = new System.Drawing.Size(100, 13); + this.lblCredentialsPassword.TabIndex = 6; + this.lblCredentialsPassword.Text = "Password:"; + this.lblCredentialsPassword.TextAlign = System.Drawing.ContentAlignment.TopRight; + // + //txtCredentialsUsername + // + this.txtCredentialsUsername.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtCredentialsUsername.Enabled = false; + this.txtCredentialsUsername.Location = new System.Drawing.Point(140, 93); + this.txtCredentialsUsername.Name = "txtCredentialsUsername"; + this.txtCredentialsUsername.Size = new System.Drawing.Size(150, 20); + this.txtCredentialsUsername.TabIndex = 5; + // + //lblCredentialsDomain + // + this.lblCredentialsDomain.Enabled = false; + this.lblCredentialsDomain.Location = new System.Drawing.Point(34, 150); + this.lblCredentialsDomain.Name = "lblCredentialsDomain"; + this.lblCredentialsDomain.Size = new System.Drawing.Size(100, 13); + this.lblCredentialsDomain.TabIndex = 8; + this.lblCredentialsDomain.Text = "Domain:"; + this.lblCredentialsDomain.TextAlign = System.Drawing.ContentAlignment.TopRight; + // + //chkSingleClickOnOpenedConnectionSwitchesToIt + // + this.chkSingleClickOnOpenedConnectionSwitchesToIt.AutoSize = true; + this.chkSingleClickOnOpenedConnectionSwitchesToIt.Location = new System.Drawing.Point(3, 23); + this.chkSingleClickOnOpenedConnectionSwitchesToIt.Name = "chkSingleClickOnOpenedConnectionSwitchesToIt"; + this.chkSingleClickOnOpenedConnectionSwitchesToIt.Size = new System.Drawing.Size(254, 17); + this.chkSingleClickOnOpenedConnectionSwitchesToIt.TabIndex = 8; + this.chkSingleClickOnOpenedConnectionSwitchesToIt.Text = "Single click on opened connection switches to it"; + this.chkSingleClickOnOpenedConnectionSwitchesToIt.UseVisualStyleBackColor = true; + // + //pnlAutoSave + // + this.pnlAutoSave.Controls.Add(this.lblAutoSave1); + this.pnlAutoSave.Controls.Add(this.numAutoSave); + this.pnlAutoSave.Controls.Add(this.lblAutoSave2); + this.pnlAutoSave.Location = new System.Drawing.Point(3, 104); + this.pnlAutoSave.Name = "pnlAutoSave"; + this.pnlAutoSave.Size = new System.Drawing.Size(596, 29); + this.pnlAutoSave.TabIndex = 11; + // + //lblAutoSave1 + // + this.lblAutoSave1.Location = new System.Drawing.Point(6, 9); + this.lblAutoSave1.Name = "lblAutoSave1"; + this.lblAutoSave1.Size = new System.Drawing.Size(288, 13); + this.lblAutoSave1.TabIndex = 0; + this.lblAutoSave1.Text = "Auto Save every:"; + this.lblAutoSave1.TextAlign = System.Drawing.ContentAlignment.TopRight; + // + //numAutoSave + // + this.numAutoSave.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.numAutoSave.Location = new System.Drawing.Point(300, 7); + this.numAutoSave.Maximum = new decimal(new int[] {9999, 0, 0, 0}); + this.numAutoSave.Name = "numAutoSave"; + this.numAutoSave.Size = new System.Drawing.Size(53, 20); + this.numAutoSave.TabIndex = 1; + // + //lblAutoSave2 + // + this.lblAutoSave2.AutoSize = true; + this.lblAutoSave2.Location = new System.Drawing.Point(359, 9); + this.lblAutoSave2.Name = "lblAutoSave2"; + this.lblAutoSave2.Size = new System.Drawing.Size(135, 13); + this.lblAutoSave2.TabIndex = 2; + this.lblAutoSave2.Text = "Minutes (0 means disabled)"; + // + //pnlConfirmCloseConnection + // + this.pnlConfirmCloseConnection.Controls.Add(this.lblClosingConnections); + this.pnlConfirmCloseConnection.Controls.Add(this.radCloseWarnAll); + this.pnlConfirmCloseConnection.Controls.Add(this.radCloseWarnMultiple); + this.pnlConfirmCloseConnection.Controls.Add(this.radCloseWarnExit); + this.pnlConfirmCloseConnection.Controls.Add(this.radCloseWarnNever); + this.pnlConfirmCloseConnection.Location = new System.Drawing.Point(3, 320); + this.pnlConfirmCloseConnection.Name = "pnlConfirmCloseConnection"; + this.pnlConfirmCloseConnection.Size = new System.Drawing.Size(596, 137); + this.pnlConfirmCloseConnection.TabIndex = 13; + // + //lblClosingConnections + // + this.lblClosingConnections.AutoSize = true; + this.lblClosingConnections.Location = new System.Drawing.Point(3, 9); + this.lblClosingConnections.Name = "lblClosingConnections"; + this.lblClosingConnections.Size = new System.Drawing.Size(136, 13); + this.lblClosingConnections.TabIndex = 0; + this.lblClosingConnections.Text = "When closing connections:"; + // + //radCloseWarnAll + // + this.radCloseWarnAll.AutoSize = true; + this.radCloseWarnAll.Location = new System.Drawing.Point(16, 31); + this.radCloseWarnAll.Name = "radCloseWarnAll"; + this.radCloseWarnAll.Size = new System.Drawing.Size(194, 17); + this.radCloseWarnAll.TabIndex = 1; + this.radCloseWarnAll.TabStop = true; + this.radCloseWarnAll.Text = "Warn me when closing connections"; + this.radCloseWarnAll.UseVisualStyleBackColor = true; + // + //radCloseWarnMultiple + // + this.radCloseWarnMultiple.AutoSize = true; + this.radCloseWarnMultiple.Location = new System.Drawing.Point(16, 54); + this.radCloseWarnMultiple.Name = "radCloseWarnMultiple"; + this.radCloseWarnMultiple.Size = new System.Drawing.Size(254, 17); + this.radCloseWarnMultiple.TabIndex = 2; + this.radCloseWarnMultiple.TabStop = true; + this.radCloseWarnMultiple.Text = "Warn me only when closing multiple connections"; + this.radCloseWarnMultiple.UseVisualStyleBackColor = true; + // + //radCloseWarnExit + // + this.radCloseWarnExit.AutoSize = true; + this.radCloseWarnExit.Location = new System.Drawing.Point(16, 77); + this.radCloseWarnExit.Name = "radCloseWarnExit"; + this.radCloseWarnExit.Size = new System.Drawing.Size(216, 17); + this.radCloseWarnExit.TabIndex = 3; + this.radCloseWarnExit.TabStop = true; + this.radCloseWarnExit.Text = "Warn me only when exiting mRemoteNG"; + this.radCloseWarnExit.UseVisualStyleBackColor = true; + // + //radCloseWarnNever + // + this.radCloseWarnNever.AutoSize = true; + this.radCloseWarnNever.Location = new System.Drawing.Point(16, 100); + this.radCloseWarnNever.Name = "radCloseWarnNever"; + this.radCloseWarnNever.Size = new System.Drawing.Size(226, 17); + this.radCloseWarnNever.TabIndex = 4; + this.radCloseWarnNever.TabStop = true; + this.radCloseWarnNever.Text = "Do not warn me when closing connections"; + this.radCloseWarnNever.UseVisualStyleBackColor = true; + // + //ConnectionsPage + // + this.AutoScaleDimensions = new System.Drawing.SizeF((float) (6.0F), (float) (13.0F)); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.pnlRdpReconnectionCount); + this.Controls.Add(this.chkSingleClickOnConnectionOpensIt); + this.Controls.Add(this.chkHostnameLikeDisplayName); + this.Controls.Add(this.pnlDefaultCredentials); + this.Controls.Add(this.chkSingleClickOnOpenedConnectionSwitchesToIt); + this.Controls.Add(this.pnlAutoSave); + this.Controls.Add(this.pnlConfirmCloseConnection); + this.Name = "ConnectionsPage"; + this.PageIcon = (System.Drawing.Icon) (resources.GetObject("$this.PageIcon")); + this.Size = new System.Drawing.Size(610, 489); + this.pnlRdpReconnectionCount.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize) this.numRdpReconnectionCount).EndInit(); + this.pnlDefaultCredentials.ResumeLayout(false); + this.pnlDefaultCredentials.PerformLayout(); + this.pnlAutoSave.ResumeLayout(false); + this.pnlAutoSave.PerformLayout(); + ((System.ComponentModel.ISupportInitialize) this.numAutoSave).EndInit(); + this.pnlConfirmCloseConnection.ResumeLayout(false); + this.pnlConfirmCloseConnection.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + internal System.Windows.Forms.Panel pnlRdpReconnectionCount; + internal System.Windows.Forms.Label lblRdpReconnectionCount; + internal System.Windows.Forms.NumericUpDown numRdpReconnectionCount; + internal System.Windows.Forms.CheckBox chkSingleClickOnConnectionOpensIt; + internal System.Windows.Forms.CheckBox chkHostnameLikeDisplayName; + internal System.Windows.Forms.Panel pnlDefaultCredentials; + internal System.Windows.Forms.RadioButton radCredentialsCustom; + internal System.Windows.Forms.Label lblDefaultCredentials; + internal System.Windows.Forms.RadioButton radCredentialsNoInfo; + internal System.Windows.Forms.RadioButton radCredentialsWindows; + internal System.Windows.Forms.TextBox txtCredentialsDomain; + internal System.Windows.Forms.Label lblCredentialsUsername; + internal System.Windows.Forms.TextBox txtCredentialsPassword; + internal System.Windows.Forms.Label lblCredentialsPassword; + internal System.Windows.Forms.TextBox txtCredentialsUsername; + internal System.Windows.Forms.Label lblCredentialsDomain; + internal System.Windows.Forms.CheckBox chkSingleClickOnOpenedConnectionSwitchesToIt; + internal System.Windows.Forms.Panel pnlAutoSave; + internal System.Windows.Forms.Label lblAutoSave1; + internal System.Windows.Forms.NumericUpDown numAutoSave; + internal System.Windows.Forms.Label lblAutoSave2; + internal System.Windows.Forms.Panel pnlConfirmCloseConnection; + internal System.Windows.Forms.Label lblClosingConnections; + internal System.Windows.Forms.RadioButton radCloseWarnAll; + internal System.Windows.Forms.RadioButton radCloseWarnMultiple; + internal System.Windows.Forms.RadioButton radCloseWarnExit; + internal System.Windows.Forms.RadioButton radCloseWarnNever; + + } +} diff --git a/mRemoteV1/CS/UI/Forms/OptionsPages/ConnectionsPage.cs b/mRemoteV1/CS/UI/Forms/OptionsPages/ConnectionsPage.cs new file mode 100644 index 000000000..375d59458 --- /dev/null +++ b/mRemoteV1/CS/UI/Forms/OptionsPages/ConnectionsPage.cs @@ -0,0 +1,179 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; +using mRemoteNG.My; +using mRemoteNG.Config; +using mRemoteNG.App; +using mRemoteNG.Security; + + +namespace mRemoteNG.Forms.OptionsPages +{ + public partial class ConnectionsPage + { + public ConnectionsPage() + { + InitializeComponent(); + } + public override string PageName + { + get + { + return Language.strConnections; + } + set + { + } + } + + public override void ApplyLanguage() + { + base.ApplyLanguage(); + + chkSingleClickOnConnectionOpensIt.Text = Language.strSingleClickOnConnectionOpensIt; + chkSingleClickOnOpenedConnectionSwitchesToIt.Text = Language.strSingleClickOnOpenConnectionSwitchesToIt; + chkHostnameLikeDisplayName.Text = Language.strSetHostnameLikeDisplayName; + + lblRdpReconnectionCount.Text = Language.strRdpReconnectCount; + + lblAutoSave1.Text = Language.strAutoSaveEvery; + lblAutoSave2.Text = Language.strAutoSaveMins; + + lblDefaultCredentials.Text = Language.strEmptyUsernamePasswordDomainFields; + radCredentialsNoInfo.Text = Language.strNoInformation; + radCredentialsWindows.Text = Language.strMyCurrentWindowsCreds; + radCredentialsCustom.Text = Language.strTheFollowing; + lblCredentialsUsername.Text = Language.strLabelUsername; + lblCredentialsPassword.Text = Language.strLabelPassword; + lblCredentialsDomain.Text = Language.strLabelDomain; + + lblClosingConnections.Text = Language.strLabelClosingConnections; + radCloseWarnAll.Text = Language.strRadioCloseWarnAll; + radCloseWarnMultiple.Text = Language.strRadioCloseWarnMultiple; + radCloseWarnExit.Text = Language.strRadioCloseWarnExit; + radCloseWarnNever.Text = Language.strRadioCloseWarnNever; + } + + public override void LoadSettings() + { + base.SaveSettings(); + + chkSingleClickOnConnectionOpensIt.Checked = System.Convert.ToBoolean(My.Settings.Default.SingleClickOnConnectionOpensIt); + chkSingleClickOnOpenedConnectionSwitchesToIt.Checked = System.Convert.ToBoolean(My.Settings.Default.SingleClickSwitchesToOpenConnection); + chkHostnameLikeDisplayName.Checked = System.Convert.ToBoolean(My.Settings.Default.SetHostnameLikeDisplayName); + + numRdpReconnectionCount.Value = System.Convert.ToDecimal(My.Settings.Default.RdpReconnectionCount); + + numAutoSave.Value = System.Convert.ToDecimal(My.Settings.Default.AutoSaveEveryMinutes); + + // ReSharper disable once StringLiteralTypo + if ((string) My.Settings.Default.EmptyCredentials == "noinfo") + { + radCredentialsNoInfo.Checked = true; + } + else if ((string) My.Settings.Default.EmptyCredentials == "windows") + { + radCredentialsWindows.Checked = true; + } + else if ((string) My.Settings.Default.EmptyCredentials == "custom") + { + radCredentialsCustom.Checked = true; + } + + txtCredentialsUsername.Text = System.Convert.ToString(My.Settings.Default.DefaultUsername); + txtCredentialsPassword.Text = Crypt.Decrypt(System.Convert.ToString(My.Settings.Default.DefaultPassword), App.Info.General.EncryptionKey); + txtCredentialsDomain.Text = System.Convert.ToString(My.Settings.Default.DefaultDomain); + + if (My.Settings.Default.ConfirmCloseConnection == (int)ConfirmClose.Never) + { + radCloseWarnNever.Checked = true; + } + else if (My.Settings.Default.ConfirmCloseConnection == (int)ConfirmClose.Exit) + { + radCloseWarnExit.Checked = true; + } + else if (My.Settings.Default.ConfirmCloseConnection == (int)ConfirmClose.Multiple) + { + radCloseWarnMultiple.Checked = true; + } + else + { + radCloseWarnAll.Checked = true; + } + } + + public override void SaveSettings() + { + base.SaveSettings(); + + My.Settings.Default.SingleClickOnConnectionOpensIt = chkSingleClickOnConnectionOpensIt.Checked; + My.Settings.Default.SingleClickSwitchesToOpenConnection = chkSingleClickOnOpenedConnectionSwitchesToIt.Checked; + My.Settings.Default.SetHostnameLikeDisplayName = chkHostnameLikeDisplayName.Checked; + + My.Settings.Default.RdpReconnectionCount = (int)numRdpReconnectionCount.Value; + + My.Settings.Default.AutoSaveEveryMinutes = (int)numAutoSave.Value; + if (My.Settings.Default.AutoSaveEveryMinutes > 0) + { + frmMain.Default.tmrAutoSave.Interval = System.Convert.ToInt32(My.Settings.Default.AutoSaveEveryMinutes * 60000); + frmMain.Default.tmrAutoSave.Enabled = true; + } + else + { + frmMain.Default.tmrAutoSave.Enabled = false; + } + + if (radCredentialsNoInfo.Checked) + { + // ReSharper disable once StringLiteralTypo + My.Settings.Default.EmptyCredentials = "noinfo"; + } + else if (radCredentialsWindows.Checked) + { + My.Settings.Default.EmptyCredentials = "windows"; + } + else if (radCredentialsCustom.Checked) + { + My.Settings.Default.EmptyCredentials = "custom"; + } + + My.Settings.Default.DefaultUsername = txtCredentialsUsername.Text; + My.Settings.Default.DefaultPassword = Crypt.Encrypt(txtCredentialsPassword.Text, App.Info.General.EncryptionKey); + My.Settings.Default.DefaultDomain = txtCredentialsDomain.Text; + + if (radCloseWarnAll.Checked) + { + My.Settings.Default.ConfirmCloseConnection = (int)ConfirmClose.All; + } + if (radCloseWarnMultiple.Checked) + { + My.Settings.Default.ConfirmCloseConnection = (int)ConfirmClose.Multiple; + } + if (radCloseWarnExit.Checked) + { + My.Settings.Default.ConfirmCloseConnection = (int)ConfirmClose.Exit; + } + if (radCloseWarnNever.Checked) + { + My.Settings.Default.ConfirmCloseConnection = (int)ConfirmClose.Never; + } + } + + public void radCredentialsCustom_CheckedChanged(object sender, EventArgs e) + { + lblCredentialsUsername.Enabled = radCredentialsCustom.Checked; + lblCredentialsPassword.Enabled = radCredentialsCustom.Checked; + lblCredentialsDomain.Enabled = radCredentialsCustom.Checked; + txtCredentialsUsername.Enabled = radCredentialsCustom.Checked; + txtCredentialsPassword.Enabled = radCredentialsCustom.Checked; + txtCredentialsDomain.Enabled = radCredentialsCustom.Checked; + } + } +} diff --git a/mRemoteV1/CS/Forms/OptionsPages/ConnectionsPage.resx b/mRemoteV1/CS/UI/Forms/OptionsPages/ConnectionsPage.resx similarity index 100% rename from mRemoteV1/CS/Forms/OptionsPages/ConnectionsPage.resx rename to mRemoteV1/CS/UI/Forms/OptionsPages/ConnectionsPage.resx diff --git a/mRemoteV1/CS/Forms/OptionsPages/KeyboardPage.Designer.cs b/mRemoteV1/CS/UI/Forms/OptionsPages/KeyboardPage.Designer.cs similarity index 99% rename from mRemoteV1/CS/Forms/OptionsPages/KeyboardPage.Designer.cs rename to mRemoteV1/CS/UI/Forms/OptionsPages/KeyboardPage.Designer.cs index 5a2e0a203..b5df53ae5 100644 --- a/mRemoteV1/CS/Forms/OptionsPages/KeyboardPage.Designer.cs +++ b/mRemoteV1/CS/UI/Forms/OptionsPages/KeyboardPage.Designer.cs @@ -12,8 +12,8 @@ using System.Windows.Forms; namespace mRemoteNG.Forms.OptionsPages { - [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()]public - partial class KeyboardPage : OptionsPage + [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()] + public partial class KeyboardPage : OptionsPage { //UserControl overrides dispose to clean up the component list. diff --git a/mRemoteV1/CS/Forms/OptionsPages/KeyboardPage.cs b/mRemoteV1/CS/UI/Forms/OptionsPages/KeyboardPage.cs similarity index 96% rename from mRemoteV1/CS/Forms/OptionsPages/KeyboardPage.cs rename to mRemoteV1/CS/UI/Forms/OptionsPages/KeyboardPage.cs index bd136a35e..a43a791f9 100644 --- a/mRemoteV1/CS/Forms/OptionsPages/KeyboardPage.cs +++ b/mRemoteV1/CS/UI/Forms/OptionsPages/KeyboardPage.cs @@ -45,7 +45,7 @@ namespace mRemoteNG.Forms.OptionsPages _previousTabListViewItem = new ListViewItem(Language.strOptionsKeyboardCommandsPreviousTab, _tabsListViewGroup); _nextTabListViewItem = new ListViewItem(Language.strOptionsKeyboardCommandsNextTab, _tabsListViewGroup); - _keyboardShortcutMap = KeyboardShortcuts.Map.Clone(); + _keyboardShortcutMap = (mRemoteNG.Config.KeyboardShortcutMap)KeyboardShortcuts.Map.Clone(); lvKeyboardCommands.Groups.Add(_tabsListViewGroup); lvKeyboardCommands.Items.Add(_previousTabListViewItem); @@ -136,7 +136,7 @@ namespace mRemoteNG.Forms.OptionsPages { continue; } - if (shortcutKey == 0) + if (shortcutKey.KeyCode == 0) { lstKeyboardShortcuts.SelectedItem = item; return ; @@ -169,7 +169,7 @@ namespace mRemoteNG.Forms.OptionsPages public void btnResetAllKeyboardShortcuts_Click(System.Object sender, EventArgs e) { - _keyboardShortcutMap = KeyboardShortcuts.DefaultMap.Clone(); + _keyboardShortcutMap = (mRemoteNG.Config.KeyboardShortcutMap)KeyboardShortcuts.DefaultMap.Clone(); lvKeyboardCommands_SelectedIndexChanged(this, new EventArgs()); } @@ -234,6 +234,7 @@ namespace mRemoteNG.Forms.OptionsPages { return ShortcutCommand.NextTab; } + return ShortcutCommand.None; } private void EnableKeyboardShortcutControls(bool enable = true) diff --git a/mRemoteV1/CS/Forms/OptionsPages/KeyboardPage.resx b/mRemoteV1/CS/UI/Forms/OptionsPages/KeyboardPage.resx similarity index 100% rename from mRemoteV1/CS/Forms/OptionsPages/KeyboardPage.resx rename to mRemoteV1/CS/UI/Forms/OptionsPages/KeyboardPage.resx diff --git a/mRemoteV1/CS/UI/Forms/OptionsPages/OptionsPage.cs b/mRemoteV1/CS/UI/Forms/OptionsPages/OptionsPage.cs new file mode 100644 index 000000000..bbe50d2f7 --- /dev/null +++ b/mRemoteV1/CS/UI/Forms/OptionsPages/OptionsPage.cs @@ -0,0 +1,52 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; +using System.ComponentModel; +using mRemoteNG.App; + + +namespace mRemoteNG.Forms.OptionsPages +{ + public class OptionsPage : UserControl + { + public OptionsPage() + { + //InitializeComponent(); + } + + #region Public Properties + [Browsable(false)]public virtual string PageName {get; set;} + + public virtual Icon PageIcon {get; set;} + #endregion + + #region Public Methods + public virtual void ApplyLanguage() + { + + } + + public virtual void LoadSettings() + { + + } + + public virtual void SaveSettings() + { + + } + + public virtual void RevertSettings() + { + + } + #endregion + } +} diff --git a/mRemoteV1/CS/UI/Forms/OptionsPages/SqlServerPage.Designer.cs b/mRemoteV1/CS/UI/Forms/OptionsPages/SqlServerPage.Designer.cs new file mode 100644 index 000000000..a4b70e499 --- /dev/null +++ b/mRemoteV1/CS/UI/Forms/OptionsPages/SqlServerPage.Designer.cs @@ -0,0 +1,208 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; + + +namespace mRemoteNG.Forms.OptionsPages +{ + [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()] + public partial class SqlServerPage : OptionsPage + { + + //UserControl overrides dispose to clean up the component list. + [System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing) + { + try + { + if (disposing && components != null) + { + components.Dispose(); + } + } + finally + { + base.Dispose(disposing); + } + } + + //Required by the Windows Form Designer + private System.ComponentModel.Container components = null; + + //NOTE: The following procedure is required by the Windows Form Designer + //It can be modified using the Windows Form Designer. + //Do not modify it using the code editor. + [System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SqlServerPage)); + this.lblSQLDatabaseName = new System.Windows.Forms.Label(); + this.txtSQLDatabaseName = new System.Windows.Forms.TextBox(); + this.lblExperimental = new System.Windows.Forms.Label(); + this.chkUseSQLServer = new System.Windows.Forms.CheckBox(); + this.chkUseSQLServer.CheckedChanged += new System.EventHandler(this.chkUseSQLServer_CheckedChanged); + this.lblSQLUsername = new System.Windows.Forms.Label(); + this.txtSQLPassword = new System.Windows.Forms.TextBox(); + this.lblSQLInfo = new System.Windows.Forms.Label(); + this.lblSQLServer = new System.Windows.Forms.Label(); + this.txtSQLUsername = new System.Windows.Forms.TextBox(); + this.txtSQLServer = new System.Windows.Forms.TextBox(); + this.lblSQLPassword = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + //lblSQLDatabaseName + // + this.lblSQLDatabaseName.Enabled = false; + this.lblSQLDatabaseName.Location = new System.Drawing.Point(23, 132); + this.lblSQLDatabaseName.Name = "lblSQLDatabaseName"; + this.lblSQLDatabaseName.Size = new System.Drawing.Size(111, 13); + this.lblSQLDatabaseName.TabIndex = 16; + this.lblSQLDatabaseName.Text = "Database:"; + this.lblSQLDatabaseName.TextAlign = System.Drawing.ContentAlignment.TopRight; + // + //txtSQLDatabaseName + // + this.txtSQLDatabaseName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtSQLDatabaseName.Enabled = false; + this.txtSQLDatabaseName.Location = new System.Drawing.Point(140, 130); + this.txtSQLDatabaseName.Name = "txtSQLDatabaseName"; + this.txtSQLDatabaseName.Size = new System.Drawing.Size(153, 20); + this.txtSQLDatabaseName.TabIndex = 17; + // + //lblExperimental + // + this.lblExperimental.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.lblExperimental.Font = new System.Drawing.Font("Segoe UI", (float) (12.0F), System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World); + this.lblExperimental.ForeColor = System.Drawing.Color.FromArgb(System.Convert.ToInt32(System.Convert.ToByte(192)), System.Convert.ToInt32(System.Convert.ToByte(0)), System.Convert.ToInt32(System.Convert.ToByte(0))); + this.lblExperimental.Location = new System.Drawing.Point(3, 0); + this.lblExperimental.Name = "lblExperimental"; + this.lblExperimental.Size = new System.Drawing.Size(596, 25); + this.lblExperimental.TabIndex = 11; + this.lblExperimental.Text = "EXPERIMENTAL"; + this.lblExperimental.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + //chkUseSQLServer + // + this.chkUseSQLServer.AutoSize = true; + this.chkUseSQLServer.Location = new System.Drawing.Point(3, 76); + this.chkUseSQLServer.Name = "chkUseSQLServer"; + this.chkUseSQLServer.Size = new System.Drawing.Size(234, 17); + this.chkUseSQLServer.TabIndex = 13; + this.chkUseSQLServer.Text = "Use SQL Server to load && save connections"; + this.chkUseSQLServer.UseVisualStyleBackColor = true; + // + //lblSQLUsername + // + this.lblSQLUsername.Enabled = false; + this.lblSQLUsername.Location = new System.Drawing.Point(23, 158); + this.lblSQLUsername.Name = "lblSQLUsername"; + this.lblSQLUsername.Size = new System.Drawing.Size(111, 13); + this.lblSQLUsername.TabIndex = 18; + this.lblSQLUsername.Text = "Username:"; + this.lblSQLUsername.TextAlign = System.Drawing.ContentAlignment.TopRight; + // + //txtSQLPassword + // + this.txtSQLPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtSQLPassword.Enabled = false; + this.txtSQLPassword.Location = new System.Drawing.Point(140, 182); + this.txtSQLPassword.Name = "txtSQLPassword"; + this.txtSQLPassword.Size = new System.Drawing.Size(153, 20); + this.txtSQLPassword.TabIndex = 21; + this.txtSQLPassword.UseSystemPasswordChar = true; + // + //lblSQLInfo + // + this.lblSQLInfo.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.lblSQLInfo.Font = new System.Drawing.Font("Segoe UI", (float) (12.0F), System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World); + this.lblSQLInfo.ForeColor = System.Drawing.Color.FromArgb(System.Convert.ToInt32(System.Convert.ToByte(192)), System.Convert.ToInt32(System.Convert.ToByte(0)), System.Convert.ToInt32(System.Convert.ToByte(0))); + this.lblSQLInfo.Location = new System.Drawing.Point(3, 25); + this.lblSQLInfo.Name = "lblSQLInfo"; + this.lblSQLInfo.Size = new System.Drawing.Size(596, 25); + this.lblSQLInfo.TabIndex = 12; + this.lblSQLInfo.Text = "Please see Help - Getting started - SQL Configuration for more Info!"; + this.lblSQLInfo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + //lblSQLServer + // + this.lblSQLServer.Enabled = false; + this.lblSQLServer.Location = new System.Drawing.Point(23, 106); + this.lblSQLServer.Name = "lblSQLServer"; + this.lblSQLServer.Size = new System.Drawing.Size(111, 13); + this.lblSQLServer.TabIndex = 14; + this.lblSQLServer.Text = "SQL Server:"; + this.lblSQLServer.TextAlign = System.Drawing.ContentAlignment.TopRight; + // + //txtSQLUsername + // + this.txtSQLUsername.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtSQLUsername.Enabled = false; + this.txtSQLUsername.Location = new System.Drawing.Point(140, 156); + this.txtSQLUsername.Name = "txtSQLUsername"; + this.txtSQLUsername.Size = new System.Drawing.Size(153, 20); + this.txtSQLUsername.TabIndex = 19; + // + //txtSQLServer + // + this.txtSQLServer.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtSQLServer.Enabled = false; + this.txtSQLServer.Location = new System.Drawing.Point(140, 103); + this.txtSQLServer.Name = "txtSQLServer"; + this.txtSQLServer.Size = new System.Drawing.Size(153, 20); + this.txtSQLServer.TabIndex = 15; + // + //lblSQLPassword + // + this.lblSQLPassword.Enabled = false; + this.lblSQLPassword.Location = new System.Drawing.Point(23, 184); + this.lblSQLPassword.Name = "lblSQLPassword"; + this.lblSQLPassword.Size = new System.Drawing.Size(111, 13); + this.lblSQLPassword.TabIndex = 20; + this.lblSQLPassword.Text = "Password:"; + this.lblSQLPassword.TextAlign = System.Drawing.ContentAlignment.TopRight; + // + //SqlServerPage + // + this.AutoScaleDimensions = new System.Drawing.SizeF((float) (6.0F), (float) (13.0F)); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.lblSQLDatabaseName); + this.Controls.Add(this.txtSQLDatabaseName); + this.Controls.Add(this.lblExperimental); + this.Controls.Add(this.chkUseSQLServer); + this.Controls.Add(this.lblSQLUsername); + this.Controls.Add(this.txtSQLPassword); + this.Controls.Add(this.lblSQLInfo); + this.Controls.Add(this.lblSQLServer); + this.Controls.Add(this.txtSQLUsername); + this.Controls.Add(this.txtSQLServer); + this.Controls.Add(this.lblSQLPassword); + this.Name = "SqlServerPage"; + this.PageIcon = (System.Drawing.Icon) (resources.GetObject("$this.PageIcon")); + this.Size = new System.Drawing.Size(610, 489); + this.ResumeLayout(false); + this.PerformLayout(); + + } + internal System.Windows.Forms.Label lblSQLDatabaseName; + internal System.Windows.Forms.TextBox txtSQLDatabaseName; + internal System.Windows.Forms.Label lblExperimental; + internal System.Windows.Forms.CheckBox chkUseSQLServer; + internal System.Windows.Forms.Label lblSQLUsername; + internal System.Windows.Forms.TextBox txtSQLPassword; + internal System.Windows.Forms.Label lblSQLInfo; + internal System.Windows.Forms.Label lblSQLServer; + internal System.Windows.Forms.TextBox txtSQLUsername; + internal System.Windows.Forms.TextBox txtSQLServer; + internal System.Windows.Forms.Label lblSQLPassword; + + } +} diff --git a/mRemoteV1/CS/UI/Forms/OptionsPages/SqlServerPage.cs b/mRemoteV1/CS/UI/Forms/OptionsPages/SqlServerPage.cs new file mode 100644 index 000000000..814eb2550 --- /dev/null +++ b/mRemoteV1/CS/UI/Forms/OptionsPages/SqlServerPage.cs @@ -0,0 +1,90 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; +using mRemoteNG.My; +using mRemoteNG.App; +using mRemoteNG.Security; + + +namespace mRemoteNG.Forms.OptionsPages +{ + public partial class SqlServerPage + { + public SqlServerPage() + { + InitializeComponent(); + } + public override string PageName + { + get + { + return Language.strSQLServer.TrimEnd(':'); + } + set + { + } + } + + public override void ApplyLanguage() + { + base.ApplyLanguage(); + + lblExperimental.Text = Language.strExperimental.ToUpper(); + lblSQLInfo.Text = Language.strSQLInfo; + + chkUseSQLServer.Text = Language.strUseSQLServer; + lblSQLServer.Text = Language.strLabelHostname; + lblSQLDatabaseName.Text = Language.strLabelSQLServerDatabaseName; + lblSQLUsername.Text = Language.strLabelUsername; + lblSQLPassword.Text = Language.strLabelPassword; + } + + public override void LoadSettings() + { + base.SaveSettings(); + + chkUseSQLServer.Checked = System.Convert.ToBoolean(My.Settings.Default.UseSQLServer); + txtSQLServer.Text = System.Convert.ToString(My.Settings.Default.SQLHost); + txtSQLDatabaseName.Text = System.Convert.ToString(My.Settings.Default.SQLDatabaseName); + txtSQLUsername.Text = System.Convert.ToString(My.Settings.Default.SQLUser); + txtSQLPassword.Text = Crypt.Decrypt(System.Convert.ToString(My.Settings.Default.SQLPass), App.Info.General.EncryptionKey); + } + + public override void SaveSettings() + { + base.SaveSettings(); + + My.Settings.Default.UseSQLServer = chkUseSQLServer.Checked; + My.Settings.Default.SQLHost = txtSQLServer.Text; + My.Settings.Default.SQLDatabaseName = txtSQLDatabaseName.Text; + My.Settings.Default.SQLUser = txtSQLUsername.Text; + My.Settings.Default.SQLPass = Crypt.Encrypt(txtSQLPassword.Text, App.Info.General.EncryptionKey); + + Runtime.Startup.DestroySQLUpdateHandlerAndStopTimer(); + frmMain.Default.UsingSqlServer = System.Convert.ToBoolean(My.Settings.Default.UseSQLServer); + if (My.Settings.Default.UseSQLServer) + { + Runtime.Startup.CreateSQLUpdateHandlerAndStartTimer(); + } + } + + public void chkUseSQLServer_CheckedChanged(object sender, EventArgs e) + { + lblSQLServer.Enabled = chkUseSQLServer.Checked; + lblSQLDatabaseName.Enabled = chkUseSQLServer.Checked; + lblSQLUsername.Enabled = chkUseSQLServer.Checked; + lblSQLPassword.Enabled = chkUseSQLServer.Checked; + txtSQLServer.Enabled = chkUseSQLServer.Checked; + txtSQLDatabaseName.Enabled = chkUseSQLServer.Checked; + txtSQLUsername.Enabled = chkUseSQLServer.Checked; + txtSQLPassword.Enabled = chkUseSQLServer.Checked; + } + } +} diff --git a/mRemoteV1/CS/Forms/OptionsPages/SqlServerPage.resx b/mRemoteV1/CS/UI/Forms/OptionsPages/SqlServerPage.resx similarity index 100% rename from mRemoteV1/CS/Forms/OptionsPages/SqlServerPage.resx rename to mRemoteV1/CS/UI/Forms/OptionsPages/SqlServerPage.resx diff --git a/mRemoteV1/CS/UI/Forms/OptionsPages/StartupExitPage.Designer.cs b/mRemoteV1/CS/UI/Forms/OptionsPages/StartupExitPage.Designer.cs new file mode 100644 index 000000000..a52d276d5 --- /dev/null +++ b/mRemoteV1/CS/UI/Forms/OptionsPages/StartupExitPage.Designer.cs @@ -0,0 +1,112 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; + + +namespace mRemoteNG.Forms.OptionsPages +{ + [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()] + public partial class StartupExitPage : OptionsPage + { + + //UserControl overrides dispose to clean up the component list. + [System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing) + { + try + { + if (disposing && components != null) + { + components.Dispose(); + } + } + finally + { + base.Dispose(disposing); + } + } + + //Required by the Windows Form Designer + private System.ComponentModel.Container components = null; + + //NOTE: The following procedure is required by the Windows Form Designer + //It can be modified using the Windows Form Designer. + //Do not modify it using the code editor. + [System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(StartupExitPage)); + this.chkReconnectOnStart = new System.Windows.Forms.CheckBox(); + base.Load += new System.EventHandler(StartupExitPage_Load); + this.chkSaveConsOnExit = new System.Windows.Forms.CheckBox(); + this.chkSingleInstance = new System.Windows.Forms.CheckBox(); + this.chkProperInstallationOfComponentsAtStartup = new System.Windows.Forms.CheckBox(); + this.SuspendLayout(); + // + //chkReconnectOnStart + // + this.chkReconnectOnStart.AutoSize = true; + this.chkReconnectOnStart.Location = new System.Drawing.Point(3, 24); + this.chkReconnectOnStart.Name = "chkReconnectOnStart"; + this.chkReconnectOnStart.Size = new System.Drawing.Size(273, 17); + this.chkReconnectOnStart.TabIndex = 7; + this.chkReconnectOnStart.Text = "Reconnect to previously opened sessions on startup"; + this.chkReconnectOnStart.UseVisualStyleBackColor = true; + // + //chkSaveConsOnExit + // + this.chkSaveConsOnExit.AutoSize = true; + this.chkSaveConsOnExit.Location = new System.Drawing.Point(3, 0); + this.chkSaveConsOnExit.Name = "chkSaveConsOnExit"; + this.chkSaveConsOnExit.Size = new System.Drawing.Size(146, 17); + this.chkSaveConsOnExit.TabIndex = 6; + this.chkSaveConsOnExit.Text = "Save connections on exit"; + this.chkSaveConsOnExit.UseVisualStyleBackColor = true; + // + //chkSingleInstance + // + this.chkSingleInstance.AutoSize = true; + this.chkSingleInstance.Location = new System.Drawing.Point(3, 48); + this.chkSingleInstance.Name = "chkSingleInstance"; + this.chkSingleInstance.Size = new System.Drawing.Size(366, 17); + this.chkSingleInstance.TabIndex = 8; + this.chkSingleInstance.Text = "Allow only a single instance of the application (mRemote restart required)"; + this.chkSingleInstance.UseVisualStyleBackColor = true; + // + //chkProperInstallationOfComponentsAtStartup + // + this.chkProperInstallationOfComponentsAtStartup.AutoSize = true; + this.chkProperInstallationOfComponentsAtStartup.Location = new System.Drawing.Point(3, 72); + this.chkProperInstallationOfComponentsAtStartup.Name = "chkProperInstallationOfComponentsAtStartup"; + this.chkProperInstallationOfComponentsAtStartup.Size = new System.Drawing.Size(262, 17); + this.chkProperInstallationOfComponentsAtStartup.TabIndex = 9; + this.chkProperInstallationOfComponentsAtStartup.Text = "Check proper installation of components at startup"; + this.chkProperInstallationOfComponentsAtStartup.UseVisualStyleBackColor = true; + // + //StartupExitPage + // + this.AutoScaleDimensions = new System.Drawing.SizeF((float) (6.0F), (float) (13.0F)); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.chkReconnectOnStart); + this.Controls.Add(this.chkSaveConsOnExit); + this.Controls.Add(this.chkSingleInstance); + this.Controls.Add(this.chkProperInstallationOfComponentsAtStartup); + this.Name = "StartupExitPage"; + this.PageIcon = (System.Drawing.Icon) (resources.GetObject("$this.PageIcon")); + this.Size = new System.Drawing.Size(610, 489); + this.ResumeLayout(false); + this.PerformLayout(); + + } + internal System.Windows.Forms.CheckBox chkReconnectOnStart; + internal System.Windows.Forms.CheckBox chkSaveConsOnExit; + internal System.Windows.Forms.CheckBox chkSingleInstance; + internal System.Windows.Forms.CheckBox chkProperInstallationOfComponentsAtStartup; + + } +} diff --git a/mRemoteV1/CS/UI/Forms/OptionsPages/StartupExitPage.cs b/mRemoteV1/CS/UI/Forms/OptionsPages/StartupExitPage.cs new file mode 100644 index 000000000..56f986fc0 --- /dev/null +++ b/mRemoteV1/CS/UI/Forms/OptionsPages/StartupExitPage.cs @@ -0,0 +1,61 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; +using mRemoteNG.My; + + +namespace mRemoteNG.Forms.OptionsPages +{ + public partial class StartupExitPage + { + public StartupExitPage() + { + InitializeComponent(); + } + public override string PageName + { + get + { + return Language.strStartupExit; + } + set + { + } + } + + public override void ApplyLanguage() + { + base.ApplyLanguage(); + + chkSaveConsOnExit.Text = Language.strSaveConsOnExit; + chkReconnectOnStart.Text = Language.strReconnectAtStartup; + chkSingleInstance.Text = Language.strAllowOnlySingleInstance; + chkProperInstallationOfComponentsAtStartup.Text = Language.strCheckProperInstallationOfComponentsAtStartup; + } + + public override void SaveSettings() + { + base.SaveSettings(); + + My.Settings.Default.SaveConsOnExit = chkSaveConsOnExit.Checked; + My.Settings.Default.OpenConsFromLastSession = chkReconnectOnStart.Checked; + My.Settings.Default.SingleInstance = chkSingleInstance.Checked; + My.Settings.Default.StartupComponentsCheck = chkProperInstallationOfComponentsAtStartup.Checked; + } + + public void StartupExitPage_Load(System.Object sender, EventArgs e) + { + chkSaveConsOnExit.Checked = My.Settings.Default.SaveConsOnExit; + chkReconnectOnStart.Checked = My.Settings.Default.OpenConsFromLastSession; + chkSingleInstance.Checked = My.Settings.Default.SingleInstance; + chkProperInstallationOfComponentsAtStartup.Checked = My.Settings.Default.StartupComponentsCheck; + } + } +} diff --git a/mRemoteV1/CS/Forms/OptionsPages/StartupExitPage.resx b/mRemoteV1/CS/UI/Forms/OptionsPages/StartupExitPage.resx similarity index 100% rename from mRemoteV1/CS/Forms/OptionsPages/StartupExitPage.resx rename to mRemoteV1/CS/UI/Forms/OptionsPages/StartupExitPage.resx diff --git a/mRemoteV1/CS/UI/Forms/OptionsPages/TabsPanelsPage.Designer.cs b/mRemoteV1/CS/UI/Forms/OptionsPages/TabsPanelsPage.Designer.cs new file mode 100644 index 000000000..8b64e451d --- /dev/null +++ b/mRemoteV1/CS/UI/Forms/OptionsPages/TabsPanelsPage.Designer.cs @@ -0,0 +1,218 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; + + +namespace mRemoteNG.Forms.OptionsPages +{ + [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()] + public partial class TabsPanelsPage : OptionsPage + { + + //UserControl overrides dispose to clean up the component list. + [System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing) + { + try + { + if (disposing && components != null) + { + components.Dispose(); + } + } + finally + { + base.Dispose(disposing); + } + } + + //Required by the Windows Form Designer + private System.ComponentModel.Container components = null; + + //NOTE: The following procedure is required by the Windows Form Designer + //It can be modified using the Windows Form Designer. + //Do not modify it using the code editor. + [System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TabsPanelsPage)); + this.chkAlwaysShowPanelTabs = new System.Windows.Forms.CheckBox(); + this.chkIdentifyQuickConnectTabs = new System.Windows.Forms.CheckBox(); + this.chkUseOnlyErrorsAndInfosPanel = new System.Windows.Forms.CheckBox(); + this.chkUseOnlyErrorsAndInfosPanel.CheckedChanged += new System.EventHandler(this.chkUseOnlyErrorsAndInfosPanel_CheckedChanged); + this.chkOpenNewTabRightOfSelected = new System.Windows.Forms.CheckBox(); + this.lblSwitchToErrorsAndInfos = new System.Windows.Forms.Label(); + this.chkAlwaysShowPanelSelectionDlg = new System.Windows.Forms.CheckBox(); + this.chkMCInformation = new System.Windows.Forms.CheckBox(); + this.chkShowLogonInfoOnTabs = new System.Windows.Forms.CheckBox(); + this.chkMCErrors = new System.Windows.Forms.CheckBox(); + this.chkDoubleClickClosesTab = new System.Windows.Forms.CheckBox(); + this.chkMCWarnings = new System.Windows.Forms.CheckBox(); + this.chkShowProtocolOnTabs = new System.Windows.Forms.CheckBox(); + this.SuspendLayout(); + // + //chkAlwaysShowPanelTabs + // + this.chkAlwaysShowPanelTabs.AutoSize = true; + this.chkAlwaysShowPanelTabs.Location = new System.Drawing.Point(3, 0); + this.chkAlwaysShowPanelTabs.Name = "chkAlwaysShowPanelTabs"; + this.chkAlwaysShowPanelTabs.Size = new System.Drawing.Size(139, 17); + this.chkAlwaysShowPanelTabs.TabIndex = 12; + this.chkAlwaysShowPanelTabs.Text = "Always show panel tabs"; + this.chkAlwaysShowPanelTabs.UseVisualStyleBackColor = true; + // + //chkIdentifyQuickConnectTabs + // + this.chkIdentifyQuickConnectTabs.AutoSize = true; + this.chkIdentifyQuickConnectTabs.Location = new System.Drawing.Point(3, 92); + this.chkIdentifyQuickConnectTabs.Name = "chkIdentifyQuickConnectTabs"; + this.chkIdentifyQuickConnectTabs.Size = new System.Drawing.Size(293, 17); + this.chkIdentifyQuickConnectTabs.TabIndex = 16; + this.chkIdentifyQuickConnectTabs.Text = global::mRemoteNG.My.Language.strIdentifyQuickConnectTabs; + this.chkIdentifyQuickConnectTabs.UseVisualStyleBackColor = true; + // + //chkUseOnlyErrorsAndInfosPanel + // + this.chkUseOnlyErrorsAndInfosPanel.AutoSize = true; + this.chkUseOnlyErrorsAndInfosPanel.Location = new System.Drawing.Point(3, 185); + this.chkUseOnlyErrorsAndInfosPanel.Name = "chkUseOnlyErrorsAndInfosPanel"; + this.chkUseOnlyErrorsAndInfosPanel.Size = new System.Drawing.Size(278, 17); + this.chkUseOnlyErrorsAndInfosPanel.TabIndex = 19; + this.chkUseOnlyErrorsAndInfosPanel.Text = "Use only Notifications panel (no messagebox popups)"; + this.chkUseOnlyErrorsAndInfosPanel.UseVisualStyleBackColor = true; + // + //chkOpenNewTabRightOfSelected + // + this.chkOpenNewTabRightOfSelected.AutoSize = true; + this.chkOpenNewTabRightOfSelected.Location = new System.Drawing.Point(3, 23); + this.chkOpenNewTabRightOfSelected.Name = "chkOpenNewTabRightOfSelected"; + this.chkOpenNewTabRightOfSelected.Size = new System.Drawing.Size(280, 17); + this.chkOpenNewTabRightOfSelected.TabIndex = 13; + this.chkOpenNewTabRightOfSelected.Text = "Open new tab to the right of the currently selected tab"; + this.chkOpenNewTabRightOfSelected.UseVisualStyleBackColor = true; + // + //lblSwitchToErrorsAndInfos + // + this.lblSwitchToErrorsAndInfos.AutoSize = true; + this.lblSwitchToErrorsAndInfos.Location = new System.Drawing.Point(3, 210); + this.lblSwitchToErrorsAndInfos.Name = "lblSwitchToErrorsAndInfos"; + this.lblSwitchToErrorsAndInfos.Size = new System.Drawing.Size(159, 13); + this.lblSwitchToErrorsAndInfos.TabIndex = 20; + this.lblSwitchToErrorsAndInfos.Text = "Switch to Notifications panel on:"; + // + //chkAlwaysShowPanelSelectionDlg + // + this.chkAlwaysShowPanelSelectionDlg.AutoSize = true; + this.chkAlwaysShowPanelSelectionDlg.Location = new System.Drawing.Point(3, 138); + this.chkAlwaysShowPanelSelectionDlg.Name = "chkAlwaysShowPanelSelectionDlg"; + this.chkAlwaysShowPanelSelectionDlg.Size = new System.Drawing.Size(317, 17); + this.chkAlwaysShowPanelSelectionDlg.TabIndex = 18; + this.chkAlwaysShowPanelSelectionDlg.Text = "Always show panel selection dialog when opening connectins"; + this.chkAlwaysShowPanelSelectionDlg.UseVisualStyleBackColor = true; + // + //chkMCInformation + // + this.chkMCInformation.AutoSize = true; + this.chkMCInformation.Enabled = false; + this.chkMCInformation.Location = new System.Drawing.Point(19, 230); + this.chkMCInformation.Name = "chkMCInformation"; + this.chkMCInformation.Size = new System.Drawing.Size(83, 17); + this.chkMCInformation.TabIndex = 21; + this.chkMCInformation.Text = "Informations"; + this.chkMCInformation.UseVisualStyleBackColor = true; + // + //chkShowLogonInfoOnTabs + // + this.chkShowLogonInfoOnTabs.AutoSize = true; + this.chkShowLogonInfoOnTabs.Location = new System.Drawing.Point(3, 46); + this.chkShowLogonInfoOnTabs.Name = "chkShowLogonInfoOnTabs"; + this.chkShowLogonInfoOnTabs.Size = new System.Drawing.Size(203, 17); + this.chkShowLogonInfoOnTabs.TabIndex = 14; + this.chkShowLogonInfoOnTabs.Text = "Show logon information on tab names"; + this.chkShowLogonInfoOnTabs.UseVisualStyleBackColor = true; + // + //chkMCErrors + // + this.chkMCErrors.AutoSize = true; + this.chkMCErrors.Enabled = false; + this.chkMCErrors.Location = new System.Drawing.Point(19, 276); + this.chkMCErrors.Name = "chkMCErrors"; + this.chkMCErrors.Size = new System.Drawing.Size(53, 17); + this.chkMCErrors.TabIndex = 23; + this.chkMCErrors.Text = "Errors"; + this.chkMCErrors.UseVisualStyleBackColor = true; + // + //chkDoubleClickClosesTab + // + this.chkDoubleClickClosesTab.AutoSize = true; + this.chkDoubleClickClosesTab.Location = new System.Drawing.Point(3, 115); + this.chkDoubleClickClosesTab.Name = "chkDoubleClickClosesTab"; + this.chkDoubleClickClosesTab.Size = new System.Drawing.Size(159, 17); + this.chkDoubleClickClosesTab.TabIndex = 17; + this.chkDoubleClickClosesTab.Text = "Double click on tab closes it"; + this.chkDoubleClickClosesTab.UseVisualStyleBackColor = true; + // + //chkMCWarnings + // + this.chkMCWarnings.AutoSize = true; + this.chkMCWarnings.Enabled = false; + this.chkMCWarnings.Location = new System.Drawing.Point(19, 253); + this.chkMCWarnings.Name = "chkMCWarnings"; + this.chkMCWarnings.Size = new System.Drawing.Size(71, 17); + this.chkMCWarnings.TabIndex = 22; + this.chkMCWarnings.Text = "Warnings"; + this.chkMCWarnings.UseVisualStyleBackColor = true; + // + //chkShowProtocolOnTabs + // + this.chkShowProtocolOnTabs.AutoSize = true; + this.chkShowProtocolOnTabs.Location = new System.Drawing.Point(3, 69); + this.chkShowProtocolOnTabs.Name = "chkShowProtocolOnTabs"; + this.chkShowProtocolOnTabs.Size = new System.Drawing.Size(166, 17); + this.chkShowProtocolOnTabs.TabIndex = 15; + this.chkShowProtocolOnTabs.Text = "Show protocols on tab names"; + this.chkShowProtocolOnTabs.UseVisualStyleBackColor = true; + // + //TabsPanelsPage + // + this.AutoScaleDimensions = new System.Drawing.SizeF((float) (6.0F), (float) (13.0F)); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.chkAlwaysShowPanelTabs); + this.Controls.Add(this.chkIdentifyQuickConnectTabs); + this.Controls.Add(this.chkUseOnlyErrorsAndInfosPanel); + this.Controls.Add(this.chkOpenNewTabRightOfSelected); + this.Controls.Add(this.lblSwitchToErrorsAndInfos); + this.Controls.Add(this.chkAlwaysShowPanelSelectionDlg); + this.Controls.Add(this.chkMCInformation); + this.Controls.Add(this.chkShowLogonInfoOnTabs); + this.Controls.Add(this.chkMCErrors); + this.Controls.Add(this.chkDoubleClickClosesTab); + this.Controls.Add(this.chkMCWarnings); + this.Controls.Add(this.chkShowProtocolOnTabs); + this.Name = "TabsPanelsPage"; + this.PageIcon = (System.Drawing.Icon) (resources.GetObject("$this.PageIcon")); + this.Size = new System.Drawing.Size(610, 489); + this.ResumeLayout(false); + this.PerformLayout(); + + } + internal System.Windows.Forms.CheckBox chkAlwaysShowPanelTabs; + internal System.Windows.Forms.CheckBox chkIdentifyQuickConnectTabs; + internal System.Windows.Forms.CheckBox chkUseOnlyErrorsAndInfosPanel; + internal System.Windows.Forms.CheckBox chkOpenNewTabRightOfSelected; + internal System.Windows.Forms.Label lblSwitchToErrorsAndInfos; + internal System.Windows.Forms.CheckBox chkAlwaysShowPanelSelectionDlg; + internal System.Windows.Forms.CheckBox chkMCInformation; + internal System.Windows.Forms.CheckBox chkShowLogonInfoOnTabs; + internal System.Windows.Forms.CheckBox chkMCErrors; + internal System.Windows.Forms.CheckBox chkDoubleClickClosesTab; + internal System.Windows.Forms.CheckBox chkMCWarnings; + internal System.Windows.Forms.CheckBox chkShowProtocolOnTabs; + + } +} diff --git a/mRemoteV1/CS/UI/Forms/OptionsPages/TabsPanelsPage.cs b/mRemoteV1/CS/UI/Forms/OptionsPages/TabsPanelsPage.cs new file mode 100644 index 000000000..05304cfc9 --- /dev/null +++ b/mRemoteV1/CS/UI/Forms/OptionsPages/TabsPanelsPage.cs @@ -0,0 +1,97 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; +using mRemoteNG.My; + + +namespace mRemoteNG.Forms.OptionsPages +{ + public partial class TabsPanelsPage + { + public TabsPanelsPage() + { + InitializeComponent(); + } +public override string PageName + { + get + { + return Language.strTabsAndPanels.Replace("&&", "&"); + } + set + { + } + } + + public override void ApplyLanguage() + { + base.ApplyLanguage(); + + chkAlwaysShowPanelTabs.Text = Language.strAlwaysShowPanelTabs; + chkOpenNewTabRightOfSelected.Text = Language.strOpenNewTabRight; + chkShowLogonInfoOnTabs.Text = Language.strShowLogonInfoOnTabs; + chkShowProtocolOnTabs.Text = Language.strShowProtocolOnTabs; + chkIdentifyQuickConnectTabs.Text = Language.strIdentifyQuickConnectTabs; + chkDoubleClickClosesTab.Text = Language.strDoubleClickTabClosesIt; + chkAlwaysShowPanelSelectionDlg.Text = Language.strAlwaysShowPanelSelection; + + chkUseOnlyErrorsAndInfosPanel.Text = Language.strUseOnlyErrorsAndInfosPanel; + lblSwitchToErrorsAndInfos.Text = Language.strSwitchToErrorsAndInfos; + chkMCInformation.Text = Language.strInformations; + chkMCWarnings.Text = Language.strWarnings; + chkMCErrors.Text = Language.strErrors; + } + + public override void LoadSettings() + { + base.SaveSettings(); + + chkAlwaysShowPanelTabs.Checked = My.Settings.Default.AlwaysShowPanelTabs; + chkOpenNewTabRightOfSelected.Checked = My.Settings.Default.OpenTabsRightOfSelected; + chkShowLogonInfoOnTabs.Checked = My.Settings.Default.ShowLogonInfoOnTabs; + chkShowProtocolOnTabs.Checked = My.Settings.Default.ShowProtocolOnTabs; + chkIdentifyQuickConnectTabs.Checked = My.Settings.Default.IdentifyQuickConnectTabs; + chkDoubleClickClosesTab.Checked = My.Settings.Default.DoubleClickOnTabClosesIt; + chkAlwaysShowPanelSelectionDlg.Checked = My.Settings.Default.AlwaysShowPanelSelectionDlg; + + chkUseOnlyErrorsAndInfosPanel.Checked = My.Settings.Default.ShowNoMessageBoxes; + chkMCInformation.Checked = My.Settings.Default.SwitchToMCOnInformation; + chkMCWarnings.Checked = My.Settings.Default.SwitchToMCOnWarning; + chkMCErrors.Checked = My.Settings.Default.SwitchToMCOnError; + } + + public override void SaveSettings() + { + base.SaveSettings(); + + My.Settings.Default.AlwaysShowPanelTabs = chkAlwaysShowPanelTabs.Checked; + frmMain.Default.ShowHidePanelTabs(); + + My.Settings.Default.OpenTabsRightOfSelected = chkOpenNewTabRightOfSelected.Checked; + My.Settings.Default.ShowLogonInfoOnTabs = chkShowLogonInfoOnTabs.Checked; + My.Settings.Default.ShowProtocolOnTabs = chkShowProtocolOnTabs.Checked; + My.Settings.Default.IdentifyQuickConnectTabs = chkIdentifyQuickConnectTabs.Checked; + My.Settings.Default.DoubleClickOnTabClosesIt = chkDoubleClickClosesTab.Checked; + My.Settings.Default.AlwaysShowPanelSelectionDlg = chkAlwaysShowPanelSelectionDlg.Checked; + + My.Settings.Default.ShowNoMessageBoxes = chkUseOnlyErrorsAndInfosPanel.Checked; + My.Settings.Default.SwitchToMCOnInformation = chkMCInformation.Checked; + My.Settings.Default.SwitchToMCOnWarning = chkMCWarnings.Checked; + My.Settings.Default.SwitchToMCOnError = chkMCErrors.Checked; + } + + public void chkUseOnlyErrorsAndInfosPanel_CheckedChanged(object sender, EventArgs e) + { + chkMCInformation.Enabled = chkUseOnlyErrorsAndInfosPanel.Checked; + chkMCWarnings.Enabled = chkUseOnlyErrorsAndInfosPanel.Checked; + chkMCErrors.Enabled = chkUseOnlyErrorsAndInfosPanel.Checked; + } + } +} diff --git a/mRemoteV1/CS/Forms/OptionsPages/TabsPanelsPage.resx b/mRemoteV1/CS/UI/Forms/OptionsPages/TabsPanelsPage.resx similarity index 100% rename from mRemoteV1/CS/Forms/OptionsPages/TabsPanelsPage.resx rename to mRemoteV1/CS/UI/Forms/OptionsPages/TabsPanelsPage.resx diff --git a/mRemoteV1/CS/UI/Forms/OptionsPages/ThemePage.Designer.cs b/mRemoteV1/CS/UI/Forms/OptionsPages/ThemePage.Designer.cs new file mode 100644 index 000000000..52db2e277 --- /dev/null +++ b/mRemoteV1/CS/UI/Forms/OptionsPages/ThemePage.Designer.cs @@ -0,0 +1,111 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; + + +namespace mRemoteNG.Forms.OptionsPages +{ + [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()] + public partial class ThemePage : OptionsPage + { + + //UserControl overrides dispose to clean up the component list. + [System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing) + { + try + { + if (disposing && components != null) + { + components.Dispose(); + } + } + finally + { + base.Dispose(disposing); + } + } + + //Required by the Windows Form Designer + private System.ComponentModel.Container components = null; + + //NOTE: The following procedure is required by the Windows Form Designer + //It can be modified using the Windows Form Designer. + //Do not modify it using the code editor. + [System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ThemePage)); + this.btnThemeDelete = new System.Windows.Forms.Button(); + this.btnThemeDelete.Click += new System.EventHandler(this.btnThemeDelete_Click); + this.btnThemeNew = new System.Windows.Forms.Button(); + this.btnThemeNew.Click += new System.EventHandler(this.btnThemeNew_Click); + this.cboTheme = new System.Windows.Forms.ComboBox(); + this.cboTheme.DropDown += new System.EventHandler(this.cboTheme_DropDown); + this.cboTheme.SelectionChangeCommitted += new System.EventHandler(this.cboTheme_SelectionChangeCommitted); + this.ThemePropertyGrid = new System.Windows.Forms.PropertyGrid(); + this.SuspendLayout(); + // + //btnThemeDelete + // + this.btnThemeDelete.Location = new System.Drawing.Point(535, 0); + this.btnThemeDelete.Name = "btnThemeDelete"; + this.btnThemeDelete.Size = new System.Drawing.Size(75, 23); + this.btnThemeDelete.TabIndex = 6; + this.btnThemeDelete.Text = "&Delete"; + this.btnThemeDelete.UseVisualStyleBackColor = true; + // + //btnThemeNew + // + this.btnThemeNew.Location = new System.Drawing.Point(454, 0); + this.btnThemeNew.Name = "btnThemeNew"; + this.btnThemeNew.Size = new System.Drawing.Size(75, 23); + this.btnThemeNew.TabIndex = 5; + this.btnThemeNew.Text = "&New"; + this.btnThemeNew.UseVisualStyleBackColor = true; + // + //cboTheme + // + this.cboTheme.FormattingEnabled = true; + this.cboTheme.Location = new System.Drawing.Point(3, 1); + this.cboTheme.Name = "cboTheme"; + this.cboTheme.Size = new System.Drawing.Size(445, 21); + this.cboTheme.TabIndex = 4; + // + //ThemePropertyGrid + // + this.ThemePropertyGrid.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.ThemePropertyGrid.Location = new System.Drawing.Point(3, 29); + this.ThemePropertyGrid.Name = "ThemePropertyGrid"; + this.ThemePropertyGrid.Size = new System.Drawing.Size(607, 460); + this.ThemePropertyGrid.TabIndex = 7; + this.ThemePropertyGrid.UseCompatibleTextRendering = true; + // + //ThemePage + // + this.AutoScaleDimensions = new System.Drawing.SizeF((float) (6.0F), (float) (13.0F)); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.btnThemeDelete); + this.Controls.Add(this.btnThemeNew); + this.Controls.Add(this.cboTheme); + this.Controls.Add(this.ThemePropertyGrid); + this.Name = "ThemePage"; + this.PageIcon = (System.Drawing.Icon) (resources.GetObject("$this.PageIcon")); + this.Size = new System.Drawing.Size(610, 489); + this.ResumeLayout(false); + + } + internal System.Windows.Forms.Button btnThemeDelete; + internal System.Windows.Forms.Button btnThemeNew; + internal System.Windows.Forms.ComboBox cboTheme; + internal System.Windows.Forms.PropertyGrid ThemePropertyGrid; + + } +} diff --git a/mRemoteV1/CS/UI/Forms/OptionsPages/ThemePage.cs b/mRemoteV1/CS/UI/Forms/OptionsPages/ThemePage.cs new file mode 100644 index 000000000..a9483ed33 --- /dev/null +++ b/mRemoteV1/CS/UI/Forms/OptionsPages/ThemePage.cs @@ -0,0 +1,140 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; +using System.ComponentModel; +using mRemoteNG.My; +using mRemoteNG.Themes; + + +namespace mRemoteNG.Forms.OptionsPages +{ + public partial class ThemePage + { + public ThemePage() + { + InitializeComponent(); + } + public override string PageName + { + get + { + return Language.strOptionsTabTheme; + } + set + { + } + } + + public override void ApplyLanguage() + { + base.ApplyLanguage(); + + btnThemeDelete.Text = Language.strOptionsThemeButtonDelete; + btnThemeNew.Text = Language.strOptionsThemeButtonNew; + } + + public override void LoadSettings() + { + base.SaveSettings(); + + _themeList = new BindingList(ThemeManager.LoadThemes()); + cboTheme.DataSource = _themeList; + cboTheme.SelectedItem = ThemeManager.ActiveTheme; + cboTheme_SelectionChangeCommitted(this, new EventArgs()); + + ThemePropertyGrid.PropertySort = PropertySort.Categorized; + + _originalTheme = ThemeManager.ActiveTheme; + } + + public override void SaveSettings() + { + base.SaveSettings(); + + ThemeManager.SaveThemes(_themeList); + My.Settings.Default.ThemeName = ThemeManager.ActiveTheme.Name; + } + + public override void RevertSettings() + { + ThemeManager.ActiveTheme = _originalTheme; + } + + #region Private Fields + private BindingList _themeList; + private ThemeInfo _originalTheme; + #endregion + + #region Private Methods + #region Event Handlers + public void cboTheme_DropDown(object sender, EventArgs e) + { + if (ThemeManager.ActiveTheme == ThemeManager.DefaultTheme) + { + return ; + } + ThemeManager.ActiveTheme.Name = cboTheme.Text; + } + + public void cboTheme_SelectionChangeCommitted(object sender, EventArgs e) + { + if (cboTheme.SelectedItem == null) + { + cboTheme.SelectedItem = ThemeManager.DefaultTheme; + } + + if (cboTheme.SelectedItem == ThemeManager.DefaultTheme) + { + cboTheme.DropDownStyle = ComboBoxStyle.DropDownList; + btnThemeDelete.Enabled = false; + ThemePropertyGrid.Enabled = false; + } + else + { + cboTheme.DropDownStyle = ComboBoxStyle.DropDown; + btnThemeDelete.Enabled = true; + ThemePropertyGrid.Enabled = true; + } + + ThemeManager.ActiveTheme = (ThemeInfo)cboTheme.SelectedItem; + ThemePropertyGrid.SelectedObject = ThemeManager.ActiveTheme; + ThemePropertyGrid.Refresh(); + } + + public void btnThemeNew_Click(object sender, EventArgs e) + { + ThemeInfo newTheme = (ThemeInfo)ThemeManager.ActiveTheme.Clone(); + newTheme.Name = Language.strUnnamedTheme; + + _themeList.Add(newTheme); + + cboTheme.SelectedItem = newTheme; + cboTheme_SelectionChangeCommitted(this, new EventArgs()); + + cboTheme.Focus(); + } + + public void btnThemeDelete_Click(object sender, EventArgs e) + { + ThemeInfo theme = (ThemeInfo)cboTheme.SelectedItem; + if (theme == null) + { + return ; + } + + _themeList.Remove(theme); + + cboTheme.SelectedItem = ThemeManager.DefaultTheme; + cboTheme_SelectionChangeCommitted(this, new EventArgs()); + } + #endregion + #endregion + } +} diff --git a/mRemoteV1/CS/Forms/OptionsPages/ThemePage.resx b/mRemoteV1/CS/UI/Forms/OptionsPages/ThemePage.resx similarity index 100% rename from mRemoteV1/CS/Forms/OptionsPages/ThemePage.resx rename to mRemoteV1/CS/UI/Forms/OptionsPages/ThemePage.resx diff --git a/mRemoteV1/CS/UI/Forms/OptionsPages/UpdatesPage.Designer.cs b/mRemoteV1/CS/UI/Forms/OptionsPages/UpdatesPage.Designer.cs new file mode 100644 index 000000000..6539d4b0c --- /dev/null +++ b/mRemoteV1/CS/UI/Forms/OptionsPages/UpdatesPage.Designer.cs @@ -0,0 +1,302 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; + +namespace mRemoteNG.Forms.OptionsPages +{ + [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()] + public partial class UpdatesPage : OptionsPage + { + + //UserControl overrides dispose to clean up the component list. + [System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing) + { + try + { + if (disposing && components != null) + { + components.Dispose(); + } + } + finally + { + base.Dispose(disposing); + } + } + + //Required by the Windows Form Designer + private System.ComponentModel.Container components = null; + + //NOTE: The following procedure is required by the Windows Form Designer + //It can be modified using the Windows Form Designer. + //Do not modify it using the code editor. + [System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UpdatesPage)); + this.lblUpdatesExplanation = new System.Windows.Forms.Label(); + this.pnlUpdateCheck = new System.Windows.Forms.Panel(); + this.btnUpdateCheckNow = new System.Windows.Forms.Button(); + this.btnUpdateCheckNow.Click += new System.EventHandler(this.btnUpdateCheckNow_Click); + this.chkCheckForUpdatesOnStartup = new System.Windows.Forms.CheckBox(); + this.chkCheckForUpdatesOnStartup.CheckedChanged += new System.EventHandler(this.chkCheckForUpdatesOnStartup_CheckedChanged); + this.cboUpdateCheckFrequency = new System.Windows.Forms.ComboBox(); + this.pnlProxy = new System.Windows.Forms.Panel(); + this.pnlProxyBasic = new System.Windows.Forms.Panel(); + this.lblProxyAddress = new System.Windows.Forms.Label(); + this.txtProxyAddress = new System.Windows.Forms.TextBox(); + this.lblProxyPort = new System.Windows.Forms.Label(); + this.numProxyPort = new System.Windows.Forms.NumericUpDown(); + this.chkUseProxyForAutomaticUpdates = new System.Windows.Forms.CheckBox(); + this.chkUseProxyForAutomaticUpdates.CheckedChanged += new System.EventHandler(this.chkUseProxyForAutomaticUpdates_CheckedChanged); + this.chkUseProxyAuthentication = new System.Windows.Forms.CheckBox(); + this.chkUseProxyAuthentication.CheckedChanged += new System.EventHandler(this.chkUseProxyAuthentication_CheckedChanged); + this.pnlProxyAuthentication = new System.Windows.Forms.Panel(); + this.lblProxyUsername = new System.Windows.Forms.Label(); + this.txtProxyUsername = new System.Windows.Forms.TextBox(); + this.lblProxyPassword = new System.Windows.Forms.Label(); + this.txtProxyPassword = new System.Windows.Forms.TextBox(); + this.btnTestProxy = new System.Windows.Forms.Button(); + this.btnTestProxy.Click += new System.EventHandler(this.btnTestProxy_Click); + this.pnlUpdateCheck.SuspendLayout(); + this.pnlProxy.SuspendLayout(); + this.pnlProxyBasic.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize) this.numProxyPort).BeginInit(); + this.pnlProxyAuthentication.SuspendLayout(); + this.SuspendLayout(); + // + //lblUpdatesExplanation + // + this.lblUpdatesExplanation.Location = new System.Drawing.Point(3, 0); + this.lblUpdatesExplanation.Name = "lblUpdatesExplanation"; + this.lblUpdatesExplanation.Size = new System.Drawing.Size(536, 40); + this.lblUpdatesExplanation.TabIndex = 3; + this.lblUpdatesExplanation.Text = "mRemoteNG can periodically connect to the mRemoteNG website to check for updates " + + "and product announcements."; + // + //pnlUpdateCheck + // + this.pnlUpdateCheck.Controls.Add(this.btnUpdateCheckNow); + this.pnlUpdateCheck.Controls.Add(this.chkCheckForUpdatesOnStartup); + this.pnlUpdateCheck.Controls.Add(this.cboUpdateCheckFrequency); + this.pnlUpdateCheck.Location = new System.Drawing.Point(0, 48); + this.pnlUpdateCheck.Name = "pnlUpdateCheck"; + this.pnlUpdateCheck.Size = new System.Drawing.Size(610, 120); + this.pnlUpdateCheck.TabIndex = 4; + // + //btnUpdateCheckNow + // + this.btnUpdateCheckNow.Location = new System.Drawing.Point(3, 80); + this.btnUpdateCheckNow.Name = "btnUpdateCheckNow"; + this.btnUpdateCheckNow.Size = new System.Drawing.Size(120, 32); + this.btnUpdateCheckNow.TabIndex = 2; + this.btnUpdateCheckNow.Text = "Check Now"; + this.btnUpdateCheckNow.UseVisualStyleBackColor = true; + // + //chkCheckForUpdatesOnStartup + // + this.chkCheckForUpdatesOnStartup.AutoSize = true; + this.chkCheckForUpdatesOnStartup.Location = new System.Drawing.Point(3, 8); + this.chkCheckForUpdatesOnStartup.Name = "chkCheckForUpdatesOnStartup"; + this.chkCheckForUpdatesOnStartup.Size = new System.Drawing.Size(213, 17); + this.chkCheckForUpdatesOnStartup.TabIndex = 0; + this.chkCheckForUpdatesOnStartup.Text = "Check for updates and announcements"; + this.chkCheckForUpdatesOnStartup.UseVisualStyleBackColor = true; + // + //cboUpdateCheckFrequency + // + this.cboUpdateCheckFrequency.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cboUpdateCheckFrequency.FormattingEnabled = true; + this.cboUpdateCheckFrequency.Location = new System.Drawing.Point(48, 40); + this.cboUpdateCheckFrequency.Name = "cboUpdateCheckFrequency"; + this.cboUpdateCheckFrequency.Size = new System.Drawing.Size(128, 21); + this.cboUpdateCheckFrequency.TabIndex = 1; + // + //pnlProxy + // + this.pnlProxy.Controls.Add(this.pnlProxyBasic); + this.pnlProxy.Controls.Add(this.chkUseProxyForAutomaticUpdates); + this.pnlProxy.Controls.Add(this.chkUseProxyAuthentication); + this.pnlProxy.Controls.Add(this.pnlProxyAuthentication); + this.pnlProxy.Controls.Add(this.btnTestProxy); + this.pnlProxy.Location = new System.Drawing.Point(0, 200); + this.pnlProxy.Name = "pnlProxy"; + this.pnlProxy.Size = new System.Drawing.Size(610, 224); + this.pnlProxy.TabIndex = 5; + // + //pnlProxyBasic + // + this.pnlProxyBasic.Controls.Add(this.lblProxyAddress); + this.pnlProxyBasic.Controls.Add(this.txtProxyAddress); + this.pnlProxyBasic.Controls.Add(this.lblProxyPort); + this.pnlProxyBasic.Controls.Add(this.numProxyPort); + this.pnlProxyBasic.Enabled = false; + this.pnlProxyBasic.Location = new System.Drawing.Point(3, 32); + this.pnlProxyBasic.Name = "pnlProxyBasic"; + this.pnlProxyBasic.Size = new System.Drawing.Size(604, 40); + this.pnlProxyBasic.TabIndex = 1; + // + //lblProxyAddress + // + this.lblProxyAddress.Location = new System.Drawing.Point(8, 4); + this.lblProxyAddress.Name = "lblProxyAddress"; + this.lblProxyAddress.Size = new System.Drawing.Size(96, 24); + this.lblProxyAddress.TabIndex = 0; + this.lblProxyAddress.Text = "Address:"; + this.lblProxyAddress.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + //txtProxyAddress + // + this.txtProxyAddress.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtProxyAddress.Location = new System.Drawing.Point(104, 8); + this.txtProxyAddress.Name = "txtProxyAddress"; + this.txtProxyAddress.Size = new System.Drawing.Size(240, 20); + this.txtProxyAddress.TabIndex = 1; + // + //lblProxyPort + // + this.lblProxyPort.Location = new System.Drawing.Point(350, 5); + this.lblProxyPort.Name = "lblProxyPort"; + this.lblProxyPort.Size = new System.Drawing.Size(64, 23); + this.lblProxyPort.TabIndex = 2; + this.lblProxyPort.Text = "Port:"; + this.lblProxyPort.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + //numProxyPort + // + this.numProxyPort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.numProxyPort.Location = new System.Drawing.Point(420, 8); + this.numProxyPort.Maximum = new decimal(new int[] {65535, 0, 0, 0}); + this.numProxyPort.Minimum = new decimal(new int[] {1, 0, 0, 0}); + this.numProxyPort.Name = "numProxyPort"; + this.numProxyPort.Size = new System.Drawing.Size(64, 20); + this.numProxyPort.TabIndex = 3; + this.numProxyPort.Value = new decimal(new int[] {80, 0, 0, 0}); + // + //chkUseProxyForAutomaticUpdates + // + this.chkUseProxyForAutomaticUpdates.AutoSize = true; + this.chkUseProxyForAutomaticUpdates.Location = new System.Drawing.Point(3, 8); + this.chkUseProxyForAutomaticUpdates.Name = "chkUseProxyForAutomaticUpdates"; + this.chkUseProxyForAutomaticUpdates.Size = new System.Drawing.Size(168, 17); + this.chkUseProxyForAutomaticUpdates.TabIndex = 0; + this.chkUseProxyForAutomaticUpdates.Text = "Use a proxy server to connect"; + this.chkUseProxyForAutomaticUpdates.UseVisualStyleBackColor = true; + // + //chkUseProxyAuthentication + // + this.chkUseProxyAuthentication.AutoSize = true; + this.chkUseProxyAuthentication.Enabled = false; + this.chkUseProxyAuthentication.Location = new System.Drawing.Point(27, 80); + this.chkUseProxyAuthentication.Name = "chkUseProxyAuthentication"; + this.chkUseProxyAuthentication.Size = new System.Drawing.Size(216, 17); + this.chkUseProxyAuthentication.TabIndex = 2; + this.chkUseProxyAuthentication.Text = "This proxy server requires authentication"; + this.chkUseProxyAuthentication.UseVisualStyleBackColor = true; + // + //pnlProxyAuthentication + // + this.pnlProxyAuthentication.Controls.Add(this.lblProxyUsername); + this.pnlProxyAuthentication.Controls.Add(this.txtProxyUsername); + this.pnlProxyAuthentication.Controls.Add(this.lblProxyPassword); + this.pnlProxyAuthentication.Controls.Add(this.txtProxyPassword); + this.pnlProxyAuthentication.Enabled = false; + this.pnlProxyAuthentication.Location = new System.Drawing.Point(3, 104); + this.pnlProxyAuthentication.Name = "pnlProxyAuthentication"; + this.pnlProxyAuthentication.Size = new System.Drawing.Size(604, 72); + this.pnlProxyAuthentication.TabIndex = 3; + // + //lblProxyUsername + // + this.lblProxyUsername.Location = new System.Drawing.Point(8, 4); + this.lblProxyUsername.Name = "lblProxyUsername"; + this.lblProxyUsername.Size = new System.Drawing.Size(96, 24); + this.lblProxyUsername.TabIndex = 0; + this.lblProxyUsername.Text = "Username:"; + this.lblProxyUsername.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + //txtProxyUsername + // + this.txtProxyUsername.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtProxyUsername.Location = new System.Drawing.Point(104, 8); + this.txtProxyUsername.Name = "txtProxyUsername"; + this.txtProxyUsername.Size = new System.Drawing.Size(240, 20); + this.txtProxyUsername.TabIndex = 1; + // + //lblProxyPassword + // + this.lblProxyPassword.Location = new System.Drawing.Point(8, 36); + this.lblProxyPassword.Name = "lblProxyPassword"; + this.lblProxyPassword.Size = new System.Drawing.Size(96, 24); + this.lblProxyPassword.TabIndex = 2; + this.lblProxyPassword.Text = "Password:"; + this.lblProxyPassword.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + //txtProxyPassword + // + this.txtProxyPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtProxyPassword.Location = new System.Drawing.Point(104, 40); + this.txtProxyPassword.Name = "txtProxyPassword"; + this.txtProxyPassword.Size = new System.Drawing.Size(240, 20); + this.txtProxyPassword.TabIndex = 3; + this.txtProxyPassword.UseSystemPasswordChar = true; + // + //btnTestProxy + // + this.btnTestProxy.Location = new System.Drawing.Point(3, 184); + this.btnTestProxy.Name = "btnTestProxy"; + this.btnTestProxy.Size = new System.Drawing.Size(120, 32); + this.btnTestProxy.TabIndex = 4; + this.btnTestProxy.Text = "Test Proxy"; + this.btnTestProxy.UseVisualStyleBackColor = true; + // + //UpdatesPage + // + this.AutoScaleDimensions = new System.Drawing.SizeF((float) (6.0F), (float) (13.0F)); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.lblUpdatesExplanation); + this.Controls.Add(this.pnlUpdateCheck); + this.Controls.Add(this.pnlProxy); + this.Name = "UpdatesPage"; + this.PageIcon = (System.Drawing.Icon) (resources.GetObject("$this.PageIcon")); + this.Size = new System.Drawing.Size(610, 489); + this.pnlUpdateCheck.ResumeLayout(false); + this.pnlUpdateCheck.PerformLayout(); + this.pnlProxy.ResumeLayout(false); + this.pnlProxy.PerformLayout(); + this.pnlProxyBasic.ResumeLayout(false); + this.pnlProxyBasic.PerformLayout(); + ((System.ComponentModel.ISupportInitialize) this.numProxyPort).EndInit(); + this.pnlProxyAuthentication.ResumeLayout(false); + this.pnlProxyAuthentication.PerformLayout(); + this.ResumeLayout(false); + + } + internal System.Windows.Forms.Label lblUpdatesExplanation; + internal System.Windows.Forms.Panel pnlUpdateCheck; + internal System.Windows.Forms.Button btnUpdateCheckNow; + internal System.Windows.Forms.CheckBox chkCheckForUpdatesOnStartup; + internal System.Windows.Forms.ComboBox cboUpdateCheckFrequency; + internal System.Windows.Forms.Panel pnlProxy; + internal System.Windows.Forms.Panel pnlProxyBasic; + internal System.Windows.Forms.Label lblProxyAddress; + internal System.Windows.Forms.TextBox txtProxyAddress; + internal System.Windows.Forms.Label lblProxyPort; + internal System.Windows.Forms.NumericUpDown numProxyPort; + internal System.Windows.Forms.CheckBox chkUseProxyForAutomaticUpdates; + internal System.Windows.Forms.CheckBox chkUseProxyAuthentication; + internal System.Windows.Forms.Panel pnlProxyAuthentication; + internal System.Windows.Forms.Label lblProxyUsername; + internal System.Windows.Forms.TextBox txtProxyUsername; + internal System.Windows.Forms.Label lblProxyPassword; + internal System.Windows.Forms.TextBox txtProxyPassword; + internal System.Windows.Forms.Button btnTestProxy; + + } +} \ No newline at end of file diff --git a/mRemoteV1/CS/UI/Forms/OptionsPages/UpdatesPage.cs b/mRemoteV1/CS/UI/Forms/OptionsPages/UpdatesPage.cs new file mode 100644 index 000000000..d9cf5ec80 --- /dev/null +++ b/mRemoteV1/CS/UI/Forms/OptionsPages/UpdatesPage.cs @@ -0,0 +1,257 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; +using System.ComponentModel; +using mRemoteNG.My; +using mRemoteNG.App; +using mRemoteNG.Security; +using mRemoteNG.Tools; +using mRemoteNG.UI.Window; +using PSTaskDialog; + + +namespace mRemoteNG.Forms.OptionsPages +{ + public partial class UpdatesPage + { + public UpdatesPage() + { + InitializeComponent(); + } + #region Public Methods + public override string PageName + { + get + { + return Language.strTabUpdates; + } + set + { + } + } + + public override void ApplyLanguage() + { + base.ApplyLanguage(); + + #if !PORTABLE + lblUpdatesExplanation.Text = Language.strUpdateCheck; + #else + lblUpdatesExplanation.Text = Language.strUpdateCheckPortableEdition; + #endif + + chkCheckForUpdatesOnStartup.Text = Language.strCheckForUpdatesOnStartup; + btnUpdateCheckNow.Text = Language.strCheckNow; + + chkUseProxyForAutomaticUpdates.Text = Language.strCheckboxUpdateUseProxy; + lblProxyAddress.Text = Language.strLabelAddress; + lblProxyPort.Text = Language.strLabelPort; + + chkUseProxyAuthentication.Text = Language.strCheckboxProxyAuthentication; + lblProxyUsername.Text = Language.strLabelUsername; + lblProxyPassword.Text = Language.strLabelPassword; + + btnTestProxy.Text = Language.strButtonTestProxy; + } + + public override void LoadSettings() + { + base.SaveSettings(); + + chkCheckForUpdatesOnStartup.Checked = System.Convert.ToBoolean(My.Settings.Default.CheckForUpdatesOnStartup); + cboUpdateCheckFrequency.Enabled = chkCheckForUpdatesOnStartup.Checked; + cboUpdateCheckFrequency.Items.Clear(); + int nDaily = cboUpdateCheckFrequency.Items.Add(Language.strUpdateFrequencyDaily); + int nWeekly = cboUpdateCheckFrequency.Items.Add(Language.strUpdateFrequencyWeekly); + int nMonthly = cboUpdateCheckFrequency.Items.Add(Language.strUpdateFrequencyMonthly); + if (My.Settings.Default.CheckForUpdatesFrequencyDays < 1) + { + chkCheckForUpdatesOnStartup.Checked = false; + cboUpdateCheckFrequency.SelectedIndex = nDaily; + } // Daily + else if ((int) My.Settings.Default.CheckForUpdatesFrequencyDays == 1) + { + cboUpdateCheckFrequency.SelectedIndex = nDaily; + } // Weekly + else if ((int) My.Settings.Default.CheckForUpdatesFrequencyDays == 7) + { + cboUpdateCheckFrequency.SelectedIndex = nWeekly; + } // Monthly + else if ((int) My.Settings.Default.CheckForUpdatesFrequencyDays == 31) + { + cboUpdateCheckFrequency.SelectedIndex = nMonthly; + } + else + { + int nCustom = cboUpdateCheckFrequency.Items.Add(string.Format(Language.strUpdateFrequencyCustom, My.Settings.Default.CheckForUpdatesFrequencyDays)); + cboUpdateCheckFrequency.SelectedIndex = nCustom; + } + + chkUseProxyForAutomaticUpdates.Checked = System.Convert.ToBoolean(My.Settings.Default.UpdateUseProxy); + pnlProxyBasic.Enabled = System.Convert.ToBoolean(My.Settings.Default.UpdateUseProxy); + txtProxyAddress.Text = System.Convert.ToString(My.Settings.Default.UpdateProxyAddress); + numProxyPort.Value = System.Convert.ToDecimal(My.Settings.Default.UpdateProxyPort); + + chkUseProxyAuthentication.Checked = System.Convert.ToBoolean(My.Settings.Default.UpdateProxyUseAuthentication); + pnlProxyAuthentication.Enabled = System.Convert.ToBoolean(My.Settings.Default.UpdateProxyUseAuthentication); + txtProxyUsername.Text = System.Convert.ToString(My.Settings.Default.UpdateProxyAuthUser); + txtProxyPassword.Text = Crypt.Decrypt(System.Convert.ToString(My.Settings.Default.UpdateProxyAuthPass), App.Info.General.EncryptionKey); + + btnTestProxy.Enabled = System.Convert.ToBoolean(My.Settings.Default.UpdateUseProxy); + + #if PORTABLE + foreach (Control Control in Controls) + { + if (Control != lblUpdatesExplanation) + { + Control.Visible = false; + } + } + #endif + } + + public override void SaveSettings() + { + base.SaveSettings(); + + My.Settings.Default.CheckForUpdatesOnStartup = chkCheckForUpdatesOnStartup.Checked; + if (cboUpdateCheckFrequency.SelectedItem.ToString() == Language.strUpdateFrequencyDaily) + { + My.Settings.Default.CheckForUpdatesFrequencyDays = 1; + } + else if (cboUpdateCheckFrequency.SelectedItem.ToString() == Language.strUpdateFrequencyWeekly) + { + My.Settings.Default.CheckForUpdatesFrequencyDays = 7; + } + else if (cboUpdateCheckFrequency.SelectedItem.ToString() == Language.strUpdateFrequencyMonthly) + { + My.Settings.Default.CheckForUpdatesFrequencyDays = 31; + } + + My.Settings.Default.UpdateUseProxy = chkUseProxyForAutomaticUpdates.Checked; + My.Settings.Default.UpdateProxyAddress = txtProxyAddress.Text; + My.Settings.Default.UpdateProxyPort = (int)numProxyPort.Value; + + My.Settings.Default.UpdateProxyUseAuthentication = chkUseProxyAuthentication.Checked; + My.Settings.Default.UpdateProxyAuthUser = txtProxyUsername.Text; + My.Settings.Default.UpdateProxyAuthPass = Crypt.Encrypt(txtProxyPassword.Text, App.Info.General.EncryptionKey); + } + #endregion + + #region Private Fields + private App.Update _appUpdate; + #endregion + + #region Private Methods + #region Event Handlers + public void chkCheckForUpdatesOnStartup_CheckedChanged(object sender, EventArgs e) + { + cboUpdateCheckFrequency.Enabled = chkCheckForUpdatesOnStartup.Checked; + } + + public void btnUpdateCheckNow_Click(object sender, EventArgs e) + { + Runtime.Windows.Show(UI.Window.Type.Update); + } + + public void chkUseProxyForAutomaticUpdates_CheckedChanged(object sender, EventArgs e) + { + pnlProxyBasic.Enabled = chkUseProxyForAutomaticUpdates.Checked; + btnTestProxy.Enabled = chkUseProxyForAutomaticUpdates.Checked; + + if (chkUseProxyForAutomaticUpdates.Checked) + { + chkUseProxyAuthentication.Enabled = true; + + if (chkUseProxyAuthentication.Checked) + { + pnlProxyAuthentication.Enabled = true; + } + } + else + { + chkUseProxyAuthentication.Enabled = false; + pnlProxyAuthentication.Enabled = false; + } + } + + public void btnTestProxy_Click(object sender, EventArgs e) + { + if (_appUpdate != null) + { + if (_appUpdate.IsGetUpdateInfoRunning) + { + return ; + } + } + + _appUpdate = new App.Update(); + //_appUpdate.Load += _appUpdate.Update_Load; + _appUpdate.SetProxySettings(chkUseProxyForAutomaticUpdates.Checked, txtProxyAddress.Text, (int) numProxyPort.Value, chkUseProxyAuthentication.Checked, txtProxyUsername.Text, txtProxyPassword.Text); + + btnTestProxy.Enabled = false; + btnTestProxy.Text = Language.strOptionsProxyTesting; + + _appUpdate.GetUpdateInfoCompletedEvent += GetUpdateInfoCompleted; + + _appUpdate.GetUpdateInfoAsync(); + } + + public void chkUseProxyAuthentication_CheckedChanged(object sender, EventArgs e) + { + if (chkUseProxyForAutomaticUpdates.Checked) + { + if (chkUseProxyAuthentication.Checked) + { + pnlProxyAuthentication.Enabled = true; + } + else + { + pnlProxyAuthentication.Enabled = false; + } + } + } + #endregion + + private void GetUpdateInfoCompleted(object sender, AsyncCompletedEventArgs e) + { + if (InvokeRequired) + { + AsyncCompletedEventHandler myDelegate = new AsyncCompletedEventHandler(GetUpdateInfoCompleted); + Invoke(myDelegate, new object[] {sender, e}); + return ; + } + + try + { + _appUpdate.GetUpdateInfoCompletedEvent -= GetUpdateInfoCompleted; + + btnTestProxy.Enabled = true; + btnTestProxy.Text = Language.strButtonTestProxy; + + if (e.Cancelled) + { + return ; + } + if (e.Error != null) + { + throw (e.Error); + } + + cTaskDialog.ShowCommandBox(this, System.Convert.ToString(Application.ProductName), Language.strProxyTestSucceeded, "", Language.strButtonOK, false); + } + catch (Exception ex) + { + cTaskDialog.ShowCommandBox(this, System.Convert.ToString(Application.ProductName), Language.strProxyTestFailed, Misc.GetExceptionMessageRecursive(ex), "", "", "", Language.strButtonOK, false, eSysIcons.Error, (PSTaskDialog.eSysIcons) 0); + } + } + #endregion + } +} diff --git a/mRemoteV1/CS/Forms/OptionsPages/UpdatesPage.resx b/mRemoteV1/CS/UI/Forms/OptionsPages/UpdatesPage.resx similarity index 100% rename from mRemoteV1/CS/Forms/OptionsPages/UpdatesPage.resx rename to mRemoteV1/CS/UI/Forms/OptionsPages/UpdatesPage.resx diff --git a/mRemoteV1/CS/UI/Forms/PasswordForm.Designer.cs b/mRemoteV1/CS/UI/Forms/PasswordForm.Designer.cs new file mode 100644 index 000000000..85b5b4317 --- /dev/null +++ b/mRemoteV1/CS/UI/Forms/PasswordForm.Designer.cs @@ -0,0 +1,183 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; + + +namespace mRemoteNG.Forms +{ + [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()]public + partial class PasswordForm : System.Windows.Forms.Form + { + + //Form overrides dispose to clean up the component list. + [System.Diagnostics.DebuggerNonUserCode()] + protected override void Dispose(bool disposing) + { + try + { + if (disposing && components != null) + { + components.Dispose(); + } + } + finally + { + base.Dispose(disposing); + } + } + + //Required by the Windows Form Designer + private System.ComponentModel.Container components = null; + + //NOTE: The following procedure is required by the Windows Form Designer + //It can be modified using the Windows Form Designer. + //Do not modify it using the code editor. + [System.Diagnostics.DebuggerStepThrough()] + private void InitializeComponent() + { + this.lblPassword = new System.Windows.Forms.Label(); + this.Load += new System.EventHandler(frmPassword_Load); + this.lblVerify = new System.Windows.Forms.Label(); + this.btnOK = new System.Windows.Forms.Button(); + this.btnOK.Click += new System.EventHandler(this.btnOK_Click); + this.btnCancel = new System.Windows.Forms.Button(); + this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); + this.lblStatus = new System.Windows.Forms.Label(); + this.pbLock = new System.Windows.Forms.PictureBox(); + this.txtVerify = new mRemoteNG.Controls.TextBox(); + this.txtVerify.TextChanged += new System.EventHandler(this.txtPassword_TextChanged); + this.txtPassword = new mRemoteNG.Controls.TextBox(); + this.txtPassword.TextChanged += new System.EventHandler(this.txtPassword_TextChanged); + ((System.ComponentModel.ISupportInitialize) this.pbLock).BeginInit(); + this.SuspendLayout(); + // + //lblPassword + // + this.lblPassword.AutoSize = true; + this.lblPassword.Location = new System.Drawing.Point(82, 12); + this.lblPassword.Name = "lblPassword"; + this.lblPassword.Size = new System.Drawing.Size(56, 13); + this.lblPassword.TabIndex = 1; + this.lblPassword.Text = "Password:"; + // + //lblVerify + // + this.lblVerify.AutoSize = true; + this.lblVerify.Location = new System.Drawing.Point(82, 51); + this.lblVerify.Name = "lblVerify"; + this.lblVerify.Size = new System.Drawing.Size(36, 13); + this.lblVerify.TabIndex = 3; + this.lblVerify.Text = "Verify:"; + // + //btnOK + // + this.btnOK.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); + this.btnOK.Location = new System.Drawing.Point(291, 119); + this.btnOK.Name = "btnOK"; + this.btnOK.Size = new System.Drawing.Size(75, 23); + this.btnOK.TabIndex = 7; + this.btnOK.Text = mRemoteNG.My.Language.strButtonOK; + this.btnOK.UseVisualStyleBackColor = true; + // + //btnCancel + // + this.btnCancel.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); + this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.btnCancel.Location = new System.Drawing.Point(210, 119); + this.btnCancel.Name = "btnCancel"; + this.btnCancel.Size = new System.Drawing.Size(75, 23); + this.btnCancel.TabIndex = 6; + this.btnCancel.Text = global::mRemoteNG.My.Language.strButtonCancel; + this.btnCancel.UseVisualStyleBackColor = true; + // + //lblStatus + // + this.lblStatus.Anchor = (System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right); + this.lblStatus.ForeColor = System.Drawing.Color.Red; + this.lblStatus.Location = new System.Drawing.Point(85, 90); + this.lblStatus.Name = "lblStatus"; + this.lblStatus.Size = new System.Drawing.Size(281, 13); + this.lblStatus.TabIndex = 5; + this.lblStatus.Text = "Status"; + this.lblStatus.TextAlign = System.Drawing.ContentAlignment.TopRight; + this.lblStatus.Visible = false; + // + //pbLock + // + this.pbLock.Image = My.Resources.Lock; + this.pbLock.Location = new System.Drawing.Point(12, 12); + this.pbLock.Name = "pbLock"; + this.pbLock.Size = new System.Drawing.Size(64, 64); + this.pbLock.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; + this.pbLock.TabIndex = 7; + this.pbLock.TabStop = false; + // + //txtVerify + // + this.txtVerify.Anchor = (System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right); + this.txtVerify.Location = new System.Drawing.Point(85, 67); + this.txtVerify.Name = "txtVerify"; + this.txtVerify.SelectAllOnFocus = true; + this.txtVerify.Size = new System.Drawing.Size(281, 20); + this.txtVerify.TabIndex = 4; + this.txtVerify.UseSystemPasswordChar = true; + // + //txtPassword + // + this.txtPassword.Anchor = (System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right); + this.txtPassword.Location = new System.Drawing.Point(85, 28); + this.txtPassword.Name = "txtPassword"; + this.txtPassword.SelectAllOnFocus = true; + this.txtPassword.Size = new System.Drawing.Size(281, 20); + this.txtPassword.TabIndex = 2; + this.txtPassword.UseSystemPasswordChar = true; + // + //frmPassword + // + this.AcceptButton = this.btnOK; + this.AutoScaleDimensions = new System.Drawing.SizeF((float) (6.0F), (float) (13.0F)); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.CancelButton = this.btnCancel; + this.ClientSize = new System.Drawing.Size(378, 154); + this.ControlBox = false; + this.Controls.Add(this.pbLock); + this.Controls.Add(this.txtVerify); + this.Controls.Add(this.txtPassword); + this.Controls.Add(this.lblStatus); + this.Controls.Add(this.lblVerify); + this.Controls.Add(this.lblPassword); + this.Controls.Add(this.btnCancel); + this.Controls.Add(this.btnOK); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "PasswordForm"; + this.ShowIcon = false; + this.ShowInTaskbar = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "Password"; + ((System.ComponentModel.ISupportInitialize) this.pbLock).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + private Controls.TextBox txtPassword; + private Controls.TextBox txtVerify; + private System.Windows.Forms.Label lblPassword; + private System.Windows.Forms.Label lblVerify; + private System.Windows.Forms.Button btnOK; + private System.Windows.Forms.Button btnCancel; + private System.Windows.Forms.Label lblStatus; + private System.Windows.Forms.PictureBox pbLock; + } +} diff --git a/mRemoteV1/CS/UI/Forms/PasswordForm.cs b/mRemoteV1/CS/UI/Forms/PasswordForm.cs new file mode 100644 index 000000000..c2773b286 --- /dev/null +++ b/mRemoteV1/CS/UI/Forms/PasswordForm.cs @@ -0,0 +1,155 @@ +using System.Collections.Generic; +using System; +using AxWFICALib; +using System.Drawing; +using System.Diagnostics; +using System.Data; +using AxMSTSCLib; +using Microsoft.VisualBasic; +using System.Collections; +using System.Windows.Forms; +using mRemoteNG.My; + + +namespace mRemoteNG.Forms +{ + public partial class PasswordForm + { + #region Public Properties + private bool _Verify = true; + public bool Verify + { + get + { + return _Verify; + } + set + { + _Verify = value; + } + } + + public string Password + { + get + { + if (Verify) + { + return txtVerify.Text; + } + else + { + return txtPassword.Text; + } + } + } + #endregion + + #region Constructors + public PasswordForm(string passwordName = null, bool verify = true) + { + // This call is required by the designer. + InitializeComponent(); + + // Add any initialization after the InitializeComponent() call. + _passwordName = passwordName; + this.Verify = verify; + } + #endregion + + #region Event Handlers + public void frmPassword_Load(object sender, EventArgs e) + { + ApplyLanguage(); + + if (!Verify) + { + Height = Height - (txtVerify.Top - txtPassword.Top); + lblVerify.Visible = false; + txtVerify.Visible = false; + } + } + + public void btnCancel_Click(System.Object sender, EventArgs e) + { + DialogResult = DialogResult.Cancel; + } + + public void btnOK_Click(System.Object sender, EventArgs e) + { + if (Verify) + { + if (VerifyPassword()) + { + DialogResult = DialogResult.OK; + } + } + else + { + DialogResult = DialogResult.OK; + } + } + + public void txtPassword_TextChanged(System.Object sender, EventArgs e) + { + HideStatus(); + } + #endregion + + #region Private Fields + private string _passwordName; + #endregion + + #region Private Methods + private void ApplyLanguage() + { + if (string.IsNullOrEmpty(_passwordName)) + { + Text = Language.strTitlePassword; + } + else + { + Text = string.Format(Language.strTitlePasswordWithName, _passwordName); + } + + lblPassword.Text = Language.strLabelPassword; + lblVerify.Text = Language.strLabelVerify; + + btnCancel.Text = Language.strButtonCancel; + btnOK.Text = Language.strButtonOK; + } + + private bool VerifyPassword() + { + if (txtPassword.Text.Length >= 3) + { + if (txtPassword.Text == txtVerify.Text) + { + return true; + } + else + { + ShowStatus(Language.strPasswordStatusMustMatch); + return false; + } + } + else + { + ShowStatus(Language.strPasswordStatusTooShort); + return false; + } + } + + private void ShowStatus(string status) + { + lblStatus.Visible = true; + lblStatus.Text = status; + } + + private void HideStatus() + { + lblStatus.Visible = false; + } + #endregion + } +} diff --git a/mRemoteV1/CS/Forms/PasswordForm.resx b/mRemoteV1/CS/UI/Forms/PasswordForm.resx similarity index 100% rename from mRemoteV1/CS/Forms/PasswordForm.resx rename to mRemoteV1/CS/UI/Forms/PasswordForm.resx diff --git a/mRemoteV1/CS/Forms/frmChoosePanel.Designer.cs b/mRemoteV1/CS/UI/Forms/frmChoosePanel.Designer.cs similarity index 94% rename from mRemoteV1/CS/Forms/frmChoosePanel.Designer.cs rename to mRemoteV1/CS/UI/Forms/frmChoosePanel.Designer.cs index 8fdbf58d0..023c218aa 100644 --- a/mRemoteV1/CS/Forms/frmChoosePanel.Designer.cs +++ b/mRemoteV1/CS/UI/Forms/frmChoosePanel.Designer.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,15 +8,13 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports namespace mRemoteNG { - [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()]public - partial class frmChoosePanel : System.Windows.Forms.Form + [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()] + public partial class frmChoosePanel : System.Windows.Forms.Form { - //Form overrides dispose to clean up the component list. [System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing) { @@ -84,7 +81,7 @@ namespace mRemoteNG //btnNew // this.btnNew.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnNew.Image = global::My.Resources.Resources.Panel_Add; + this.btnNew.Image = My.Resources.Panel_Add; this.btnNew.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnNew.Location = new System.Drawing.Point(10, 44); this.btnNew.Name = "btnNew"; @@ -118,7 +115,7 @@ namespace mRemoteNG this.Controls.Add(this.btnOK); this.Controls.Add(this.cbPanels); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; - this.Icon = global::My.Resources.Resources.Panels_Icon; + this.Icon = My.Resources.Panels_Icon; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmChoosePanel"; diff --git a/mRemoteV1/CS/Forms/frmChoosePanel.cs b/mRemoteV1/CS/UI/Forms/frmChoosePanel.cs similarity index 87% rename from mRemoteV1/CS/Forms/frmChoosePanel.cs rename to mRemoteV1/CS/UI/Forms/frmChoosePanel.cs index a1940b4f1..e6fd1dc9b 100644 --- a/mRemoteV1/CS/Forms/frmChoosePanel.cs +++ b/mRemoteV1/CS/UI/Forms/frmChoosePanel.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,9 +8,7 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports - -//using mRemoteNG.App.Runtime; +using mRemoteNG.App; namespace mRemoteNG { @@ -21,7 +18,7 @@ namespace mRemoteNG { InitializeComponent(); } -public string Panel + public string Panel { get { @@ -53,9 +50,9 @@ public string Panel { cbPanels.Items.Clear(); - for (int i = 0; i <= WindowList.Count - 1; i++) + for (int i = 0; i <= Runtime.WindowList.Count - 1; i++) { - cbPanels.Items.Add(WindowList[i].Text.Replace("&&", "&")); + cbPanels.Items.Add(Runtime.WindowList[i].Text.Replace("&&", "&")); } if (cbPanels.Items.Count > 0) @@ -77,7 +74,7 @@ public string Panel if (!string.IsNullOrEmpty(pnlName)) { - AddPanel(pnlName); + Runtime.AddPanel(pnlName); AddAvailablePanels(); cbPanels.SelectedItem = pnlName; cbPanels.Focus(); diff --git a/mRemoteV1/CS/Forms/frmChoosePanel.resx b/mRemoteV1/CS/UI/Forms/frmChoosePanel.resx similarity index 100% rename from mRemoteV1/CS/Forms/frmChoosePanel.resx rename to mRemoteV1/CS/UI/Forms/frmChoosePanel.resx diff --git a/mRemoteV1/CS/Forms/frmMain.Designer.cs b/mRemoteV1/CS/UI/Forms/frmMain.Designer.cs similarity index 91% rename from mRemoteV1/CS/Forms/frmMain.Designer.cs rename to mRemoteV1/CS/UI/Forms/frmMain.Designer.cs index 4fd5a78da..9694f743b 100644 --- a/mRemoteV1/CS/Forms/frmMain.Designer.cs +++ b/mRemoteV1/CS/UI/Forms/frmMain.Designer.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,17 +8,17 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports namespace mRemoteNG { - [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()]public - partial class frmMain : System.Windows.Forms.Form + [global::Microsoft.VisualBasic.CompilerServices.DesignerGenerated()] + public partial class frmMain : System.Windows.Forms.Form { //Form overrides dispose to clean up the component list. - [System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing) + [System.Diagnostics.DebuggerNonUserCode()] + protected override void Dispose(bool disposing) { try { @@ -40,7 +39,8 @@ namespace mRemoteNG //NOTE: The following procedure is required by the Windows Form Designer //It can be modified using the Windows Form Designer. //Do not modify it using the code editor. - [System.Diagnostics.DebuggerStepThrough()]private void InitializeComponent() + [System.Diagnostics.DebuggerStepThrough()] + private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.Load += new System.EventHandler(frmMain_Load); @@ -71,38 +71,38 @@ namespace mRemoteNG this.mMenFile = new System.Windows.Forms.ToolStripMenuItem(); this.mMenFile.DropDownOpening += new System.EventHandler(this.mMenFile_DropDownOpening); this.mMenFileNewConnection = new System.Windows.Forms.ToolStripMenuItem(); - this.mMenFileNewConnection.Click += new System.EventHandler(this.mMenFileNewConnection_Click); + this.mMenFileNewConnection.Click += new System.EventHandler(mMenFileNewConnection_Click); this.mMenFileNewFolder = new System.Windows.Forms.ToolStripMenuItem(); - this.mMenFileNewFolder.Click += new System.EventHandler(this.mMenFileNewFolder_Click); + this.mMenFileNewFolder.Click += new System.EventHandler(mMenFileNewFolder_Click); this.mMenFileSep1 = new System.Windows.Forms.ToolStripSeparator(); this.mMenFileNew = new System.Windows.Forms.ToolStripMenuItem(); - this.mMenFileNew.Click += new System.EventHandler(this.mMenFileNew_Click); + this.mMenFileNew.Click += new System.EventHandler(mMenFileNew_Click); this.mMenFileLoad = new System.Windows.Forms.ToolStripMenuItem(); - this.mMenFileLoad.Click += new System.EventHandler(this.mMenFileLoad_Click); + this.mMenFileLoad.Click += new System.EventHandler(mMenFileLoad_Click); this.mMenFileSave = new System.Windows.Forms.ToolStripMenuItem(); - this.mMenFileSave.Click += new System.EventHandler(this.mMenFileSave_Click); + this.mMenFileSave.Click += new System.EventHandler(mMenFileSave_Click); this.mMenFileSaveAs = new System.Windows.Forms.ToolStripMenuItem(); - this.mMenFileSaveAs.Click += new System.EventHandler(this.mMenFileSaveAs_Click); + this.mMenFileSaveAs.Click += new System.EventHandler(mMenFileSaveAs_Click); this.mMenFileSep2 = new System.Windows.Forms.ToolStripSeparator(); this.mMenFileImport = new System.Windows.Forms.ToolStripMenuItem(); this.mMenFileImportFromFile = new System.Windows.Forms.ToolStripMenuItem(); - this.mMenFileImportFromFile.Click += new System.EventHandler(this.mMenFileImportFromFile_Click); + this.mMenFileImportFromFile.Click += new System.EventHandler(mMenFileImportFromFile_Click); this.mMenFileImportFromActiveDirectory = new System.Windows.Forms.ToolStripMenuItem(); - this.mMenFileImportFromActiveDirectory.Click += new System.EventHandler(this.mMenFileImportFromActiveDirectory_Click); + this.mMenFileImportFromActiveDirectory.Click += new System.EventHandler(mMenFileImportFromActiveDirectory_Click); this.mMenFileImportFromPortScan = new System.Windows.Forms.ToolStripMenuItem(); - this.mMenFileImportFromPortScan.Click += new System.EventHandler(this.mMenFileImportFromPortScan_Click); + this.mMenFileImportFromPortScan.Click += new System.EventHandler(mMenFileImportFromPortScan_Click); this.mMenFileExport = new System.Windows.Forms.ToolStripMenuItem(); - this.mMenFileExport.Click += new System.EventHandler(this.mMenFileExport_Click); + this.mMenFileExport.Click += new System.EventHandler(mMenFileExport_Click); this.mMenFileSep3 = new System.Windows.Forms.ToolStripSeparator(); this.mMenFileDelete = new System.Windows.Forms.ToolStripMenuItem(); - this.mMenFileDelete.Click += new System.EventHandler(this.mMenFileDelete_Click); + this.mMenFileDelete.Click += new System.EventHandler(mMenFileDelete_Click); this.mMenFileRename = new System.Windows.Forms.ToolStripMenuItem(); - this.mMenFileRename.Click += new System.EventHandler(this.mMenFileRename_Click); + this.mMenFileRename.Click += new System.EventHandler(mMenFileRename_Click); this.mMenFileDuplicate = new System.Windows.Forms.ToolStripMenuItem(); - this.mMenFileDuplicate.Click += new System.EventHandler(this.mMenFileDuplicate_Click); + this.mMenFileDuplicate.Click += new System.EventHandler(mMenFileDuplicate_Click); this.mMenFileSep4 = new System.Windows.Forms.ToolStripSeparator(); this.mMenFileExit = new System.Windows.Forms.ToolStripMenuItem(); - this.mMenFileExit.Click += new System.EventHandler(this.mMenFileExit_Click); + this.mMenFileExit.Click += new System.EventHandler(mMenFileExit_Click); this.mMenView = new System.Windows.Forms.ToolStripMenuItem(); this.mMenView.DropDownOpening += new System.EventHandler(this.mMenView_DropDownOpening); this.mMenViewAddConnectionPanel = new System.Windows.Forms.ToolStripMenuItem(); @@ -290,7 +290,7 @@ namespace mRemoteNG // //mMenFileNewConnection // - this.mMenFileNewConnection.Image = global::My.Resources.Resources.Connection_Add; + this.mMenFileNewConnection.Image = My.Resources.Connection_Add; this.mMenFileNewConnection.Name = "mMenFileNewConnection"; this.mMenFileNewConnection.ShortcutKeys = (System.Windows.Forms.Keys) (System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N); this.mMenFileNewConnection.Size = new System.Drawing.Size(281, 22); @@ -298,7 +298,7 @@ namespace mRemoteNG // //mMenFileNewFolder // - this.mMenFileNewFolder.Image = global::My.Resources.Resources.Folder_Add; + this.mMenFileNewFolder.Image = My.Resources.Folder_Add; this.mMenFileNewFolder.Name = "mMenFileNewFolder"; this.mMenFileNewFolder.ShortcutKeys = (System.Windows.Forms.Keys) ((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.N); @@ -312,14 +312,14 @@ namespace mRemoteNG // //mMenFileNew // - this.mMenFileNew.Image = global::My.Resources.Resources.Connections_New; + this.mMenFileNew.Image = My.Resources.Connections_New; this.mMenFileNew.Name = "mMenFileNew"; this.mMenFileNew.Size = new System.Drawing.Size(281, 22); this.mMenFileNew.Text = "New Connection File"; // //mMenFileLoad // - this.mMenFileLoad.Image = global::My.Resources.Resources.Connections_Load; + this.mMenFileLoad.Image = My.Resources.Connections_Load; this.mMenFileLoad.Name = "mMenFileLoad"; this.mMenFileLoad.ShortcutKeys = (System.Windows.Forms.Keys) (System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O); this.mMenFileLoad.Size = new System.Drawing.Size(281, 22); @@ -327,7 +327,7 @@ namespace mRemoteNG // //mMenFileSave // - this.mMenFileSave.Image = global::My.Resources.Resources.Connections_Save; + this.mMenFileSave.Image = My.Resources.Connections_Save; this.mMenFileSave.Name = "mMenFileSave"; this.mMenFileSave.ShortcutKeys = (System.Windows.Forms.Keys) (System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S); this.mMenFileSave.Size = new System.Drawing.Size(281, 22); @@ -335,7 +335,7 @@ namespace mRemoteNG // //mMenFileSaveAs // - this.mMenFileSaveAs.Image = global::My.Resources.Resources.Connections_SaveAs; + this.mMenFileSaveAs.Image = My.Resources.Connections_SaveAs; this.mMenFileSaveAs.Name = "mMenFileSaveAs"; this.mMenFileSaveAs.ShortcutKeys = (System.Windows.Forms.Keys) ((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.S); @@ -385,21 +385,21 @@ namespace mRemoteNG // //mMenFileDelete // - this.mMenFileDelete.Image = global::My.Resources.Resources.Delete; + this.mMenFileDelete.Image = My.Resources.Delete; this.mMenFileDelete.Name = "mMenFileDelete"; this.mMenFileDelete.Size = new System.Drawing.Size(281, 22); this.mMenFileDelete.Text = "Delete..."; // //mMenFileRename // - this.mMenFileRename.Image = global::My.Resources.Resources.Rename; + this.mMenFileRename.Image = My.Resources.Rename; this.mMenFileRename.Name = "mMenFileRename"; this.mMenFileRename.Size = new System.Drawing.Size(281, 22); this.mMenFileRename.Text = "Rename"; // //mMenFileDuplicate // - this.mMenFileDuplicate.Image = global::My.Resources.Resources.page_copy; + this.mMenFileDuplicate.Image = My.Resources.page_copy; this.mMenFileDuplicate.Name = "mMenFileDuplicate"; this.mMenFileDuplicate.Size = new System.Drawing.Size(281, 22); this.mMenFileDuplicate.Text = "Duplicate"; @@ -411,7 +411,7 @@ namespace mRemoteNG // //mMenFileExit // - this.mMenFileExit.Image = global::My.Resources.Resources.Quit; + this.mMenFileExit.Image = My.Resources.Quit; this.mMenFileExit.Name = "mMenFileExit"; this.mMenFileExit.ShortcutKeys = (System.Windows.Forms.Keys) (System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F4); this.mMenFileExit.Size = new System.Drawing.Size(281, 22); @@ -426,14 +426,14 @@ namespace mRemoteNG // //mMenViewAddConnectionPanel // - this.mMenViewAddConnectionPanel.Image = global::My.Resources.Resources.Panel_Add; + this.mMenViewAddConnectionPanel.Image = My.Resources.Panel_Add; this.mMenViewAddConnectionPanel.Name = "mMenViewAddConnectionPanel"; this.mMenViewAddConnectionPanel.Size = new System.Drawing.Size(228, 22); this.mMenViewAddConnectionPanel.Text = "Add Connection Panel"; // //mMenViewConnectionPanels // - this.mMenViewConnectionPanels.Image = global::My.Resources.Resources.Panels; + this.mMenViewConnectionPanels.Image = My.Resources.Panels; this.mMenViewConnectionPanels.Name = "mMenViewConnectionPanels"; this.mMenViewConnectionPanels.Size = new System.Drawing.Size(228, 22); this.mMenViewConnectionPanels.Text = "Connection Panels"; @@ -447,7 +447,7 @@ namespace mRemoteNG // this.mMenViewConnections.Checked = true; this.mMenViewConnections.CheckState = System.Windows.Forms.CheckState.Checked; - this.mMenViewConnections.Image = global::My.Resources.Resources.Root; + this.mMenViewConnections.Image = My.Resources.Root; this.mMenViewConnections.Name = "mMenViewConnections"; this.mMenViewConnections.Size = new System.Drawing.Size(228, 22); this.mMenViewConnections.Text = "Connections"; @@ -456,7 +456,7 @@ namespace mRemoteNG // this.mMenViewConfig.Checked = true; this.mMenViewConfig.CheckState = System.Windows.Forms.CheckState.Checked; - this.mMenViewConfig.Image = global::My.Resources.Resources.cog; + this.mMenViewConfig.Image = My.Resources.cog; this.mMenViewConfig.Name = "mMenViewConfig"; this.mMenViewConfig.Size = new System.Drawing.Size(228, 22); this.mMenViewConfig.Text = "Config"; @@ -474,7 +474,7 @@ namespace mRemoteNG // this.mMenViewErrorsAndInfos.Checked = true; this.mMenViewErrorsAndInfos.CheckState = System.Windows.Forms.CheckState.Checked; - this.mMenViewErrorsAndInfos.Image = global::My.Resources.Resources.ErrorsAndInfos; + this.mMenViewErrorsAndInfos.Image = My.Resources.ErrorsAndInfos; this.mMenViewErrorsAndInfos.Name = "mMenViewErrorsAndInfos"; this.mMenViewErrorsAndInfos.Size = new System.Drawing.Size(228, 22); this.mMenViewErrorsAndInfos.Text = "Errors and Infos"; @@ -494,14 +494,14 @@ namespace mRemoteNG //mMenViewJumpTo // this.mMenViewJumpTo.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {this.mMenViewJumpToConnectionsConfig, this.mMenViewJumpToSessionsScreenshots, this.mMenViewJumpToErrorsInfos}); - this.mMenViewJumpTo.Image = global::My.Resources.Resources.JumpTo; + this.mMenViewJumpTo.Image = My.Resources.JumpTo; this.mMenViewJumpTo.Name = "mMenViewJumpTo"; this.mMenViewJumpTo.Size = new System.Drawing.Size(228, 22); this.mMenViewJumpTo.Text = "Jump To"; // //mMenViewJumpToConnectionsConfig // - this.mMenViewJumpToConnectionsConfig.Image = global::My.Resources.Resources.Root; + this.mMenViewJumpToConnectionsConfig.Image = My.Resources.Root; this.mMenViewJumpToConnectionsConfig.Name = "mMenViewJumpToConnectionsConfig"; this.mMenViewJumpToConnectionsConfig.ShortcutKeys = (System.Windows.Forms.Keys) ((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Alt) | System.Windows.Forms.Keys.C); @@ -510,7 +510,7 @@ namespace mRemoteNG // //mMenViewJumpToSessionsScreenshots // - this.mMenViewJumpToSessionsScreenshots.Image = global::My.Resources.Resources.Sessions; + this.mMenViewJumpToSessionsScreenshots.Image = My.Resources.Sessions; this.mMenViewJumpToSessionsScreenshots.Name = "mMenViewJumpToSessionsScreenshots"; this.mMenViewJumpToSessionsScreenshots.ShortcutKeys = (System.Windows.Forms.Keys) ((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Alt) | System.Windows.Forms.Keys.S); @@ -519,7 +519,7 @@ namespace mRemoteNG // //mMenViewJumpToErrorsInfos // - this.mMenViewJumpToErrorsInfos.Image = global::My.Resources.Resources.InformationSmall; + this.mMenViewJumpToErrorsInfos.Image = My.Resources.InformationSmall; this.mMenViewJumpToErrorsInfos.Name = "mMenViewJumpToErrorsInfos"; this.mMenViewJumpToErrorsInfos.ShortcutKeys = (System.Windows.Forms.Keys) ((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Alt) | System.Windows.Forms.Keys.E); @@ -528,7 +528,7 @@ namespace mRemoteNG // //mMenViewResetLayout // - this.mMenViewResetLayout.Image = global::My.Resources.Resources.application_side_tree; + this.mMenViewResetLayout.Image = My.Resources.application_side_tree; this.mMenViewResetLayout.Name = "mMenViewResetLayout"; this.mMenViewResetLayout.Size = new System.Drawing.Size(228, 22); this.mMenViewResetLayout.Text = "Reset Layout"; @@ -540,14 +540,14 @@ namespace mRemoteNG // //mMenViewQuickConnectToolbar // - this.mMenViewQuickConnectToolbar.Image = global::My.Resources.Resources.Play_Quick; + this.mMenViewQuickConnectToolbar.Image = My.Resources.Play_Quick; this.mMenViewQuickConnectToolbar.Name = "mMenViewQuickConnectToolbar"; this.mMenViewQuickConnectToolbar.Size = new System.Drawing.Size(228, 22); this.mMenViewQuickConnectToolbar.Text = "Quick Connect Toolbar"; // //mMenViewExtAppsToolbar // - this.mMenViewExtAppsToolbar.Image = global::My.Resources.Resources.ExtApp; + this.mMenViewExtAppsToolbar.Image = My.Resources.ExtApp; this.mMenViewExtAppsToolbar.Name = "mMenViewExtAppsToolbar"; this.mMenViewExtAppsToolbar.Size = new System.Drawing.Size(228, 22); this.mMenViewExtAppsToolbar.Text = "External Applications Toolbar"; @@ -559,7 +559,7 @@ namespace mRemoteNG // //mMenViewFullscreen // - this.mMenViewFullscreen.Image = global::My.Resources.Resources.arrow_out; + this.mMenViewFullscreen.Image = My.Resources.arrow_out; this.mMenViewFullscreen.Name = "mMenViewFullscreen"; this.mMenViewFullscreen.ShortcutKeys = System.Windows.Forms.Keys.F11; this.mMenViewFullscreen.Size = new System.Drawing.Size(228, 22); @@ -574,14 +574,14 @@ namespace mRemoteNG // //mMenToolsSSHTransfer // - this.mMenToolsSSHTransfer.Image = global::My.Resources.Resources.SSHTransfer; + this.mMenToolsSSHTransfer.Image = My.Resources.SSHTransfer; this.mMenToolsSSHTransfer.Name = "mMenToolsSSHTransfer"; this.mMenToolsSSHTransfer.Size = new System.Drawing.Size(184, 22); this.mMenToolsSSHTransfer.Text = "SSH File Transfer"; // //mMenToolsUVNCSC // - this.mMenToolsUVNCSC.Image = global::My.Resources.Resources.UVNC_SC; + this.mMenToolsUVNCSC.Image = My.Resources.UVNC_SC; this.mMenToolsUVNCSC.Name = "mMenToolsUVNCSC"; this.mMenToolsUVNCSC.Size = new System.Drawing.Size(184, 22); this.mMenToolsUVNCSC.Text = "UltraVNC SingleClick"; @@ -589,14 +589,14 @@ namespace mRemoteNG // //mMenToolsExternalApps // - this.mMenToolsExternalApps.Image = global::My.Resources.Resources.ExtApp; + this.mMenToolsExternalApps.Image = My.Resources.ExtApp; this.mMenToolsExternalApps.Name = "mMenToolsExternalApps"; this.mMenToolsExternalApps.Size = new System.Drawing.Size(184, 22); this.mMenToolsExternalApps.Text = "External Applications"; // //mMenToolsPortScan // - this.mMenToolsPortScan.Image = global::My.Resources.Resources.PortScan; + this.mMenToolsPortScan.Image = My.Resources.PortScan; this.mMenToolsPortScan.Name = "mMenToolsPortScan"; this.mMenToolsPortScan.Size = new System.Drawing.Size(184, 22); this.mMenToolsPortScan.Text = "Port Scan"; @@ -608,7 +608,7 @@ namespace mRemoteNG // //mMenToolsComponentsCheck // - this.mMenToolsComponentsCheck.Image = global::My.Resources.Resources.cog_error; + this.mMenToolsComponentsCheck.Image = My.Resources.cog_error; this.mMenToolsComponentsCheck.Name = "mMenToolsComponentsCheck"; this.mMenToolsComponentsCheck.Size = new System.Drawing.Size(184, 22); this.mMenToolsComponentsCheck.Text = "Components Check"; @@ -650,21 +650,21 @@ namespace mRemoteNG // //mMenInfoDonate // - this.mMenInfoDonate.Image = global::My.Resources.Resources.Donate; + this.mMenInfoDonate.Image = My.Resources.Donate; this.mMenInfoDonate.Name = "mMenInfoDonate"; this.mMenInfoDonate.Size = new System.Drawing.Size(190, 22); this.mMenInfoDonate.Text = "Donate"; // //mMenInfoForum // - this.mMenInfoForum.Image = global::My.Resources.Resources.user_comment; + this.mMenInfoForum.Image = My.Resources.user_comment; this.mMenInfoForum.Name = "mMenInfoForum"; this.mMenInfoForum.Size = new System.Drawing.Size(190, 22); this.mMenInfoForum.Text = "Support Forum"; // //mMenInfoBugReport // - this.mMenInfoBugReport.Image = global::My.Resources.Resources.Bug; + this.mMenInfoBugReport.Image = My.Resources.Bug; this.mMenInfoBugReport.Name = "mMenInfoBugReport"; this.mMenInfoBugReport.Size = new System.Drawing.Size(190, 22); this.mMenInfoBugReport.Text = "Report a Bug"; @@ -676,14 +676,14 @@ namespace mRemoteNG // //mMenInfoAnnouncements // - this.mMenInfoAnnouncements.Image = global::My.Resources.Resources.News; + this.mMenInfoAnnouncements.Image = My.Resources.News; this.mMenInfoAnnouncements.Name = "mMenInfoAnnouncements"; this.mMenInfoAnnouncements.Size = new System.Drawing.Size(190, 22); this.mMenInfoAnnouncements.Text = "Announcements"; // //mMenToolsUpdate // - this.mMenToolsUpdate.Image = global::My.Resources.Resources.Update; + this.mMenToolsUpdate.Image = My.Resources.Update; this.mMenToolsUpdate.Name = "mMenToolsUpdate"; this.mMenToolsUpdate.Size = new System.Drawing.Size(190, 22); this.mMenToolsUpdate.Text = "Check for Updates"; @@ -695,7 +695,7 @@ namespace mRemoteNG // //mMenInfoAbout // - this.mMenInfoAbout.Image = global::My.Resources.Resources.mRemote; + this.mMenInfoAbout.Image = My.Resources.mRemote; this.mMenInfoAbout.Name = "mMenInfoAbout"; this.mMenInfoAbout.Size = new System.Drawing.Size(190, 22); this.mMenInfoAbout.Text = "About mRemoteNG"; @@ -767,7 +767,7 @@ namespace mRemoteNG //btnQuickConnect // this.btnQuickConnect.DropDown = this.mnuQuickConnectProtocol; - this.btnQuickConnect.Image = global::My.Resources.Resources.Play_Quick; + this.btnQuickConnect.Image = My.Resources.Play_Quick; this.btnQuickConnect.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnQuickConnect.Margin = new System.Windows.Forms.Padding(0, 1, 3, 2); this.btnQuickConnect.Name = "btnQuickConnect"; @@ -786,7 +786,7 @@ namespace mRemoteNG // this.btnConnections.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btnConnections.DropDown = this.mnuConnections; - this.btnConnections.Image = global::My.Resources.Resources.Root; + this.btnConnections.Image = My.Resources.Root; this.btnConnections.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.btnConnections.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnConnections.Name = "btnConnections"; @@ -836,7 +836,7 @@ namespace mRemoteNG // //ToolStripButton1 // - this.ToolStripButton1.Image = global::My.Resources.Resources.Play; + this.ToolStripButton1.Image = My.Resources.Play; this.ToolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; this.ToolStripButton1.Name = "ToolStripButton1"; this.ToolStripButton1.Size = new System.Drawing.Size(72, 22); @@ -844,7 +844,7 @@ namespace mRemoteNG // //ToolStripButton2 // - this.ToolStripButton2.Image = global::My.Resources.Resources.Screenshot; + this.ToolStripButton2.Image = My.Resources.Screenshot; this.ToolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; this.ToolStripButton2.Name = "ToolStripButton2"; this.ToolStripButton2.Size = new System.Drawing.Size(85, 22); @@ -852,7 +852,7 @@ namespace mRemoteNG // //ToolStripButton3 // - this.ToolStripButton3.Image = global::My.Resources.Resources.Refresh; + this.ToolStripButton3.Image = My.Resources.Refresh; this.ToolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta; this.ToolStripButton3.Name = "ToolStripButton3"; this.ToolStripButton3.Size = new System.Drawing.Size(66, 22); @@ -862,7 +862,7 @@ namespace mRemoteNG // this.ToolStripSplitButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.ToolStripSplitButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {this.ToolStripMenuItem1, this.ToolStripMenuItem2}); - this.ToolStripSplitButton1.Image = global::My.Resources.Resources.Keyboard; + this.ToolStripSplitButton1.Image = My.Resources.Keyboard; this.ToolStripSplitButton1.ImageTransparentColor = System.Drawing.Color.Magenta; this.ToolStripSplitButton1.Name = "ToolStripSplitButton1"; this.ToolStripSplitButton1.Size = new System.Drawing.Size(29, 22); @@ -890,7 +890,7 @@ namespace mRemoteNG this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(842, 523); this.Controls.Add(this.tsContainer); - this.Icon = global::My.Resources.Resources.mRemote_Icon; + this.Icon = My.Resources.mRemote_Icon; this.MainMenuStrip = this.msMain; this.Name = "frmMain"; this.Opacity = 0.0D; diff --git a/mRemoteV1/CS/Forms/frmMain.cs b/mRemoteV1/CS/UI/Forms/frmMain.cs similarity index 79% rename from mRemoteV1/CS/Forms/frmMain.cs rename to mRemoteV1/CS/UI/Forms/frmMain.cs index e1fe88857..745ba9347 100644 --- a/mRemoteV1/CS/Forms/frmMain.cs +++ b/mRemoteV1/CS/UI/Forms/frmMain.cs @@ -28,7 +28,7 @@ namespace mRemoteNG public frmMain() { // VBConversions Note: Non-static class variable initialization is below. Class variables cannot be initially assigned non-static values in C#. - _showFullPathInTitle = System.Convert.ToBoolean(My.Settings.Default.ShowCompleteConsPathInTitle); + _showFullPathInTitle = System.Convert.ToBoolean(Settings.Default.ShowCompleteConsPathInTitle); InitializeComponent(); @@ -183,11 +183,9 @@ namespace mRemoteNG #region Startup & Shutdown public void frmMain_Load(object sender, System.EventArgs e) { - MainForm = this; - - Startup.CheckCompatibility(); - - Startup.CreateLogger(); + Runtime.MainForm = this; + Runtime.Startup.CheckCompatibility(); + Runtime.Startup.CreateLogger(); // Create gui config load and save objects Config.Settings.Load SettingsLoad = new Config.Settings.Load(this); @@ -196,46 +194,35 @@ namespace mRemoteNG SettingsLoad.Load_Renamed(); Debug.Print("---------------------------" + Constants.vbNewLine + "[START] - " + System.Convert.ToString(DateTime.Now)); - - Startup.ParseCommandLineArgs(); - + Runtime.Startup.ParseCommandLineArgs(); ApplyLanguage(); PopulateQuickConnectProtocolMenu(); - ThemeManager.ThemeChanged += ApplyThemes; ApplyThemes(); - - fpChainedWindowHandle = SetClipboardViewer(this.Handle); - - Runtime.MessageCollector = new Messages.Collector(Windows.errorsForm); - - WindowList = new UI.Window.List(); - + fpChainedWindowHandle = Native.SetClipboardViewer(this.Handle); + Runtime.MessageCollector = new Messages.Collector(Runtime.Windows.errorsForm); + Runtime.WindowList = new UI.Window.List(); Tools.IeBrowserEmulation.Register(); - - Startup.GetConnectionIcons(); - Windows.treePanel.Focus(); - - Tree.Node.TreeView = Windows.treeForm.tvConnections; - - if (My.Settings.Default.FirstStart && !My.Settings.Default.LoadConsFromCustomLocation && !System.IO.File.Exists(GetStartupConnectionFileName())) + Runtime.Startup.GetConnectionIcons(); + Runtime.Windows.treePanel.Focus(); + Tree.Node.TreeView = Runtime.Windows.treeForm.tvConnections; + + if (My.Settings.Default.FirstStart && !My.Settings.Default.LoadConsFromCustomLocation && !System.IO.File.Exists(Runtime.GetStartupConnectionFileName())) { - NewConnections(GetStartupConnectionFileName()); + Runtime.NewConnections(Runtime.GetStartupConnectionFileName()); } //LoadCredentials() - LoadConnections(); - if (!IsConnectionsFileLoaded) + Runtime.LoadConnections(); + if (!Runtime.IsConnectionsFileLoaded) { System.Windows.Forms.Application.Exit(); return ; } - Config.Putty.Sessions.StartWatcher(); - if (My.Settings.Default.StartupComponentsCheck) { - Windows.Show(UI.Window.Type.ComponentsCheck); + Runtime.Windows.Show(UI.Window.Type.ComponentsCheck); } #if PORTABLE @@ -243,8 +230,8 @@ namespace mRemoteNG mMenToolsUpdate.Visible = false; mMenInfoSep2.Visible = false; #endif - - Startup.CreateSQLUpdateHandlerAndStartTimer(); + + Runtime.Startup.CreateSQLUpdateHandlerAndStartTimer(); AddSysMenuItems(); Microsoft.Win32.SystemEvents.DisplaySettingsChanged += DisplayChanged; @@ -263,11 +250,11 @@ namespace mRemoteNG mMenFileLoad.Text = My.Language.strMenuOpenConnectionFile; mMenFileSave.Text = My.Language.strMenuSaveConnectionFile; mMenFileSaveAs.Text = My.Language.strMenuSaveConnectionFileAs; - mMenFileImport.Text = Language.strImportMenuItem; - mMenFileImportFromFile.Text = Language.strImportFromFileMenuItem; - mMenFileImportFromActiveDirectory.Text = Language.strImportAD; - mMenFileImportFromPortScan.Text = Language.strImportPortScan; - mMenFileExport.Text = Language.strExportToFileMenuItem; + mMenFileImport.Text = My.Language.strImportMenuItem; + mMenFileImportFromFile.Text = My.Language.strImportFromFileMenuItem; + mMenFileImportFromActiveDirectory.Text = My.Language.strImportAD; + mMenFileImportFromPortScan.Text = My.Language.strImportPortScan; + mMenFileExport.Text = My.Language.strExportToFileMenuItem; mMenFileExit.Text = My.Language.strMenuExit; mMenView.Text = My.Language.strMenuView; @@ -398,11 +385,11 @@ namespace mRemoteNG public void frmMain_FormClosing(object sender, System.Windows.Forms.FormClosingEventArgs e) { - if (!(WindowList == null || WindowList.Count == 0)) + if (!(Runtime.WindowList == null || Runtime.WindowList.Count == 0)) { UI.Window.Connection connectionWindow = default(UI.Window.Connection); int openConnections = 0; - foreach (UI.Window.Base window in WindowList) + foreach (UI.Window.Base window in Runtime.WindowList) { connectionWindow = window as UI.Window.Connection; if (connectionWindow != null) @@ -410,10 +397,10 @@ namespace mRemoteNG openConnections = openConnections + connectionWindow.TabController.TabPages.Count; } } - - if (openConnections > 0 && (My.Settings.Default.ConfirmCloseConnection == ConfirmClose.All | (My.Settings.Default.ConfirmCloseConnection == ConfirmClose.Multiple & openConnections > 1) || My.Settings.Default.ConfirmCloseConnection == ConfirmClose.Exit)) + + if (openConnections > 0 && (My.Settings.Default.ConfirmCloseConnection == (int)ConfirmClose.All | (My.Settings.Default.ConfirmCloseConnection == (int)ConfirmClose.Multiple & openConnections > 1) || My.Settings.Default.ConfirmCloseConnection == (int)ConfirmClose.Exit)) { - DialogResult result = cTaskDialog.MessageBox(this, (new Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase()).Info.ProductName, My.Language.strConfirmExitMainInstruction, "", "", "", My.Language.strCheckboxDoNotShowThisMessageAgain, eTaskDialogButtons.YesNo, eSysIcons.Question, null); + DialogResult result = cTaskDialog.MessageBox(this, (new Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase()).Info.ProductName, My.Language.strConfirmExitMainInstruction, "", "", "", My.Language.strCheckboxDoNotShowThisMessageAgain, eTaskDialogButtons.YesNo, eSysIcons.Question, eSysIcons.Question); if (cTaskDialog.VerificationChecked) { My.Settings.Default.ConfirmCloseConnection--; @@ -425,20 +412,20 @@ namespace mRemoteNG } } } - - Shutdown.Cleanup(); + + Runtime.Shutdown.Cleanup(); _isClosing = true; - - if (WindowList != null) + + if (Runtime.WindowList != null) { - foreach (UI.Window.Base window in WindowList) + foreach (UI.Window.Base window in Runtime.WindowList) { window.Close(); } } - - Shutdown.StartUpdate(); + + Runtime.Shutdown.StartUpdate(); Debug.Print("[END] - " + System.Convert.ToString(DateTime.Now)); } @@ -448,10 +435,10 @@ namespace mRemoteNG public void tmrAutoSave_Tick(System.Object sender, System.EventArgs e) { Runtime.MessageCollector.AddMessage(Messages.MessageClass.InformationMsg, "Doing AutoSave", true); - App.Runtime.SaveConnections(); + Runtime.SaveConnections(); } #endregion - + #region Ext Apps Toolbar public void cMenToolbarShowText_Click(System.Object sender, System.EventArgs e) { @@ -469,9 +456,9 @@ namespace mRemoteNG tsExternalTools.Items.Clear(); ToolStripButton button = default(ToolStripButton); - foreach (Tools.ExternalTool tool in ExternalTools) + foreach (Tools.ExternalTool tool in Runtime.ExternalTools) { - button = tsExternalTools.Items.Add(tool.DisplayName, tool.Image, tsExtAppEntry_Click); + button = (System.Windows.Forms.ToolStripButton)tsExternalTools.Items.Add(tool.DisplayName, tool.Image, tsExtAppEntry_Click); if (cMenToolbarShowText.Checked == true) { @@ -500,11 +487,11 @@ namespace mRemoteNG private void tsExtAppEntry_Click(System.Object sender, System.EventArgs e) { - Tools.ExternalTool extA = sender.Tag; + Tools.ExternalTool extA = (Tools.ExternalTool)((Control)sender).Tag; if (Tree.Node.GetNodeType(Tree.Node.SelectedNode) == Tree.Node.Type.Connection | Tree.Node.GetNodeType(Tree.Node.SelectedNode) == Tree.Node.Type.PuttySession) { - extA.Start(Tree.Node.SelectedNode.Tag); + extA.Start((Connection.Info)Tree.Node.SelectedNode.Tag); } else { @@ -600,14 +587,14 @@ namespace mRemoteNG static public void mMenFileNewConnection_Click(System.Object sender, EventArgs e) { - Windows.treeForm.AddConnection(); - SaveConnectionsBG(); + Runtime.Windows.treeForm.AddConnection(); + Runtime.SaveConnectionsBG(); } static public void mMenFileNewFolder_Click(System.Object sender, EventArgs e) { - Windows.treeForm.AddFolder(); - SaveConnectionsBG(); + Runtime.Windows.treeForm.AddFolder(); + Runtime.SaveConnectionsBG(); } static public void mMenFileNew_Click(System.Object sender, EventArgs e) @@ -617,100 +604,99 @@ namespace mRemoteNG { return ; } - - NewConnections(saveFileDialog.FileName); + + Runtime.NewConnections(saveFileDialog.FileName); } static public void mMenFileLoad_Click(System.Object sender, EventArgs e) { - if (IsConnectionsFileLoaded) + if (Runtime.IsConnectionsFileLoaded) { switch (Interaction.MsgBox(Language.strSaveConnectionsFileBeforeOpeningAnother, (Microsoft.VisualBasic.MsgBoxStyle) (MsgBoxStyle.YesNoCancel | MsgBoxStyle.Question), null)) { case MsgBoxResult.Yes: - SaveConnections(); + Runtime.SaveConnections(); break; case MsgBoxResult.Cancel: return ; } } - - LoadConnections(true); + + Runtime.LoadConnections(true); } static public void mMenFileSave_Click(System.Object sender, EventArgs e) { - SaveConnections(); + Runtime.SaveConnections(); } static public void mMenFileSaveAs_Click(System.Object sender, EventArgs e) { - SaveConnectionsAs(); + Runtime.SaveConnectionsAs(); } static public void mMenFileDelete_Click(System.Object sender, EventArgs e) { Tree.Node.DeleteSelectedNode(); - SaveConnectionsBG(); + Runtime.SaveConnectionsBG(); } static public void mMenFileRename_Click(System.Object sender, EventArgs e) { Tree.Node.StartRenameSelectedNode(); - SaveConnectionsBG(); + Runtime.SaveConnectionsBG(); } static public void mMenFileDuplicate_Click(System.Object sender, EventArgs e) { Tree.Node.CloneNode(Tree.Node.SelectedNode); - SaveConnectionsBG(); + Runtime.SaveConnectionsBG(); } static public void mMenFileImportFromFile_Click(System.Object sender, EventArgs e) { - Import.ImportFromFile(Windows.treeForm.tvConnections.Nodes[0], Windows.treeForm.tvConnections.SelectedNode); + Import.ImportFromFile(Runtime.Windows.treeForm.tvConnections.Nodes[0], Runtime.Windows.treeForm.tvConnections.SelectedNode); } static public void mMenFileImportFromActiveDirectory_Click(System.Object sender, EventArgs e) { - Windows.Show(UI.Window.Type.ActiveDirectoryImport); + Runtime.Windows.Show(UI.Window.Type.ActiveDirectoryImport); } static public void mMenFileImportFromPortScan_Click(System.Object sender, EventArgs e) { - Windows.Show(UI.Window.Type.PortScan, true); + Runtime.Windows.Show(UI.Window.Type.PortScan, true); } static public void mMenFileExport_Click(System.Object sender, EventArgs e) { - Export.ExportToFile(Windows.treeForm.tvConnections.Nodes[0], Windows.treeForm.tvConnections.SelectedNode); + Export.ExportToFile(Runtime.Windows.treeForm.tvConnections.Nodes[0], Runtime.Windows.treeForm.tvConnections.SelectedNode); } static public void mMenFileExit_Click(System.Object sender, EventArgs e) { - Shutdown.Quit(); + Runtime.Shutdown.Quit(); } #endregion #region View public void mMenView_DropDownOpening(object sender, System.EventArgs e) { - this.mMenViewConnections.Checked = !Windows.treeForm.IsHidden; - this.mMenViewConfig.Checked = !Windows.configForm.IsHidden; - this.mMenViewErrorsAndInfos.Checked = !Windows.errorsForm.IsHidden; - this.mMenViewSessions.Checked = !Windows.sessionsForm.IsHidden; - this.mMenViewScreenshotManager.Checked = !Windows.screenshotForm.IsHidden; + this.mMenViewConnections.Checked = !Runtime.Windows.treeForm.IsHidden; + this.mMenViewConfig.Checked = !Runtime.Windows.configForm.IsHidden; + this.mMenViewErrorsAndInfos.Checked = !Runtime.Windows.errorsForm.IsHidden; + this.mMenViewSessions.Checked = !Runtime.Windows.sessionsForm.IsHidden; + this.mMenViewScreenshotManager.Checked = !Runtime.Windows.screenshotForm.IsHidden; this.mMenViewExtAppsToolbar.Checked = tsExternalTools.Visible; this.mMenViewQuickConnectToolbar.Checked = tsQuickConnect.Visible; this.mMenViewConnectionPanels.DropDownItems.Clear(); - - for (int i = 0; i <= WindowList.Count - 1; i++) + + for (int i = 0; i <= Runtime.WindowList.Count - 1; i++) { - ToolStripMenuItem tItem = new ToolStripMenuItem(System.Convert.ToString(WindowList[i].Text), WindowList[i].Icon.ToBitmap, ConnectionPanelMenuItem_Click); - tItem.Tag = WindowList[i]; - + ToolStripMenuItem tItem = new ToolStripMenuItem(System.Convert.ToString(Runtime.WindowList[i].Text), Runtime.WindowList[i].Icon.ToBitmap(), ConnectionPanelMenuItem_Click); + tItem.Tag = Runtime.WindowList[i]; this.mMenViewConnectionPanels.DropDownItems.Add(tItem); } @@ -726,20 +712,20 @@ namespace mRemoteNG private void ConnectionPanelMenuItem_Click(object sender, System.EventArgs e) { - (sender.Tag as UI.Window.Base).Show(this.pnlDock); - (sender.Tag as UI.Window.Base).Focus(); + (((System.Windows.Forms.Control)sender).Tag as UI.Window.Base).Show(this.pnlDock); + (((System.Windows.Forms.Control)sender).Tag as UI.Window.Base).Focus(); } public void mMenViewSessions_Click(object sender, System.EventArgs e) { if (this.mMenViewSessions.Checked == false) { - Windows.sessionsPanel.Show(this.pnlDock); + Runtime.Windows.sessionsPanel.Show(this.pnlDock); this.mMenViewSessions.Checked = true; } else { - Windows.sessionsPanel.Hide(); + Runtime.Windows.sessionsPanel.Hide(); this.mMenViewSessions.Checked = false; } } @@ -748,12 +734,12 @@ namespace mRemoteNG { if (this.mMenViewConnections.Checked == false) { - Windows.treePanel.Show(this.pnlDock); + Runtime.Windows.treePanel.Show(this.pnlDock); this.mMenViewConnections.Checked = true; } else { - Windows.treePanel.Hide(); + Runtime.Windows.treePanel.Hide(); this.mMenViewConnections.Checked = false; } } @@ -762,12 +748,12 @@ namespace mRemoteNG { if (this.mMenViewConfig.Checked == false) { - Windows.configPanel.Show(this.pnlDock); + Runtime.Windows.configPanel.Show(this.pnlDock); this.mMenViewConfig.Checked = true; } else { - Windows.configPanel.Hide(); + Runtime.Windows.configPanel.Hide(); this.mMenViewConfig.Checked = false; } } @@ -776,12 +762,12 @@ namespace mRemoteNG { if (this.mMenViewErrorsAndInfos.Checked == false) { - Windows.errorsPanel.Show(this.pnlDock); + Runtime.Windows.errorsPanel.Show(this.pnlDock); this.mMenViewErrorsAndInfos.Checked = true; } else { - Windows.errorsPanel.Hide(); + Runtime.Windows.errorsPanel.Hide(); this.mMenViewErrorsAndInfos.Checked = false; } } @@ -790,43 +776,43 @@ namespace mRemoteNG { if (this.mMenViewScreenshotManager.Checked == false) { - Windows.screenshotPanel.Show(this.pnlDock); + Runtime.Windows.screenshotPanel.Show(this.pnlDock); this.mMenViewScreenshotManager.Checked = true; } else { - Windows.screenshotPanel.Hide(); + Runtime.Windows.screenshotPanel.Hide(); this.mMenViewScreenshotManager.Checked = false; } } public void mMenViewJumpToConnectionsConfig_Click(object sender, System.EventArgs e) { - if (pnlDock.ActiveContent == Windows.treePanel) + if (pnlDock.ActiveContent == Runtime.Windows.treePanel) { - Windows.configForm.Activate(); + Runtime.Windows.configForm.Activate(); } else { - Windows.treeForm.Activate(); + Runtime.Windows.treeForm.Activate(); } } public void mMenViewJumpToSessionsScreenshots_Click(object sender, System.EventArgs e) { - if (pnlDock.ActiveContent == Windows.sessionsPanel) + if (pnlDock.ActiveContent == Runtime.Windows.sessionsPanel) { - Windows.screenshotForm.Activate(); + Runtime.Windows.screenshotForm.Activate(); } else { - Windows.sessionsForm.Activate(); + Runtime.Windows.sessionsForm.Activate(); } } public void mMenViewJumpToErrorsInfos_Click(object sender, System.EventArgs e) { - Windows.errorsForm.Activate(); + Runtime.Windows.errorsForm.Activate(); } public void mMenViewResetLayout_Click(System.Object sender, System.EventArgs e) @@ -839,7 +825,7 @@ namespace mRemoteNG public void mMenViewAddConnectionPanel_Click(System.Object sender, System.EventArgs e) { - AddPanel(); + Runtime.AddPanel(); } public void mMenViewExtAppsToolbar_Click(System.Object sender, System.EventArgs e) @@ -921,7 +907,7 @@ namespace mRemoteNG try { mnuQuickConnectProtocol.Items.Clear(); - foreach (FieldInfo fieldInfo in typeof(Connection.Protocol.Protocols).GetFields) + foreach (FieldInfo fieldInfo in typeof(Connection.Protocol.Protocols).GetFields()) { if (!(fieldInfo.Name == "value__" || fieldInfo.Name == "IntApp")) { @@ -955,7 +941,7 @@ namespace mRemoteNG { try { - Connection.Info connectionInfo = CreateQuickConnect(cmbQuickConnect.Text.Trim(), Connection.Protocol.Converter.StringToProtocol(System.Convert.ToString(My.Settings.Default.QuickConnectProtocol))); + Connection.Info connectionInfo = Runtime.CreateQuickConnect(cmbQuickConnect.Text.Trim(), Connection.Protocol.Converter.StringToProtocol(System.Convert.ToString(My.Settings.Default.QuickConnectProtocol))); if (connectionInfo == null) { cmbQuickConnect.Focus(); @@ -964,7 +950,7 @@ namespace mRemoteNG cmbQuickConnect.Add(connectionInfo); - OpenConnection(connectionInfo, Connection.Info.Force.DoNotJump); + Runtime.OpenConnection(connectionInfo, Connection.Info.Force.DoNotJump); } catch (Exception ex) { @@ -1003,7 +989,7 @@ namespace mRemoteNG #region Info public void mMenInfoHelp_Click(System.Object sender, System.EventArgs e) { - App.Runtime.Windows.Show(UI.Window.Type.Help); + Runtime.Windows.Show(UI.Window.Type.Help); } public void mMenInfoForum_Click(System.Object sender, System.EventArgs e) @@ -1041,9 +1027,8 @@ namespace mRemoteNG #region Connections DropDown public void btnConnections_DropDownOpening(object sender, EventArgs e) { - btnConnections.DropDownItems.Clear(); - - foreach (TreeNode treeNode in Windows.treeForm.tvConnections.Nodes) + btnConnections.DropDownItems.Clear(); + foreach (TreeNode treeNode in Runtime.Windows.treeForm.tvConnections.Nodes) { AddNodeToMenu(treeNode.Nodes, btnConnections); } @@ -1061,7 +1046,7 @@ namespace mRemoteNG if (Tree.Node.GetNodeType(treeNode) == Tree.Node.Type.Container) { - menuItem.Image = global::My.Resources.Folder; + menuItem.Image = My.Resources.Folder; menuItem.Tag = treeNode.Tag; toolStripMenuItem.DropDownItems.Add(menuItem); @@ -1069,7 +1054,7 @@ namespace mRemoteNG } else if (Tree.Node.GetNodeType(treeNode) == Tree.Node.Type.Connection | Tree.Node.GetNodeType(treeNode) == Tree.Node.Type.PuttySession) { - menuItem.Image = Windows.treeForm.imgListTree.Images[treeNode.ImageIndex]; + menuItem.Image = Runtime.Windows.treeForm.imgListTree.Images[treeNode.ImageIndex]; menuItem.Tag = treeNode.Tag; toolStripMenuItem.DropDownItems.Add(menuItem); @@ -1088,9 +1073,9 @@ namespace mRemoteNG { if (e.Button == MouseButtons.Left) { - if (sender.Tag is Connection.Info) + if (((System.Windows.Forms.Control)sender).Tag is Connection.Info) { - App.Runtime.OpenConnection(sender.Tag); + Runtime.OpenConnection((Connection.Info)((System.Windows.Forms.Control)sender).Tag); } } } @@ -1109,9 +1094,9 @@ namespace mRemoteNG { if (My.Settings.Default.MinimizeToTray) { - if (NotificationAreaIcon == null) + if (Runtime.NotificationAreaIcon == null) { - NotificationAreaIcon = new Tools.Controls.NotificationAreaIcon(); + Runtime.NotificationAreaIcon = new Tools.Controls.NotificationAreaIcon(); } Hide(); } @@ -1135,22 +1120,22 @@ namespace mRemoteNG { try { - if (m.Msg == WM_MOUSEACTIVATE) + if (m.Msg == Native.WM_MOUSEACTIVATE) { _inMouseActivate = true; } - else if (m.Msg == WM_ACTIVATEAPP) + else if (m.Msg == Native.WM_ACTIVATEAPP) { _inMouseActivate = false; } - else if (m.Msg == WM_ACTIVATE) + else if (m.Msg == Native.WM_ACTIVATE) { // Ingore this message if it wasn't triggered by a click - if (!(LOWORD(m.WParam) == WA_CLICKACTIVE)) + if (!(Native.LOWORD(m.WParam) == Native.WA_CLICKACTIVE)) { } - - Control control = FromChildHandle(WindowFromPoint(MousePosition)); + + Control control = FromChildHandle(Native.WindowFromPoint(MousePosition)); if (!(control == null)) { // Let TreeViews and ComboBoxes get focus but don't simulate a mouse event @@ -1164,7 +1149,7 @@ namespace mRemoteNG Point clientMousePosition = control.PointToClient(MousePosition); System.Int32 temp_wLow = clientMousePosition.X; System.Int32 temp_wHigh = clientMousePosition.Y; - SendMessage(control.Handle, WM_LBUTTONDOWN, MK_LBUTTON, MAKELPARAM(ref temp_wLow, ref temp_wHigh)); + Native.SendMessage(control.Handle, Native.WM_LBUTTONDOWN, Native.MK_LBUTTON, Native.MAKELPARAM(ref temp_wLow, ref temp_wHigh)); clientMousePosition.X = temp_wLow; clientMousePosition.Y = temp_wHigh; @@ -1175,11 +1160,11 @@ namespace mRemoteNG // This handles activations from clicks that did not start a size/move operation ActivateConnection(); } - else if (m.Msg == WM_WINDOWPOSCHANGED) + else if (m.Msg == Native.WM_WINDOWPOSCHANGED) { // Ignore this message if the window wasn't activated - WINDOWPOS windowPos = Marshal.PtrToStructure(m.LParam, typeof(WINDOWPOS)); - if (!((windowPos.flags & SWP_NOACTIVATE) == 0)) + Native.WINDOWPOS windowPos = (Native.WINDOWPOS)Marshal.PtrToStructure(m.LParam, typeof(Native.WINDOWPOS)); + if (!((windowPos.flags & Native.SWP_NOACTIVATE) == 0)) { } @@ -1189,27 +1174,29 @@ namespace mRemoteNG ActivateConnection(); } } - else if (m.Msg == WM_SYSCOMMAND) + else if (m.Msg == Native.WM_SYSCOMMAND) { for (int i = 0; i <= SysMenSubItems.Length - 1; i++) { - if (SysMenSubItems[i] == m.WParam) + if (SysMenSubItems[i] == m.WParam.ToInt32()) { - Screens.SendFormToScreen(Screen.AllScreens[i]); + Runtime.Screens.SendFormToScreen(Screen.AllScreens[i]); break; } } } - else if (m.Msg == WM_DRAWCLIPBOARD) + else if (m.Msg == Native.WM_DRAWCLIPBOARD) { - SendMessage(fpChainedWindowHandle, m.Msg, m.LParam, m.WParam); - if (clipboardchangeEvent != null) - clipboardchangeEvent(); + Native.SendMessage(fpChainedWindowHandle, m.Msg, m.LParam.ToInt32(), m.WParam.ToInt32()); + if (clipboardchangeEvent != null) + { + clipboardchangeEvent(); + } } - else if (m.Msg == WM_CHANGECBCHAIN) + else if (m.Msg == Native.WM_CHANGECBCHAIN) { //Send to the next window - SendMessage(fpChainedWindowHandle, m.Msg, m.LParam, m.WParam); + Native.SendMessage(fpChainedWindowHandle, m.Msg, m.LParam.ToInt32(), m.WParam.ToInt32()); fpChainedWindowHandle = m.LParam; } else if (m.Msg == KeyboardHook.HookKeyMsg) @@ -1240,11 +1227,11 @@ namespace mRemoteNG { if (pnlDock.ActiveDocument is UI.Window.Connection) { - UI.Window.Connection cW = pnlDock.ActiveDocument; + UI.Window.Connection cW = (UI.Window.Connection)pnlDock.ActiveDocument; if (cW.TabController.SelectedTab != null) { Crownwood.Magic.Controls.TabPage tab = cW.TabController.SelectedTab; - Connection.InterfaceControl ifc = tab.Tag as Connection.InterfaceControl; + Connection.InterfaceControl ifc = (Connection.InterfaceControl)tab.Tag; ifc.Protocol.Focus(); (ifc.FindForm() as UI.Window.Connection).RefreshIC(); } @@ -1254,7 +1241,7 @@ namespace mRemoteNG public void pnlDock_ActiveDocumentChanged(object sender, EventArgs e) { ActivateConnection(); - UI.Window.Connection connectionWindow = pnlDock.ActiveDocument as UI.Window.Connection; + UI.Window.Connection connectionWindow = (UI.Window.Connection)pnlDock.ActiveDocument; if (connectionWindow != null) { connectionWindow.UpdateSelectedConnection(); @@ -1269,10 +1256,10 @@ namespace mRemoteNG return ; } - StringBuilder titleBuilder = new StringBuilder(System.Convert.ToInt32(Application.Info.ProductName)); + StringBuilder titleBuilder = new StringBuilder(System.Convert.ToInt32(Application.ProductName)); const string separator = " - "; - if (IsConnectionsFileLoaded) + if (Runtime.IsConnectionsFileLoaded) { if (UsingSqlServer) { @@ -1347,8 +1334,8 @@ namespace mRemoteNG { return ; } - - UI.Window.Connection connectionWindow = pnlDock.ActiveDocument; + + UI.Window.Connection connectionWindow = (UI.Window.Connection)pnlDock.ActiveDocument; Crownwood.Magic.Controls.TabControl tabController = connectionWindow.TabController; int newIndex = tabController.SelectedIndex + relativeIndex; @@ -1378,22 +1365,22 @@ namespace mRemoteNG private int[] SysMenSubItems = new int[51]; private static void ResetSysMenuItems() { - SystemMenu.Reset(); + Runtime.SystemMenu.Reset(); } private void AddSysMenuItems() { - SystemMenu = new Tools.SystemMenu(this.Handle); - IntPtr popMen = SystemMenu.CreatePopupMenuItem(); + Runtime.SystemMenu = new Tools.SystemMenu(this.Handle); + IntPtr popMen = Runtime.SystemMenu.CreatePopupMenuItem(); for (int i = 0; i <= Screen.AllScreens.Length - 1; i++) { SysMenSubItems[i] = 200 + i; - SystemMenu.AppendMenuItem(popMen, Tools.SystemMenu.Flags.MF_STRING, SysMenSubItems[i], My.Language.strScreen + " " + System.Convert.ToString(i + 1)); + Runtime.SystemMenu.AppendMenuItem(popMen, Tools.SystemMenu.Flags.MF_STRING, new IntPtr(SysMenSubItems[i]), My.Language.strScreen + " " + System.Convert.ToString(i + 1)); } - - SystemMenu.InsertMenuItem(SystemMenu.SystemMenuHandle, 0, Tools.SystemMenu.Flags.MF_POPUP | Tools.SystemMenu.Flags.MF_BYPOSITION, popMen, My.Language.strSendTo); - SystemMenu.InsertMenuItem(SystemMenu.SystemMenuHandle, 1, Tools.SystemMenu.Flags.MF_BYPOSITION | Tools.SystemMenu.Flags.MF_SEPARATOR, IntPtr.Zero, null); + + Runtime.SystemMenu.InsertMenuItem(Runtime.SystemMenu.SystemMenuHandle, 0, Tools.SystemMenu.Flags.MF_POPUP | Tools.SystemMenu.Flags.MF_BYPOSITION, popMen, My.Language.strSendTo); + Runtime.SystemMenu.InsertMenuItem(Runtime.SystemMenu.SystemMenuHandle, 1, Tools.SystemMenu.Flags.MF_BYPOSITION | Tools.SystemMenu.Flags.MF_SEPARATOR, IntPtr.Zero, null); } #endregion } diff --git a/mRemoteV1/CS/Forms/frmMain.resx b/mRemoteV1/CS/UI/Forms/frmMain.resx similarity index 100% rename from mRemoteV1/CS/Forms/frmMain.resx rename to mRemoteV1/CS/UI/Forms/frmMain.resx diff --git a/mRemoteV1/CS/UI/UI.Window.About.cs b/mRemoteV1/CS/UI/UI.Window.About.cs index 7ee98ff07..e37c8186b 100644 --- a/mRemoteV1/CS/UI/UI.Window.About.cs +++ b/mRemoteV1/CS/UI/UI.Window.About.cs @@ -85,7 +85,7 @@ namespace mRemoteNG.UI.Window // //pbLogo // - this.pbLogo.Image = global::My.Resources.Resources.Logo; + this.pbLogo.Image = My.Resources.Logo; this.pbLogo.Location = new System.Drawing.Point(8, 8); this.pbLogo.Name = "pbLogo"; this.pbLogo.Size = new System.Drawing.Size(492, 128); @@ -243,7 +243,7 @@ namespace mRemoteNG.UI.Window this.Controls.Add(this.pnlBottom); this.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (8.25F), System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); this.ForeColor = System.Drawing.SystemColors.ControlText; - this.Icon = global::My.Resources.Resources.mRemote_Icon; + this.Icon = My.Resources.mRemote_Icon; this.MaximumSize = new System.Drawing.Size(20000, 10000); this.Name = "About"; this.TabText = "About"; diff --git a/mRemoteV1/CS/UI/UI.Window.ActiveDirectoryImport.Designer.cs b/mRemoteV1/CS/UI/UI.Window.ActiveDirectoryImport.Designer.cs index dc160da29..2efd1f311 100644 --- a/mRemoteV1/CS/UI/UI.Window.ActiveDirectoryImport.Designer.cs +++ b/mRemoteV1/CS/UI/UI.Window.ActiveDirectoryImport.Designer.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,104 +8,102 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports namespace mRemoteNG.UI.Window { public partial class ActiveDirectoryImport : Base - { -#region Windows Form Designer generated code - - private void InitializeComponent() - { - this.btnImport = new System.Windows.Forms.Button(); - this.Load += new System.EventHandler(ADImport_Load); - this.btnImport.Click += new System.EventHandler(this.btnImport_Click); - this.txtDomain = new System.Windows.Forms.TextBox(); - this.txtDomain.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.txtDomain_PreviewKeyDown); - this.txtDomain.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtDomain_KeyDown); - this.lblDomain = new System.Windows.Forms.Label(); - this.btnChangeDomain = new System.Windows.Forms.Button(); - this.btnChangeDomain.Click += new System.EventHandler(this.btnChangeDomain_Click); - this.ActiveDirectoryTree = new ADTree.ADtree(); - this.ActiveDirectoryTree.ADPathChanged += new ADTree.ADtree.ADPathChangedEventHandler(this.ActiveDirectoryTree_ADPathChanged); - this.SuspendLayout(); - // - //btnImport - // - this.btnImport.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); - this.btnImport.Location = new System.Drawing.Point(443, 338); - this.btnImport.Name = "btnImport"; - this.btnImport.Size = new System.Drawing.Size(75, 23); - this.btnImport.TabIndex = 4; - this.btnImport.Text = "&Import"; - this.btnImport.UseVisualStyleBackColor = true; - // - //txtDomain - // - this.txtDomain.Anchor = (System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right); - this.txtDomain.Location = new System.Drawing.Point(12, 25); - this.txtDomain.Name = "txtDomain"; - this.txtDomain.Size = new System.Drawing.Size(425, 20); - this.txtDomain.TabIndex = 1; - // - //lblDomain - // - this.lblDomain.AutoSize = true; - this.lblDomain.Location = new System.Drawing.Point(9, 9); - this.lblDomain.Name = "lblDomain"; - this.lblDomain.Size = new System.Drawing.Size(46, 13); - this.lblDomain.TabIndex = 0; - this.lblDomain.Text = "Domain:"; - // - //btnChangeDomain - // - this.btnChangeDomain.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right); - this.btnChangeDomain.Location = new System.Drawing.Point(443, 23); - this.btnChangeDomain.Name = "btnChangeDomain"; - this.btnChangeDomain.Size = new System.Drawing.Size(75, 23); - this.btnChangeDomain.TabIndex = 2; - this.btnChangeDomain.Text = "Change"; - this.btnChangeDomain.UseVisualStyleBackColor = true; - // - //ActiveDirectoryTree - // - this.ActiveDirectoryTree.ADPath = null; - this.ActiveDirectoryTree.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.ActiveDirectoryTree.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.ActiveDirectoryTree.Location = new System.Drawing.Point(12, 52); - this.ActiveDirectoryTree.Name = "ActiveDirectoryTree"; - this.ActiveDirectoryTree.SelectedNode = null; - this.ActiveDirectoryTree.Size = new System.Drawing.Size(506, 280); - this.ActiveDirectoryTree.TabIndex = 3; - // - //ADImport - // - this.AcceptButton = this.btnImport; - this.ClientSize = new System.Drawing.Size(530, 373); - this.Controls.Add(this.ActiveDirectoryTree); - this.Controls.Add(this.lblDomain); - this.Controls.Add(this.txtDomain); - this.Controls.Add(this.btnChangeDomain); - this.Controls.Add(this.btnImport); - this.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (8.25F), System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); - this.Icon = global::My.Resources.Resources.ActiveDirectory_Icon; - this.Name = "ActiveDirectoryImport"; - this.TabText = "Active Directory Import"; - this.Text = "Active Directory Import"; - this.ResumeLayout(false); - this.PerformLayout(); + { + #region Windows Form Designer generated code + private void InitializeComponent() + { + this.btnImport = new System.Windows.Forms.Button(); + this.Load += new System.EventHandler(ADImport_Load); + this.btnImport.Click += new System.EventHandler(this.btnImport_Click); + this.txtDomain = new System.Windows.Forms.TextBox(); + this.txtDomain.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(mRemoteNG.UI.Window.ActiveDirectoryImport.txtDomain_PreviewKeyDown); + this.txtDomain.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtDomain_KeyDown); + this.lblDomain = new System.Windows.Forms.Label(); + this.btnChangeDomain = new System.Windows.Forms.Button(); + this.btnChangeDomain.Click += new System.EventHandler(this.btnChangeDomain_Click); + this.ActiveDirectoryTree = new ADTree.ADtree(); + this.ActiveDirectoryTree.ADPathChanged += new ADTree.ADtree.ADPathChangedEventHandler(this.ActiveDirectoryTree_ADPathChanged); + this.SuspendLayout(); + // + //btnImport + // + this.btnImport.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); + this.btnImport.Location = new System.Drawing.Point(443, 338); + this.btnImport.Name = "btnImport"; + this.btnImport.Size = new System.Drawing.Size(75, 23); + this.btnImport.TabIndex = 4; + this.btnImport.Text = "&Import"; + this.btnImport.UseVisualStyleBackColor = true; + // + //txtDomain + // + this.txtDomain.Anchor = (System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right); + this.txtDomain.Location = new System.Drawing.Point(12, 25); + this.txtDomain.Name = "txtDomain"; + this.txtDomain.Size = new System.Drawing.Size(425, 20); + this.txtDomain.TabIndex = 1; + // + //lblDomain + // + this.lblDomain.AutoSize = true; + this.lblDomain.Location = new System.Drawing.Point(9, 9); + this.lblDomain.Name = "lblDomain"; + this.lblDomain.Size = new System.Drawing.Size(46, 13); + this.lblDomain.TabIndex = 0; + this.lblDomain.Text = "Domain:"; + // + //btnChangeDomain + // + this.btnChangeDomain.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right); + this.btnChangeDomain.Location = new System.Drawing.Point(443, 23); + this.btnChangeDomain.Name = "btnChangeDomain"; + this.btnChangeDomain.Size = new System.Drawing.Size(75, 23); + this.btnChangeDomain.TabIndex = 2; + this.btnChangeDomain.Text = "Change"; + this.btnChangeDomain.UseVisualStyleBackColor = true; + // + //ActiveDirectoryTree + // + this.ActiveDirectoryTree.ADPath = null; + this.ActiveDirectoryTree.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.ActiveDirectoryTree.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.ActiveDirectoryTree.Location = new System.Drawing.Point(12, 52); + this.ActiveDirectoryTree.Name = "ActiveDirectoryTree"; + this.ActiveDirectoryTree.SelectedNode = null; + this.ActiveDirectoryTree.Size = new System.Drawing.Size(506, 280); + this.ActiveDirectoryTree.TabIndex = 3; + // + //ADImport + // + this.AcceptButton = this.btnImport; + this.ClientSize = new System.Drawing.Size(530, 373); + this.Controls.Add(this.ActiveDirectoryTree); + this.Controls.Add(this.lblDomain); + this.Controls.Add(this.txtDomain); + this.Controls.Add(this.btnChangeDomain); + this.Controls.Add(this.btnImport); + this.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (8.25F), System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); + this.Icon = My.Resources.ActiveDirectory_Icon; + this.Name = "ActiveDirectoryImport"; + this.TabText = "Active Directory Import"; + this.Text = "Active Directory Import"; + this.ResumeLayout(false); + this.PerformLayout(); - } - private System.Windows.Forms.Button btnImport; - private System.Windows.Forms.TextBox txtDomain; - private System.Windows.Forms.Label lblDomain; - private System.Windows.Forms.Button btnChangeDomain; - private ADTree.ADtree ActiveDirectoryTree; -#endregion - } + } + private System.Windows.Forms.Button btnImport; + private System.Windows.Forms.TextBox txtDomain; + private System.Windows.Forms.Label lblDomain; + private System.Windows.Forms.Button btnChangeDomain; + private ADTree.ADtree ActiveDirectoryTree; + #endregion + } } diff --git a/mRemoteV1/CS/UI/UI.Window.Announcement.Designer.cs b/mRemoteV1/CS/UI/UI.Window.Announcement.Designer.cs index bff9eff25..02660472d 100644 --- a/mRemoteV1/CS/UI/UI.Window.Announcement.Designer.cs +++ b/mRemoteV1/CS/UI/UI.Window.Announcement.Designer.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,50 +8,42 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports -namespace mRemoteNG +namespace mRemoteNG.UI.Window { - namespace Wi + public partial class Announcement { - namespace Window - { - public partial class Announcement - { -#region Windows Form Designer generated code - internal System.Windows.Forms.WebBrowser webBrowser; + #region Windows Form Designer generated code + internal System.Windows.Forms.WebBrowser webBrowser; - private void InitializeComponent() - { - this.webBrowser = new System.Windows.Forms.WebBrowser(); - this.Load += new System.EventHandler(Announcement_Load); - this.SuspendLayout(); - // - //webBrowser - // - this.webBrowser.Dock = System.Windows.Forms.DockStyle.Fill; - this.webBrowser.Location = new System.Drawing.Point(0, 0); - this.webBrowser.MinimumSize = new System.Drawing.Size(20, 20); - this.webBrowser.Name = "webBrowser"; - this.webBrowser.Size = new System.Drawing.Size(549, 474); - this.webBrowser.TabIndex = 0; - // - //Announcement - // - this.ClientSize = new System.Drawing.Size(549, 474); - this.Controls.Add(this.webBrowser); - this.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (8.25F), System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); - this.Icon = global::My.Resources.Resources.News_Icon; - this.Name = "Announcement"; - this.TabText = "Announcement"; - this.Text = "Announcement"; - this.ResumeLayout(false); + private void InitializeComponent() + { + this.webBrowser = new System.Windows.Forms.WebBrowser(); + this.Load += new System.EventHandler(Announcement_Load); + this.SuspendLayout(); + // + //webBrowser + // + this.webBrowser.Dock = System.Windows.Forms.DockStyle.Fill; + this.webBrowser.Location = new System.Drawing.Point(0, 0); + this.webBrowser.MinimumSize = new System.Drawing.Size(20, 20); + this.webBrowser.Name = "webBrowser"; + this.webBrowser.Size = new System.Drawing.Size(549, 474); + this.webBrowser.TabIndex = 0; + // + //Announcement + // + this.ClientSize = new System.Drawing.Size(549, 474); + this.Controls.Add(this.webBrowser); + this.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (8.25F), System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); + this.Icon = My.Resources.News_Icon; + this.Name = "Announcement"; + this.TabText = "Announcement"; + this.Text = "Announcement"; + this.ResumeLayout(false); - } -#endregion - } } + #endregion } - } diff --git a/mRemoteV1/CS/UI/UI.Window.ComponentsCheck.cs b/mRemoteV1/CS/UI/UI.Window.ComponentsCheck.cs index bf7b0ae15..65f617ecf 100644 --- a/mRemoteV1/CS/UI/UI.Window.ComponentsCheck.cs +++ b/mRemoteV1/CS/UI/UI.Window.ComponentsCheck.cs @@ -429,7 +429,7 @@ namespace mRemoteNG.UI.Window this.Controls.Add(this.pnlChecks); this.Controls.Add(this.chkAlwaysShow); this.Controls.Add(this.btnCheckAgain); - this.Icon = global::My.Resources.Resources.ComponentsCheck_Icon; + this.Icon = My.Resources.ComponentsCheck_Icon; this.Name = "ComponentsCheck"; this.TabText = "Components Check"; this.Text = "Components Check"; @@ -527,14 +527,14 @@ namespace mRemoteNG.UI.Window throw (new Exception(string.Format("Found RDC Client version {0} but version {1} or higher is required.", rdpClient.Version, mRemoteNG.Connection.Protocol.RDP.Versions.RDC60))); } - pbCheck1.Image = global::My.Resources.Good_Symbol; + pbCheck1.Image = My.Resources.Good_Symbol; lblCheck1.ForeColor = Color.DarkOliveGreen; lblCheck1.Text = "RDP (Remote Desktop) " + My.Language.strCcCheckSucceeded; txtCheck1.Text = string.Format(My.Language.strCcRDPOK, rdpClient.Version); } catch (Exception ex) { - pbCheck1.Image = global::My.Resources.Bad_Symbol; + pbCheck1.Image = My.Resources.Bad_Symbol; lblCheck1.ForeColor = Color.Firebrick; lblCheck1.Text = "RDP (Remote Desktop) " + My.Language.strCcCheckFailed; txtCheck1.Text = My.Language.strCcRDPFailed; @@ -562,14 +562,14 @@ namespace mRemoteNG.UI.Window System.Windows.Forms.Application.DoEvents(); } - pbCheck2.Image = global::My.Resources.Good_Symbol; + pbCheck2.Image = My.Resources.Good_Symbol; lblCheck2.ForeColor = Color.DarkOliveGreen; lblCheck2.Text = "VNC (Virtual Network Computing) " + My.Language.strCcCheckSucceeded; txtCheck2.Text = string.Format(My.Language.strCcVNCOK, VNC.ProductVersion); } catch (Exception) { - pbCheck2.Image = global::My.Resources.Bad_Symbol; + pbCheck2.Image = My.Resources.Bad_Symbol; lblCheck2.ForeColor = Color.Firebrick; lblCheck2.Text = "VNC (Virtual Network Computing) " + My.Language.strCcCheckFailed; txtCheck2.Text = My.Language.strCcVNCFailed; @@ -595,14 +595,14 @@ namespace mRemoteNG.UI.Window if (File.Exists(pPath)) { - pbCheck3.Image = global::My.Resources.Good_Symbol; + pbCheck3.Image = My.Resources.Good_Symbol; lblCheck3.ForeColor = Color.DarkOliveGreen; lblCheck3.Text = "PuTTY (SSH/Telnet/Rlogin/RAW) " + My.Language.strCcCheckSucceeded; txtCheck3.Text = My.Language.strCcPuttyOK; } else { - pbCheck3.Image = global::My.Resources.Bad_Symbol; + pbCheck3.Image = My.Resources.Bad_Symbol; lblCheck3.ForeColor = Color.Firebrick; lblCheck3.Text = "PuTTY (SSH/Telnet/Rlogin/RAW) " + My.Language.strCcCheckFailed; txtCheck3.Text = My.Language.strCcPuttyFailed; @@ -626,14 +626,14 @@ namespace mRemoteNG.UI.Window System.Windows.Forms.Application.DoEvents(); } - pbCheck4.Image = global::My.Resources.Good_Symbol; + pbCheck4.Image = My.Resources.Good_Symbol; lblCheck4.ForeColor = Color.DarkOliveGreen; lblCheck4.Text = "ICA (Citrix ICA) " + My.Language.strCcCheckSucceeded; txtCheck4.Text = string.Format(My.Language.strCcICAOK, ICA.Version); } catch (Exception ex) { - pbCheck4.Image = global::My.Resources.Bad_Symbol; + pbCheck4.Image = My.Resources.Bad_Symbol; lblCheck4.ForeColor = Color.Firebrick; lblCheck4.Text = "ICA (Citrix ICA) " + My.Language.strCcCheckFailed; txtCheck4.Text = My.Language.strCcICAFailed; @@ -669,14 +669,14 @@ namespace mRemoteNG.UI.Window if (GeckoBad == false) { - pbCheck5.Image = global::My.Resources.Good_Symbol; + pbCheck5.Image = My.Resources.Good_Symbol; lblCheck5.ForeColor = Color.DarkOliveGreen; lblCheck5.Text = "Gecko (Firefox) Rendering Engine (HTTP/S) " + My.Language.strCcCheckSucceeded; txtCheck5.Text = My.Language.strCcGeckoOK; } else { - pbCheck5.Image = global::My.Resources.Bad_Symbol; + pbCheck5.Image = My.Resources.Bad_Symbol; lblCheck5.ForeColor = Color.Firebrick; lblCheck5.Text = "Gecko (Firefox) Rendering Engine (HTTP/S) " + My.Language.strCcCheckFailed; txtCheck5.Text = My.Language.strCcGeckoFailed; @@ -692,14 +692,14 @@ namespace mRemoteNG.UI.Window { eol = new EOLWTSCOM.WTSCOM(); - pbCheck6.Image = global::My.Resources.Good_Symbol; + pbCheck6.Image = My.Resources.Good_Symbol; lblCheck6.ForeColor = Color.DarkOliveGreen; lblCheck6.Text = "(RDP) Sessions " + My.Language.strCcCheckSucceeded; txtCheck6.Text = My.Language.strCcEOLOK; } catch (Exception ex) { - pbCheck6.Image = global::My.Resources.Bad_Symbol; + pbCheck6.Image = My.Resources.Bad_Symbol; lblCheck6.ForeColor = Color.Firebrick; lblCheck6.Text = "(RDP) Sessions " + My.Language.strCcCheckFailed; txtCheck6.Text = My.Language.strCcEOLFailed; diff --git a/mRemoteV1/CS/UI/UI.Window.Config.cs b/mRemoteV1/CS/UI/UI.Window.Config.cs index e93b85f7d..65a882a8a 100644 --- a/mRemoteV1/CS/UI/UI.Window.Config.cs +++ b/mRemoteV1/CS/UI/UI.Window.Config.cs @@ -111,7 +111,7 @@ namespace mRemoteNG.UI.Window //btnShowInheritance // this.btnShowInheritance.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btnShowInheritance.Image = global::My.Resources.Resources.Inheritance; + this.btnShowInheritance.Image = My.Resources.Inheritance; this.btnShowInheritance.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnShowInheritance.Name = "btnShowInheritance"; this.btnShowInheritance.Size = new System.Drawing.Size(23, 22); @@ -120,7 +120,7 @@ namespace mRemoteNG.UI.Window //btnShowDefaultInheritance // this.btnShowDefaultInheritance.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btnShowDefaultInheritance.Image = global::My.Resources.Resources.Inheritance_Default; + this.btnShowDefaultInheritance.Image = My.Resources.Inheritance_Default; this.btnShowDefaultInheritance.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnShowDefaultInheritance.Name = "btnShowDefaultInheritance"; this.btnShowDefaultInheritance.Size = new System.Drawing.Size(23, 22); @@ -131,7 +131,7 @@ namespace mRemoteNG.UI.Window this.btnShowProperties.Checked = true; this.btnShowProperties.CheckState = System.Windows.Forms.CheckState.Checked; this.btnShowProperties.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btnShowProperties.Image = global::My.Resources.Resources.Properties; + this.btnShowProperties.Image = My.Resources.Properties; this.btnShowProperties.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnShowProperties.Name = "btnShowProperties"; this.btnShowProperties.Size = new System.Drawing.Size(23, 22); @@ -140,7 +140,7 @@ namespace mRemoteNG.UI.Window //btnShowDefaultProperties // this.btnShowDefaultProperties.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btnShowDefaultProperties.Image = global::My.Resources.Resources.Properties_Default; + this.btnShowDefaultProperties.Image = My.Resources.Properties_Default; this.btnShowDefaultProperties.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnShowDefaultProperties.Name = "btnShowDefaultProperties"; this.btnShowDefaultProperties.Size = new System.Drawing.Size(23, 22); @@ -159,7 +159,7 @@ namespace mRemoteNG.UI.Window // this.btnHostStatus.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.btnHostStatus.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.btnHostStatus.Image = global::My.Resources.Resources.HostStatus_Check; + this.btnHostStatus.Image = My.Resources.HostStatus_Check; this.btnHostStatus.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnHostStatus.Name = "btnHostStatus"; this.btnHostStatus.Size = new System.Drawing.Size(23, 22); @@ -177,7 +177,7 @@ namespace mRemoteNG.UI.Window this.Controls.Add(this.pGrid); this.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (8.25F), System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); this.HideOnClose = true; - this.Icon = global::My.Resources.Resources.Config_Icon; + this.Icon = My.Resources.Config_Icon; this.Name = "Config"; this.TabText = "Config"; this.Text = "Config"; @@ -1800,14 +1800,14 @@ namespace mRemoteNG.UI.Window { if ((string) this.btnHostStatus.Tag == "checking") { - ShowStatusImage(global::My.Resources.HostStatus_On); + ShowStatusImage(My.Resources.HostStatus_On); } } else { if ((string) this.btnHostStatus.Tag == "checking") { - ShowStatusImage(global::My.Resources.HostStatus_Off); + ShowStatusImage(My.Resources.HostStatus_Off); } } } @@ -1815,7 +1815,7 @@ namespace mRemoteNG.UI.Window { if ((string) this.btnHostStatus.Tag == "checking") { - ShowStatusImage(global::My.Resources.HostStatus_Off); + ShowStatusImage(My.Resources.HostStatus_Off); } } } @@ -1839,7 +1839,7 @@ namespace mRemoteNG.UI.Window { try { - this.btnHostStatus.Image = global::My.Resources.HostStatus_Check; + this.btnHostStatus.Image = My.Resources.HostStatus_Check; // To check status, ConnectionInfo must be an mRemoteNG.Connection.Info that is not a container if (ConnectionInfo is mRemoteNG.Connection.Info) diff --git a/mRemoteV1/CS/UI/UI.Window.Connection.cs b/mRemoteV1/CS/UI/UI.Window.Connection.cs index 434697939..6bcf6999c 100644 --- a/mRemoteV1/CS/UI/UI.Window.Connection.cs +++ b/mRemoteV1/CS/UI/UI.Window.Connection.cs @@ -124,14 +124,14 @@ namespace mRemoteNG.UI.Window // //cmenTabFullscreen // - this.cmenTabFullscreen.Image = global::My.Resources.Resources.arrow_out; + this.cmenTabFullscreen.Image = My.Resources.arrow_out; this.cmenTabFullscreen.Name = "cmenTabFullscreen"; this.cmenTabFullscreen.Size = new System.Drawing.Size(201, 22); this.cmenTabFullscreen.Text = "Fullscreen (RDP)"; // //cmenTabSmartSize // - this.cmenTabSmartSize.Image = global::My.Resources.Resources.SmartSize; + this.cmenTabSmartSize.Image = My.Resources.SmartSize; this.cmenTabSmartSize.Name = "cmenTabSmartSize"; this.cmenTabSmartSize.Size = new System.Drawing.Size(201, 22); this.cmenTabSmartSize.Text = "SmartSize (RDP/VNC)"; @@ -149,14 +149,14 @@ namespace mRemoteNG.UI.Window // //cmenTabScreenshot // - this.cmenTabScreenshot.Image = global::My.Resources.Resources.Screenshot_Add; + this.cmenTabScreenshot.Image = My.Resources.Screenshot_Add; this.cmenTabScreenshot.Name = "cmenTabScreenshot"; this.cmenTabScreenshot.Size = new System.Drawing.Size(201, 22); this.cmenTabScreenshot.Text = "Screenshot"; // //cmenTabStartChat // - this.cmenTabStartChat.Image = global::My.Resources.Resources.Chat; + this.cmenTabStartChat.Image = My.Resources.Chat; this.cmenTabStartChat.Name = "cmenTabStartChat"; this.cmenTabStartChat.Size = new System.Drawing.Size(201, 22); this.cmenTabStartChat.Text = "Start Chat (VNC)"; @@ -164,14 +164,14 @@ namespace mRemoteNG.UI.Window // //cmenTabTransferFile // - this.cmenTabTransferFile.Image = global::My.Resources.Resources.SSHTransfer; + this.cmenTabTransferFile.Image = My.Resources.SSHTransfer; this.cmenTabTransferFile.Name = "cmenTabTransferFile"; this.cmenTabTransferFile.Size = new System.Drawing.Size(201, 22); this.cmenTabTransferFile.Text = "Transfer File (SSH)"; // //cmenTabRefreshScreen // - this.cmenTabRefreshScreen.Image = global::My.Resources.Resources.Refresh; + this.cmenTabRefreshScreen.Image = My.Resources.Refresh; this.cmenTabRefreshScreen.Name = "cmenTabRefreshScreen"; this.cmenTabRefreshScreen.Size = new System.Drawing.Size(201, 22); this.cmenTabRefreshScreen.Text = "Refresh Screen (VNC)"; @@ -179,7 +179,7 @@ namespace mRemoteNG.UI.Window //cmenTabSendSpecialKeys // this.cmenTabSendSpecialKeys.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {this.cmenTabSendSpecialKeysCtrlAltDel, this.cmenTabSendSpecialKeysCtrlEsc}); - this.cmenTabSendSpecialKeys.Image = global::My.Resources.Resources.Keyboard; + this.cmenTabSendSpecialKeys.Image = My.Resources.Keyboard; this.cmenTabSendSpecialKeys.Name = "cmenTabSendSpecialKeys"; this.cmenTabSendSpecialKeys.Size = new System.Drawing.Size(201, 22); this.cmenTabSendSpecialKeys.Text = "Send special Keys (VNC)"; @@ -210,7 +210,7 @@ namespace mRemoteNG.UI.Window // //cmenTabRenameTab // - this.cmenTabRenameTab.Image = global::My.Resources.Resources.Rename; + this.cmenTabRenameTab.Image = My.Resources.Rename; this.cmenTabRenameTab.Name = "cmenTabRenameTab"; this.cmenTabRenameTab.Size = new System.Drawing.Size(201, 22); this.cmenTabRenameTab.Text = "Rename Tab"; @@ -230,7 +230,7 @@ namespace mRemoteNG.UI.Window // //cmenTabDisconnect // - this.cmenTabDisconnect.Image = global::My.Resources.Resources.Pause; + this.cmenTabDisconnect.Image = My.Resources.Pause; this.cmenTabDisconnect.Name = "cmenTabDisconnect"; this.cmenTabDisconnect.Size = new System.Drawing.Size(201, 22); this.cmenTabDisconnect.Text = "Disconnect"; @@ -246,7 +246,7 @@ namespace mRemoteNG.UI.Window this.ClientSize = new System.Drawing.Size(632, 453); this.Controls.Add(this.TabController); this.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (8.25F), System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); - this.Icon = global::My.Resources.Resources.mRemote_Icon; + this.Icon = My.Resources.mRemote_Icon; this.Name = "Connection"; this.TabText = "UI.Window.Connection"; this.Text = "UI.Window.Connection"; @@ -424,10 +424,10 @@ namespace mRemoteNG.UI.Window private void Connection_FormClosing(object sender, FormClosingEventArgs e) { if (!frmMain.Default.IsClosing && - ((My.Settings.Default.ConfirmCloseConnection == ConfirmClose.All & TabController.TabPages.Count > 0) || - (My.Settings.Default.ConfirmCloseConnection == ConfirmClose.Multiple & TabController.TabPages.Count > 1))) + ((My.Settings.Default.ConfirmCloseConnection == (int)ConfirmClose.All & TabController.TabPages.Count > 0) || + (My.Settings.Default.ConfirmCloseConnection == (int)ConfirmClose.Multiple & TabController.TabPages.Count > 1))) { - DialogResult result = cTaskDialog.MessageBox(this, (new Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase()).Info.ProductName, string.Format(My.Language.strConfirmCloseConnectionPanelMainInstruction, this.Text), "", "", "", My.Language.strCheckboxDoNotShowThisMessageAgain, eTaskDialogButtons.YesNo, eSysIcons.Question, null); + DialogResult result = cTaskDialog.MessageBox(this, (new Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase()).Info.ProductName, string.Format(My.Language.strConfirmCloseConnectionPanelMainInstruction, this.Text), "", "", "", My.Language.strCheckboxDoNotShowThisMessageAgain, eTaskDialogButtons.YesNo, eSysIcons.Question, eSysIcons.Question); if (cTaskDialog.VerificationChecked) { My.Settings.Default.ConfirmCloseConnection--; @@ -445,7 +445,7 @@ namespace mRemoteNG.UI.Window { if (tabP.Tag != null) { - mRemoteNG.Connection.InterfaceControl interfaceControl = tabP.Tag; + mRemoteNG.Connection.InterfaceControl interfaceControl = (mRemoteNG.Connection.InterfaceControl)tabP.Tag; interfaceControl.Protocol.Close(); } } @@ -509,9 +509,9 @@ namespace mRemoteNG.UI.Window private void CloseConnectionTab() { Crownwood.Magic.Controls.TabPage selectedTab = TabController.SelectedTab; - if (My.Settings.Default.ConfirmCloseConnection == ConfirmClose.All) + if (My.Settings.Default.ConfirmCloseConnection == (int)ConfirmClose.All) { - DialogResult result = cTaskDialog.MessageBox(this, (new Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase()).Info.ProductName, string.Format(My.Language.strConfirmCloseConnectionMainInstruction, selectedTab.Title), "", "", "", My.Language.strCheckboxDoNotShowThisMessageAgain, eTaskDialogButtons.YesNo, eSysIcons.Question, null); + DialogResult result = cTaskDialog.MessageBox(this, (new Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase()).Info.ProductName, string.Format(My.Language.strConfirmCloseConnectionMainInstruction, selectedTab.Title), "", "", "", My.Language.strCheckboxDoNotShowThisMessageAgain, eTaskDialogButtons.YesNo, eSysIcons.Question, eSysIcons.Question); if (cTaskDialog.VerificationChecked) { My.Settings.Default.ConfirmCloseConnection--; @@ -526,7 +526,7 @@ namespace mRemoteNG.UI.Window { if (selectedTab.Tag != null) { - mRemoteNG.Connection.InterfaceControl interfaceControl = selectedTab.Tag; + mRemoteNG.Connection.InterfaceControl interfaceControl = (mRemoteNG.Connection.InterfaceControl)selectedTab.Tag; interfaceControl.Protocol.Close(); } else @@ -556,7 +556,7 @@ namespace mRemoteNG.UI.Window { if (e.Data.GetDataPresent("System.Windows.Forms.TreeNode", true)) { - App.Runtime.OpenConnection(e.Data.GetData("System.Windows.Forms.TreeNode", true).Tag, this, mRemoteNG.Connection.Info.Force.DoNotJump); + App.Runtime.OpenConnection((mRemoteNG.Connection.Info)((System.Windows.Forms.TreeNode)e.Data.GetData("System.Windows.Forms.TreeNode", true)).Tag, this, mRemoteNG.Connection.Info.Force.DoNotJump); } } @@ -584,8 +584,8 @@ namespace mRemoteNG.UI.Window { return; } - - mRemoteNG.Connection.InterfaceControl IC = this.TabController.SelectedTab.Tag; + + mRemoteNG.Connection.InterfaceControl IC = (mRemoteNG.Connection.InterfaceControl)this.TabController.SelectedTab.Tag; if (IC == null) { @@ -594,7 +594,7 @@ namespace mRemoteNG.UI.Window if (IC.Info.Protocol == mRemoteNG.Connection.Protocol.Protocols.RDP) { - mRemoteNG.Connection.Protocol.RDP rdp = IC.Protocol; + mRemoteNG.Connection.Protocol.RDP rdp = (mRemoteNG.Connection.Protocol.RDP)IC.Protocol; cmenTabFullscreen.Enabled = true; cmenTabFullscreen.Checked = rdp.Fullscreen; @@ -617,8 +617,8 @@ namespace mRemoteNG.UI.Window this.cmenTabStartChat.Enabled = true; this.cmenTabRefreshScreen.Enabled = true; this.cmenTabTransferFile.Enabled = false; - - mRemoteNG.Connection.Protocol.VNC vnc = IC.Protocol; + + mRemoteNG.Connection.Protocol.VNC vnc = (mRemoteNG.Connection.Protocol.VNC)IC.Protocol; this.cmenTabSmartSize.Checked = vnc.SmartSize; this.cmenTabViewOnly.Checked = vnc.ViewOnly; } @@ -657,7 +657,7 @@ namespace mRemoteNG.UI.Window { cmenTab.Close(); Application.DoEvents(); - Windows.screenshotForm.AddScreenshot(Tools.Misc.TakeScreenshot(this)); + Runtime.Windows.screenshotForm.AddScreenshot(Tools.Misc.TakeScreenshot(this)); } private void cmenTabSmartSize_Click(System.Object sender, System.EventArgs e) @@ -712,7 +712,7 @@ namespace mRemoteNG.UI.Window private void cmenTabExternalAppsEntry_Click(object sender, System.EventArgs e) { - StartExternalApp(sender.Tag); + StartExternalApp((Tools.ExternalTool)((System.Windows.Forms.Control)sender).Tag); } private void cmenTabDisconnect_Click(System.Object sender, System.EventArgs e) @@ -740,16 +740,16 @@ namespace mRemoteNG.UI.Window { if (this.TabController.SelectedTab.Tag is mRemoteNG.Connection.InterfaceControl) { - mRemoteNG.Connection.InterfaceControl IC = this.TabController.SelectedTab.Tag; + mRemoteNG.Connection.InterfaceControl IC = (mRemoteNG.Connection.InterfaceControl)this.TabController.SelectedTab.Tag; if (IC.Protocol is mRemoteNG.Connection.Protocol.RDP) { - mRemoteNG.Connection.Protocol.RDP rdp = IC.Protocol; + mRemoteNG.Connection.Protocol.RDP rdp = (mRemoteNG.Connection.Protocol.RDP)IC.Protocol; rdp.ToggleSmartSize(); } else if (IC.Protocol is mRemoteNG.Connection.Protocol.VNC) { - mRemoteNG.Connection.Protocol.VNC vnc = IC.Protocol; + mRemoteNG.Connection.Protocol.VNC vnc = (mRemoteNG.Connection.Protocol.VNC)IC.Protocol; vnc.ToggleSmartSize(); } } @@ -769,7 +769,7 @@ namespace mRemoteNG.UI.Window { if (this.TabController.SelectedTab.Tag is mRemoteNG.Connection.InterfaceControl) { - mRemoteNG.Connection.InterfaceControl IC = this.TabController.SelectedTab.Tag; + mRemoteNG.Connection.InterfaceControl IC = (mRemoteNG.Connection.InterfaceControl)this.TabController.SelectedTab.Tag; if (IC.Info.Protocol == mRemoteNG.Connection.Protocol.Protocols.SSH1 | IC.Info.Protocol == mRemoteNG.Connection.Protocol.Protocols.SSH2) { @@ -792,17 +792,17 @@ namespace mRemoteNG.UI.Window { try { - - mRemoteNG.Connection.InterfaceControl IC = this.TabController.SelectedTab.Tag; - - Windows.Show(Type.SSHTransfer); + + mRemoteNG.Connection.InterfaceControl IC = (mRemoteNG.Connection.InterfaceControl)this.TabController.SelectedTab.Tag; + + Runtime.Windows.Show(Type.SSHTransfer); mRemoteNG.Connection.Info conI = IC.Info; - - Windows.sshtransferForm.Hostname = conI.Hostname; - Windows.sshtransferForm.Username = conI.Username; - Windows.sshtransferForm.Password = conI.Password; - Windows.sshtransferForm.Port = System.Convert.ToString(conI.Port); + + Runtime.Windows.sshtransferForm.Hostname = conI.Hostname; + Runtime.Windows.sshtransferForm.Username = conI.Username; + Runtime.Windows.sshtransferForm.Password = conI.Password; + Runtime.Windows.sshtransferForm.Port = System.Convert.ToString(conI.Port); } catch (Exception ex) { @@ -814,8 +814,8 @@ namespace mRemoteNG.UI.Window { try { - mRemoteNG.Connection.InterfaceControl IC = this.TabController.SelectedTab.Tag; - mRemoteNG.Connection.Protocol.VNC vnc = IC.Protocol; + mRemoteNG.Connection.InterfaceControl IC = (mRemoteNG.Connection.InterfaceControl)this.TabController.SelectedTab.Tag; + mRemoteNG.Connection.Protocol.VNC vnc = (mRemoteNG.Connection.Protocol.VNC)IC.Protocol; vnc.StartFileTransfer(); } catch (Exception ex) @@ -832,13 +832,13 @@ namespace mRemoteNG.UI.Window { if (this.TabController.SelectedTab.Tag is mRemoteNG.Connection.InterfaceControl) { - mRemoteNG.Connection.InterfaceControl IC = this.TabController.SelectedTab.Tag; + mRemoteNG.Connection.InterfaceControl IC = (mRemoteNG.Connection.InterfaceControl)this.TabController.SelectedTab.Tag; if (IC.Protocol is mRemoteNG.Connection.Protocol.VNC) { cmenTabViewOnly.Checked = !cmenTabViewOnly.Checked; - - mRemoteNG.Connection.Protocol.VNC vnc = IC.Protocol; + + mRemoteNG.Connection.Protocol.VNC vnc = (mRemoteNG.Connection.Protocol.VNC)IC.Protocol; vnc.ToggleViewOnly(); } } @@ -858,11 +858,11 @@ namespace mRemoteNG.UI.Window { if (this.TabController.SelectedTab.Tag is mRemoteNG.Connection.InterfaceControl) { - mRemoteNG.Connection.InterfaceControl IC = this.TabController.SelectedTab.Tag; + mRemoteNG.Connection.InterfaceControl IC = (mRemoteNG.Connection.InterfaceControl)this.TabController.SelectedTab.Tag; if (IC.Protocol is mRemoteNG.Connection.Protocol.VNC) { - mRemoteNG.Connection.Protocol.VNC vnc = IC.Protocol; + mRemoteNG.Connection.Protocol.VNC vnc = (mRemoteNG.Connection.Protocol.VNC)IC.Protocol; vnc.StartChat(); } } @@ -882,11 +882,11 @@ namespace mRemoteNG.UI.Window { if (this.TabController.SelectedTab.Tag is mRemoteNG.Connection.InterfaceControl) { - mRemoteNG.Connection.InterfaceControl IC = this.TabController.SelectedTab.Tag; + mRemoteNG.Connection.InterfaceControl IC = (mRemoteNG.Connection.InterfaceControl)this.TabController.SelectedTab.Tag; if (IC.Protocol is mRemoteNG.Connection.Protocol.VNC) { - mRemoteNG.Connection.Protocol.VNC vnc = IC.Protocol; + mRemoteNG.Connection.Protocol.VNC vnc = (mRemoteNG.Connection.Protocol.VNC)IC.Protocol; vnc.RefreshScreen(); } } @@ -906,11 +906,11 @@ namespace mRemoteNG.UI.Window { if (this.TabController.SelectedTab.Tag is mRemoteNG.Connection.InterfaceControl) { - mRemoteNG.Connection.InterfaceControl IC = this.TabController.SelectedTab.Tag; + mRemoteNG.Connection.InterfaceControl IC = (mRemoteNG.Connection.InterfaceControl)this.TabController.SelectedTab.Tag; if (IC.Protocol is mRemoteNG.Connection.Protocol.VNC) { - mRemoteNG.Connection.Protocol.VNC vnc = IC.Protocol; + mRemoteNG.Connection.Protocol.VNC vnc = (mRemoteNG.Connection.Protocol.VNC)IC.Protocol; vnc.SendSpecialKeys(Keys); } } @@ -930,11 +930,11 @@ namespace mRemoteNG.UI.Window { if (this.TabController.SelectedTab.Tag is mRemoteNG.Connection.InterfaceControl) { - mRemoteNG.Connection.InterfaceControl IC = this.TabController.SelectedTab.Tag; + mRemoteNG.Connection.InterfaceControl IC = (mRemoteNG.Connection.InterfaceControl)this.TabController.SelectedTab.Tag; if (IC.Protocol is mRemoteNG.Connection.Protocol.RDP) { - mRemoteNG.Connection.Protocol.RDP rdp = IC.Protocol; + mRemoteNG.Connection.Protocol.RDP rdp = (mRemoteNG.Connection.Protocol.RDP)IC.Protocol; rdp.ToggleFullscreen(); } } @@ -954,11 +954,11 @@ namespace mRemoteNG.UI.Window { if (this.TabController.SelectedTab.Tag is mRemoteNG.Connection.InterfaceControl) { - mRemoteNG.Connection.InterfaceControl objInterfaceControl = this.TabController.SelectedTab.Tag; + mRemoteNG.Connection.InterfaceControl objInterfaceControl = (mRemoteNG.Connection.InterfaceControl)this.TabController.SelectedTab.Tag; if (objInterfaceControl.Protocol is mRemoteNG.Connection.Protocol.PuttyBase) { - mRemoteNG.Connection.Protocol.PuttyBase objPuttyBase = objInterfaceControl.Protocol; + mRemoteNG.Connection.Protocol.PuttyBase objPuttyBase = (mRemoteNG.Connection.Protocol.PuttyBase)objInterfaceControl.Protocol; objPuttyBase.ShowSettingsDialog(); } @@ -1006,7 +1006,7 @@ namespace mRemoteNG.UI.Window { if (this.TabController.SelectedTab.Tag is mRemoteNG.Connection.InterfaceControl) { - mRemoteNG.Connection.InterfaceControl IC = this.TabController.SelectedTab.Tag; + mRemoteNG.Connection.InterfaceControl IC = (mRemoteNG.Connection.InterfaceControl)this.TabController.SelectedTab.Tag; ExtA.Start(IC.Info); } @@ -1027,7 +1027,7 @@ namespace mRemoteNG.UI.Window { if (this.TabController.SelectedTab.Tag is mRemoteNG.Connection.InterfaceControl) { - mRemoteNG.Connection.InterfaceControl IC = this.TabController.SelectedTab.Tag; + mRemoteNG.Connection.InterfaceControl IC = (mRemoteNG.Connection.InterfaceControl)this.TabController.SelectedTab.Tag; IC.Protocol.Close(); } @@ -1047,7 +1047,7 @@ namespace mRemoteNG.UI.Window { if (this.TabController.SelectedTab.Tag is mRemoteNG.Connection.InterfaceControl) { - mRemoteNG.Connection.InterfaceControl IC = this.TabController.SelectedTab.Tag; + mRemoteNG.Connection.InterfaceControl IC = (mRemoteNG.Connection.InterfaceControl)this.TabController.SelectedTab.Tag; App.Runtime.OpenConnection(IC.Info, mRemoteNG.Connection.Info.Force.DoNotJump); _ignoreChangeSelectedTabClick = false; @@ -1068,7 +1068,7 @@ namespace mRemoteNG.UI.Window { if (this.TabController.SelectedTab.Tag is mRemoteNG.Connection.InterfaceControl) { - mRemoteNG.Connection.InterfaceControl IC = this.TabController.SelectedTab.Tag; + mRemoteNG.Connection.InterfaceControl IC = (mRemoteNG.Connection.InterfaceControl)this.TabController.SelectedTab.Tag; mRemoteNG.Connection.Info conI = IC.Info; IC.Protocol.Close(); @@ -1099,17 +1099,17 @@ namespace mRemoteNG.UI.Window Runtime.MessageCollector.AddMessage(Messages.MessageClass.ErrorMsg, "RenameTab (UI.Window.Connections) failed" + Constants.vbNewLine + ex.Message, true); } } -#endregion + #endregion -#region Protocols + #region Protocols public void Prot_Event_Closed(object sender) { - mRemoteNG.Connection.Protocol.Base Prot = sender; + mRemoteNG.Connection.Protocol.Base Prot = (mRemoteNG.Connection.Protocol.Base)sender; CloseTab((Crownwood.Magic.Controls.TabPage) Prot.InterfaceControl.Parent); } -#endregion + #endregion -#region Tabs + #region Tabs private delegate void CloseTabCB(Crownwood.Magic.Controls.TabPage TabToBeClosed); private void CloseTab(Crownwood.Magic.Controls.TabPage TabToBeClosed) { @@ -1187,7 +1187,7 @@ namespace mRemoteNG.UI.Window if (elapsedTicks > SystemInformation.DoubleClickTime || !_doubleClickRectangle.Contains(MousePosition)) { _firstClickTicks = currentTicks; - _doubleClickRectangle = new Rectangle(MousePosition.X - ((double) SystemInformation.DoubleClickSize.Width / 2), MousePosition.Y - ((double) SystemInformation.DoubleClickSize.Height / 2), SystemInformation.DoubleClickSize.Width, SystemInformation.DoubleClickSize.Height); + _doubleClickRectangle = new Rectangle(MousePosition.X - (SystemInformation.DoubleClickSize.Width / 2), MousePosition.Y - (SystemInformation.DoubleClickSize.Height / 2), SystemInformation.DoubleClickSize.Width, SystemInformation.DoubleClickSize.Height); FocusIC(); } else @@ -1219,7 +1219,7 @@ namespace mRemoteNG.UI.Window { if (this.TabController.SelectedTab.Tag is mRemoteNG.Connection.InterfaceControl) { - mRemoteNG.Connection.InterfaceControl IC = this.TabController.SelectedTab.Tag; + mRemoteNG.Connection.InterfaceControl IC = (mRemoteNG.Connection.InterfaceControl)this.TabController.SelectedTab.Tag; IC.Protocol.Focus(); } } @@ -1238,7 +1238,7 @@ namespace mRemoteNG.UI.Window { if (this.TabController.SelectedTab.Tag is mRemoteNG.Connection.InterfaceControl) { - mRemoteNG.Connection.InterfaceControl IC = this.TabController.SelectedTab.Tag; + mRemoteNG.Connection.InterfaceControl IC = (mRemoteNG.Connection.InterfaceControl)this.TabController.SelectedTab.Tag; if (IC.Info.Protocol == mRemoteNG.Connection.Protocol.Protocols.VNC) { diff --git a/mRemoteV1/CS/UI/UI.Window.ErrorsAndInfos.cs b/mRemoteV1/CS/UI/UI.Window.ErrorsAndInfos.cs index 155295854..5cbf13b79 100644 --- a/mRemoteV1/CS/UI/UI.Window.ErrorsAndInfos.cs +++ b/mRemoteV1/CS/UI/UI.Window.ErrorsAndInfos.cs @@ -136,7 +136,7 @@ namespace mRemoteNG.UI.Window // //cMenMCCopy // - this.cMenMCCopy.Image = global::My.Resources.Resources.Copy; + this.cMenMCCopy.Image = My.Resources.Copy; this.cMenMCCopy.Name = "cMenMCCopy"; this.cMenMCCopy.ShortcutKeys = (System.Windows.Forms.Keys) (System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C); this.cMenMCCopy.Size = new System.Drawing.Size(152, 22); @@ -144,7 +144,7 @@ namespace mRemoteNG.UI.Window // //cMenMCDelete // - this.cMenMCDelete.Image = global::My.Resources.Resources.Delete; + this.cMenMCDelete.Image = My.Resources.Delete; this.cMenMCDelete.Name = "cMenMCDelete"; this.cMenMCDelete.ShortcutKeys = System.Windows.Forms.Keys.Delete; this.cMenMCDelete.Size = new System.Drawing.Size(152, 22); @@ -163,7 +163,7 @@ namespace mRemoteNG.UI.Window this.Controls.Add(this.pnlErrorMsg); this.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (8.25F), System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); this.HideOnClose = true; - this.Icon = global::My.Resources.Resources.Info_Icon; + this.Icon = My.Resources.Info_Icon; this.Name = "ErrorsAndInfos"; this.TabText = global::mRemoteNG.My.Language.strMenuNotifications; this.Text = "Notifications"; @@ -221,9 +221,9 @@ namespace mRemoteNG.UI.Window #region Private Methods private void FillImageList() { - this.imgListMC.Images.Add(global::My.Resources.InformationSmall); - this.imgListMC.Images.Add(global::My.Resources.WarningSmall); - this.imgListMC.Images.Add(global::My.Resources.ErrorSmall); + this.imgListMC.Images.Add(My.Resources.InformationSmall); + this.imgListMC.Images.Add(My.Resources.WarningSmall); + this.imgListMC.Images.Add(My.Resources.ErrorSmall); } @@ -351,21 +351,21 @@ namespace mRemoteNG.UI.Window } ListViewItem sItem = this.lvErrorCollector.SelectedItems[0]; - Messages.Message eMsg = sItem.Tag; + Messages.Message eMsg = (Messages.Message)sItem.Tag; switch (eMsg.MsgClass) { case Messages.MessageClass.InformationMsg: - this.pbError.Image = global::My.Resources.Information; + this.pbError.Image = My.Resources.Information; this.pnlErrorMsg.BackColor = Color.LightSteelBlue; this.txtMsgText.BackColor = Color.LightSteelBlue; break; case Messages.MessageClass.WarningMsg: - this.pbError.Image = global::My.Resources.Warning; + this.pbError.Image = My.Resources.Warning; this.pnlErrorMsg.BackColor = Color.Gold; this.txtMsgText.BackColor = Color.Gold; break; case Messages.MessageClass.ErrorMsg: - this.pbError.Image = global::My.Resources._Error; + this.pbError.Image = My.Resources._Error; this.pnlErrorMsg.BackColor = Color.IndianRed; this.txtMsgText.BackColor = Color.IndianRed; break; @@ -382,7 +382,7 @@ namespace mRemoteNG.UI.Window private void cMenMC_Opening(System.Object sender, System.ComponentModel.CancelEventArgs e) { - if (lvErrorCollector.Items.Count) + if (lvErrorCollector.Items.Count > 0) { cMenMCCopy.Enabled = true; cMenMCDelete.Enabled = true; @@ -393,7 +393,7 @@ namespace mRemoteNG.UI.Window cMenMCDelete.Enabled = false; } - if (lvErrorCollector.SelectedItems.Count) + if (lvErrorCollector.SelectedItems.Count > 0) { cMenMCCopy.Text = My.Language.strMenuCopy; cMenMCDelete.Text = My.Language.strMenuNotificationsDelete; @@ -415,7 +415,7 @@ namespace mRemoteNG.UI.Window try { IEnumerable items = default(IEnumerable); - if (lvErrorCollector.SelectedItems.Count) + if (lvErrorCollector.SelectedItems.Count > 0) { items = lvErrorCollector.SelectedItems; } @@ -467,7 +467,7 @@ namespace mRemoteNG.UI.Window { lvErrorCollector.BeginUpdate(); - if (lvErrorCollector.SelectedItems.Count) + if (lvErrorCollector.SelectedItems.Count > 0) { foreach (ListViewItem item in lvErrorCollector.SelectedItems) { diff --git a/mRemoteV1/CS/UI/UI.Window.ExternalTools.Designer.cs b/mRemoteV1/CS/UI/UI.Window.ExternalTools.Designer.cs index 92f009a01..14f5e7095 100644 --- a/mRemoteV1/CS/UI/UI.Window.ExternalTools.Designer.cs +++ b/mRemoteV1/CS/UI/UI.Window.ExternalTools.Designer.cs @@ -153,7 +153,7 @@ namespace mRemoteNG.UI.Window // //NewToolMenuItem // - this.NewToolMenuItem.Image = global::My.Resources.Resources.ExtApp_Add; + this.NewToolMenuItem.Image = My.Resources.ExtApp_Add; this.NewToolMenuItem.Name = "NewToolMenuItem"; this.NewToolMenuItem.ShortcutKeys = (System.Windows.Forms.Keys) (System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.F4); this.NewToolMenuItem.Size = new System.Drawing.Size(220, 22); @@ -161,7 +161,7 @@ namespace mRemoteNG.UI.Window // //DeleteToolMenuItem // - this.DeleteToolMenuItem.Image = global::My.Resources.Resources.ExtApp_Delete; + this.DeleteToolMenuItem.Image = My.Resources.ExtApp_Delete; this.DeleteToolMenuItem.Name = "DeleteToolMenuItem"; this.DeleteToolMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Delete; this.DeleteToolMenuItem.Size = new System.Drawing.Size(220, 22); @@ -174,7 +174,7 @@ namespace mRemoteNG.UI.Window // //LaunchToolMenuItem // - this.LaunchToolMenuItem.Image = global::My.Resources.Resources.ExtApp_Start; + this.LaunchToolMenuItem.Image = My.Resources.ExtApp_Start; this.LaunchToolMenuItem.Name = "LaunchToolMenuItem"; this.LaunchToolMenuItem.Size = new System.Drawing.Size(220, 22); this.LaunchToolMenuItem.Text = "Launch External Tool"; @@ -329,7 +329,7 @@ namespace mRemoteNG.UI.Window // //NewToolToolstripButton // - this.NewToolToolstripButton.Image = global::My.Resources.Resources.ExtApp_Add; + this.NewToolToolstripButton.Image = My.Resources.ExtApp_Add; this.NewToolToolstripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.NewToolToolstripButton.Name = "NewToolToolstripButton"; this.NewToolToolstripButton.Size = new System.Drawing.Size(51, 22); @@ -337,7 +337,7 @@ namespace mRemoteNG.UI.Window // //DeleteToolToolstripButton // - this.DeleteToolToolstripButton.Image = global::My.Resources.Resources.ExtApp_Delete; + this.DeleteToolToolstripButton.Image = My.Resources.ExtApp_Delete; this.DeleteToolToolstripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.DeleteToolToolstripButton.Name = "DeleteToolToolstripButton"; this.DeleteToolToolstripButton.Size = new System.Drawing.Size(60, 22); @@ -350,7 +350,7 @@ namespace mRemoteNG.UI.Window // //LaunchToolToolstripButton // - this.LaunchToolToolstripButton.Image = global::My.Resources.Resources.ExtApp_Start; + this.LaunchToolToolstripButton.Image = My.Resources.ExtApp_Start; this.LaunchToolToolstripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.LaunchToolToolstripButton.Name = "LaunchToolToolstripButton"; this.LaunchToolToolstripButton.Size = new System.Drawing.Size(66, 22); diff --git a/mRemoteV1/CS/UI/UI.Window.Help.cs b/mRemoteV1/CS/UI/UI.Window.Help.cs index ca7f8a5e2..0c786fbea 100644 --- a/mRemoteV1/CS/UI/UI.Window.Help.cs +++ b/mRemoteV1/CS/UI/UI.Window.Help.cs @@ -213,7 +213,7 @@ namespace mRemoteNG.UI.Window // this.ClientSize = new System.Drawing.Size(542, 323); this.Controls.Add(this.pnlSplitter); - this.Icon = global::My.Resources.Resources.Help_Icon; + this.Icon = My.Resources.Help_Icon; this.Name = "Help"; this.TabText = "Help"; this.Text = "Help"; @@ -271,9 +271,9 @@ namespace mRemoteNG.UI.Window private void FillImageList() { - this.imgListHelp.Images.Add("File", global::My.Resources.Page); - this.imgListHelp.Images.Add("Folder", global::My.Resources.Folder); - this.imgListHelp.Images.Add("Help", global::My.Resources.Help); + this.imgListHelp.Images.Add("File", My.Resources.Page); + this.imgListHelp.Images.Add("Folder", My.Resources.Folder); + this.imgListHelp.Images.Add("Help", My.Resources.Help); } private void SetImages(TreeNode node) diff --git a/mRemoteV1/CS/UI/UI.Window.PortScan.Designer.cs b/mRemoteV1/CS/UI/UI.Window.PortScan.Designer.cs index 17d5c8681..e30966903 100644 --- a/mRemoteV1/CS/UI/UI.Window.PortScan.Designer.cs +++ b/mRemoteV1/CS/UI/UI.Window.PortScan.Designer.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,320 +8,319 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports namespace mRemoteNG.UI.Window { public partial class PortScan : Base - { -#region Windows Form Designer generated code + { + #region Windows Form Designer generated code - internal System.Windows.Forms.Label lblEndIP; - internal System.Windows.Forms.Label lblStartIP; - internal System.Windows.Forms.Button btnScan; - internal IPTextBox.IPTextBox ipEnd; - internal System.Windows.Forms.ListView lvHosts; - internal System.Windows.Forms.ColumnHeader clmHost; - internal System.Windows.Forms.ColumnHeader clmSSH; - internal System.Windows.Forms.ColumnHeader clmTelnet; - internal System.Windows.Forms.ColumnHeader clmHTTP; - internal System.Windows.Forms.ColumnHeader clmHTTPS; - internal System.Windows.Forms.ColumnHeader clmRlogin; - internal System.Windows.Forms.ColumnHeader clmRDP; - internal System.Windows.Forms.ColumnHeader clmVNC; - internal System.Windows.Forms.ColumnHeader clmOpenPorts; - internal System.Windows.Forms.ColumnHeader clmClosedPorts; - internal System.Windows.Forms.ProgressBar prgBar; - internal System.Windows.Forms.Label lblOnlyImport; - internal System.Windows.Forms.ComboBox cbProtocol; - internal System.Windows.Forms.Panel pnlPorts; - internal System.Windows.Forms.NumericUpDown portEnd; - internal System.Windows.Forms.NumericUpDown portStart; - internal System.Windows.Forms.Label Label2; - internal System.Windows.Forms.Label Label1; - internal System.Windows.Forms.Button btnImport; - internal IPTextBox.IPTextBox ipStart; + internal System.Windows.Forms.Label lblEndIP; + internal System.Windows.Forms.Label lblStartIP; + internal System.Windows.Forms.Button btnScan; + internal IPTextBox.IPTextBox ipEnd; + internal System.Windows.Forms.ListView lvHosts; + internal System.Windows.Forms.ColumnHeader clmHost; + internal System.Windows.Forms.ColumnHeader clmSSH; + internal System.Windows.Forms.ColumnHeader clmTelnet; + internal System.Windows.Forms.ColumnHeader clmHTTP; + internal System.Windows.Forms.ColumnHeader clmHTTPS; + internal System.Windows.Forms.ColumnHeader clmRlogin; + internal System.Windows.Forms.ColumnHeader clmRDP; + internal System.Windows.Forms.ColumnHeader clmVNC; + internal System.Windows.Forms.ColumnHeader clmOpenPorts; + internal System.Windows.Forms.ColumnHeader clmClosedPorts; + internal System.Windows.Forms.ProgressBar prgBar; + internal System.Windows.Forms.Label lblOnlyImport; + internal System.Windows.Forms.ComboBox cbProtocol; + internal System.Windows.Forms.Panel pnlPorts; + internal System.Windows.Forms.NumericUpDown portEnd; + internal System.Windows.Forms.NumericUpDown portStart; + internal System.Windows.Forms.Label Label2; + internal System.Windows.Forms.Label Label1; + internal System.Windows.Forms.Button btnImport; + internal IPTextBox.IPTextBox ipStart; - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PortScan)); - this.ipStart = new IPTextBox.IPTextBox(); - base.Load += new System.EventHandler(PortScan_Load); - this.ipEnd = new IPTextBox.IPTextBox(); - this.lblStartIP = new System.Windows.Forms.Label(); - this.lblEndIP = new System.Windows.Forms.Label(); - this.btnScan = new System.Windows.Forms.Button(); - this.btnScan.Click += new System.EventHandler(this.btnScan_Click); - this.lvHosts = new System.Windows.Forms.ListView(); - this.btnImport = new System.Windows.Forms.Button(); - this.btnImport.Click += new System.EventHandler(this.btnImport_Click); - this.cbProtocol = new System.Windows.Forms.ComboBox(); - this.lblOnlyImport = new System.Windows.Forms.Label(); - this.clmHost = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); - this.clmSSH = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); - this.clmTelnet = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); - this.clmHTTP = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); - this.clmHTTPS = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); - this.clmRlogin = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); - this.clmRDP = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); - this.clmVNC = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); - this.clmOpenPorts = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); - this.clmClosedPorts = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); - this.prgBar = new System.Windows.Forms.ProgressBar(); - this.pnlPorts = new System.Windows.Forms.Panel(); - this.portEnd = new System.Windows.Forms.NumericUpDown(); - this.portEnd.Enter += new System.EventHandler(this.portEnd_Enter); - this.portStart = new System.Windows.Forms.NumericUpDown(); - this.portStart.Enter += new System.EventHandler(this.portStart_Enter); - this.Label2 = new System.Windows.Forms.Label(); - this.Label1 = new System.Windows.Forms.Label(); - this.pnlImport = new System.Windows.Forms.Panel(); - this.pnlPorts.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize) this.portEnd).BeginInit(); - ((System.ComponentModel.ISupportInitialize) this.portStart).BeginInit(); - this.pnlImport.SuspendLayout(); - this.SuspendLayout(); - // - //ipStart - // - this.ipStart.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; - this.ipStart.Location = new System.Drawing.Point(12, 25); - this.ipStart.Name = "ipStart"; - this.ipStart.Size = new System.Drawing.Size(113, 20); - this.ipStart.TabIndex = 10; - // - //ipEnd - // - this.ipEnd.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; - this.ipEnd.Location = new System.Drawing.Point(131, 25); - this.ipEnd.Name = "ipEnd"; - this.ipEnd.Size = new System.Drawing.Size(113, 20); - this.ipEnd.TabIndex = 15; - // - //lblStartIP - // - this.lblStartIP.AutoSize = true; - this.lblStartIP.Location = new System.Drawing.Point(9, 9); - this.lblStartIP.Name = "lblStartIP"; - this.lblStartIP.Size = new System.Drawing.Size(45, 13); - this.lblStartIP.TabIndex = 0; - this.lblStartIP.Text = "Start IP:"; - // - //lblEndIP - // - this.lblEndIP.AutoSize = true; - this.lblEndIP.Location = new System.Drawing.Point(128, 9); - this.lblEndIP.Name = "lblEndIP"; - this.lblEndIP.Size = new System.Drawing.Size(42, 13); - this.lblEndIP.TabIndex = 5; - this.lblEndIP.Text = "End IP:"; - // - //btnScan - // - this.btnScan.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right); - this.btnScan.Image = global::My.Resources.Resources.Search; - this.btnScan.Location = new System.Drawing.Point(420, 9); - this.btnScan.Name = "btnScan"; - this.btnScan.Size = new System.Drawing.Size(86, 58); - this.btnScan.TabIndex = 20; - this.btnScan.Text = "&Scan"; - this.btnScan.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; - this.btnScan.UseVisualStyleBackColor = true; - // - //lvHosts - // - this.lvHosts.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.lvHosts.FullRowSelect = true; - this.lvHosts.GridLines = true; - this.lvHosts.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; - this.lvHosts.HideSelection = false; - this.lvHosts.Location = new System.Drawing.Point(12, 73); - this.lvHosts.Name = "lvHosts"; - this.lvHosts.Size = new System.Drawing.Size(494, 214); - this.lvHosts.TabIndex = 26; - this.lvHosts.UseCompatibleStateImageBehavior = false; - this.lvHosts.View = System.Windows.Forms.View.Details; - // - //btnImport - // - this.btnImport.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); - this.btnImport.Location = new System.Drawing.Point(419, 6); - this.btnImport.Name = "btnImport"; - this.btnImport.Size = new System.Drawing.Size(75, 23); - this.btnImport.TabIndex = 101; - this.btnImport.Text = "&Import"; - this.btnImport.UseVisualStyleBackColor = true; - // - //cbProtocol - // - this.cbProtocol.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); - this.cbProtocol.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cbProtocol.FormattingEnabled = true; - this.cbProtocol.Items.AddRange(new object[] {"SSH2", "Telnet", "HTTP", "HTTPS", "Rlogin", "RDP", "VNC"}); - this.cbProtocol.Location = new System.Drawing.Point(98, 8); - this.cbProtocol.Name = "cbProtocol"; - this.cbProtocol.Size = new System.Drawing.Size(122, 21); - this.cbProtocol.TabIndex = 28; - // - //lblOnlyImport - // - this.lblOnlyImport.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); - this.lblOnlyImport.AutoSize = true; - this.lblOnlyImport.Location = new System.Drawing.Point(0, 11); - this.lblOnlyImport.Name = "lblOnlyImport"; - this.lblOnlyImport.Size = new System.Drawing.Size(92, 13); - this.lblOnlyImport.TabIndex = 1; - this.lblOnlyImport.Text = "Protocol to import:"; - // - //clmHost - // - this.clmHost.Text = "Hostname/IP"; - this.clmHost.Width = 130; - // - //clmSSH - // - this.clmSSH.Text = "SSH"; - this.clmSSH.Width = 50; - // - //clmTelnet - // - this.clmTelnet.Text = "Telnet"; - this.clmTelnet.Width = 50; - // - //clmHTTP - // - this.clmHTTP.Text = "HTTP"; - this.clmHTTP.Width = 50; - // - //clmHTTPS - // - this.clmHTTPS.Text = "HTTPS"; - this.clmHTTPS.Width = 50; - // - //clmRlogin - // - this.clmRlogin.Text = "Rlogin"; - this.clmRlogin.Width = 50; - // - //clmRDP - // - this.clmRDP.Text = "RDP"; - this.clmRDP.Width = 50; - // - //clmVNC - // - this.clmVNC.Text = "VNC"; - this.clmVNC.Width = 50; - // - //clmOpenPorts - // - this.clmOpenPorts.Text = "Open Ports"; - this.clmOpenPorts.Width = 150; - // - //clmClosedPorts - // - this.clmClosedPorts.Text = "Closed Ports"; - this.clmClosedPorts.Width = 150; - // - //prgBar - // - this.prgBar.Anchor = (System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right); - this.prgBar.Location = new System.Drawing.Point(12, 51); - this.prgBar.Name = "prgBar"; - this.prgBar.Size = new System.Drawing.Size(402, 16); - this.prgBar.Step = 1; - this.prgBar.TabIndex = 28; - // - //pnlPorts - // - this.pnlPorts.Controls.Add(this.portEnd); - this.pnlPorts.Controls.Add(this.portStart); - this.pnlPorts.Controls.Add(this.Label2); - this.pnlPorts.Controls.Add(this.Label1); - this.pnlPorts.Location = new System.Drawing.Point(268, 7); - this.pnlPorts.Name = "pnlPorts"; - this.pnlPorts.Size = new System.Drawing.Size(152, 38); - this.pnlPorts.TabIndex = 18; - // - //portEnd - // - this.portEnd.Location = new System.Drawing.Point(79, 18); - this.portEnd.Maximum = new decimal(new int[] {65535, 0, 0, 0}); - this.portEnd.Name = "portEnd"; - this.portEnd.Size = new System.Drawing.Size(67, 20); - this.portEnd.TabIndex = 15; - // - //portStart - // - this.portStart.Location = new System.Drawing.Point(6, 18); - this.portStart.Maximum = new decimal(new int[] {65535, 0, 0, 0}); - this.portStart.Name = "portStart"; - this.portStart.Size = new System.Drawing.Size(67, 20); - this.portStart.TabIndex = 5; - // - //Label2 - // - this.Label2.AutoSize = true; - this.Label2.Location = new System.Drawing.Point(76, 2); - this.Label2.Name = "Label2"; - this.Label2.Size = new System.Drawing.Size(51, 13); - this.Label2.TabIndex = 10; - this.Label2.Text = "End Port:"; - // - //Label1 - // - this.Label1.AutoSize = true; - this.Label1.Location = new System.Drawing.Point(3, 2); - this.Label1.Name = "Label1"; - this.Label1.Size = new System.Drawing.Size(54, 13); - this.Label1.TabIndex = 0; - this.Label1.Text = "Start Port:"; - // - //pnlImport - // - this.pnlImport.Anchor = (System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right); - this.pnlImport.Controls.Add(this.btnImport); - this.pnlImport.Controls.Add(this.lblOnlyImport); - this.pnlImport.Controls.Add(this.cbProtocol); - this.pnlImport.Location = new System.Drawing.Point(12, 287); - this.pnlImport.Name = "pnlImport"; - this.pnlImport.Size = new System.Drawing.Size(494, 29); - this.pnlImport.TabIndex = 102; - // - //PortScan - // - this.AcceptButton = this.btnImport; - this.ClientSize = new System.Drawing.Size(518, 328); - this.Controls.Add(this.pnlImport); - this.Controls.Add(this.lvHosts); - this.Controls.Add(this.pnlPorts); - this.Controls.Add(this.prgBar); - this.Controls.Add(this.btnScan); - this.Controls.Add(this.lblEndIP); - this.Controls.Add(this.lblStartIP); - this.Controls.Add(this.ipEnd); - this.Controls.Add(this.ipStart); - this.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (8.25F), System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); - this.Icon = (System.Drawing.Icon) (resources.GetObject("$this.Icon")); - this.Name = "PortScan"; - this.TabText = "Port Scan"; - this.Text = "Port Scan"; - this.pnlPorts.ResumeLayout(false); - this.pnlPorts.PerformLayout(); - ((System.ComponentModel.ISupportInitialize) this.portEnd).EndInit(); - ((System.ComponentModel.ISupportInitialize) this.portStart).EndInit(); - this.pnlImport.ResumeLayout(false); - this.pnlImport.PerformLayout(); - this.ResumeLayout(false); - this.PerformLayout(); + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PortScan)); + this.ipStart = new IPTextBox.IPTextBox(); + base.Load += new System.EventHandler(PortScan_Load); + this.ipEnd = new IPTextBox.IPTextBox(); + this.lblStartIP = new System.Windows.Forms.Label(); + this.lblEndIP = new System.Windows.Forms.Label(); + this.btnScan = new System.Windows.Forms.Button(); + this.btnScan.Click += new System.EventHandler(this.btnScan_Click); + this.lvHosts = new System.Windows.Forms.ListView(); + this.btnImport = new System.Windows.Forms.Button(); + this.btnImport.Click += new System.EventHandler(this.btnImport_Click); + this.cbProtocol = new System.Windows.Forms.ComboBox(); + this.lblOnlyImport = new System.Windows.Forms.Label(); + this.clmHost = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); + this.clmSSH = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); + this.clmTelnet = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); + this.clmHTTP = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); + this.clmHTTPS = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); + this.clmRlogin = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); + this.clmRDP = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); + this.clmVNC = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); + this.clmOpenPorts = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); + this.clmClosedPorts = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); + this.prgBar = new System.Windows.Forms.ProgressBar(); + this.pnlPorts = new System.Windows.Forms.Panel(); + this.portEnd = new System.Windows.Forms.NumericUpDown(); + this.portEnd.Enter += new System.EventHandler(this.portEnd_Enter); + this.portStart = new System.Windows.Forms.NumericUpDown(); + this.portStart.Enter += new System.EventHandler(this.portStart_Enter); + this.Label2 = new System.Windows.Forms.Label(); + this.Label1 = new System.Windows.Forms.Label(); + this.pnlImport = new System.Windows.Forms.Panel(); + this.pnlPorts.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize) this.portEnd).BeginInit(); + ((System.ComponentModel.ISupportInitialize) this.portStart).BeginInit(); + this.pnlImport.SuspendLayout(); + this.SuspendLayout(); + // + //ipStart + // + this.ipStart.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.ipStart.Location = new System.Drawing.Point(12, 25); + this.ipStart.Name = "ipStart"; + this.ipStart.Size = new System.Drawing.Size(113, 20); + this.ipStart.TabIndex = 10; + // + //ipEnd + // + this.ipEnd.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.ipEnd.Location = new System.Drawing.Point(131, 25); + this.ipEnd.Name = "ipEnd"; + this.ipEnd.Size = new System.Drawing.Size(113, 20); + this.ipEnd.TabIndex = 15; + // + //lblStartIP + // + this.lblStartIP.AutoSize = true; + this.lblStartIP.Location = new System.Drawing.Point(9, 9); + this.lblStartIP.Name = "lblStartIP"; + this.lblStartIP.Size = new System.Drawing.Size(45, 13); + this.lblStartIP.TabIndex = 0; + this.lblStartIP.Text = "Start IP:"; + // + //lblEndIP + // + this.lblEndIP.AutoSize = true; + this.lblEndIP.Location = new System.Drawing.Point(128, 9); + this.lblEndIP.Name = "lblEndIP"; + this.lblEndIP.Size = new System.Drawing.Size(42, 13); + this.lblEndIP.TabIndex = 5; + this.lblEndIP.Text = "End IP:"; + // + //btnScan + // + this.btnScan.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right); + this.btnScan.Image = My.Resources.Search; + this.btnScan.Location = new System.Drawing.Point(420, 9); + this.btnScan.Name = "btnScan"; + this.btnScan.Size = new System.Drawing.Size(86, 58); + this.btnScan.TabIndex = 20; + this.btnScan.Text = "&Scan"; + this.btnScan.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; + this.btnScan.UseVisualStyleBackColor = true; + // + //lvHosts + // + this.lvHosts.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.lvHosts.FullRowSelect = true; + this.lvHosts.GridLines = true; + this.lvHosts.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; + this.lvHosts.HideSelection = false; + this.lvHosts.Location = new System.Drawing.Point(12, 73); + this.lvHosts.Name = "lvHosts"; + this.lvHosts.Size = new System.Drawing.Size(494, 214); + this.lvHosts.TabIndex = 26; + this.lvHosts.UseCompatibleStateImageBehavior = false; + this.lvHosts.View = System.Windows.Forms.View.Details; + // + //btnImport + // + this.btnImport.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); + this.btnImport.Location = new System.Drawing.Point(419, 6); + this.btnImport.Name = "btnImport"; + this.btnImport.Size = new System.Drawing.Size(75, 23); + this.btnImport.TabIndex = 101; + this.btnImport.Text = "&Import"; + this.btnImport.UseVisualStyleBackColor = true; + // + //cbProtocol + // + this.cbProtocol.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); + this.cbProtocol.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbProtocol.FormattingEnabled = true; + this.cbProtocol.Items.AddRange(new object[] {"SSH2", "Telnet", "HTTP", "HTTPS", "Rlogin", "RDP", "VNC"}); + this.cbProtocol.Location = new System.Drawing.Point(98, 8); + this.cbProtocol.Name = "cbProtocol"; + this.cbProtocol.Size = new System.Drawing.Size(122, 21); + this.cbProtocol.TabIndex = 28; + // + //lblOnlyImport + // + this.lblOnlyImport.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); + this.lblOnlyImport.AutoSize = true; + this.lblOnlyImport.Location = new System.Drawing.Point(0, 11); + this.lblOnlyImport.Name = "lblOnlyImport"; + this.lblOnlyImport.Size = new System.Drawing.Size(92, 13); + this.lblOnlyImport.TabIndex = 1; + this.lblOnlyImport.Text = "Protocol to import:"; + // + //clmHost + // + this.clmHost.Text = "Hostname/IP"; + this.clmHost.Width = 130; + // + //clmSSH + // + this.clmSSH.Text = "SSH"; + this.clmSSH.Width = 50; + // + //clmTelnet + // + this.clmTelnet.Text = "Telnet"; + this.clmTelnet.Width = 50; + // + //clmHTTP + // + this.clmHTTP.Text = "HTTP"; + this.clmHTTP.Width = 50; + // + //clmHTTPS + // + this.clmHTTPS.Text = "HTTPS"; + this.clmHTTPS.Width = 50; + // + //clmRlogin + // + this.clmRlogin.Text = "Rlogin"; + this.clmRlogin.Width = 50; + // + //clmRDP + // + this.clmRDP.Text = "RDP"; + this.clmRDP.Width = 50; + // + //clmVNC + // + this.clmVNC.Text = "VNC"; + this.clmVNC.Width = 50; + // + //clmOpenPorts + // + this.clmOpenPorts.Text = "Open Ports"; + this.clmOpenPorts.Width = 150; + // + //clmClosedPorts + // + this.clmClosedPorts.Text = "Closed Ports"; + this.clmClosedPorts.Width = 150; + // + //prgBar + // + this.prgBar.Anchor = (System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right); + this.prgBar.Location = new System.Drawing.Point(12, 51); + this.prgBar.Name = "prgBar"; + this.prgBar.Size = new System.Drawing.Size(402, 16); + this.prgBar.Step = 1; + this.prgBar.TabIndex = 28; + // + //pnlPorts + // + this.pnlPorts.Controls.Add(this.portEnd); + this.pnlPorts.Controls.Add(this.portStart); + this.pnlPorts.Controls.Add(this.Label2); + this.pnlPorts.Controls.Add(this.Label1); + this.pnlPorts.Location = new System.Drawing.Point(268, 7); + this.pnlPorts.Name = "pnlPorts"; + this.pnlPorts.Size = new System.Drawing.Size(152, 38); + this.pnlPorts.TabIndex = 18; + // + //portEnd + // + this.portEnd.Location = new System.Drawing.Point(79, 18); + this.portEnd.Maximum = new decimal(new int[] {65535, 0, 0, 0}); + this.portEnd.Name = "portEnd"; + this.portEnd.Size = new System.Drawing.Size(67, 20); + this.portEnd.TabIndex = 15; + // + //portStart + // + this.portStart.Location = new System.Drawing.Point(6, 18); + this.portStart.Maximum = new decimal(new int[] {65535, 0, 0, 0}); + this.portStart.Name = "portStart"; + this.portStart.Size = new System.Drawing.Size(67, 20); + this.portStart.TabIndex = 5; + // + //Label2 + // + this.Label2.AutoSize = true; + this.Label2.Location = new System.Drawing.Point(76, 2); + this.Label2.Name = "Label2"; + this.Label2.Size = new System.Drawing.Size(51, 13); + this.Label2.TabIndex = 10; + this.Label2.Text = "End Port:"; + // + //Label1 + // + this.Label1.AutoSize = true; + this.Label1.Location = new System.Drawing.Point(3, 2); + this.Label1.Name = "Label1"; + this.Label1.Size = new System.Drawing.Size(54, 13); + this.Label1.TabIndex = 0; + this.Label1.Text = "Start Port:"; + // + //pnlImport + // + this.pnlImport.Anchor = (System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right); + this.pnlImport.Controls.Add(this.btnImport); + this.pnlImport.Controls.Add(this.lblOnlyImport); + this.pnlImport.Controls.Add(this.cbProtocol); + this.pnlImport.Location = new System.Drawing.Point(12, 287); + this.pnlImport.Name = "pnlImport"; + this.pnlImport.Size = new System.Drawing.Size(494, 29); + this.pnlImport.TabIndex = 102; + // + //PortScan + // + this.AcceptButton = this.btnImport; + this.ClientSize = new System.Drawing.Size(518, 328); + this.Controls.Add(this.pnlImport); + this.Controls.Add(this.lvHosts); + this.Controls.Add(this.pnlPorts); + this.Controls.Add(this.prgBar); + this.Controls.Add(this.btnScan); + this.Controls.Add(this.lblEndIP); + this.Controls.Add(this.lblStartIP); + this.Controls.Add(this.ipEnd); + this.Controls.Add(this.ipStart); + this.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (8.25F), System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); + this.Icon = (System.Drawing.Icon) (resources.GetObject("$this.Icon")); + this.Name = "PortScan"; + this.TabText = "Port Scan"; + this.Text = "Port Scan"; + this.pnlPorts.ResumeLayout(false); + this.pnlPorts.PerformLayout(); + ((System.ComponentModel.ISupportInitialize) this.portEnd).EndInit(); + ((System.ComponentModel.ISupportInitialize) this.portStart).EndInit(); + this.pnlImport.ResumeLayout(false); + this.pnlImport.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); - } - internal System.Windows.Forms.Panel pnlImport; -#endregion - } + } + internal System.Windows.Forms.Panel pnlImport; + #endregion + } } diff --git a/mRemoteV1/CS/UI/UI.Window.PortScan.cs b/mRemoteV1/CS/UI/UI.Window.PortScan.cs index 71462e355..7dda7595f 100644 --- a/mRemoteV1/CS/UI/UI.Window.PortScan.cs +++ b/mRemoteV1/CS/UI/UI.Window.PortScan.cs @@ -8,7 +8,6 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -//using mRemoteNG.Tools.PortScan; using mRemoteNG.My; using WeifenLuo.WinFormsUI.Docking; using mRemoteNG.App; @@ -136,20 +135,18 @@ namespace mRemoteNG.UI.Window public void btnImport_Click(System.Object sender, EventArgs e) { - mRemoteNG.Connection.Protocol.Protocols protocol = Tools.Misc.StringToEnum(typeof(mRemoteNG.Connection.Protocol.Protocols), System.Convert.ToString(cbProtocol.SelectedItem)); + mRemoteNG.Connection.Protocol.Protocols protocol = (mRemoteNG.Connection.Protocol.Protocols)Tools.Misc.StringToEnum(typeof(mRemoteNG.Connection.Protocol.Protocols), System.Convert.ToString(cbProtocol.SelectedItem)); List hosts = new List(); foreach (ListViewItem item in lvHosts.SelectedItems) { - Tools.PortScan.ScanHost scanHost = item.Tag as Tools.PortScan.ScanHost; + Tools.PortScan.ScanHost scanHost = (Tools.PortScan.ScanHost)item.Tag; if (scanHost != null) { - hosts.Add(item.Tag); + hosts.Add(scanHost); } } - App.Import.ImportFromPortScan(hosts, protocol); - DialogResult = DialogResult.OK; Close(); } diff --git a/mRemoteV1/CS/UI/UI.Window.SSHTransfer.cs b/mRemoteV1/CS/UI/UI.Window.SSHTransfer.cs index 31413f739..374702654 100644 --- a/mRemoteV1/CS/UI/UI.Window.SSHTransfer.cs +++ b/mRemoteV1/CS/UI/UI.Window.SSHTransfer.cs @@ -275,7 +275,7 @@ namespace mRemoteNG.UI.Window // this.btnTransfer.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.btnTransfer.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnTransfer.Image = global::My.Resources.Resources.SSHTransfer; + this.btnTransfer.Image = My.Resources.SSHTransfer; this.btnTransfer.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnTransfer.Location = new System.Drawing.Point(597, 382); this.btnTransfer.Name = "btnTransfer"; @@ -424,7 +424,7 @@ namespace mRemoteNG.UI.Window sshT.OnTransferProgress += SshTransfer_Progress; sshT.OnTransferEnd += SshTransfer_End; - this.sshT.Connect((int) this.txtPort.Text); + this.sshT.Connect(System.Convert.ToInt32(this.txtPort.Text)); LocalFile = this.txtLocalFile.Text; RemoteFile = this.txtRemoteFile.Text; @@ -483,8 +483,8 @@ namespace mRemoteNG.UI.Window } - private long maxVal; - private long curVal; + private int maxVal; + private int curVal; delegate void SetStatusCB(); private void SetStatus() diff --git a/mRemoteV1/CS/UI/UI.Window.ScreenshotManager.cs b/mRemoteV1/CS/UI/UI.Window.ScreenshotManager.cs index 24007c937..c8d39e8de 100644 --- a/mRemoteV1/CS/UI/UI.Window.ScreenshotManager.cs +++ b/mRemoteV1/CS/UI/UI.Window.ScreenshotManager.cs @@ -78,21 +78,21 @@ namespace mRemoteNG.UI.Window //mMenFile // this.mMenFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {this.mMenFileSaveAll, this.mMenFileRemoveAll}); - this.mMenFile.Image = global::My.Resources.Resources.File; + this.mMenFile.Image = My.Resources.File; this.mMenFile.Name = "mMenFile"; this.mMenFile.Size = new System.Drawing.Size(51, 20); this.mMenFile.Text = "&File"; // //mMenFileSaveAll // - this.mMenFileSaveAll.Image = global::My.Resources.Resources.Screenshot_Save; + this.mMenFileSaveAll.Image = My.Resources.Screenshot_Save; this.mMenFileSaveAll.Name = "mMenFileSaveAll"; this.mMenFileSaveAll.Size = new System.Drawing.Size(128, 22); this.mMenFileSaveAll.Text = "Save All"; // //mMenFileRemoveAll // - this.mMenFileRemoveAll.Image = global::My.Resources.Resources.Screenshot_Delete; + this.mMenFileRemoveAll.Image = My.Resources.Screenshot_Delete; this.mMenFileRemoveAll.Name = "mMenFileRemoveAll"; this.mMenFileRemoveAll.Size = new System.Drawing.Size(128, 22); this.mMenFileRemoveAll.Text = "Remove All"; @@ -105,14 +105,14 @@ namespace mRemoteNG.UI.Window // //cMenScreenshotCopy // - this.cMenScreenshotCopy.Image = global::My.Resources.Resources.Screenshot_Copy; + this.cMenScreenshotCopy.Image = My.Resources.Screenshot_Copy; this.cMenScreenshotCopy.Name = "cMenScreenshotCopy"; this.cMenScreenshotCopy.Size = new System.Drawing.Size(99, 22); this.cMenScreenshotCopy.Text = "Copy"; // //cMenScreenshotSave // - this.cMenScreenshotSave.Image = global::My.Resources.Resources.Screenshot_Save; + this.cMenScreenshotSave.Image = My.Resources.Screenshot_Save; this.cMenScreenshotSave.Name = "cMenScreenshotSave"; this.cMenScreenshotSave.Size = new System.Drawing.Size(99, 22); this.cMenScreenshotSave.Text = "Save"; @@ -130,7 +130,7 @@ namespace mRemoteNG.UI.Window this.Controls.Add(this.flpScreenshots); this.Controls.Add(this.msMain); this.HideOnClose = true; - this.Icon = global::My.Resources.Resources.Screenshot_Icon; + this.Icon = My.Resources.Screenshot_Icon; this.MainMenuStrip = this.msMain; this.Name = "ScreenshotManager"; this.TabText = "Screenshots"; @@ -212,7 +212,7 @@ namespace mRemoteNG.UI.Window if (e.Button == System.Windows.Forms.MouseButtons.Left) { - this.OpenScreenshot(sender); + this.OpenScreenshot((System.Windows.Forms.PictureBox)sender); } } @@ -220,7 +220,7 @@ namespace mRemoteNG.UI.Window { if (e.Button == System.Windows.Forms.MouseButtons.Left) { - this.CloseOpenedScreenshot(sender.Parent); + this.CloseOpenedScreenshot((System.Windows.Forms.Form)((Control)sender).Parent); } } @@ -269,7 +269,7 @@ namespace mRemoteNG.UI.Window { try { - sender.Parent.Dispose(); + ((Control)sender).Parent.Dispose(); } catch (Exception ex) { diff --git a/mRemoteV1/CS/UI/UI.Window.Sessions.Designer.cs b/mRemoteV1/CS/UI/UI.Window.Sessions.Designer.cs index 319a469cc..5514002d6 100644 --- a/mRemoteV1/CS/UI/UI.Window.Sessions.Designer.cs +++ b/mRemoteV1/CS/UI/UI.Window.Sessions.Designer.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,116 +8,108 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports -namespace mRemoteNG +namespace mRemoteNG.UI.Window { - namespace Wi + public partial class Sessions { - namespace Window - { - public partial class Sessions - { -#region Windows Form Designer generated code - private System.ComponentModel.Container components = null; - internal System.Windows.Forms.ToolStripMenuItem sessionMenuRetrieve; - internal System.Windows.Forms.ToolStripMenuItem sessionMenuLogoff; - internal System.Windows.Forms.ListView sessionList; + #region Windows Form Designer generated code + private System.ComponentModel.Container components = null; + internal System.Windows.Forms.ToolStripMenuItem sessionMenuRetrieve; + internal System.Windows.Forms.ToolStripMenuItem sessionMenuLogoff; + internal System.Windows.Forms.ListView sessionList; - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - this.Load += new System.EventHandler(Sessions_Load); - System.Windows.Forms.ContextMenuStrip sessionMenu = default(System.Windows.Forms.ContextMenuStrip); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Sessions)); - this.sessionMenuRetrieve = new System.Windows.Forms.ToolStripMenuItem(); - this.sessionMenuRetrieve.Click += new System.EventHandler(this.sessionMenuRetrieve_Click); - this.sessionMenuLogoff = new System.Windows.Forms.ToolStripMenuItem(); - this.sessionMenuLogoff.Click += new System.EventHandler(this.sessionMenuLogoff_Click); - this.sessionList = new System.Windows.Forms.ListView(); - this.sessionUsernameColumn = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); - this.sessionActivityColumn = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); - this.sessionTypeColumn = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); - sessionMenu = new System.Windows.Forms.ContextMenuStrip(this.components); - sessionMenu.SuspendLayout(); - this.SuspendLayout(); - // - //sessionMenu - // - sessionMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {this.sessionMenuRetrieve, this.sessionMenuLogoff}); - sessionMenu.Name = "cMenSession"; - sessionMenu.Size = new System.Drawing.Size(153, 70); - sessionMenu.Opening += this.menuSession_Opening; - // - //sessionMenuRetrieve - // - this.sessionMenuRetrieve.Image = global::My.Resources.Resources.Refresh; - this.sessionMenuRetrieve.Name = "sessionMenuRetrieve"; - this.sessionMenuRetrieve.Size = new System.Drawing.Size(152, 22); - this.sessionMenuRetrieve.Text = "Retrieve"; - // - //sessionMenuLogoff - // - this.sessionMenuLogoff.Image = global::My.Resources.Resources.Session_LogOff; - this.sessionMenuLogoff.Name = "sessionMenuLogoff"; - this.sessionMenuLogoff.Size = new System.Drawing.Size(152, 22); - this.sessionMenuLogoff.Text = global::mRemoteNG.My.Language.strLogOff; - // - //sessionList - // - this.sessionList.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.sessionList.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.sessionList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {this.sessionUsernameColumn, this.sessionActivityColumn, this.sessionTypeColumn}); - this.sessionList.ContextMenuStrip = sessionMenu; - this.sessionList.FullRowSelect = true; - this.sessionList.GridLines = true; - this.sessionList.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; - this.sessionList.Location = new System.Drawing.Point(0, -1); - this.sessionList.MultiSelect = false; - this.sessionList.Name = "sessionList"; - this.sessionList.ShowGroups = false; - this.sessionList.Size = new System.Drawing.Size(242, 174); - this.sessionList.TabIndex = 0; - this.sessionList.UseCompatibleStateImageBehavior = false; - this.sessionList.View = System.Windows.Forms.View.Details; - // - //sessionUsernameColumn - // - this.sessionUsernameColumn.Text = global::mRemoteNG.My.Language.strColumnUsername; - this.sessionUsernameColumn.Width = 80; - // - //sessionActivityColumn - // - this.sessionActivityColumn.Text = global::mRemoteNG.My.Language.strActivity; - // - //sessionTypeColumn - // - this.sessionTypeColumn.Text = global::mRemoteNG.My.Language.strType; - this.sessionTypeColumn.Width = 80; - // - //Sessions - // - this.ClientSize = new System.Drawing.Size(242, 173); - this.Controls.Add(this.sessionList); - this.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (8.25F), System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); - this.HideOnClose = true; - this.Icon = (System.Drawing.Icon) (resources.GetObject("$this.Icon")); - this.Name = "Sessions"; - this.TabText = global::mRemoteNG.My.Language.strMenuSessions; - this.Text = "Sessions"; - sessionMenu.ResumeLayout(false); - this.ResumeLayout(false); + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.Load += new System.EventHandler(Sessions_Load); + System.Windows.Forms.ContextMenuStrip sessionMenu = default(System.Windows.Forms.ContextMenuStrip); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Sessions)); + this.sessionMenuRetrieve = new System.Windows.Forms.ToolStripMenuItem(); + this.sessionMenuRetrieve.Click += new System.EventHandler(this.sessionMenuRetrieve_Click); + this.sessionMenuLogoff = new System.Windows.Forms.ToolStripMenuItem(); + this.sessionMenuLogoff.Click += new System.EventHandler(this.sessionMenuLogoff_Click); + this.sessionList = new System.Windows.Forms.ListView(); + this.sessionUsernameColumn = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); + this.sessionActivityColumn = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); + this.sessionTypeColumn = (System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader()); + sessionMenu = new System.Windows.Forms.ContextMenuStrip(this.components); + sessionMenu.SuspendLayout(); + this.SuspendLayout(); + // + //sessionMenu + // + sessionMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {this.sessionMenuRetrieve, this.sessionMenuLogoff}); + sessionMenu.Name = "cMenSession"; + sessionMenu.Size = new System.Drawing.Size(153, 70); + sessionMenu.Opening += this.menuSession_Opening; + // + //sessionMenuRetrieve + // + this.sessionMenuRetrieve.Image = My.Resources.Refresh; + this.sessionMenuRetrieve.Name = "sessionMenuRetrieve"; + this.sessionMenuRetrieve.Size = new System.Drawing.Size(152, 22); + this.sessionMenuRetrieve.Text = "Retrieve"; + // + //sessionMenuLogoff + // + this.sessionMenuLogoff.Image = My.Resources.Session_LogOff; + this.sessionMenuLogoff.Name = "sessionMenuLogoff"; + this.sessionMenuLogoff.Size = new System.Drawing.Size(152, 22); + this.sessionMenuLogoff.Text = global::mRemoteNG.My.Language.strLogOff; + // + //sessionList + // + this.sessionList.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.sessionList.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.sessionList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {this.sessionUsernameColumn, this.sessionActivityColumn, this.sessionTypeColumn}); + this.sessionList.ContextMenuStrip = sessionMenu; + this.sessionList.FullRowSelect = true; + this.sessionList.GridLines = true; + this.sessionList.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; + this.sessionList.Location = new System.Drawing.Point(0, -1); + this.sessionList.MultiSelect = false; + this.sessionList.Name = "sessionList"; + this.sessionList.ShowGroups = false; + this.sessionList.Size = new System.Drawing.Size(242, 174); + this.sessionList.TabIndex = 0; + this.sessionList.UseCompatibleStateImageBehavior = false; + this.sessionList.View = System.Windows.Forms.View.Details; + // + //sessionUsernameColumn + // + this.sessionUsernameColumn.Text = global::mRemoteNG.My.Language.strColumnUsername; + this.sessionUsernameColumn.Width = 80; + // + //sessionActivityColumn + // + this.sessionActivityColumn.Text = global::mRemoteNG.My.Language.strActivity; + // + //sessionTypeColumn + // + this.sessionTypeColumn.Text = global::mRemoteNG.My.Language.strType; + this.sessionTypeColumn.Width = 80; + // + //Sessions + // + this.ClientSize = new System.Drawing.Size(242, 173); + this.Controls.Add(this.sessionList); + this.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (8.25F), System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); + this.HideOnClose = true; + this.Icon = (System.Drawing.Icon) (resources.GetObject("$this.Icon")); + this.Name = "Sessions"; + this.TabText = global::mRemoteNG.My.Language.strMenuSessions; + this.Text = "Sessions"; + sessionMenu.ResumeLayout(false); + this.ResumeLayout(false); - } - internal System.Windows.Forms.ColumnHeader sessionUsernameColumn; - internal System.Windows.Forms.ColumnHeader sessionActivityColumn; - internal System.Windows.Forms.ColumnHeader sessionTypeColumn; -#endregion - } } + internal System.Windows.Forms.ColumnHeader sessionUsernameColumn; + internal System.Windows.Forms.ColumnHeader sessionActivityColumn; + internal System.Windows.Forms.ColumnHeader sessionTypeColumn; + #endregion } - } diff --git a/mRemoteV1/CS/UI/UI.Window.Sessions.cs b/mRemoteV1/CS/UI/UI.Window.Sessions.cs index e94b7a403..ec3a4234a 100644 --- a/mRemoteV1/CS/UI/UI.Window.Sessions.cs +++ b/mRemoteV1/CS/UI/UI.Window.Sessions.cs @@ -37,7 +37,7 @@ namespace mRemoteNG.UI.Window if (Auto) { _retrieved = false; - if (!Settings.AutomaticallyGetSessionInfo) + if (!Settings.Default.AutomaticallyGetSessionInfo) { return ; } @@ -62,21 +62,21 @@ namespace mRemoteNG.UI.Window data.Password = connectionInfo.Password; data.Domain = connectionInfo.Domain; - if (Settings.EmptyCredentials == "custom") + if (Settings.Default.EmptyCredentials == "custom") { if (string.IsNullOrEmpty(data.Username)) { - data.Username = Settings.DefaultUsername; + data.Username = Settings.Default.DefaultUsername; } if (string.IsNullOrEmpty(data.Password)) { - data.Password = Security.Crypt.Decrypt(Settings.DefaultPassword, App.Info.General.EncryptionKey); + data.Password = Security.Crypt.Decrypt(Settings.Default.DefaultPassword, App.Info.General.EncryptionKey); } if (string.IsNullOrEmpty(data.Domain)) { - data.Domain = Settings.DefaultDomain; + data.Domain = Settings.Default.DefaultDomain; } } @@ -131,7 +131,7 @@ namespace mRemoteNG.UI.Window data.Username = username; data.Password = password; data.Domain = domain; - data.SessionId = long.Parse(sessionId); + data.SessionId = int.Parse(sessionId); Thread thread = new Thread(new System.Threading.ThreadStart(KillSessionBackground)); thread.SetApartmentState(ApartmentState.STA); @@ -174,7 +174,7 @@ namespace mRemoteNG.UI.Window Security.Impersonator impersonator = new Security.Impersonator(); mRemoteNG.Connection.Protocol.RDP.TerminalSessions terminalSessions = new mRemoteNG.Connection.Protocol.RDP.TerminalSessions(); - long serverHandle = 0; + int serverHandle = 0; try { impersonator.StartImpersonation(data.Domain, data.Username, data.Password); @@ -208,7 +208,7 @@ namespace mRemoteNG.UI.Window } // Get sessions from an already impersonated and connected TerminalSessions object - private void GetSessions(mRemoteNG.Connection.Protocol.RDP.TerminalSessions terminalSessions, long serverHandle) + private void GetSessions(mRemoteNG.Connection.Protocol.RDP.TerminalSessions terminalSessions, int serverHandle) { mRemoteNG.Connection.Protocol.RDP.SessionsCollection rdpSessions = terminalSessions.GetSessions(serverHandle); foreach (mRemoteNG.Connection.Protocol.RDP.Session session in rdpSessions) @@ -232,7 +232,7 @@ namespace mRemoteNG.UI.Window Security.Impersonator impersonator = new Security.Impersonator(); mRemoteNG.Connection.Protocol.RDP.TerminalSessions terminalSessions = new mRemoteNG.Connection.Protocol.RDP.TerminalSessions(); - long serverHandle = 0; + int serverHandle = 0; try { if (string.IsNullOrEmpty(data.Username) || string.IsNullOrEmpty(data.Password)) @@ -245,7 +245,8 @@ namespace mRemoteNG.UI.Window serverHandle = terminalSessions.OpenConnection(data.Hostname); if (!(serverHandle == 0)) { - terminalSessions.KillSession(serverHandle, data.SessionId); + terminalSessions.KillSession( + serverHandle, data.SessionId); } ClearList(); @@ -365,7 +366,7 @@ namespace mRemoteNG.UI.Window public string Username; public string Password; public string Domain; - public long SessionId; + public int SessionId; } #endregion } diff --git a/mRemoteV1/CS/UI/UI.Window.Tree.Designer.cs b/mRemoteV1/CS/UI/UI.Window.Tree.Designer.cs index 6aa27e3f2..214da29bc 100644 --- a/mRemoteV1/CS/UI/UI.Window.Tree.Designer.cs +++ b/mRemoteV1/CS/UI/UI.Window.Tree.Designer.cs @@ -183,7 +183,7 @@ namespace mRemoteNG.UI.Window // //cMenTreeConnect // - this.cMenTreeConnect.Image = global::My.Resources.Resources.Play; + this.cMenTreeConnect.Image = My.Resources.Play; this.cMenTreeConnect.Name = "cMenTreeConnect"; this.cMenTreeConnect.ShortcutKeys = (System.Windows.Forms.Keys) ((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.C); @@ -199,14 +199,14 @@ namespace mRemoteNG.UI.Window // //cMenTreeConnectWithOptionsConnectToConsoleSession // - this.cMenTreeConnectWithOptionsConnectToConsoleSession.Image = global::My.Resources.Resources.monitor_go; + this.cMenTreeConnectWithOptionsConnectToConsoleSession.Image = My.Resources.monitor_go; this.cMenTreeConnectWithOptionsConnectToConsoleSession.Name = "cMenTreeConnectWithOptionsConnectToConsoleSession"; this.cMenTreeConnectWithOptionsConnectToConsoleSession.Size = new System.Drawing.Size(231, 22); this.cMenTreeConnectWithOptionsConnectToConsoleSession.Text = "Connect to console session"; // //cMenTreeConnectWithOptionsDontConnectToConsoleSession // - this.cMenTreeConnectWithOptionsDontConnectToConsoleSession.Image = global::My.Resources.Resources.monitor_delete; + this.cMenTreeConnectWithOptionsDontConnectToConsoleSession.Image = My.Resources.monitor_delete; this.cMenTreeConnectWithOptionsDontConnectToConsoleSession.Name = "cMenTreeConnectWithOptionsDontConnectToConsoleSession"; this.cMenTreeConnectWithOptionsDontConnectToConsoleSession.Size = new System.Drawing.Size(231, 22); this.cMenTreeConnectWithOptionsDontConnectToConsoleSession.Text = "Don\'t connect to console session"; @@ -214,28 +214,28 @@ namespace mRemoteNG.UI.Window // //cMenTreeConnectWithOptionsConnectInFullscreen // - this.cMenTreeConnectWithOptionsConnectInFullscreen.Image = global::My.Resources.Resources.arrow_out; + this.cMenTreeConnectWithOptionsConnectInFullscreen.Image = My.Resources.arrow_out; this.cMenTreeConnectWithOptionsConnectInFullscreen.Name = "cMenTreeConnectWithOptionsConnectInFullscreen"; this.cMenTreeConnectWithOptionsConnectInFullscreen.Size = new System.Drawing.Size(231, 22); this.cMenTreeConnectWithOptionsConnectInFullscreen.Text = "Connect in fullscreen"; // //cMenTreeConnectWithOptionsNoCredentials // - this.cMenTreeConnectWithOptionsNoCredentials.Image = global::My.Resources.Resources.key_delete; + this.cMenTreeConnectWithOptionsNoCredentials.Image = My.Resources.key_delete; this.cMenTreeConnectWithOptionsNoCredentials.Name = "cMenTreeConnectWithOptionsNoCredentials"; this.cMenTreeConnectWithOptionsNoCredentials.Size = new System.Drawing.Size(231, 22); this.cMenTreeConnectWithOptionsNoCredentials.Text = "Connect without credentials"; // //cMenTreeConnectWithOptionsChoosePanelBeforeConnecting // - this.cMenTreeConnectWithOptionsChoosePanelBeforeConnecting.Image = global::My.Resources.Resources.Panels; + this.cMenTreeConnectWithOptionsChoosePanelBeforeConnecting.Image = My.Resources.Panels; this.cMenTreeConnectWithOptionsChoosePanelBeforeConnecting.Name = "cMenTreeConnectWithOptionsChoosePanelBeforeConnecting"; this.cMenTreeConnectWithOptionsChoosePanelBeforeConnecting.Size = new System.Drawing.Size(231, 22); this.cMenTreeConnectWithOptionsChoosePanelBeforeConnecting.Text = "Choose panel before connecting"; // //cMenTreeDisconnect // - this.cMenTreeDisconnect.Image = global::My.Resources.Resources.Pause; + this.cMenTreeDisconnect.Image = My.Resources.Pause; this.cMenTreeDisconnect.Name = "cMenTreeDisconnect"; this.cMenTreeDisconnect.Size = new System.Drawing.Size(186, 22); this.cMenTreeDisconnect.Text = "Disconnect"; @@ -247,14 +247,14 @@ namespace mRemoteNG.UI.Window // //cMenTreeToolsExternalApps // - this.cMenTreeToolsExternalApps.Image = global::My.Resources.Resources.ExtApp; + this.cMenTreeToolsExternalApps.Image = My.Resources.ExtApp; this.cMenTreeToolsExternalApps.Name = "cMenTreeToolsExternalApps"; this.cMenTreeToolsExternalApps.Size = new System.Drawing.Size(186, 22); this.cMenTreeToolsExternalApps.Text = "External Applications"; // //cMenTreeToolsTransferFile // - this.cMenTreeToolsTransferFile.Image = global::My.Resources.Resources.SSHTransfer; + this.cMenTreeToolsTransferFile.Image = My.Resources.SSHTransfer; this.cMenTreeToolsTransferFile.Name = "cMenTreeToolsTransferFile"; this.cMenTreeToolsTransferFile.Size = new System.Drawing.Size(186, 22); this.cMenTreeToolsTransferFile.Text = "Transfer File (SSH)"; @@ -266,7 +266,7 @@ namespace mRemoteNG.UI.Window // //cMenTreeDuplicate // - this.cMenTreeDuplicate.Image = global::My.Resources.Resources.page_copy; + this.cMenTreeDuplicate.Image = My.Resources.page_copy; this.cMenTreeDuplicate.Name = "cMenTreeDuplicate"; this.cMenTreeDuplicate.ShortcutKeys = (System.Windows.Forms.Keys) (System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D); this.cMenTreeDuplicate.Size = new System.Drawing.Size(186, 22); @@ -274,7 +274,7 @@ namespace mRemoteNG.UI.Window // //cMenTreeRename // - this.cMenTreeRename.Image = global::My.Resources.Resources.Rename; + this.cMenTreeRename.Image = My.Resources.Rename; this.cMenTreeRename.Name = "cMenTreeRename"; this.cMenTreeRename.ShortcutKeys = System.Windows.Forms.Keys.F2; this.cMenTreeRename.Size = new System.Drawing.Size(186, 22); @@ -282,7 +282,7 @@ namespace mRemoteNG.UI.Window // //cMenTreeDelete // - this.cMenTreeDelete.Image = global::My.Resources.Resources.Delete; + this.cMenTreeDelete.Image = My.Resources.Delete; this.cMenTreeDelete.Name = "cMenTreeDelete"; this.cMenTreeDelete.ShortcutKeys = System.Windows.Forms.Keys.Delete; this.cMenTreeDelete.Size = new System.Drawing.Size(186, 22); @@ -331,14 +331,14 @@ namespace mRemoteNG.UI.Window // //cMenTreeAddConnection // - this.cMenTreeAddConnection.Image = global::My.Resources.Resources.Connection_Add; + this.cMenTreeAddConnection.Image = My.Resources.Connection_Add; this.cMenTreeAddConnection.Name = "cMenTreeAddConnection"; this.cMenTreeAddConnection.Size = new System.Drawing.Size(186, 22); this.cMenTreeAddConnection.Text = "New Connection"; // //cMenTreeAddFolder // - this.cMenTreeAddFolder.Image = global::My.Resources.Resources.Folder_Add; + this.cMenTreeAddFolder.Image = My.Resources.Folder_Add; this.cMenTreeAddFolder.Name = "cMenTreeAddFolder"; this.cMenTreeAddFolder.Size = new System.Drawing.Size(186, 22); this.cMenTreeAddFolder.Text = "New Folder"; @@ -357,21 +357,21 @@ namespace mRemoteNG.UI.Window // //cMenTreeToolsSortAscending // - this.cMenTreeToolsSortAscending.Image = global::My.Resources.Resources.Sort_AZ; + this.cMenTreeToolsSortAscending.Image = My.Resources.Sort_AZ; this.cMenTreeToolsSortAscending.Name = "cMenTreeToolsSortAscending"; this.cMenTreeToolsSortAscending.Size = new System.Drawing.Size(157, 22); this.cMenTreeToolsSortAscending.Text = "Ascending (A-Z)"; // //cMenTreeToolsSortDescending // - this.cMenTreeToolsSortDescending.Image = global::My.Resources.Resources.Sort_ZA; + this.cMenTreeToolsSortDescending.Image = My.Resources.Sort_ZA; this.cMenTreeToolsSortDescending.Name = "cMenTreeToolsSortDescending"; this.cMenTreeToolsSortDescending.Size = new System.Drawing.Size(157, 22); this.cMenTreeToolsSortDescending.Text = "Descending (Z-A)"; // //cMenTreeMoveUp // - this.cMenTreeMoveUp.Image = global::My.Resources.Resources.Arrow_Up; + this.cMenTreeMoveUp.Image = My.Resources.Arrow_Up; this.cMenTreeMoveUp.Name = "cMenTreeMoveUp"; this.cMenTreeMoveUp.ShortcutKeys = (System.Windows.Forms.Keys) (System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Up); this.cMenTreeMoveUp.Size = new System.Drawing.Size(186, 22); @@ -379,7 +379,7 @@ namespace mRemoteNG.UI.Window // //cMenTreeMoveDown // - this.cMenTreeMoveDown.Image = global::My.Resources.Resources.Arrow_Down; + this.cMenTreeMoveDown.Image = My.Resources.Arrow_Down; this.cMenTreeMoveDown.Name = "cMenTreeMoveDown"; this.cMenTreeMoveDown.ShortcutKeys = (System.Windows.Forms.Keys) (System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Down); this.cMenTreeMoveDown.Size = new System.Drawing.Size(186, 22); @@ -407,7 +407,7 @@ namespace mRemoteNG.UI.Window //PictureBox1 // this.PictureBox1.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); - this.PictureBox1.Image = global::My.Resources.Resources.Search; + this.PictureBox1.Image = My.Resources.Search; this.PictureBox1.Location = new System.Drawing.Point(2, 412); this.PictureBox1.Name = "PictureBox1"; this.PictureBox1.Size = new System.Drawing.Size(16, 16); @@ -443,14 +443,14 @@ namespace mRemoteNG.UI.Window //mMenAddConnection // this.mMenAddConnection.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.mMenAddConnection.Image = global::My.Resources.Resources.Connection_Add; + this.mMenAddConnection.Image = My.Resources.Connection_Add; this.mMenAddConnection.Name = "mMenAddConnection"; this.mMenAddConnection.Size = new System.Drawing.Size(28, 20); // //mMenAddFolder // this.mMenAddFolder.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.mMenAddFolder.Image = global::My.Resources.Resources.Folder_Add; + this.mMenAddFolder.Image = My.Resources.Folder_Add; this.mMenAddFolder.Name = "mMenAddFolder"; this.mMenAddFolder.Size = new System.Drawing.Size(28, 20); // @@ -458,21 +458,21 @@ namespace mRemoteNG.UI.Window // this.mMenView.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.mMenView.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {this.mMenViewExpandAllFolders, this.mMenViewCollapseAllFolders}); - this.mMenView.Image = global::My.Resources.Resources.View; + this.mMenView.Image = My.Resources.View; this.mMenView.Name = "mMenView"; this.mMenView.Size = new System.Drawing.Size(28, 20); this.mMenView.Text = "&View"; // //mMenViewExpandAllFolders // - this.mMenViewExpandAllFolders.Image = global::My.Resources.Resources.Expand; + this.mMenViewExpandAllFolders.Image = My.Resources.Expand; this.mMenViewExpandAllFolders.Name = "mMenViewExpandAllFolders"; this.mMenViewExpandAllFolders.Size = new System.Drawing.Size(161, 22); this.mMenViewExpandAllFolders.Text = "Expand all folders"; // //mMenViewCollapseAllFolders // - this.mMenViewCollapseAllFolders.Image = global::My.Resources.Resources.Collapse; + this.mMenViewCollapseAllFolders.Image = My.Resources.Collapse; this.mMenViewCollapseAllFolders.Name = "mMenViewCollapseAllFolders"; this.mMenViewCollapseAllFolders.Size = new System.Drawing.Size(161, 22); this.mMenViewCollapseAllFolders.Text = "Collapse all folders"; @@ -480,7 +480,7 @@ namespace mRemoteNG.UI.Window //mMenSortAscending // this.mMenSortAscending.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.mMenSortAscending.Image = global::My.Resources.Resources.Sort_AZ; + this.mMenSortAscending.Image = My.Resources.Sort_AZ; this.mMenSortAscending.Name = "mMenSortAscending"; this.mMenSortAscending.Size = new System.Drawing.Size(28, 20); // @@ -491,7 +491,7 @@ namespace mRemoteNG.UI.Window this.Controls.Add(this.pnlConnections); this.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (8.25F), System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); this.HideOnClose = true; - this.Icon = global::My.Resources.Resources.Root_Icon; + this.Icon = My.Resources.Root_Icon; this.Name = "Tree"; this.TabText = "Connections"; this.Text = "Connections"; diff --git a/mRemoteV1/CS/UI/UI.Window.Tree.cs b/mRemoteV1/CS/UI/UI.Window.Tree.cs index 9543b8b01..523f2cca1 100644 --- a/mRemoteV1/CS/UI/UI.Window.Tree.cs +++ b/mRemoteV1/CS/UI/UI.Window.Tree.cs @@ -11,7 +11,6 @@ using System.Windows.Forms; using mRemoteNG.App; using mRemoteNG.My; using WeifenLuo.WinFormsUI.Docking; -using mRemoteNG.App; namespace mRemoteNG.UI.Window @@ -143,9 +142,9 @@ namespace mRemoteNG.UI.Window cMenTreeDelete.ShortcutKeys = Keys.Delete; mRemoteNG.Tree.Node.FinishRenameSelectedNode(e.Label); - Windows.configForm.pGrid_SelectedObjectChanged(); + Runtime.Windows.configForm.pGrid_SelectedObjectChanged(); ShowHideTreeContextMenuItems(e.Node); - SaveConnectionsBG(); + Runtime.SaveConnectionsBG(); } catch (Exception ex) { @@ -159,26 +158,26 @@ namespace mRemoteNG.UI.Window { if ((mRemoteNG.Tree.Node.GetNodeType(e.Node) == mRemoteNG.Tree.Node.Type.Connection) || (mRemoteNG.Tree.Node.GetNodeType(e.Node) == mRemoteNG.Tree.Node.Type.PuttySession)) { - Windows.configForm.SetPropertyGridObject(e.Node.Tag); + Runtime.Windows.configForm.SetPropertyGridObject(e.Node.Tag); } else if (mRemoteNG.Tree.Node.GetNodeType(e.Node) == mRemoteNG.Tree.Node.Type.Container) { - Windows.configForm.SetPropertyGridObject((e.Node.Tag as Container.Info).ConnectionInfo); + Runtime.Windows.configForm.SetPropertyGridObject((e.Node.Tag as Container.Info).ConnectionInfo); } else if ((mRemoteNG.Tree.Node.GetNodeType(e.Node) == mRemoteNG.Tree.Node.Type.Root) || (mRemoteNG.Tree.Node.GetNodeType(e.Node) == mRemoteNG.Tree.Node.Type.PuttyRoot)) { - Windows.configForm.SetPropertyGridObject(e.Node.Tag); + Runtime.Windows.configForm.SetPropertyGridObject(e.Node.Tag); } else { return; } - - Windows.configForm.pGrid_SelectedObjectChanged(); + + Runtime.Windows.configForm.pGrid_SelectedObjectChanged(); ShowHideTreeContextMenuItems(e.Node); - Windows.sessionsForm.GetSessions(true); - - LastSelected = mRemoteNG.Tree.Node.GetConstantID(e.Node); + Runtime.Windows.sessionsForm.GetSessions(true); + + Runtime.LastSelected = mRemoteNG.Tree.Node.GetConstantID(e.Node); } catch (Exception ex) { @@ -195,16 +194,16 @@ namespace mRemoteNG.UI.Window if (e.Button == MouseButtons.Left) { - if (Settings.SingleClickOnConnectionOpensIt && + if (My.Settings.Default.SingleClickOnConnectionOpensIt && (mRemoteNG.Tree.Node.GetNodeType(e.Node) == mRemoteNG.Tree.Node.Type.Connection | mRemoteNG.Tree.Node.GetNodeType(e.Node) == mRemoteNG.Tree.Node.Type.PuttySession)) { - OpenConnection(); + Runtime.OpenConnection(); } - if (Settings.SingleClickSwitchesToOpenConnection && mRemoteNG.Tree.Node.GetNodeType(e.Node) == mRemoteNG.Tree.Node.Type.Connection) + if (My.Settings.Default.SingleClickSwitchesToOpenConnection && mRemoteNG.Tree.Node.GetNodeType(e.Node) == mRemoteNG.Tree.Node.Type.Connection) { - SwitchToOpenConnection(e.Node.Tag); + Runtime.SwitchToOpenConnection((mRemoteNG.Connection.Info)e.Node.Tag); } } } @@ -219,7 +218,7 @@ namespace mRemoteNG.UI.Window if (mRemoteNG.Tree.Node.GetNodeType(mRemoteNG.Tree.Node.SelectedNode) == mRemoteNG.Tree.Node.Type.Connection | mRemoteNG.Tree.Node.GetNodeType(mRemoteNG.Tree.Node.SelectedNode) == mRemoteNG.Tree.Node.Type.PuttySession) { - OpenConnection(); + Runtime.OpenConnection(); } } @@ -267,7 +266,7 @@ namespace mRemoteNG.UI.Window if (mRemoteNG.Tree.Node.GetNodeType(selectedNode) == mRemoteNG.Tree.Node.Type.Connection) { - mRemoteNG.Connection.Info connectionInfo = selectedNode.Tag; + mRemoteNG.Connection.Info connectionInfo = (mRemoteNG.Connection.Info)selectedNode.Tag; if (connectionInfo.OpenConnections.Count == 0) { @@ -293,7 +292,7 @@ namespace mRemoteNG.UI.Window } else if (mRemoteNG.Tree.Node.GetNodeType(selectedNode) == mRemoteNG.Tree.Node.Type.PuttySession) { - mRemoteNG.Connection.PuttySession.Info puttySessionInfo = selectedNode.Tag; + mRemoteNG.Connection.PuttySession.Info puttySessionInfo = (mRemoteNG.Connection.PuttySession.Info)selectedNode.Tag; cMenTreeAddConnection.Enabled = false; cMenTreeAddFolder.Enabled = false; @@ -329,7 +328,7 @@ namespace mRemoteNG.UI.Window { if (node.Tag is mRemoteNG.Connection.Info) { - connectionInfo = node.Tag; + connectionInfo = (mRemoteNG.Connection.Info)node.Tag; openConnections = openConnections + connectionInfo.OpenConnections.Count; } } @@ -440,18 +439,19 @@ namespace mRemoteNG.UI.Window { if (mRemoteNG.Tree.Node.GetNodeType(dropNode.Parent) == mRemoteNG.Tree.Node.Type.Container) { - dropNode.Tag.Parent = dropNode.Parent.Tag; + ((mRemoteNG.Container.Info)dropNode.Tag).Parent = (mRemoteNG.Container.Info)dropNode.Parent.Tag; } else if (mRemoteNG.Tree.Node.GetNodeType(dropNode.Parent) == mRemoteNG.Tree.Node.Type.Root) { - dropNode.Tag.Parent = null; if (mRemoteNG.Tree.Node.GetNodeType(dropNode) == mRemoteNG.Tree.Node.Type.Connection) { - dropNode.Tag.Inherit.TurnOffInheritanceCompletely(); + ((mRemoteNG.Connection.Info)dropNode.Tag).Parent = null; + ((mRemoteNG.Connection.Info)dropNode.Tag).Inherit.TurnOffInheritanceCompletely(); } else if (mRemoteNG.Tree.Node.GetNodeType(dropNode) == mRemoteNG.Tree.Node.Type.Container) { - dropNode.Tag.ConnectionInfo.Inherit.TurnOffInheritanceCompletely(); + ((mRemoteNG.Container.Info)dropNode.Tag).Parent = null; + ((mRemoteNG.Container.Info)dropNode.Tag).ConnectionInfo.Inherit.TurnOffInheritanceCompletely(); } } } @@ -460,8 +460,8 @@ namespace mRemoteNG.UI.Window //the user and select it dropNode.EnsureVisible(); selectedTreeview.SelectedNode = dropNode; - - SaveConnectionsBG(); + + Runtime.SaveConnectionsBG(); } catch (Exception ex) { @@ -573,43 +573,43 @@ namespace mRemoteNG.UI.Window public void cMenTreeAddConnection_Click(System.Object sender, EventArgs e) { AddConnection(); - SaveConnectionsBG(); + Runtime.SaveConnectionsBG(); } public void cMenTreeAddFolder_Click(System.Object sender, EventArgs e) { AddFolder(); - SaveConnectionsBG(); + Runtime.SaveConnectionsBG(); } static public void cMenTreeConnect_Click(System.Object sender, EventArgs e) { - OpenConnection(mRemoteNG.Connection.Info.Force.DoNotJump); + Runtime.OpenConnection(mRemoteNG.Connection.Info.Force.DoNotJump); } static public void cMenTreeConnectWithOptionsConnectToConsoleSession_Click(System.Object sender, EventArgs e) { - OpenConnection(mRemoteNG.Connection.Info.Force.UseConsoleSession | mRemoteNG.Connection.Info.Force.DoNotJump); + Runtime.OpenConnection(mRemoteNG.Connection.Info.Force.UseConsoleSession | mRemoteNG.Connection.Info.Force.DoNotJump); } static public void cMenTreeConnectWithOptionsNoCredentials_Click(System.Object sender, EventArgs e) { - OpenConnection(mRemoteNG.Connection.Info.Force.NoCredentials); + Runtime.OpenConnection(mRemoteNG.Connection.Info.Force.NoCredentials); } static public void cMenTreeConnectWithOptionsDontConnectToConsoleSession_Click(System.Object sender, EventArgs e) { - OpenConnection(mRemoteNG.Connection.Info.Force.DontUseConsoleSession | mRemoteNG.Connection.Info.Force.DoNotJump); + Runtime.OpenConnection(mRemoteNG.Connection.Info.Force.DontUseConsoleSession | mRemoteNG.Connection.Info.Force.DoNotJump); } static public void cMenTreeConnectWithOptionsConnectInFullscreen_Click(System.Object sender, EventArgs e) { - OpenConnection(mRemoteNG.Connection.Info.Force.Fullscreen | mRemoteNG.Connection.Info.Force.DoNotJump); + Runtime.OpenConnection(mRemoteNG.Connection.Info.Force.Fullscreen | mRemoteNG.Connection.Info.Force.DoNotJump); } static public void cMenTreeConnectWithOptionsChoosePanelBeforeConnecting_Click(System.Object sender, EventArgs e) { - OpenConnection(mRemoteNG.Connection.Info.Force.OverridePanel | mRemoteNG.Connection.Info.Force.DoNotJump); + Runtime.OpenConnection(mRemoteNG.Connection.Info.Force.OverridePanel | mRemoteNG.Connection.Info.Force.DoNotJump); } public void cMenTreeDisconnect_Click(System.Object sender, EventArgs e) @@ -627,7 +627,7 @@ namespace mRemoteNG.UI.Window tvConnections.BeginUpdate(); mRemoteNG.Tree.Node.Sort(tvConnections.Nodes[0], SortOrder.Ascending); tvConnections.EndUpdate(); - SaveConnectionsBG(); + Runtime.SaveConnectionsBG(); } public void cMenTreeToolsSortAscending_Click(System.Object sender, EventArgs e) @@ -635,7 +635,7 @@ namespace mRemoteNG.UI.Window tvConnections.BeginUpdate(); mRemoteNG.Tree.Node.Sort(tvConnections.SelectedNode, SortOrder.Ascending); tvConnections.EndUpdate(); - SaveConnectionsBG(); + Runtime.SaveConnectionsBG(); } public void cMenTreeToolsSortDescending_Click(System.Object sender, EventArgs e) @@ -643,7 +643,7 @@ namespace mRemoteNG.UI.Window tvConnections.BeginUpdate(); mRemoteNG.Tree.Node.Sort(tvConnections.SelectedNode, SortOrder.Descending); tvConnections.EndUpdate(); - SaveConnectionsBG(); + Runtime.SaveConnectionsBG(); } public void cMenTree_DropDownOpening(object sender, EventArgs e) @@ -653,56 +653,56 @@ namespace mRemoteNG.UI.Window private static void cMenTreeToolsExternalAppsEntry_Click(object sender, EventArgs e) { - StartExternalApp(sender.Tag); + StartExternalApp((mRemoteNG.Tools.ExternalTool)((System.Windows.Forms.Control)sender).Tag); } public void cMenTreeDuplicate_Click(System.Object sender, EventArgs e) { mRemoteNG.Tree.Node.CloneNode(tvConnections.SelectedNode); - SaveConnectionsBG(); + Runtime.SaveConnectionsBG(); } static public void cMenTreeRename_Click(System.Object sender, EventArgs e) { mRemoteNG.Tree.Node.StartRenameSelectedNode(); - SaveConnectionsBG(); + Runtime.SaveConnectionsBG(); } static public void cMenTreeDelete_Click(System.Object sender, EventArgs e) { mRemoteNG.Tree.Node.DeleteSelectedNode(); - SaveConnectionsBG(); + Runtime.SaveConnectionsBG(); } static public void cMenTreeImportFile_Click(System.Object sender, EventArgs e) { - Import.ImportFromFile(Windows.treeForm.tvConnections.Nodes[0], Windows.treeForm.tvConnections.SelectedNode, true); + Import.ImportFromFile(Runtime.Windows.treeForm.tvConnections.Nodes[0], Runtime.Windows.treeForm.tvConnections.SelectedNode, true); } static public void cMenTreeImportActiveDirectory_Click(System.Object sender, EventArgs e) { - Windows.Show(Type.ActiveDirectoryImport); + Runtime.Windows.Show(Type.ActiveDirectoryImport); } static public void cMenTreeImportPortScan_Click(System.Object sender, EventArgs e) { - Windows.Show(UI.Window.Type.PortScan, true); + Runtime.Windows.Show(UI.Window.Type.PortScan, true); } static public void cMenTreeExportFile_Click(System.Object sender, EventArgs e) { - Export.ExportToFile(Windows.treeForm.tvConnections.Nodes[0], Windows.treeForm.tvConnections.SelectedNode); + Export.ExportToFile(Runtime.Windows.treeForm.tvConnections.Nodes[0], Runtime.Windows.treeForm.tvConnections.SelectedNode); } static public void cMenTreeMoveUp_Click(System.Object sender, EventArgs e) { mRemoteNG.Tree.Node.MoveNodeUp(); - SaveConnectionsBG(); + Runtime.SaveConnectionsBG(); } static public void cMenTreeMoveDown_Click(System.Object sender, EventArgs e) { mRemoteNG.Tree.Node.MoveNodeDown(); - SaveConnectionsBG(); + Runtime.SaveConnectionsBG(); } #endregion @@ -736,12 +736,12 @@ namespace mRemoteNG.UI.Window } else { - newConnectionInfo.Parent = containerNode.Tag; + newConnectionInfo.Parent = (mRemoteNG.Container.Info)containerNode.Tag; } newConnectionInfo.TreeNode = newTreeNode; newTreeNode.Tag = newConnectionInfo; - ConnectionList.Add(newConnectionInfo); + Runtime.ConnectionList.Add(newConnectionInfo); containerNode.Nodes.Add(newTreeNode); @@ -793,8 +793,8 @@ namespace mRemoteNG.UI.Window { newContainerInfo.ConnectionInfo.Inherit.TurnOffInheritanceCompletely(); } - - ContainerList.Add(newContainerInfo); + + Runtime.ContainerList.Add(newContainerInfo); parentNode.Nodes.Add(newNode); tvConnections.SelectedNode = newNode; @@ -814,7 +814,7 @@ namespace mRemoteNG.UI.Window { if (tvConnections.SelectedNode.Tag is mRemoteNG.Connection.Info) { - mRemoteNG.Connection.Info conI = tvConnections.SelectedNode.Tag; + mRemoteNG.Connection.Info conI = (mRemoteNG.Connection.Info)tvConnections.SelectedNode.Tag; for (int i = 0; i <= conI.OpenConnections.Count - 1; i++) { conI.OpenConnections[i].Disconnect(); @@ -827,7 +827,7 @@ namespace mRemoteNG.UI.Window { if (n.Tag is mRemoteNG.Connection.Info) { - mRemoteNG.Connection.Info conI = n.Tag; + mRemoteNG.Connection.Info conI = (mRemoteNG.Connection.Info)n.Tag; for (int i = 0; i <= conI.OpenConnections.Count - 1; i++) { conI.OpenConnections[i].Disconnect(); @@ -847,14 +847,14 @@ namespace mRemoteNG.UI.Window { try { - Windows.Show(Type.SSHTransfer); - - mRemoteNG.Connection.Info conI = mRemoteNG.Tree.Node.SelectedNode.Tag; - - Windows.sshtransferForm.Hostname = conI.Hostname; - Windows.sshtransferForm.Username = conI.Username; - Windows.sshtransferForm.Password = conI.Password; - Windows.sshtransferForm.Port = System.Convert.ToString(conI.Port); + Runtime.Windows.Show(Type.SSHTransfer); + + mRemoteNG.Connection.Info conI = (mRemoteNG.Connection.Info)mRemoteNG.Tree.Node.SelectedNode.Tag; + + Runtime.Windows.sshtransferForm.Hostname = conI.Hostname; + Runtime.Windows.sshtransferForm.Username = conI.Username; + Runtime.Windows.sshtransferForm.Password = conI.Password; + Runtime.Windows.sshtransferForm.Port = System.Convert.ToString(conI.Port); } catch (Exception ex) { @@ -895,7 +895,7 @@ namespace mRemoteNG.UI.Window { if (mRemoteNG.Tree.Node.GetNodeType(mRemoteNG.Tree.Node.SelectedNode) == mRemoteNG.Tree.Node.Type.Connection | mRemoteNG.Tree.Node.GetNodeType(mRemoteNG.Tree.Node.SelectedNode) == mRemoteNG.Tree.Node.Type.PuttySession) { - externalTool.Start(mRemoteNG.Tree.Node.SelectedNode.Tag); + externalTool.Start((mRemoteNG.Connection.Info)mRemoteNG.Tree.Node.SelectedNode.Tag); } } catch (Exception ex) @@ -1003,7 +1003,7 @@ namespace mRemoteNG.UI.Window if (tvConnections.SelectedNode.Tag is mRemoteNG.Connection.Info) { e.Handled = true; - OpenConnection(); + Runtime.OpenConnection(); } else { diff --git a/mRemoteV1/CS/UI/UI.Window.Type.cs b/mRemoteV1/CS/UI/UI.Window.Type.cs index f0f99347d..5aaa7d119 100644 --- a/mRemoteV1/CS/UI/UI.Window.Type.cs +++ b/mRemoteV1/CS/UI/UI.Window.Type.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,29 +8,28 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports namespace mRemoteNG.UI.Window { public enum Type - { - Tree = 0, - Connection = 1, - Config = 2, - Sessions = 3, - ErrorsAndInfos = 4, - ScreenshotManager = 5, - Options = 6, - About = 8, - Update = 9, - SSHTransfer = 10, - ActiveDirectoryImport = 11, - Help = 12, - ExternalApps = 13, - PortScan = 14, - UltraVNCSC = 16, - ComponentsCheck = 17, - Announcement = 18 - } + { + Tree = 0, + Connection = 1, + Config = 2, + Sessions = 3, + ErrorsAndInfos = 4, + ScreenshotManager = 5, + Options = 6, + About = 8, + Update = 9, + SSHTransfer = 10, + ActiveDirectoryImport = 11, + Help = 12, + ExternalApps = 13, + PortScan = 14, + UltraVNCSC = 16, + ComponentsCheck = 17, + Announcement = 18 + } } diff --git a/mRemoteV1/CS/UI/UI.Window.UltraVNCSC.cs b/mRemoteV1/CS/UI/UI.Window.UltraVNCSC.cs index 28fda5209..7e0d4b2a0 100644 --- a/mRemoteV1/CS/UI/UI.Window.UltraVNCSC.cs +++ b/mRemoteV1/CS/UI/UI.Window.UltraVNCSC.cs @@ -67,7 +67,7 @@ namespace mRemoteNG.UI.Window this.ClientSize = new System.Drawing.Size(446, 362); this.Controls.Add(this.pnlContainer); this.Controls.Add(this.tsMain); - this.Icon = global::My.Resources.UVNC_SC_Icon; + this.Icon = My.Resources.UVNC_SC_Icon; this.Name = "UltraVNCSC"; this.TabText = "UltraVNC SC"; this.Text = "UltraVNC SC"; diff --git a/mRemoteV1/CS/UI/UI.Window.Update.Designer.cs b/mRemoteV1/CS/UI/UI.Window.Update.Designer.cs index 492064682..48a8f75e4 100644 --- a/mRemoteV1/CS/UI/UI.Window.Update.Designer.cs +++ b/mRemoteV1/CS/UI/UI.Window.Update.Designer.cs @@ -1,4 +1,3 @@ -// VBConversions Note: VB project level imports using System.Collections.Generic; using System; using AxWFICALib; @@ -9,210 +8,202 @@ using AxMSTSCLib; using Microsoft.VisualBasic; using System.Collections; using System.Windows.Forms; -// End of VB project level imports -namespace mRemoteNG +namespace mRemoteNG.UI.Window { - namespace Wi + public partial class Update { - namespace Window - { - public partial class Update - { -#region Windows Form Designer generated code - internal System.Windows.Forms.Label lblStatus; - internal System.Windows.Forms.TextBox txtChangeLog; - internal System.Windows.Forms.ProgressBar prgbDownload; - internal System.Windows.Forms.Button btnDownload; - internal System.Windows.Forms.Label lblChangeLogLabel; - internal System.Windows.Forms.Panel pnlUpdate; - internal System.Windows.Forms.Label lblLatestVersionLabel; - internal System.Windows.Forms.Label lblInstalledVersionLabel; - internal System.Windows.Forms.Label lblLatestVersion; - internal System.Windows.Forms.Label lblInstalledVersion; - internal System.Windows.Forms.PictureBox pbUpdateImage; - internal System.Windows.Forms.Button btnCheckForUpdate; + #region Windows Form Designer generated code + internal System.Windows.Forms.Label lblStatus; + internal System.Windows.Forms.TextBox txtChangeLog; + internal System.Windows.Forms.ProgressBar prgbDownload; + internal System.Windows.Forms.Button btnDownload; + internal System.Windows.Forms.Label lblChangeLogLabel; + internal System.Windows.Forms.Panel pnlUpdate; + internal System.Windows.Forms.Label lblLatestVersionLabel; + internal System.Windows.Forms.Label lblInstalledVersionLabel; + internal System.Windows.Forms.Label lblLatestVersion; + internal System.Windows.Forms.Label lblInstalledVersion; + internal System.Windows.Forms.PictureBox pbUpdateImage; + internal System.Windows.Forms.Button btnCheckForUpdate; - private void InitializeComponent() - { - this.btnCheckForUpdate = new System.Windows.Forms.Button(); - this.btnCheckForUpdate.Click += new System.EventHandler(this.btnCheckForUpdate_Click); - this.pnlUpdate = new System.Windows.Forms.Panel(); - this.lblChangeLogLabel = new System.Windows.Forms.Label(); - this.btnDownload = new System.Windows.Forms.Button(); - this.btnDownload.Click += new System.EventHandler(this.btnDownload_Click); - this.prgbDownload = new System.Windows.Forms.ProgressBar(); - this.txtChangeLog = new System.Windows.Forms.TextBox(); - this.lblStatus = new System.Windows.Forms.Label(); - this.lblLatestVersionLabel = new System.Windows.Forms.Label(); - this.lblInstalledVersionLabel = new System.Windows.Forms.Label(); - this.lblLatestVersion = new System.Windows.Forms.Label(); - this.lblInstalledVersion = new System.Windows.Forms.Label(); - this.pbUpdateImage = new System.Windows.Forms.PictureBox(); - this.pbUpdateImage.Click += new System.EventHandler(this.pbUpdateImage_Click); - this.pnlUpdate.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize) this.pbUpdateImage).BeginInit(); - this.SuspendLayout(); - // - //btnCheckForUpdate - // - this.btnCheckForUpdate.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnCheckForUpdate.Location = new System.Drawing.Point(16, 104); - this.btnCheckForUpdate.Name = "btnCheckForUpdate"; - this.btnCheckForUpdate.Size = new System.Drawing.Size(104, 32); - this.btnCheckForUpdate.TabIndex = 5; - this.btnCheckForUpdate.Text = "Check Again"; - this.btnCheckForUpdate.UseVisualStyleBackColor = true; - // - //pnlUpdate - // - this.pnlUpdate.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.pnlUpdate.Controls.Add(this.lblChangeLogLabel); - this.pnlUpdate.Controls.Add(this.btnDownload); - this.pnlUpdate.Controls.Add(this.prgbDownload); - this.pnlUpdate.Controls.Add(this.txtChangeLog); - this.pnlUpdate.Location = new System.Drawing.Point(16, 152); - this.pnlUpdate.Name = "pnlUpdate"; - this.pnlUpdate.Size = new System.Drawing.Size(718, 248); - this.pnlUpdate.TabIndex = 6; - this.pnlUpdate.Visible = false; - // - //lblChangeLogLabel - // - this.lblChangeLogLabel.AutoSize = true; - this.lblChangeLogLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (8.25F), System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); - this.lblChangeLogLabel.Location = new System.Drawing.Point(0, 0); - this.lblChangeLogLabel.Name = "lblChangeLogLabel"; - this.lblChangeLogLabel.Size = new System.Drawing.Size(79, 13); - this.lblChangeLogLabel.TabIndex = 0; - this.lblChangeLogLabel.Text = "Change Log:"; - // - //btnDownload - // - this.btnDownload.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); - this.btnDownload.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnDownload.Location = new System.Drawing.Point(0, 216); - this.btnDownload.Name = "btnDownload"; - this.btnDownload.Size = new System.Drawing.Size(144, 32); - this.btnDownload.TabIndex = 2; - this.btnDownload.Text = "Download and Install"; - this.btnDownload.UseVisualStyleBackColor = true; - // - //prgbDownload - // - this.prgbDownload.Anchor = (System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right); - this.prgbDownload.Location = new System.Drawing.Point(160, 224); - this.prgbDownload.Name = "prgbDownload"; - this.prgbDownload.Size = new System.Drawing.Size(542, 23); - this.prgbDownload.TabIndex = 3; - this.prgbDownload.Visible = false; - // - //txtChangeLog - // - this.txtChangeLog.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.txtChangeLog.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.txtChangeLog.Cursor = System.Windows.Forms.Cursors.Arrow; - this.txtChangeLog.Location = new System.Drawing.Point(16, 24); - this.txtChangeLog.Multiline = true; - this.txtChangeLog.Name = "txtChangeLog"; - this.txtChangeLog.ReadOnly = true; - this.txtChangeLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.txtChangeLog.Size = new System.Drawing.Size(699, 181); - this.txtChangeLog.TabIndex = 1; - this.txtChangeLog.TabStop = false; - // - //lblStatus - // - this.lblStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (12.0F), System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); - this.lblStatus.ForeColor = System.Drawing.SystemColors.ControlText; - this.lblStatus.Location = new System.Drawing.Point(12, 16); - this.lblStatus.Name = "lblStatus"; - this.lblStatus.Size = new System.Drawing.Size(660, 23); - this.lblStatus.TabIndex = 0; - this.lblStatus.Text = "Status"; - this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - //lblLatestVersionLabel - // - this.lblLatestVersionLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (8.25F), System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); - this.lblLatestVersionLabel.Location = new System.Drawing.Point(16, 72); - this.lblLatestVersionLabel.Name = "lblLatestVersionLabel"; - this.lblLatestVersionLabel.Size = new System.Drawing.Size(120, 16); - this.lblLatestVersionLabel.TabIndex = 3; - this.lblLatestVersionLabel.Text = "Current version:"; - this.lblLatestVersionLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - //lblInstalledVersionLabel - // - this.lblInstalledVersionLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (8.25F), System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); - this.lblInstalledVersionLabel.Location = new System.Drawing.Point(16, 48); - this.lblInstalledVersionLabel.Name = "lblInstalledVersionLabel"; - this.lblInstalledVersionLabel.Size = new System.Drawing.Size(120, 16); - this.lblInstalledVersionLabel.TabIndex = 1; - this.lblInstalledVersionLabel.Text = "Installed version:"; - this.lblInstalledVersionLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - //lblLatestVersion - // - this.lblLatestVersion.Location = new System.Drawing.Point(136, 72); - this.lblLatestVersion.Name = "lblLatestVersion"; - this.lblLatestVersion.Size = new System.Drawing.Size(104, 16); - this.lblLatestVersion.TabIndex = 4; - this.lblLatestVersion.Text = "Version"; - this.lblLatestVersion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - //lblInstalledVersion - // - this.lblInstalledVersion.Location = new System.Drawing.Point(136, 48); - this.lblInstalledVersion.Name = "lblInstalledVersion"; - this.lblInstalledVersion.Size = new System.Drawing.Size(104, 16); - this.lblInstalledVersion.TabIndex = 2; - this.lblInstalledVersion.Text = "Version"; - this.lblInstalledVersion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - //pbUpdateImage - // - this.pbUpdateImage.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right); - this.pbUpdateImage.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pbUpdateImage.Cursor = System.Windows.Forms.Cursors.Hand; - this.pbUpdateImage.Location = new System.Drawing.Point(246, 48); - this.pbUpdateImage.Name = "pbUpdateImage"; - this.pbUpdateImage.Size = new System.Drawing.Size(468, 60); - this.pbUpdateImage.TabIndex = 45; - this.pbUpdateImage.TabStop = false; - this.pbUpdateImage.Visible = false; - // - //Update - // - this.ClientSize = new System.Drawing.Size(734, 418); - this.Controls.Add(this.pbUpdateImage); - this.Controls.Add(this.lblLatestVersionLabel); - this.Controls.Add(this.lblInstalledVersionLabel); - this.Controls.Add(this.lblLatestVersion); - this.Controls.Add(this.btnCheckForUpdate); - this.Controls.Add(this.lblInstalledVersion); - this.Controls.Add(this.pnlUpdate); - this.Controls.Add(this.lblStatus); - this.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (8.25F), System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); - this.Icon = global::My.Resources.Resources.Update_Icon; - this.Name = "Update"; - this.TabText = "Update"; - this.Text = "Update"; - this.pnlUpdate.ResumeLayout(false); - this.pnlUpdate.PerformLayout(); - ((System.ComponentModel.ISupportInitialize) this.pbUpdateImage).EndInit(); - this.ResumeLayout(false); + private void InitializeComponent() + { + this.btnCheckForUpdate = new System.Windows.Forms.Button(); + this.btnCheckForUpdate.Click += new System.EventHandler(this.btnCheckForUpdate_Click); + this.pnlUpdate = new System.Windows.Forms.Panel(); + this.lblChangeLogLabel = new System.Windows.Forms.Label(); + this.btnDownload = new System.Windows.Forms.Button(); + this.btnDownload.Click += new System.EventHandler(this.btnDownload_Click); + this.prgbDownload = new System.Windows.Forms.ProgressBar(); + this.txtChangeLog = new System.Windows.Forms.TextBox(); + this.lblStatus = new System.Windows.Forms.Label(); + this.lblLatestVersionLabel = new System.Windows.Forms.Label(); + this.lblInstalledVersionLabel = new System.Windows.Forms.Label(); + this.lblLatestVersion = new System.Windows.Forms.Label(); + this.lblInstalledVersion = new System.Windows.Forms.Label(); + this.pbUpdateImage = new System.Windows.Forms.PictureBox(); + this.pbUpdateImage.Click += new System.EventHandler(this.pbUpdateImage_Click); + this.pnlUpdate.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize) this.pbUpdateImage).BeginInit(); + this.SuspendLayout(); + // + //btnCheckForUpdate + // + this.btnCheckForUpdate.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnCheckForUpdate.Location = new System.Drawing.Point(16, 104); + this.btnCheckForUpdate.Name = "btnCheckForUpdate"; + this.btnCheckForUpdate.Size = new System.Drawing.Size(104, 32); + this.btnCheckForUpdate.TabIndex = 5; + this.btnCheckForUpdate.Text = "Check Again"; + this.btnCheckForUpdate.UseVisualStyleBackColor = true; + // + //pnlUpdate + // + this.pnlUpdate.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.pnlUpdate.Controls.Add(this.lblChangeLogLabel); + this.pnlUpdate.Controls.Add(this.btnDownload); + this.pnlUpdate.Controls.Add(this.prgbDownload); + this.pnlUpdate.Controls.Add(this.txtChangeLog); + this.pnlUpdate.Location = new System.Drawing.Point(16, 152); + this.pnlUpdate.Name = "pnlUpdate"; + this.pnlUpdate.Size = new System.Drawing.Size(718, 248); + this.pnlUpdate.TabIndex = 6; + this.pnlUpdate.Visible = false; + // + //lblChangeLogLabel + // + this.lblChangeLogLabel.AutoSize = true; + this.lblChangeLogLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (8.25F), System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); + this.lblChangeLogLabel.Location = new System.Drawing.Point(0, 0); + this.lblChangeLogLabel.Name = "lblChangeLogLabel"; + this.lblChangeLogLabel.Size = new System.Drawing.Size(79, 13); + this.lblChangeLogLabel.TabIndex = 0; + this.lblChangeLogLabel.Text = "Change Log:"; + // + //btnDownload + // + this.btnDownload.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left); + this.btnDownload.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnDownload.Location = new System.Drawing.Point(0, 216); + this.btnDownload.Name = "btnDownload"; + this.btnDownload.Size = new System.Drawing.Size(144, 32); + this.btnDownload.TabIndex = 2; + this.btnDownload.Text = "Download and Install"; + this.btnDownload.UseVisualStyleBackColor = true; + // + //prgbDownload + // + this.prgbDownload.Anchor = (System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right); + this.prgbDownload.Location = new System.Drawing.Point(160, 224); + this.prgbDownload.Name = "prgbDownload"; + this.prgbDownload.Size = new System.Drawing.Size(542, 23); + this.prgbDownload.TabIndex = 3; + this.prgbDownload.Visible = false; + // + //txtChangeLog + // + this.txtChangeLog.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.txtChangeLog.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.txtChangeLog.Cursor = System.Windows.Forms.Cursors.Arrow; + this.txtChangeLog.Location = new System.Drawing.Point(16, 24); + this.txtChangeLog.Multiline = true; + this.txtChangeLog.Name = "txtChangeLog"; + this.txtChangeLog.ReadOnly = true; + this.txtChangeLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; + this.txtChangeLog.Size = new System.Drawing.Size(699, 181); + this.txtChangeLog.TabIndex = 1; + this.txtChangeLog.TabStop = false; + // + //lblStatus + // + this.lblStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (12.0F), System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); + this.lblStatus.ForeColor = System.Drawing.SystemColors.ControlText; + this.lblStatus.Location = new System.Drawing.Point(12, 16); + this.lblStatus.Name = "lblStatus"; + this.lblStatus.Size = new System.Drawing.Size(660, 23); + this.lblStatus.TabIndex = 0; + this.lblStatus.Text = "Status"; + this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + //lblLatestVersionLabel + // + this.lblLatestVersionLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (8.25F), System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); + this.lblLatestVersionLabel.Location = new System.Drawing.Point(16, 72); + this.lblLatestVersionLabel.Name = "lblLatestVersionLabel"; + this.lblLatestVersionLabel.Size = new System.Drawing.Size(120, 16); + this.lblLatestVersionLabel.TabIndex = 3; + this.lblLatestVersionLabel.Text = "Current version:"; + this.lblLatestVersionLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + //lblInstalledVersionLabel + // + this.lblInstalledVersionLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (8.25F), System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); + this.lblInstalledVersionLabel.Location = new System.Drawing.Point(16, 48); + this.lblInstalledVersionLabel.Name = "lblInstalledVersionLabel"; + this.lblInstalledVersionLabel.Size = new System.Drawing.Size(120, 16); + this.lblInstalledVersionLabel.TabIndex = 1; + this.lblInstalledVersionLabel.Text = "Installed version:"; + this.lblInstalledVersionLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + //lblLatestVersion + // + this.lblLatestVersion.Location = new System.Drawing.Point(136, 72); + this.lblLatestVersion.Name = "lblLatestVersion"; + this.lblLatestVersion.Size = new System.Drawing.Size(104, 16); + this.lblLatestVersion.TabIndex = 4; + this.lblLatestVersion.Text = "Version"; + this.lblLatestVersion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + //lblInstalledVersion + // + this.lblInstalledVersion.Location = new System.Drawing.Point(136, 48); + this.lblInstalledVersion.Name = "lblInstalledVersion"; + this.lblInstalledVersion.Size = new System.Drawing.Size(104, 16); + this.lblInstalledVersion.TabIndex = 2; + this.lblInstalledVersion.Text = "Version"; + this.lblInstalledVersion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + //pbUpdateImage + // + this.pbUpdateImage.Anchor = (System.Windows.Forms.AnchorStyles) (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right); + this.pbUpdateImage.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pbUpdateImage.Cursor = System.Windows.Forms.Cursors.Hand; + this.pbUpdateImage.Location = new System.Drawing.Point(246, 48); + this.pbUpdateImage.Name = "pbUpdateImage"; + this.pbUpdateImage.Size = new System.Drawing.Size(468, 60); + this.pbUpdateImage.TabIndex = 45; + this.pbUpdateImage.TabStop = false; + this.pbUpdateImage.Visible = false; + // + //Update + // + this.ClientSize = new System.Drawing.Size(734, 418); + this.Controls.Add(this.pbUpdateImage); + this.Controls.Add(this.lblLatestVersionLabel); + this.Controls.Add(this.lblInstalledVersionLabel); + this.Controls.Add(this.lblLatestVersion); + this.Controls.Add(this.btnCheckForUpdate); + this.Controls.Add(this.lblInstalledVersion); + this.Controls.Add(this.pnlUpdate); + this.Controls.Add(this.lblStatus); + this.Font = new System.Drawing.Font("Microsoft Sans Serif", (float) (8.25F), System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, System.Convert.ToByte(0)); + this.Icon = My.Resources.Update_Icon; + this.Name = "Update"; + this.TabText = "Update"; + this.Text = "Update"; + this.pnlUpdate.ResumeLayout(false); + this.pnlUpdate.PerformLayout(); + ((System.ComponentModel.ISupportInitialize) this.pbUpdateImage).EndInit(); + this.ResumeLayout(false); - } -#endregion - } } + #endregion } - } diff --git a/mRemoteV1/CS/app.config b/mRemoteV1/CS/app.config index df982df95..d5248c0c9 100644 --- a/mRemoteV1/CS/app.config +++ b/mRemoteV1/CS/app.config @@ -3,9 +3,11 @@
+
+
@@ -54,6 +56,557 @@ + + + Normal + + + False + + + True + + + + + + True + + + True + + + True + + + True + + + False + + + False + + + + + + True + + + True + + + False + + + False + + + True + + + False + + + False + + + noinfo + + + + + + + + + + + + False + + + False + + + False + + + True + + + False + + + False + + + False + + + + + + 80 + + + False + + + + + + + + + + + + + + + + + + + + + RDP + + + Default Settings + + + False + + + FitToWindow + + + Colors16Bit + + + True + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + DoNotPlay + + + 2 + + + False + + + False + + + False + + + 0 + + + False + + + True + + + 0, 0 + + + Bottom + + + True + + + 3, 24 + + + Top + + + False + + + False + + + + + + + + + + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + EncrBasic + + + False + + + + + + + + + False + + + False + + + False + + + True + + + False + + + False + + + AuthVNC + + + ColNormal + + + SmartSAspect + + + False + + + CompNone + + + EncHextile + + + + + + + + + 0 + + + ProxyNone + + + + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + NoAuth + + + False + + + 5500 + + + False + + + + + + IE + + + False + + + + + + False + + + False + + + + + + False + + + + + + False + + + + + + False + + + 7 + + + 1980-01-01 + + + False + + + Never + + + Yes + + + mRemoteNG + + + False + + + False + + + False + + + False + + + False + + + False + + + 5 + + + + + + + + + + + + + + + + + + False + + + False + + + False + + + False + + + 4 + + + mRemoteNG + + + 10 + + + {0}.{1:yyyyMMdd-HHmmssffff}.backup + + + False + + + True + + + False + + + False + + + + + + True + + + + + + + + + True + + + https://update.mremoteng.org/ + + + + + + True + + + False + + + False + + + RDP + + + 9/9, 33/8 + + + 9/8, 34/8 + + Normal @@ -607,6 +1160,17 @@ + + + de,el,en,en-US,es-AR,es,fr,hu,it,nb-NO,nl,pt,pt-BR,pl,ru,uk,zh-CN,zh-TW + + + release + + + https://update.mremoteng.org/announcement.txt + + de,el,en,en-US,es-AR,es,fr,hu,it,nb-NO,nl,pt,pt-BR,pl,ru,uk,zh-CN,zh-TW diff --git a/mRemoteV1/CS/bin/Debug Portable/mRemoteNG.exe.config b/mRemoteV1/CS/bin/Debug Portable/mRemoteNG.exe.config index df982df95..d5248c0c9 100644 --- a/mRemoteV1/CS/bin/Debug Portable/mRemoteNG.exe.config +++ b/mRemoteV1/CS/bin/Debug Portable/mRemoteNG.exe.config @@ -3,9 +3,11 @@
+
+
@@ -54,6 +56,557 @@ + + + Normal + + + False + + + True + + + + + + True + + + True + + + True + + + True + + + False + + + False + + + + + + True + + + True + + + False + + + False + + + True + + + False + + + False + + + noinfo + + + + + + + + + + + + False + + + False + + + False + + + True + + + False + + + False + + + False + + + + + + 80 + + + False + + + + + + + + + + + + + + + + + + + + + RDP + + + Default Settings + + + False + + + FitToWindow + + + Colors16Bit + + + True + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + DoNotPlay + + + 2 + + + False + + + False + + + False + + + 0 + + + False + + + True + + + 0, 0 + + + Bottom + + + True + + + 3, 24 + + + Top + + + False + + + False + + + + + + + + + + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + EncrBasic + + + False + + + + + + + + + False + + + False + + + False + + + True + + + False + + + False + + + AuthVNC + + + ColNormal + + + SmartSAspect + + + False + + + CompNone + + + EncHextile + + + + + + + + + 0 + + + ProxyNone + + + + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + NoAuth + + + False + + + 5500 + + + False + + + + + + IE + + + False + + + + + + False + + + False + + + + + + False + + + + + + False + + + + + + False + + + 7 + + + 1980-01-01 + + + False + + + Never + + + Yes + + + mRemoteNG + + + False + + + False + + + False + + + False + + + False + + + False + + + 5 + + + + + + + + + + + + + + + + + + False + + + False + + + False + + + False + + + 4 + + + mRemoteNG + + + 10 + + + {0}.{1:yyyyMMdd-HHmmssffff}.backup + + + False + + + True + + + False + + + False + + + + + + True + + + + + + + + + True + + + https://update.mremoteng.org/ + + + + + + True + + + False + + + False + + + RDP + + + 9/9, 33/8 + + + 9/8, 34/8 + + Normal @@ -607,6 +1160,17 @@ + + + de,el,en,en-US,es-AR,es,fr,hu,it,nb-NO,nl,pt,pt-BR,pl,ru,uk,zh-CN,zh-TW + + + release + + + https://update.mremoteng.org/announcement.txt + + de,el,en,en-US,es-AR,es,fr,hu,it,nb-NO,nl,pt,pt-BR,pl,ru,uk,zh-CN,zh-TW diff --git a/mRemoteV1/CS/bin/Debug Portable/mRemoteNG.vshost.exe.config b/mRemoteV1/CS/bin/Debug Portable/mRemoteNG.vshost.exe.config index df982df95..d5248c0c9 100644 --- a/mRemoteV1/CS/bin/Debug Portable/mRemoteNG.vshost.exe.config +++ b/mRemoteV1/CS/bin/Debug Portable/mRemoteNG.vshost.exe.config @@ -3,9 +3,11 @@
+
+
@@ -54,6 +56,557 @@ + + + Normal + + + False + + + True + + + + + + True + + + True + + + True + + + True + + + False + + + False + + + + + + True + + + True + + + False + + + False + + + True + + + False + + + False + + + noinfo + + + + + + + + + + + + False + + + False + + + False + + + True + + + False + + + False + + + False + + + + + + 80 + + + False + + + + + + + + + + + + + + + + + + + + + RDP + + + Default Settings + + + False + + + FitToWindow + + + Colors16Bit + + + True + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + DoNotPlay + + + 2 + + + False + + + False + + + False + + + 0 + + + False + + + True + + + 0, 0 + + + Bottom + + + True + + + 3, 24 + + + Top + + + False + + + False + + + + + + + + + + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + EncrBasic + + + False + + + + + + + + + False + + + False + + + False + + + True + + + False + + + False + + + AuthVNC + + + ColNormal + + + SmartSAspect + + + False + + + CompNone + + + EncHextile + + + + + + + + + 0 + + + ProxyNone + + + + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + False + + + NoAuth + + + False + + + 5500 + + + False + + + + + + IE + + + False + + + + + + False + + + False + + + + + + False + + + + + + False + + + + + + False + + + 7 + + + 1980-01-01 + + + False + + + Never + + + Yes + + + mRemoteNG + + + False + + + False + + + False + + + False + + + False + + + False + + + 5 + + + + + + + + + + + + + + + + + + False + + + False + + + False + + + False + + + 4 + + + mRemoteNG + + + 10 + + + {0}.{1:yyyyMMdd-HHmmssffff}.backup + + + False + + + True + + + False + + + False + + + + + + True + + + + + + + + + True + + + https://update.mremoteng.org/ + + + + + + True + + + False + + + False + + + RDP + + + 9/9, 33/8 + + + 9/8, 34/8 + + Normal @@ -607,6 +1160,17 @@ + + + de,el,en,en-US,es-AR,es,fr,hu,it,nb-NO,nl,pt,pt-BR,pl,ru,uk,zh-CN,zh-TW + + + release + + + https://update.mremoteng.org/announcement.txt + + de,el,en,en-US,es-AR,es,fr,hu,it,nb-NO,nl,pt,pt-BR,pl,ru,uk,zh-CN,zh-TW diff --git a/mRemoteV1/CS/mRemoteV1.csproj b/mRemoteV1/CS/mRemoteV1.csproj index 260697ad0..e204de169 100644 --- a/mRemoteV1/CS/mRemoteV1.csproj +++ b/mRemoteV1/CS/mRemoteV1.csproj @@ -191,82 +191,83 @@ - + Component - + Component - + Component - + Component - + AdvancedPage.cs - + UserControl - + AppearancePage.cs - + UserControl - + ConnectionsPage.cs - + UserControl - + OptionsForm.cs - + Form - + KeyboardPage.cs - + UserControl - + UserControl - + SqlServerPage.cs - + UserControl - + StartupExitPage.cs - + UserControl - + TabsPanelsPage.cs - + UserControl - + ThemePage.cs - + UserControl - + UpdatesPage.cs - + UserControl + @@ -280,7 +281,9 @@ Connection.InterfaceControl.cs - + + Component + @@ -305,22 +308,22 @@ - + frmChoosePanel.cs - + Form - + frmMain.cs - + Form - + PasswordForm.cs - + Form @@ -399,7 +402,7 @@ Form - + ExportForm.cs @@ -418,7 +421,7 @@ Form - + Form @@ -451,46 +454,46 @@ - + frmChoosePanel.cs Designer - + frmMain.cs Designer - + PasswordForm.cs Designer - + AdvancedPage.cs - + AppearancePage.cs - + ConnectionsPage.cs - + OptionsForm.cs - + KeyboardPage.cs - + SqlServerPage.cs - + StartupExitPage.cs - + TabsPanelsPage.cs - + ThemePage.cs - + UpdatesPage.cs @@ -521,7 +524,7 @@ ResXFileCodeGenerator Language.Designer.cs - My + mRemoteNG.My Designer @@ -545,7 +548,7 @@ ResXFileCodeGenerator Resources.Designer.cs - My.Resources + mRemoteNG.My Designer @@ -592,7 +595,7 @@ UI.Window.PortScan.cs Designer - + ExportForm.cs Designer @@ -1020,7 +1023,7 @@ - My + mRemoteNG.My SettingsSingleFileGenerator Settings.Designer.cs diff --git a/mRemoteV1/CS/mRemoteV1.v12.suo b/mRemoteV1/CS/mRemoteV1.v12.suo index 2430757aa52a24cec5462cab1c966f1fb92ba212..4b8550c42127200255530938630064f8bcd6f213 100644 GIT binary patch delta 41174 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 delta 18341 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 TPkutrIX^2x$5i8a*{J(JR4na8 diff --git a/mRemoteV1/Settings.vb b/mRemoteV1/Settings.vb new file mode 100644 index 000000000..94ac0c7ac --- /dev/null +++ b/mRemoteV1/Settings.vb @@ -0,0 +1,11 @@ + +Namespace My + + 'This class allows you to handle specific events on the settings class: + ' The SettingChanging event is raised before a setting's value is changed. + ' The PropertyChanged event is raised after a setting's value is changed. + ' The SettingsLoaded event is raised after the setting values are loaded. + ' The SettingsSaving event is raised before the setting values are saved. + Partial Friend NotInheritable Class MySettings + End Class +End Namespace diff --git a/mRemoteV1/obj/Debug Portable/DesignTimeResolveAssemblyReferences.cache b/mRemoteV1/obj/Debug Portable/DesignTimeResolveAssemblyReferences.cache index 83df2b7f9685ec903ca6478deb8bae2008639919..8f6772b513dfc74216bebf0f1cdf3a8283e45869 100644 GIT binary patch literal 192634 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 literal 188392 zcmeI5349b)*7kF;>Ci0@qHJyuXAl_01e8q&*=3nwQ;?t{Atap;Nz#~v0E!SdK*s@8 z1e{U84VV!D9Ryx=05?EIa2y0w1XKjv02P5zN51D&_qjPYRfQVE`})*BmP9Bjl#`bqvAk2xj!jDK7R}F(WR+kM zic@=K7LP2+9FZTP#SWbU6CiWK&_o1;`$RLddt_#nM2iyR>r>`cxb_uk%DMRq+idBzTv?a^a;USW20 zZ1K=?F8Wog*kb-V~R2fC2L8- zXzTiuv+jNK3iEnKvPMO_7GWJDMOJ^OqQ6d+TK4Xd;=J70Lf1qiStncFvoQxI1aiVo$q{PbFY3QWjWOUNMC^xk)4sDtFdBv#% zBUxjL@=C^AU7n6EN1Ti(`WbmL`eE49d-U$sg%5%C(AyyNhBHnsj&~_NaMCMI zX+Exf+uz~fo)amG6lO(Ix)c{j3UFe@L0%st%ZU{B852##y5rnkP<&PIR2&mW_9bsXwNR)h8CA( zNAn{?+hOo_@x?81y^xVn@p>R0W3}}gv=!AGrSiL#190wVmEWS%4(Rk}9CG4A(DX=b z5ZeSToMd*5LGyX&?<9?n_zWe7V@=WBWtB=$_so(^Yr{4}6D4}XRw0%@dem%=o`;=` zp1X7(R1}GwXMcx2%8!#(xOM|ajUN#mQ<$A0tG zbj!=KwoMuuJ1I=j*lkee2wVV{6h-r`zFMBVG&!82TA{aYKQB%3<89x}!pz(V-S)5+ z`=XP#*bYg$7`^?WQj6U^uL!rSqDA8eMv6-FFyghAzBSq#t`AIA%BDCpwLvfCr=}|H zg-;d6si`gcE5FG7d56LZ*XHGStcF&YV&$(LdOAtBK6(!r6d702H9F4fs69F=KVtp7 zRf^vMaK8QKv{sj(v+`4W6?Vp3>+=46(sBQ-e_w0eE=6}I84qLB{d@FRen376t7pL2 z0lk$UL#q`2zL~jsS@GLQRwn6AZRJLhLkeO?;f`pbbL9>&MVVvyDzOt(GsVA}Q33Om{Mulj%XGCz)Pk zdXxDBnLm=D#|NRlWcrcmPi6p_E67|)W+0hCWUeAJm`pmEA!Mv457*GUYsm~Ha~+vs zWHQJMCzDBL1eq){*<>PQa>(S88A&FO%=KhOk;x}hK&FsPl+0){H;^eJgGVX}p%OA< z$dr;9OJ*FI@nmi!a}${fWNs!ik<28R>Xfhx%7;_((N%2pU_D2=fNri?@93dQ&HT*b zlD^UGJY2A6*W?S=et70kGdnUmQkac9Z@A%Bvp6fW1Q);7jk(%IV+u?13L^0bN40YJ z5e3bb5C{ZSwOTDIE=TN0pBlf1H=aT-A6F77q(^D=@GAA^%y8{>GzHcA#9;uV}uU_GBI5@T9!qU$1Yg*XTZ!Uf5@zY`pduN4(RkRb+rkM8lt39nv zaTlD>pUB(|6Z|ubu_x(w)~1+NVPO>=m}u=Ds(sHB+X%Gja6&W4 z+yfK57e=m~qJtRC@XfV3F_iCv6Piipewg4a7-I%H;L!|ERsZBstB2WeLUYJG02BNR zj4=Zp9BGCw-@h2^;jeH)50ZHZCO8+yn1K$YG(+Kr*JE2~9-Pp8G7rN9AAvDupo1>W zuyn^Wu^t|U6MBry<1oPmFvbjYfTkHb?HM1NVIiE*A~Ju23I3hlm9|Q4mD>8^i!KT) zI+jy>ZlgcP;-8>^#blm@2`+&#I-uh|&2ZrHk+B(;!U-)S^At?*X&5;}bvj4T#*a2cy z#f7Ew^RH=PFS@XqKJ@-ig@si#j-XAE`p_G(edSp=q36gv4-@<+jNBB8#vB%z3Go?L zQ|uZtYhi*fz!)>o_=INo;ptV?7yvZY=*6HLfgn}hY7v|BWI{i!?a%kGl5{W zYPBjkmPxp->HOUnV2=;IOY8X_tzuZw(33K;sY`rg?x2b9li3Lq+(qxoQ(b*H{9i#L z^tffrj^f|lR3~;E+l^(DTTRhunpUpqF`WcI-X_ru5;s%Js?HKk)-wK6?2`lQ0bs%!|fc8#ap7fZ*da6+Gv`5Y$r1&mxf z6@frA)ZK7VY=#4HLI=qlf(d>JW6Y2Pfo8b>oZDkFd<7@;HJQUO!Ea#X4ApZX{F?GN zb>&TZ>~*BV!m5!FXzgkjY=|BBj=~8YBl91a;I}Yx?NlBFn&F4b<1>5*C-gm;|H1@+ zpm*gvm%1Ll)xpmA&Ul;x5)_Pr308xV9aJBM>A$A*b?kS`i##wtrNY9h{P^0H4l0hp z5ug>LPb-FkFu}x%GZe&U=yzj$oLGZmLuA4JW!s9yLhOUHqF+x6a9v%_pJE%3X-G4iQE`Ui_za^j-rv-^Mn98c&mwa+&2Ub|8A{?aq&^ql z8yit#3{+pZ~>mik5)5x@>8Cq4GVSIds!t^+07g6lR zWLnbpUvY+;<1-{LEr@OF4itMCnT|9=Cwf=D>D0t{{E}(uvG~pu z(1lD_ith#^)2AlIXITAU&oS06*PUW7C)0yw=viTgn!O18~uzE=5@*^GfiP5TB&)UD#s`-58{xP+md780*8@HH#tznWINX zvU?Oo3+UvP5NH%%SA2*p{+W2=4x>`)8Ku)v{;~OY>$)-Z*}dpKj-#i zi#m~>Sq*C#>Ww#Hdh-XoNxTK`Xta?KpueBBRjk(jh=91=(8J zx9}$MIY`zbR1&0rQ%_sSyiH~+nQdgY!z4dXt>dLu!<6AK^bX|UyD;e|`aDAUx$C0T zHW>T0YSZ$PHb4Em^&Z+!T!ZecHLH$)D*@>aG!lBB%uX`9$n1tmUP}$*rCx+7!(ZqF z$W}@}#GAyIApMe#Kcb%YkolO*UNZY&l3%8V@lxwx%J3K3583MY6TC@W56S8{fPX8o z#-CD8pON{T%oi}pbkm()>NS`${Dlrcw)#AXH;J!9`XwuShnz&(rWG zaWAA_lETxelYP_(Ug}erGW><=awqkulg}VoomBELRv(Ro8jxv7<_t1t!X$rA4dbQg zzIz$|LT5p?*6wV)NjwP2>bR0;hI6Q=Mr0b3Ng;DCncu)9AEMUrQgjo)41b~DLbiHu zf;WkDTmP4A&-19KrevCtX%3TonA*fk9fc{wU+8y`tv=7kn?$#J-yU-FlG1)r9!s4OT(MQ?;%;;;aE@^WLr`vbgQ3Uitgr@;V;yRJGqEDDenN& zDzRT&j7CDO$+RKU7A9HI0^_9ucvFTqp>~k16>E<-iPdR3{Z$g#OQ@$y$^4#72Qrtz zBnP?U8r*S5$X3Ul@Fp?D9ar*j-I;poLZ&O3Ze+TXxtvT7nB*`oLM>i|o{+6Y=!G|l zwRsULx$eEGr$3PSBbh#A`obh9amS}|$NeB%9rwqZ#M8OsO75-$sHZE)TuEjinL%W( zf=RB+z1Qd72Sc`cPsf|Y2HZRSTM5jDP$vz!lQX%Kt04!kf$34<)7Iq!M7q2DlWq?3 zO^s`5dC%hIt>msg6pe)FlYF6JFv(~0k~iWd&wy;DXE@#@Hs^Y2-8JRzMnSf^%g39oE159!Y?kSafDuQgSPBGpjrg2a7ZzWczggR-- zom|A7jNwj7sgsMjlS=NmW6?-x9GUTCZX|OPnF%n-t-1I1-22UttyP?eH;I>U@0BET z67^I@<`y!ylDQ2g`BLt<19yBoWUJ#l@Fwvx?zobxJ(+r%LS`zNJIUNd=1(xm9l7_; z-22^-t=|8PH;G-i_e!qzH0o(OnHgm6A#*QGa#!xSJ9m5^WUJ$uc$0WJcTE3Q0;&6{ zlOFL-0=@C(N1h|pL_gIt=xIbaL)Z36Dt~L0`Kg%^uLIP(Fee(ypb9!vhM-19{BzQ^ zGw5+cm;7ARsVNy*(9m@8mBje>(N4?2qmpQ0E_H{3I|DNFit2G2R$ZNvc(s6FMvwf= z+~Opwq4N1vA_gp{Sg*ut)oRp^KmUj?MH~G%L{@)^KdZqfz4h}GV__>d*Kh4lXKbt1 z;ioQ7eEE$GICLPNI$7zd7Mz96T~ikN35RAwqK9k2Ie3$wgHOa?nwFNz)+g? zZHhEqU?@!%7)sL*2jT^WSQy+Y4c`JyGYbr*$$sfuGNA|1V<6|h$B$Por$lXHDV1Q# z$VjLWD8nEzg2t#pOi2g_vhnU0CDrVKyg(M({3*FMXRSlaQ~eJR|37^QN9TK6d8``U zGDl}-p;$*kAfblsLA=A)9Jm%1wtGU2UX&udLUYN*OZ^c_8Qz5EL9vc;^YKRYVfkT} zA0fFf%a5}B7|H!uew^h6B=?6*hqvHDc&C+@f#9!*i5=l@h$yk`2=OnBRn4wo@88-X z{!UAJRh;1fQlSRL9b_dTtOmj(sIeXi>PoyJ8ZEZe0BFP)y+TXT4!zVBP|ENov<2*#%B{HV0$f?Ac7`M7)5Ot!%zXT?}FQC6-?%`D&J5 zVR;?N*RZ^vR(k!l;wG zEp)e3DlGICE!TzdyjvTgg|QJXkQ?Fr_(n*vw$E^^jeR3z@~Uq~%hpDChq@TS^1Cd* zM{*X+J6L|7Ar2+O-!{($5hmOo_qBa(Aj-ox_8B#&fyFU$K#&SQB$%b$>Z zJcufQVq{&jJjbJdYfQk`TTk8)-#qrWp{06Frs-89O&esI*2mKn zqvcOn7dtI?^NRl-En8{oKwbQq<;z&^Nb)q6JF(oEu|?S-yhhD@mTi@<5gc zk^BJ5SFt>pCV3&t zH?Ukp@*@Z!C{txs>F;vpkmNaU?&%@_3eSBzZApYY)DOJ#zCex+WeN4@gCtpna9^r*_@o;=CelPAhO`R4eZoNS#Ep2RxoJy{>{mT&^@K+D#i zJej&!%JLMJr;@yk&Fo^=458waRDrX7tqpP zEw{lCV;iK)Z7?{#4FE6(HP2xk?c3maPRL@kY;A)lsf&NIyoBYYB(LT?EhD*n?+QHy zKlC(=h2=l+=K7PFpz@xrtSm==>W?xje=xGrTV|zKJS(yNdW~aN*7E8PMy^QIjPi7V?_HE_z6o^Usqh%|X8>x%+EWg3>CXzRBb~eL1(e0RjVfsnU zj^oXkw`dtJl-X%vWak2zo%7?_i4B=wb8qRCYE=z`~k_ES^kjak4S!#r}2ODsvknj)<*b}y4b?uh%ips69m(%NwzB;_yt7aAVNh|P_yMt{wgW}w z(_db|IqgJCU>z=w(^4nMZE^fN@$f?Z08d{^{})dA-O2Z`u6kPp0(6!_TRS*0)uCA1 zB8WHYeU=khu0irnmgzSptmrVwyI4Mz<(ee#X1Ny2wMqT}vX%5Cc;cqI!!bD-5&vs9 z)wzEw(WlXpei6@YpbXCEMxsBHiT>0`^oLkKooEgHN1Tj?XxU2L8Pvrdmd|AQERsKF z`D~WYA$c#$jaY6>@;;VRSU#8J{gACh{|27h1H2}fh9{X7uI?*O^G|t%cOEU>yE3`& z7|Go(le^7G?k89$dvZVJ1YCfYt>m_#EyS#f5mcVmb;MrHOpOD?nd%qmbMh!o&g_tyP#| zqhsqx(3_TSg-q@ zxL$0M>k(r=OI6_}aq8dNFr#Q$XUYw8pRr-?l^f2Rz6RD(=T)EmL!6RZ(Xy4-+o+2$%eS+92g#>$rY6G^ryPfm9ZW^U|I#Uk zd$-8Dla{koW@wC&p%R&);&_H)hlH9kL;93ci&HTjEn69yL0!~l`5u<6KL5=&tmGL0n1OayoBV2EH7nw8Odj`{1nSilYA!2|6qAJ$!9^f z2z&-!Fjib$oIzGX#ZSIe7=%}0lFQ4vhgQ+@^pxrBVWjhNna=J;I?u*hXxel-&*4>G zjh3x+uAwd(vAmY$7f5c*@{26LL~;ttFSGm#$>*}Xj^*_v|AyraEWb+fZy{S*ehpr2 z^XC;puR{xMgt6|Syn#0-br@y#ZXGi>p-e$Z6r5ic{|JRkldW*cUgXq7R zXSpuPzh}7~%k@d_z;XkY8FyUHpON%UJG6@*i35#Byhn`>@=F<*p?6Ww{&6-AV2T*-G%` z@azN9o=`{H2BcMbKo&#NUbI9jWkOdN34KN;bh(kx{#XxtLI?0l_e0B8LiaR zIRk}ItPDh{i|be(&GHQ-4`aEAAdFEVHBct`bheO0;ZcXBBlZ zhSTsr@M_B69Sc1RCG;GOb=CVk-q^3zs`QjEd$*GCPxPs}$|Q6#lF(Tup;J5wcyxw+ zrBo(CBQlng@Df_KlJGKhF^=U|SYAi+c$U|*yn*B!S$>t}*GRsJ<=0u>Nb&@h-(YzY z$u~o`j#HcA{nXpr|3d7Rdvb9a#p)Sf;ewXFkFb1{U?kq5Nm8i#^xVc*PY;bXd8rhBsmtJmRTM%lYMh#2vRoaR*0g z9I6k((|6nsz$yPm-At^VPP0B@+|Q|~iC+IX|RO(PIfqo6n|T9ltRA{=V0QA#0{ zb_sgaPT_>r`x2!c21<`OqV%YblDAQ63S#&)***4?+Tl<$4ODXiYMWq4Z52*fy)A*- zVgU7+BT$d~KzSReR1g!4o$|t=G!0Tq0%@~gM{N>LSiK=Z+Gv2ZzzHPvcc?VRt2k0q zG(@CRp$aU6^@mr*k%AHV-aHSs1ynA>t9F{a_C(%#0h?MUoUnRDlJ~Mf-ctZb53l&r zBk;73mA4OJ9YKs3UUkwabtaV72zu0N;e^#cB}&g5DE-3`rR6?K-bSehh&jQ7g>a}B zA+=Iaq*e$gte%lbEjN&Q#u2F%K2qLBsvn5a1FZgVVs{Y+5J*b}J8Fq=!swT=eja4Ct(POKq25B^bG+nTx zrU@sk{wzVd+W={UBS^3MAbA_4QV`?%Er4)n904^&Fr+36C#>#}K;3Qt^_nA4ulqoG z8>oo{l=+pgaA*?5*wtSd0X0c5q$Ua{tZtS-O)!Ak=m^vsK2Y8UYO)2?_~MdCL8^Z6 zH$?+Am4F&67*eIe39B&@s1gIHO-?|mx1jRvgx>h@!YK_B5}v*ew-dJeqR9u=+1NU6AH`I8=}(R&?VVN0^TIFnJrMAc(Qm9S(R_Cw?x> zMey1|j18XJ6Hw~~Lu#FHP(exp^|ArfDULt|e4xAyR7VhVYP{epsvShap-!5n&P3B1 z0gzfP92Aj~G(B(7RNaxLpih&xY3c!D_}dBHqWA%Z+%ZL&C8$;%4)xSn^&+fR3X;?c z;h>O|#A>;LRiYzSHGHhRja5Go(~!@4c}0<|l4#NRfsvxpysSuZIMiRGHGt4sDrizm zgoDyj60OAsS|LZY!aiEwMr$yL;ZJR*M^K_VUBfhlU|J~nQ455F8d4Ib#|)TGb%d#= z50kfH8U|wO(63tdjAV_9b}fpIEshk)&#w$8q~-~V)Lh}9e3V4$K?A8;j!4z^k@7ZD zIUpv9f2m|(ukO*T!DA&+BZ;Wl0wOg_IH(*YiJEB;mE=fN9iJ#~6IDnDDJIJ4Lw2JH zsp*0uHBC6EAtjNz+dwMW5vkLBq`Zw(DTooD+~l7Il*g%Y1l1J5k(w+V)RB@<-EKg2 zx+7F|eW<(*)kF}(_Yx}nBGDvFirw%mBdjI~lGH@upqiA#YJ!1PJx8qS`&fA!tH~fn z)cBdAQJP99jTQ8$QsJPEltih-K&gQfO6n}ATt`a&_DA4cpD}MUHqB&gx@K$!F%}hA zsY2nPj+A69-(c)Fk}>`PHPuuwMxXiQSD=N@n70|51(aM)kFzyzbBMQGftbn>4(dxu z-m(qeE|k3KUzADpvGO)nb3u$aJ;h@TtWUP`%kFx@o`6ziCr4=B?tzPF!&DAR6s;59n^$-q1#ArYYD4Pf+W>ZI4CwHvFc!8)!7lNEudwBUXFP6_VMyIUVA|dfAZ6+*SQZu?5Xm8f~kSvN7WY&%1lX^>KZWp z!4alE`Y?GLrUM|xtk-!^({zYvN)iC6+QLDFDM?dJgQh-?H1+jq@-|IJK+K8ibsi(4 z5(PvmC>+$6l0*dzqWU=!)!!$|+eG~UVw~!A9)}(~=OxqtQ^$|WGE>4qnJIYXWv1Yi zmzf&i$kY`+Q{HAO2x7#iKAk>FT!WxGDmYR{goBb(5~{-nR98AeHPDC3+fda8G5XW# zP9G$$Lr5JI6sZHkLAfc3)aM3LgB+2%%16rENYw{1C$87okeJ#hFj9MkgPK#4sXYc$ zgB_Vl_nGoGQ;k53QLnQxgxEkTg<#qx_)$BBgQ8OsrX2=MLmXkc+K0*8Ff|1+4)r>l z6G+^+EDBNU0#^N9%RAB&;?IlGG;Qpy-suYNLVGP)Dq; z^Re9gc*mU@7g6V&VMML?|-45<~uL8&PT)N%u;5spA*`9OIa zsD2>EwO;1{!fB}>NG%Z#%1cR{78^KaJK_}aaq>1!gX#FhmCLwZXF9~#;Asc}wNNmm z76=C=rX*0089?PY0+s6nl~|L8b>fq5&Wph!a<2C3DfNcOofgx zMSYmO4bwyrbHaL^WrWluL6Mp$9F&)mNKG)18tsVG4L(xdMrtyMIZ?gNsYKLR0g);d z4ysH^qDl;+iX4e5_KET~QPb!kb)tHmGYF}uphy)82SueMQuzi_C5}jq@saX2QnNse z_~fS3$L!`1RJnp9l_MNfj*?Ji8&H)xLN(Th%G*%Q1u=Xtp+ddRd6*Qt;W?kM$`B-} zVZuQbDT&ok1FLb4SdI6w@-|irK#ZvIvrwb7h)_xw^r*qYK^-ZH(jWt+8=X)}ngDe^ z3Mf`fXp)c+C`(9~2`7l3?IZunfn8c91kfY?JL4}?X5KeG?~bF7ZJE#``o*Ehii9pV z&%CStL#zJUwP%-Ft$+9Jwp}gGsQdgI(fdxTpC0b>>=mEgcEx8qx~u}bB`Cr}D{e?3IeD(2;2U?H$=ITBFO24t%_WD^Lp5EZL8$vg& zd-V6CW;c0ddEvp|?5TO=*qrA+crNK?EGgDLp<3qbo>#43^XUXN2@2Q1!rO$D(-RVw zW@0t&fam|fpof28aEZBpEY0{+>tX6{<+cWSr8mP4dR42iZ>L?r( zzmh<8Fo3$t5vV`;KzSRebs$Dpm|3qu+CU(+6YQwA!a>n12~ukVq`RF!N}2|BJ`J;e zY(V(Jy~AIhGpgsR=s!QH_k6t}+y1g}`5P&_m#zHsfQP62_itNUe3domZ%G4JezCsZ zCk<}QoiqBKT3ZrUq&Deue)GUh!#igjncVx{#x*nly0t}(`&NI}_3bsyn*DZQgQcC% zx^%+K$qSEu@cfYuj}%`%_S062-tYJCXZNkl2sK>s;N|bUxqRB6Ry_37`!%*CO~;aA z?Gvh<)%}AlO_PV5tL}lq140_YhVe(Qz-&zL2ZSCT5N-kp;(}?j-ap=?{Uc565-L?V zDCH&hj~2%MF$d7-0iiC6`hbs;w-2;iL5x1oZqp!bCy<&6c2ra0pp=&csfhv7UmQXD zs}GX5LD~so%o*D^rqVX`BT=Xv833c#8cMgQ20QL zx8+Y+pM~e&RP*pnwc6MX#DO+R?;mw&|2Qai33Wg?C`TsukI#+$<2gWMzp3`TkCL|! zwDmy@j}a?;PO5>%sv%*uPmrYc3I`R*BvyM2tp4eU)oLFrZ)4R6#Mqv)Hr7C;5Ky}W zLu#jRP?byqwZi~vjU!NNeW1JzR8tV62ZYTuNX-ePZGs)ORXC_hCPCU_fb@bBNa_`+ zG^mnKDKWN62)ynS=54}Kfsz z6D%&tj^;`Ui_5{*;!H!xd926&$AiZpWw8;r1^%hjV0;GdfkD3VyO>f1)YP(OE zw+ZVAl*GZRlV+?lF}6lvrB(|EMav{(&l`-r?;%cQp zNv#kLYL`i_mK$8X=g8F#pDS;3)epqD+*#FEfplGCBi`sGl|t=1FQEPvD)cl zY;-wKiUZUcuf z!G9R;;fLX+*bT(3kga zCxRG#Z81rMR7N0866~mn!a?0N3DN`uq^})8I_!hwZIC8|81ow@Q#4IeiKejvAXO?H z)LfG^l^8UA<4DsHpC)h9G!4WU-!Pf3VVXfOMFl^qP&lZzCSl4qU^?mu(=i_=Z^JZ8 zz+`>HWVVKB4#AWw_)$5+L6tQLQ?>!qe;i@@)`!X4FwF%qe2>4vH%#VftmYF|8GkZL%B6!JmxHb^T#44(}ve3pKt#%dK|)l-n9dI$#<%OqCa4XnbBSe@!)DOqW))G*i1VgH$a8R*K0@c9)s-`1QwS1tw4b(aiW86sJ6mE z)iMcFYXhd*PB5v{pz>IqtA1I-s)jyg-ll95P;xmNZq~fLNxY>A#8j$qPz6l#*23WJ z49S~*Msuc*mAA3l3Sz{C-!_fXc0#F{phq?Wid3yM@D;h-3pMCxns7~5EVAH>*a!1fbR4Fp4~zHm?wOafKc z0IIPgP$@o8-UjLbh|xEv4r-7N5lBgb9aUR6CHh^mB z2vjQ{C~pH*8^q{ARgwm&4uNz~u%iwL2i3DANS_-ZUE~CkY75oz=4S_=FmDr9A1JvD zsv2nC8WL~&1Y&Bha8OoD^0vp|?J~)m{t1MRK33kwsu740gQ~_Fr4&MGm!L=O6b=e% zNtAXND0Ol~sk4ugw^3>eVorGTvpFHPO;Dt^3J0aNBvM-pq`EjF)zwGJ+eoE?7~42K z4PtDZ-jaaYEErOogo8R-5~z&^P~9AX>h1&OZJ^qM7(GsJr$K5@AgvedsCB|Y9W4pc z%LYi7JAtHnL#1(g#aE!ePnfp}>j;#@fU1*btTQpTMqs5@3kP+yBxBDTj16#PY*3sr z1<3f1ei|WgjnA038S7y()>AXqix^ueuu?08gPK~BvE>G1*E%s480w?sZIt?f7?;}$ z{WVqt2&<)nB(+31sHr8fT5Mo-og-Gme5|~U)nE{#$64tbq#*>-Lcxw&ARN@xk{~^1 zfRy0~(r_OnZ-X=p#MJ9wl$+W&Qdp9ipI4kZFp@Q4KEe$?Y2GGnB2aR<_?x78DAk1$<>G=o5j3U*YXa8RU5f|PH7RO$%QSRW*BgER}oh-1=hjnW)KDOb>=a)g5t zRT8Ca1Eq0JD5(ih<#0;>TJ^0yW8P+LuF2Ru&DeZmEJI+Wh6xAtsw87W4aRPhjOp(r z-|nO2ZIl*(7=7Mbs6kppAf*d-)L`MD6qN*NkO9&iP9Ui}p~{05e_kOl-6zc3ge?I| zF4ulbHE+v^xBdb#)lWF6SS5MuWAHXZ@}@see2L?d&lC3@IA~zEK6xYLQ<}AeR3|}^>L?u4sgg)_Fp!$* zh}8W)Qr<>t9f;Axs`YSU&uBIfNbLkWs;zKPqe_C*+5l;m6G-YWPl*IXOvu5l~Vk}KyrBa21x>S;}76xMvOUC#bP(2=Jj6P*7YZeEd@EP+qV_Qwe zwrR$;6JyN;R;sCRP_Rle*2G|Jv1CjS*PrxJ@-|94L5w~j?$RLbCXgBnc2pzbpiGqn z>1+d}C5|91^+EDBNP9ty%k6}H8ms+;RRckisxKTAtCCpNHLzOdh}Ba*R^GJR~yBp6b)g@dA15~!L6P)|Do^$#B?Zv%A%#2A%|k7}5X5lo4K9~Bf1DpE<9 z0tQUWonTU{pz>89Ujfp;fz>``-lpsapd_vWk88#fP6cDf56e$& zD#_JhgR2)Dxq8v(%G+Gk1~D!J_9Tr}9m49MAW0n%4(eA)tUfoeddU&1mwl|fja7XR z({Nz?7sm67B3UKTqVWSGMWuOJk>YTufkvw#p|wxYr1lC2rK%)adknN*aYSpKkCwO5 zY6N2Ry{g6amtaTj6b=eiNsx9JAgy-6*!d&2Imi5Jwq^RDDEXH1_}tJ7z%56|6_l(_rUQy#c8 z>%s+{-kmbJpyLC7+1018=ClV^wthaj!RVWZUisd<9-k&{#Dd`4KMB zwFwGe!_pLbnh7Z(um#rtJxmY(9%d?b1D63}n%-Ah(!R1;>>g^9a8Q9u?kgLOedTQc zq<=qrq#8l+wX(n`UOS|J=%)si4B zH$ZyN2_&@(Di5kKmP*jyxc=BD%-e+Z14=G~s{Wd{0mR!xg@PWnKsYG4B~g0JKxw}tN}u>Bc^jo+AV!}9Gc-uU z38Z;~9W_@tsIVnLde8vrQzwwr0jP8itoRBX_6hSgVL3oa9ISFRVy zB^jG(F!qfTV@XG$&Ie$>{u^({u%zaVw{M~F7}2=#Mj!U}Z@hW<## zO1B#*o#Kd6z(>j3C`|-0wi|DgG*D#()Fi=>nkXDp43j`jFo3G=2vpDq%G*Fq1~K}g zV~Pf8DuFasu%k+agL+{Sq!I(9L?@8csZe=PMHe1DYGQC$hNqdyK4IP_Y#LA!XTRy1 zu^GfzRA8kFg@aOJlCgY)vC|}D`U&RgK1$w3X%>ia`$X<+&D9*@Dp#PSa)g7rVv?(D zgR8oZT-Ecr@-|mN{f9z{kqlSS&EY!HStOFHfbw>k{GP7)Qqhn#(D~@R1e{xh?r!oyTRCbk}-YPv#F1g zw^3RRVq6AQYcy7C39C+mB-K$kC?qDa>R@2i%n_^RK33kwY8{BtgR1o!qzwd8JHd`> zD;yLOlOVM=K>D2{NayIyY9Ucp`w6H9f+1C3I4BY(fvRf&)yfGd)dnixM=&1x z{oW_d+oT-;O5&h(P&0Oj7)ugZsoKIp-7v{mO@pxxPK*UE^HK6PN=HD9+e5#jnyX{P zRiZ#i1%-nWVv?(X!Bs~`t~&W#d7G;rK#a@%spA@}1bj?I9sgQZ4HFKkhQTYZ8V0Al zYFKASth)GEc^j)Bh|%|_65+(lgb_$b1v~19a8M>pf^^sbsjDMM-F%R|4N`3oV;ig| zX`t#5PzMD=>VR-iAWQ=FxdBvnC!ka>sB*AQ19o}^`uU`Jo3#2sNetE-XvP{6WBUYF zYOiomDNHi9$6&0#6Jvn^K1$w3sS${A8>~0hT%{0Ky97#Vr*Kd>Omelu;OYuTuCDaC z@-|mZL5#~_y_v?UIbpR;kfgQ>2j#;gR$C0L20CIj$j8dtSfzrP6V%L1(`dCMv^EQx z)F$De+LlCXqk+~{j%W?`(egH0Z9$B_4s54EYEK}o7wo8Y!a=Pq3DV03Na>Cs4e>$p zHb@;ojO{wGlLo3Y0kuXjq*e^< z#MnxKm0BSjl;M($EjJj;c4Ta%3uCGP6X^R~Dp2Ut=55;g0V~w2zgyu^J3w#6c`wqcnt2S}5pI3xtD$ToR?n43utgM5)L} z$=fIm12K9CpP@k-P9V(_?5MfIK|wAF(t`#_#ZDlpu~2!$W&CFG%|2n?CM*XiiGx+H zW^5!eHd|n&W(fxcxg=vV4aO!)#`M>1Ciy6N8>K=J<96pgs<|3XTum1!scFJN@hZvH z-3C`>j$Ga1bLDNWN3kQX)Bv!W@Sl#M~)ongj-o|Poh|y!K zNgAXw0%?+9M@yCKw>y?g-KyK1kjMX)=hh-5#ByftpG{jTH>3QsJPGl?1B9 z0BW)mQ0gwIJXnw2Q;6SLnBkM=ZPKOzC6_bdbj{lg;w>r=Q-#7oQ7g$?zQNl)k~dw{ z>Rul!Z(}tJ#E5Ia*&3xegi@}cN970yb*v;x*#=7YIifVvN6FhL%>^-fP&H43G@n4q z5bUU7!a?OK3DQslr2CyfQV&3NJO|G63G+5#3xJY1SS{3yEh5I!1y*XXa8T4rGB(Iy zY`!C7kHs0IA1c6)xa(Ko?>=MRW^9Sc*iy~dGGeU1z)JNK4(eP<#`+kHJs}y>H$@lw zD0v&D6(A;9T#_BlkAy=jHAt%nq@IEu)k8QaW+g%DZh-Wp6G-YQsE#MZl|EtKCTulO z5+}qpnz6OSSSNv%>L?skwvvo>Fc@1U8RHAVq-UYd$7%3Ke^TYD%g$`@{rw~VHSpP_ zx~J6`ICATbQ%f^${9w+Cu@8N5Bq{aYRBkDE-d|A+nO%{cPt^qqa5Yq<8& zp-*1elzpS0c=+jKNzY+Pt)Eo6v~X40l1pg;hJp7X?>&*RQz1}}I(Eia*>=LT2a8R&I?jNm<{o`doWB(bI zSA3MbeW=|8VqEUOZPr-5Nm!)`l2od2P_Ij3)xyAPog-H3eXP8V)m9LrZ<=h=AZ;g* znhADPQ{kXcmjtPa0n!FXkY4pc@-|32K}@ZIWk-OLxFd2@Gj@y^OB7hCpm0#4OEMNP7<wliK2TN)`PudH`@p;ncnBYH8^6>Md zM%WF+)kR~yf27dnn}mZ3ViKf{21s8z zg7lRSlD9!>3t}ohPim)mYEL|^7YM0!!a*T1$114`nGufJw&05P^yV5OD_2erW@V~Y*OssS4N72hd7 zO5Q$T4F)l8HB!cP zlGI$`plq1L>Oljmpd(g^K33kwDhI^qI|;cOq>%*DY{8D2B^=ZSlOWABK&s&gQpg9% z+aMK!7~7R!R0B1dfSN8CQqzQkqF@rJyA7biPC%*JPM&rh_NXGD>Yd-s1PO@yWL={o@9)_yPMPis`XHC<&8rJpV4~vovLA+I{L_=d?huu zg{HWLHsjD`oiZjRza73*HFpb5<50Z-E!{%f*+Sd9g?6%qc6JF>z2Xz(LPxuVs&VlNyuLl~fv{?2Sl>z9 z#zmpUt%lcXn6Ao1C@me$Lf<(|n!=%aC8owhZPZNXP`wf}+(Kt_sBU#mJk*w&c^s-+ zo$uD_LJrlfE^-T9%Asd<|6ohg<@AJvrI~2FhM2%hZS`8G!i2ZbV4Ite!3LOM zHLkxR+fan!t^SIvN)Z!eYE<(I6KEoivI(lCm_UocucUUEVD+jK*}g*P9_&-}O6tU+ zt=6<3{AAmHZB*xYD6P4CCH3S`-DZwnpZ7MgAg9pVzIhQ}vxcId#+^j0Kd zq?o`HY0=ea(UgJ7I5CH@l9MpON}b+q$|{8F)J?I4PIU{NZVR0e54ELkwk>pyTj)Gn z=zO=(g|^T|ZlOzUq08JtS8}K(VpTkpQYc?ZYdBQrb*)>g>p4`ny1^}UGl%Nq;hXVL z!oWBlZsSnB0NY(!RlCIm<9N8w*2aDjYOL=;Tj(K|P<1RmL6S>tB^~EBbRq~%Ix}0)wX85f9}nAM0{%~^rjLj1 zMJU#{{CL<|Opr^jdR3S}6RqRn05L%>PEtB1;QxebI*~&vgzB9-gG2T4aCkh_c0A1G zP~Gatcxc7VlN7auj&=(jYYQFc5~|AL6F58icsNx|;E9wFHA6IIU@}L{VWe&zCgA^s zYI?VsUm;YdZlNu7kz43eTj;WQs4aCXZK12&Lf3Gp-XLq;Lf3PsUabvop_^@?Z@PtU zvxRPV3*BW4-R%~-&lbAhE%YFV>I@um3q5KJJ?0jAoI`c85<=x8B*JAXMo9EZO2h<2 z3tVcrg(lfT>%>EC3^cHXHgpSZ%%M61DQ=<7I8?7zbGOhmTWCwS&~_ZE7odGSl#Xun z(mPBi4%G|L*{#){9I9LG6%VCs%U4o=4%Mv=aBDT)7COWwR1J?$;KPZ&D9hzG^hMc7 z5lTx(vsf2pQ4ZBBF*+V<+u~z6RIkK1x6nzp&@#8sDYnq5ZlTj{p)=e-9i^~sLsG5x6q}w&}D9+D{Y~x+(OrIs9vqLZlUWrR4?lWx6sYD&^O&ex7k9s zyM(IUVuC!cCGF!j^h)d(p~il5kVExK9C8aiY70H)7JA$kN|)$PW4NS5Ot6lfdRc3@ zg(h*RUe-Epp$%-I4c$T;+d@-ZLRE7y0dMsyDUI9EE74Mf>NvbfYR92^CEB}%cCv+b zj)(H`NS}dv+CqD|wc6hnI>0S7-4;5;B~%TMPv9k^q3P>5z^Re(2{H-vJ}GKzd~}62 z^xBQ(P@Ud!@le|#bP|W^^p?4WPO*hfbqk$t3!UK>I@=aHCmzbF(PzSWw$S+%LUjff z+Cmq(g)X&)E{liSlC{zny2>R~t&LCMmEg^pwBFXn2A4LHHrqnqbPL^P3*GJ(y2}>2 z+bwjTEp)$I=s^zE$Q^PEJ<6dPxnpjj$8Dhrr@9>%F`>e7F&=6g`y_FwUVu7otv29L zy;=?3LK}0aZZ*X%v>Au$R-3zprg5llwWV8VJ6mXbx6n=;su!TMTWC)X)eF$eEwsNa zbbwoEx-E2wTWE$Ybhuk+t}S$AJd}4seSnDCLPxu`I@T6C&MkBjhw8kRxrI*QP@UJQ zZlTj{p)=en_L-hj8cWZT_Ep(Av=u!^V3$V;BbR~!C1z6=4y2ci| z)-80sEp&rRsCqL#f#J~S;O+4Ve9-29lXlq}-(8^%4cI;o)rr_254D|E4sxhY#38rP zqa3PRJr)nOZQtV@s#{IKop9$dB_>$MP90jqEi{Qk^#as!3vIxmy48kmp^Z6Ix0(_U zwXIe&4%MwTcWX6`Lv^by-9p=OsBX2rTWBW^)vb1R3+>6Fy47B8q5W;41KdK>ZJ|Tl zLNjck!`(u2ZJ{IGLZck2GcYaqA{Tj-l^q1$Ys+ucHUaj0Ic-EN`#Y@z$zLJxAN&cGqJ(4)4{WARYiQTw=TN>u?IL+OjrW@t)0)V5*i%dTc9ed(22wT05x z8O>1oTBBnqeN)W})vHC{SaS@e?;x3>o!vs|8z$xg&^JvSTcs}wn4$EA0SdKkSo-X@ zxd8MTa0(?=zLMzkyk@Jz-CCtjY?`6;$xX)vpwHr&3qYUAa}1@ARGF>PN2{DdPyK&Y C&f0tc