diff --git a/mRemoteV1/Properties/Settings.Designer.cs b/mRemoteV1/Properties/Settings.Designer.cs index 0f631838..508f874b 100644 --- a/mRemoteV1/Properties/Settings.Designer.cs +++ b/mRemoteV1/Properties/Settings.Designer.cs @@ -2642,19 +2642,37 @@ namespace mRemoteNG { this["SaveConnectionsAfterEveryEdit"] = value; } } - + [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Configuration.DefaultSettingValueAttribute("False")] - public bool UseFilterSearch { - get { + public bool UseFilterSearch + { + get + { return ((bool)(this["UseFilterSearch"])); } - set { + set + { this["UseFilterSearch"] = value; } } - + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool PlaceSearchBarAboveConnectionTree + { + get + { + return ((bool)(this["PlaceSearchBarAboveConnectionTree"])); + } + set + { + this["PlaceSearchBarAboveConnectionTree"] = value; + } + } + [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Configuration.DefaultSettingValueAttribute("False")] diff --git a/mRemoteV1/Resources/Language/Language.Designer.cs b/mRemoteV1/Resources/Language/Language.Designer.cs index e66e61d9..998bfe97 100644 --- a/mRemoteV1/Resources/Language/Language.Designer.cs +++ b/mRemoteV1/Resources/Language/Language.Designer.cs @@ -222,6 +222,15 @@ namespace mRemoteNG { } } + /// + /// Looks up a localized string similar to Place search bar above connection tree. + /// + internal static string PlaceSearchBarAboveConnectionTree { + get { + return ResourceManager.GetString("PlaceSearchBarAboveConnectionTree", resourceCulture); + } + } + /// /// Looks up a localized string similar to Prompt to unlock credential repositories on startup. /// diff --git a/mRemoteV1/Resources/Language/Language.de.resx b/mRemoteV1/Resources/Language/Language.de.resx index 614a0653..d7dc9157 100644 --- a/mRemoteV1/Resources/Language/Language.de.resx +++ b/mRemoteV1/Resources/Language/Language.de.resx @@ -2183,31 +2183,31 @@ mRemoteNG wird nun geschlossen und die Installation gestartet. Ohne Anmeldedaten verbinden - Nicht zu Konsolensitzung verbinden + Keine Verbindung zur Konsolensitzung herstellen - PuTTY konnte nicht gestartet werden + PuTTY konnte nicht gestartet werden. - Export alles + Alles exportieren - Export Datei + Datei exportieren - Export Eigeschaften + Eigenschaften exportieren - Alle importierbaren Dateien + Alle wichtigen Dateien - Import fehlgeschlagen + Import-Vorgang fehlgeschlagen Von &Datei importieren - Wo sollen die importierten Objekte platziert werden? + Wo sollen die importierten Elemente abgelegt werden? Import Ziel @@ -2225,19 +2225,19 @@ mRemoteNG wird nun geschlossen und die Installation gestartet. Nächster Tab - Vorheriger Tab + Hotkeys ändern - Teste... + Testen... Tastatur - Überprüfung fehlgeschlagen + Prüfung fehlgeschlagen - Prüfe auf Updates... + Nach Updates suchen... Verschlüsselungs-Engine @@ -2255,7 +2255,7 @@ mRemoteNG wird nun geschlossen und die Installation gestartet. Mittel - Ton Qualität + Klangqualität Download abgeschlossen! @@ -2270,19 +2270,19 @@ mRemoteNG wird nun geschlossen und die Installation gestartet. Datei öffnen - Immer erlauben + Immer zulassen - Ein Mal erlauben + Einmal zulassen - Nie erlauben + Nicht erlauben Falsches Passwort - Qualle + Quelle Zurück @@ -2308,7 +2308,7 @@ Diese Seite führt Sie durch den Prozess der Aktualisierung Ihrer Verbindungsdat &Nochmal versuchen - Neues externes Programm + Neues externes Werkzeug Die Verbindungsinformationen konnten nicht vom SQL-Server geladen werden. @@ -2317,10 +2317,10 @@ Diese Seite führt Sie durch den Prozess der Aktualisierung Ihrer Verbindungsdat Vorheriger Tab - Tataturkürzel + Tastenkombinationen - Beide Passwörter müssen übereinstimmen + Die beide Passwörter müssen übereinstimmen. Das Passwort muss mindestens 3 Zeichen lang sein. @@ -2341,19 +2341,19 @@ Diese Seite führt Sie durch den Prozess der Aktualisierung Ihrer Verbindungsdat Passwort für {0} - RDP-Verbindungs-Timeout: + RDP-Verbindungs-Timeout - Dieser Knoten ist bereits im Verzeichnis + Dieser Knoten befindet sich bereits in diesem Ordner. - Knoten kann nicht auf sich selbst gezogen werden. + Der Knoten kann nicht auf sich selbst gezogen werden. - Elternknoten kann nicht auf Kindknoten gezogen werden. + Der übergeordnete Knoten kann nicht auf den untergeordneten Knoten gezogen werden. - Dieser Knoten ist nicht ziehbar. + Dieser Knoten ist nicht verschiebbar. Block Cipher-Modus @@ -2371,16 +2371,16 @@ Diese Seite führt Sie durch den Prozess der Aktualisierung Ihrer Verbindungsdat Verbindung erfolgreich - Datenbank '{0}' nicht verfügbar. + Datenbank '{0}' ist nicht verfügbar. - Verbindungen nach jeder Änderung speichern + Verbindungen nach jeder Bearbeitung speichern Suchergebnisse in Verbindungen filtern - Teste Verbindung + Verbindung testen Time-Out (Sekunden) @@ -2389,28 +2389,28 @@ Diese Seite führt Sie durch den Prozess der Aktualisierung Ihrer Verbindungsdat &Alles zurücksetzen - Automatische Größenanpassung + Automatische Größenänderung PuTTY Sitzungseinstellungen - Auf der Toolbar anzeigen + In der Symbolleiste anzeigen Akzeptieren - Hinzufügen + Anmeldeinformationen Editor Zugewiesene Anmeldedaten - Unsichere Zertifikate erlauben? + Unsicheres Zertifikat zulassen? - Entsperren + Freischalten Themes aktivieren @@ -2419,13 +2419,13 @@ Diese Seite führt Sie durch den Prozess der Aktualisierung Ihrer Verbindungsdat Neuer Thema Name - Teste Verbindung + Verbindung testen In Datei &exportieren... - Ein Fehler ist während des Imports der Datei {0} aufgetreten. + Beim Importieren der Datei ist ein Fehler aufgetreten ("{0}"). Symbolleisten sperren @@ -2462,7 +2462,7 @@ Es werden keine Themes geladen, vergewissern Sie sich, dass das standard mremote Abrufen - Das Change-Log konnte nicht herunter geladen werden. + Der Changelog konnte nicht heruntergeladen werden. Wählen Sie die vom Protokoll bereitgestellte Klangqualität: Dynamisch, Mittel, Hoch @@ -2477,7 +2477,7 @@ Es werden keine Themes geladen, vergewissern Sie sich, dass das standard mremote Hinzufügen - Auswählen welche Anmeldeinformationen für diese Verbindung verwendet werden sollen. + Wählen Sie aus, welche Anmeldeinformationen für diese Verbindung verwendet werden sollen. Möchten Sie die Anmeldeinformationen {0} wirklich löschen? @@ -2513,10 +2513,10 @@ Die Passwortlänge muss zwischen {0} und {1} liegen Wählen Sie einen Pfad für die mRemoteNG-Protokolldatei - Protokollierungspfad + Pfad der Protokolldatei - Pfad wählen + Pfad auswählen Standard verwenden @@ -2534,7 +2534,7 @@ Wählen Sie einen Pfad für die mRemoteNG-Protokolldatei Das ausgewählte Repository ist entsperrt - Entsperren + Freischalten Entsperre Credential Repository @@ -2569,177 +2569,24 @@ Wählen Sie einen Pfad für die mRemoteNG-Protokolldatei Verwenden Sie die UTF8-Codierung für die RDP-Eigenschaft "Load Balance Info" - - Ohne Anmeldedaten verbinden - - - Alles exportieren - - - Datei exportieren - - - Eigenschaften exportieren - Die Aktuell gewählte Verbindung exportieren Den Aktuell gewählten Ordner exportieren - - Alle wichtigen Dateien - - - Import-Vorgang fehlgeschlagen - - - Wo sollen die importierten Elemente abgelegt werden? - - - Die Verbindungsinformationen konnten nicht vom SQL-Server geladen werden. - - - Testen... - - - Tastatur - - - Tastenkombinationen - - - Hotkeys ändern - - - Vorheriger Tab - - - Nächster Tab - - - Prüfung fehlgeschlagen - - - Nach Updates suchen... - - - Das Passwort muss mindestens 3 Zeichen lang sein. - - - Die beide Passwörter müssen übereinstimmen. - - - Port-Scan abgeschlossen. - - - Passwort für {0} - - - In der Symbolleiste anzeigen - - - Sicherheit - - - Zurück - - - Keine Verbindung zur Konsolensitzung herstellen - - - PuTTY Sitzungseinstellungen - - - Lastausgleichsinfo - - - Der Changelog konnte nicht heruntergeladen werden. - - - Hoch - - - Mittel - - - Akzeptieren - - - Hinzufügen - - - Anmeldeinformationen Editor - Anmeldeinformationen Manager - - Entfernen - - - Titel - - - Wählen Sie aus, welche Anmeldeinformationen für diese Verbindung verwendet werden sollen. - - - Pfad der Protokolldatei - - - Pfad auswählen - - - Datei öffnen - - - Standard verwenden - - - Protokollierung - Pop-ups - - Immer zulassen - - - Einmal zulassen - - - Nicht erlauben - - - Unsicheres Zertifikat zulassen? - - - Verbindung testen - - - Falsches Passwort - - - Quelle - - - Freischalten - - - Freischalten - http://www.famfamfam.com/ Element exportieren - - PuTTY konnte nicht gestartet werden. - - - Neues externes Werkzeug - HTTP @@ -2755,55 +2602,22 @@ Wählen Sie einen Pfad für die mRemoteNG-Protokolldatei ICA - - Beim Importieren der Datei ist ein Fehler aufgetreten ("{0}"). - Tabs - - Automatische Größenänderung - http://sourceforge.net/projects/dockpanelsuite/ - - RDP-Verbindungs-Timeout - - - Dieser Knoten befindet sich bereits in diesem Ordner. - - - Der Knoten kann nicht auf sich selbst gezogen werden. - - - Der übergeordnete Knoten kann nicht auf den untergeordneten Knoten gezogen werden. - - - Dieser Knoten ist nicht verschiebbar. - - - Download abgeschlossen! - Download ID - - Klangqualität - - - Verbindung testen - Die Konfigurationsdatei fehlt. - - Datenbank '{0}' ist nicht verfügbar. - - - Verbindungen nach jeder Bearbeitung speichern + + Suchleiste über den Verbindungen anzeigen \ No newline at end of file diff --git a/mRemoteV1/Resources/Language/Language.en-US.resx b/mRemoteV1/Resources/Language/Language.en-US.resx index 273d1b55..f2cf1535 100644 --- a/mRemoteV1/Resources/Language/Language.en-US.resx +++ b/mRemoteV1/Resources/Language/Language.en-US.resx @@ -59,7 +59,7 @@ : using a System.ComponentModel.TypeConverter : and then encoded with base64 encoding. --> - + @@ -105,18 +105,21 @@ - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - text/microsoft-resx 2.0 - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Place search bar above connection tree + Select the color quality to be used. diff --git a/mRemoteV1/Resources/Language/Language.resx b/mRemoteV1/Resources/Language/Language.resx index 2186533e..d7dc37e7 100644 --- a/mRemoteV1/Resources/Language/Language.resx +++ b/mRemoteV1/Resources/Language/Language.resx @@ -2734,4 +2734,7 @@ This page will walk you through the process of upgrading your connections file o Copy Hostname + + Place search bar above connection tree + \ No newline at end of file diff --git a/mRemoteV1/Settings.cs b/mRemoteV1/Settings.cs index 3a481982..53c71396 100644 --- a/mRemoteV1/Settings.cs +++ b/mRemoteV1/Settings.cs @@ -20,7 +20,7 @@ namespace mRemoteNG // this.SettingsSaving += this.SettingsSavingEventHandler; // } - + private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) { // Add code to handle the SettingChangingEvent event here. } diff --git a/mRemoteV1/UI/Forms/OptionsPages/ConnectionsPage.Designer.cs b/mRemoteV1/UI/Forms/OptionsPages/ConnectionsPage.Designer.cs index 7f38b188..3473b63b 100644 --- a/mRemoteV1/UI/Forms/OptionsPages/ConnectionsPage.Designer.cs +++ b/mRemoteV1/UI/Forms/OptionsPages/ConnectionsPage.Designer.cs @@ -30,7 +30,6 @@ namespace mRemoteNG.UI.Forms.OptionsPages //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.numRDPConTimeout = new mRemoteNG.UI.Controls.Base.NGNumericUpDown(); this.lblRDPConTimeout = new mRemoteNG.UI.Controls.Base.NGLabel(); this.lblRdpReconnectionCount = new mRemoteNG.UI.Controls.Base.NGLabel(); @@ -46,24 +45,21 @@ namespace mRemoteNG.UI.Forms.OptionsPages this.radCloseWarnMultiple = new mRemoteNG.UI.Controls.Base.NGRadioButton(); this.radCloseWarnExit = new mRemoteNG.UI.Controls.Base.NGRadioButton(); this.radCloseWarnNever = new mRemoteNG.UI.Controls.Base.NGRadioButton(); - this.pnlRdpReconnectionCount = new System.Windows.Forms.TableLayoutPanel(); - this.pnlRdpConnectionTimeout = new System.Windows.Forms.TableLayoutPanel(); - this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.chkSaveConnectionsAfterEveryEdit = new mRemoteNG.UI.Controls.Base.NGCheckBox(); this.chkUseFilterSearch = new mRemoteNG.UI.Controls.Base.NGCheckBox(); + this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); + this.chkPlaceSearchBarAboveConnectionTree = new mRemoteNG.UI.Controls.Base.NGCheckBox(); ((System.ComponentModel.ISupportInitialize)(this.numRDPConTimeout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numRdpReconnectionCount)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numAutoSave)).BeginInit(); this.pnlConfirmCloseConnection.SuspendLayout(); - this.pnlRdpReconnectionCount.SuspendLayout(); - this.pnlRdpConnectionTimeout.SuspendLayout(); - this.tableLayoutPanel1.SuspendLayout(); + this.tableLayoutPanel2.SuspendLayout(); this.SuspendLayout(); // // numRDPConTimeout // this.numRDPConTimeout.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.numRDPConTimeout.Location = new System.Drawing.Point(270, 3); + this.numRDPConTimeout.Location = new System.Drawing.Point(274, 29); this.numRDPConTimeout.Maximum = new decimal(new int[] { 600, 0, @@ -85,20 +81,20 @@ namespace mRemoteNG.UI.Forms.OptionsPages // // lblRDPConTimeout // - this.lblRDPConTimeout.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblRDPConTimeout.Location = new System.Drawing.Point(3, 0); + this.lblRDPConTimeout.Dock = System.Windows.Forms.DockStyle.Top; + this.lblRDPConTimeout.Location = new System.Drawing.Point(3, 26); this.lblRDPConTimeout.Name = "lblRDPConTimeout"; - this.lblRDPConTimeout.Size = new System.Drawing.Size(261, 26); + this.lblRDPConTimeout.Size = new System.Drawing.Size(265, 26); this.lblRDPConTimeout.TabIndex = 0; this.lblRDPConTimeout.Text = "RDP Connection Timeout"; this.lblRDPConTimeout.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblRdpReconnectionCount // - this.lblRdpReconnectionCount.Dock = System.Windows.Forms.DockStyle.Fill; + this.lblRdpReconnectionCount.Dock = System.Windows.Forms.DockStyle.Top; this.lblRdpReconnectionCount.Location = new System.Drawing.Point(3, 0); this.lblRdpReconnectionCount.Name = "lblRdpReconnectionCount"; - this.lblRdpReconnectionCount.Size = new System.Drawing.Size(261, 26); + this.lblRdpReconnectionCount.Size = new System.Drawing.Size(265, 26); this.lblRdpReconnectionCount.TabIndex = 0; this.lblRdpReconnectionCount.Text = "RDP Reconnection Count"; this.lblRdpReconnectionCount.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -106,7 +102,7 @@ namespace mRemoteNG.UI.Forms.OptionsPages // numRdpReconnectionCount // this.numRdpReconnectionCount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.numRdpReconnectionCount.Location = new System.Drawing.Point(270, 3); + this.numRdpReconnectionCount.Location = new System.Drawing.Point(274, 3); this.numRdpReconnectionCount.Maximum = new decimal(new int[] { 20, 0, @@ -156,10 +152,10 @@ namespace mRemoteNG.UI.Forms.OptionsPages // // lblAutoSave1 // - this.lblAutoSave1.Dock = System.Windows.Forms.DockStyle.Fill; - this.lblAutoSave1.Location = new System.Drawing.Point(3, 0); + this.lblAutoSave1.Dock = System.Windows.Forms.DockStyle.Top; + this.lblAutoSave1.Location = new System.Drawing.Point(3, 52); this.lblAutoSave1.Name = "lblAutoSave1"; - this.lblAutoSave1.Size = new System.Drawing.Size(261, 26); + this.lblAutoSave1.Size = new System.Drawing.Size(265, 26); this.lblAutoSave1.TabIndex = 0; this.lblAutoSave1.Text = "Auto Save in Minutes (0 means disabled)"; this.lblAutoSave1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -167,7 +163,7 @@ namespace mRemoteNG.UI.Forms.OptionsPages // numAutoSave // this.numAutoSave.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.numAutoSave.Location = new System.Drawing.Point(270, 3); + this.numAutoSave.Location = new System.Drawing.Point(274, 55); this.numAutoSave.Maximum = new decimal(new int[] { 9999, 0, @@ -184,9 +180,9 @@ namespace mRemoteNG.UI.Forms.OptionsPages 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, 214); + this.pnlConfirmCloseConnection.Location = new System.Drawing.Point(3, 226); this.pnlConfirmCloseConnection.Name = "pnlConfirmCloseConnection"; - this.pnlConfirmCloseConnection.Size = new System.Drawing.Size(595, 137); + this.pnlConfirmCloseConnection.Size = new System.Drawing.Size(604, 137); this.pnlConfirmCloseConnection.TabIndex = 6; // // lblClosingConnections @@ -242,51 +238,6 @@ namespace mRemoteNG.UI.Forms.OptionsPages this.radCloseWarnNever.Text = "Do not warn me when closing connections"; this.radCloseWarnNever.UseVisualStyleBackColor = true; // - // pnlRdpReconnectionCount - // - this.pnlRdpReconnectionCount.ColumnCount = 2; - this.pnlRdpReconnectionCount.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 45F)); - this.pnlRdpReconnectionCount.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 55F)); - this.pnlRdpReconnectionCount.Controls.Add(this.lblRdpReconnectionCount, 0, 0); - this.pnlRdpReconnectionCount.Controls.Add(this.numRdpReconnectionCount, 1, 0); - this.pnlRdpReconnectionCount.Location = new System.Drawing.Point(4, 118); - this.pnlRdpReconnectionCount.Name = "pnlRdpReconnectionCount"; - this.pnlRdpReconnectionCount.RowCount = 1; - this.pnlRdpReconnectionCount.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.pnlRdpReconnectionCount.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F)); - this.pnlRdpReconnectionCount.Size = new System.Drawing.Size(595, 26); - this.pnlRdpReconnectionCount.TabIndex = 3; - // - // pnlRdpConnectionTimeout - // - this.pnlRdpConnectionTimeout.ColumnCount = 2; - this.pnlRdpConnectionTimeout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 45F)); - this.pnlRdpConnectionTimeout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 55F)); - this.pnlRdpConnectionTimeout.Controls.Add(this.numRDPConTimeout, 1, 0); - this.pnlRdpConnectionTimeout.Controls.Add(this.lblRDPConTimeout, 0, 0); - this.pnlRdpConnectionTimeout.Location = new System.Drawing.Point(4, 150); - this.pnlRdpConnectionTimeout.Name = "pnlRdpConnectionTimeout"; - this.pnlRdpConnectionTimeout.RowCount = 1; - this.pnlRdpConnectionTimeout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.pnlRdpConnectionTimeout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F)); - this.pnlRdpConnectionTimeout.Size = new System.Drawing.Size(595, 26); - this.pnlRdpConnectionTimeout.TabIndex = 4; - // - // tableLayoutPanel1 - // - this.tableLayoutPanel1.ColumnCount = 2; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 45F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 55F)); - this.tableLayoutPanel1.Controls.Add(this.numAutoSave, 1, 0); - this.tableLayoutPanel1.Controls.Add(this.lblAutoSave1, 0, 0); - this.tableLayoutPanel1.Location = new System.Drawing.Point(4, 182); - this.tableLayoutPanel1.Name = "tableLayoutPanel1"; - this.tableLayoutPanel1.RowCount = 1; - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(595, 26); - this.tableLayoutPanel1.TabIndex = 5; - // // chkSaveConnectionsAfterEveryEdit // this.chkSaveConnectionsAfterEveryEdit._mice = mRemoteNG.UI.Controls.Base.NGCheckBox.MouseState.HOVER; @@ -302,37 +253,64 @@ namespace mRemoteNG.UI.Forms.OptionsPages // this.chkUseFilterSearch._mice = mRemoteNG.UI.Controls.Base.NGCheckBox.MouseState.HOVER; this.chkUseFilterSearch.AutoSize = true; - this.chkUseFilterSearch.Location = new System.Drawing.Point(4, 95); + this.chkUseFilterSearch.Location = new System.Drawing.Point(3, 95); this.chkUseFilterSearch.Name = "chkUseFilterSearch"; this.chkUseFilterSearch.Size = new System.Drawing.Size(214, 17); this.chkUseFilterSearch.TabIndex = 8; this.chkUseFilterSearch.Text = "Filter search matches in connection tree"; this.chkUseFilterSearch.UseVisualStyleBackColor = true; // + // tableLayoutPanel2 + // + this.tableLayoutPanel2.ColumnCount = 2; + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 45F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 55F)); + this.tableLayoutPanel2.Controls.Add(this.numRdpReconnectionCount, 1, 0); + this.tableLayoutPanel2.Controls.Add(this.numAutoSave, 1, 2); + this.tableLayoutPanel2.Controls.Add(this.lblRdpReconnectionCount, 0, 0); + this.tableLayoutPanel2.Controls.Add(this.lblAutoSave1, 0, 2); + this.tableLayoutPanel2.Controls.Add(this.lblRDPConTimeout, 0, 1); + this.tableLayoutPanel2.Controls.Add(this.numRDPConTimeout, 1, 1); + this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 141); + this.tableLayoutPanel2.Name = "tableLayoutPanel2"; + this.tableLayoutPanel2.RowCount = 3; + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F)); + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F)); + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F)); + this.tableLayoutPanel2.Size = new System.Drawing.Size(604, 79); + this.tableLayoutPanel2.TabIndex = 9; + // + // chkPlaceSearchBarAboveConnectionTree + // + this.chkPlaceSearchBarAboveConnectionTree._mice = mRemoteNG.UI.Controls.Base.NGCheckBox.MouseState.HOVER; + this.chkPlaceSearchBarAboveConnectionTree.AutoSize = true; + this.chkPlaceSearchBarAboveConnectionTree.Location = new System.Drawing.Point(3, 118); + this.chkPlaceSearchBarAboveConnectionTree.Name = "chkPlaceSearchBarAboveConnectionTree"; + this.chkPlaceSearchBarAboveConnectionTree.Size = new System.Drawing.Size(216, 17); + this.chkPlaceSearchBarAboveConnectionTree.TabIndex = 8; + this.chkPlaceSearchBarAboveConnectionTree.Text = "Place search bar above connection tree"; + this.chkPlaceSearchBarAboveConnectionTree.UseVisualStyleBackColor = true; + // // ConnectionsPage // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.tableLayoutPanel2); + this.Controls.Add(this.chkPlaceSearchBarAboveConnectionTree); this.Controls.Add(this.chkUseFilterSearch); this.Controls.Add(this.chkSaveConnectionsAfterEveryEdit); - this.Controls.Add(this.tableLayoutPanel1); - this.Controls.Add(this.pnlRdpConnectionTimeout); - this.Controls.Add(this.pnlRdpReconnectionCount); this.Controls.Add(this.chkSingleClickOnConnectionOpensIt); this.Controls.Add(this.chkHostnameLikeDisplayName); this.Controls.Add(this.chkSingleClickOnOpenedConnectionSwitchesToIt); 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); ((System.ComponentModel.ISupportInitialize)(this.numRDPConTimeout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numRdpReconnectionCount)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numAutoSave)).EndInit(); this.pnlConfirmCloseConnection.ResumeLayout(false); this.pnlConfirmCloseConnection.PerformLayout(); - this.pnlRdpReconnectionCount.ResumeLayout(false); - this.pnlRdpConnectionTimeout.ResumeLayout(false); - this.tableLayoutPanel1.ResumeLayout(false); + this.tableLayoutPanel2.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); @@ -352,10 +330,9 @@ namespace mRemoteNG.UI.Forms.OptionsPages internal Controls.Base.NGNumericUpDown numRDPConTimeout; internal Controls.Base.NGLabel lblRDPConTimeout; internal Controls.Base.NGNumericUpDown numRdpReconnectionCount; - private System.Windows.Forms.TableLayoutPanel pnlRdpReconnectionCount; - private System.Windows.Forms.TableLayoutPanel pnlRdpConnectionTimeout; - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; internal Controls.Base.NGCheckBox chkSaveConnectionsAfterEveryEdit; private Controls.Base.NGCheckBox chkUseFilterSearch; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; + private Controls.Base.NGCheckBox chkPlaceSearchBarAboveConnectionTree; } } diff --git a/mRemoteV1/UI/Forms/OptionsPages/ConnectionsPage.cs b/mRemoteV1/UI/Forms/OptionsPages/ConnectionsPage.cs index a4ac76d2..ec872aee 100644 --- a/mRemoteV1/UI/Forms/OptionsPages/ConnectionsPage.cs +++ b/mRemoteV1/UI/Forms/OptionsPages/ConnectionsPage.cs @@ -11,6 +11,7 @@ namespace mRemoteNG.UI.Forms.OptionsPages { InitializeComponent(); ApplyTheme(); + PageIcon = Resources.Root_Icon; } public override string PageName @@ -28,6 +29,7 @@ namespace mRemoteNG.UI.Forms.OptionsPages chkHostnameLikeDisplayName.Text = Language.strSetHostnameLikeDisplayName; chkSaveConnectionsAfterEveryEdit.Text = Language.SaveConnectionsAfterEveryEdit; chkUseFilterSearch.Text = Language.FilterSearchMatchesInConnectionTree; + chkPlaceSearchBarAboveConnectionTree.Text = Language.PlaceSearchBarAboveConnectionTree; lblRdpReconnectionCount.Text = Language.strRdpReconnectCount; lblRDPConTimeout.Text = Language.strRDPOverallConnectionTimeout; @@ -49,6 +51,7 @@ namespace mRemoteNG.UI.Forms.OptionsPages chkHostnameLikeDisplayName.Checked = Settings.Default.SetHostnameLikeDisplayName; chkSaveConnectionsAfterEveryEdit.Checked = Settings.Default.SaveConnectionsAfterEveryEdit; chkUseFilterSearch.Checked = Settings.Default.UseFilterSearch; + chkPlaceSearchBarAboveConnectionTree.Checked = Settings.Default.PlaceSearchBarAboveConnectionTree; numRdpReconnectionCount.Value = Convert.ToDecimal(Settings.Default.RdpReconnectionCount); numRDPConTimeout.Value = Convert.ToDecimal(Settings.Default.ConRDPOverallConnectionTimeout); @@ -78,6 +81,7 @@ namespace mRemoteNG.UI.Forms.OptionsPages Settings.Default.SetHostnameLikeDisplayName = chkHostnameLikeDisplayName.Checked; Settings.Default.SaveConnectionsAfterEveryEdit = chkSaveConnectionsAfterEveryEdit.Checked; Settings.Default.UseFilterSearch = chkUseFilterSearch.Checked; + Settings.Default.PlaceSearchBarAboveConnectionTree = chkPlaceSearchBarAboveConnectionTree.Checked; Settings.Default.RdpReconnectionCount = (int) numRdpReconnectionCount.Value; Settings.Default.ConRDPOverallConnectionTimeout = (int) numRDPConTimeout.Value; diff --git a/mRemoteV1/UI/Forms/OptionsPages/ConnectionsPage.resx b/mRemoteV1/UI/Forms/OptionsPages/ConnectionsPage.resx index 59b02796..d58980a3 100644 --- a/mRemoteV1/UI/Forms/OptionsPages/ConnectionsPage.resx +++ b/mRemoteV1/UI/Forms/OptionsPages/ConnectionsPage.resx @@ -117,29 +117,4 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAABMLAAATCwAAAAAAAAAA - AAAAAAAAAAAAAAAAAADVYQEFyk4AFcdXAC3JWAA/xVIAScNPAUi+TAA9v0sAK75KABTQTwAEAAAAAAAA - AAAAAAAAAAAAAAAAAADGXQAHv1YALMhbAGrAVgCjrUsAxKRHBNOoRgjTqUcEw7RKAKHBUgBmwV4AKM9X - AAYAAAAAAAAAAAAAAADCWgABuEcAGLFEAGuCOQHXejoP/KxNJP/hbUH/5H9V/9NrOf+jSxb9o00H2r9X - AGrKZAAUAAAAAAAAAAAAAAAAAAAAAKc/BSZPIwHSPScX/4pcRP/Khmb/9ryc//nMt//joHj/sXdd/3lT - NP+GRQjdv1sAKAAAAAAAAAAAAAAAAAAAAABvRSSlVDkh/3lkT/+PdmH/rIhr/8KjiP/BpY7/s5iB/5F2 - YP90W0b/YzwZ/4U+ALEAAAAAAAAAAAAAAACqZztfdVU6/8Oxov+2nIP/pnlM/6h3Sf/DpIf/2Maw/72p - i/9/Xz//XDwd/1IuDP9ZMgr/eTYAUwAAAACuXisxYjYYsWc7Fv+qhV//snIw/61PAP+6bCT/6tW///38 - +v/Wvqb/kF8s/2IwAP9jQB//XDwe/1QsBMVUKAAnYiQAR1YhAexiMAb/mU8G/7hnE//CYwL/yXUj/+a/ - lP/s1Lb/zZxi/6hsLP+ZbUH/o4xy/39mT/9aNhT3UigCVX0vAV9qLgP9dDsG/65ZBf/AYQX/55ZG/+iy - ev/ksXr/0ok5/71mBv+oVAD/uI1d/9TDsv+YhG7/Wz0f/0olBmqWQARafTwH+oNGDP/LcBv/5Ys9//62 - cv//48L/9LyF/9Z3Kf/FbhL/umMH/693Of+uiF3/lHZd/1w+Iv9CIwVms1oVOZFJEN6OThn/7J5T//6/ - hf//zKH//9+7//7Cf//ijkn/04Q6/8p5LP+1cCr/l2En/4FeOf9YOx/sPyEESMlsHwypUxSOwG4t//+8 - f//6zqf/+Nu+///ixv//vob/9Kx1/+zCmv/itYv/uHUz/51kLP+IZED/QSMHpTcZABUAAAAAx1wUGu5v - JPHYnnL/59PA//z17v//+Ov//+XC//a5gv/y0rj/7tK2/8KGTv+ndkf/bUYj+jcaACkAAAAAAAAAAAAA - AADrZRdXqWI0/8q4qP////////78///24v/7xaD/5LmV/9usff/Djlz/k2Q4/0wkAWoAAAAAAAAAAAAA - AAAAAAAAAAAAAOqsdVG0e1Hs0LKV/+zg2f/m1cT/07CU/9Omd//Lj1X/omUt8mUwBGAAAAAAAAAAAAAA - AAAAAAAAAAAAAAAAAAAAAAAA/u/cF8aBSHqyayrFp2815aBnLeahXhvJpVkKg4A8Ah0AAAAAAAAAAAAA - AAAAAAAA4AcAAMADAACAAwAAwAMAAMADAACAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAEAAMAD - AADgBwAA8A8AAA== - - \ No newline at end of file diff --git a/mRemoteV1/UI/Forms/frmMain.Designer.cs b/mRemoteV1/UI/Forms/frmMain.Designer.cs index 9333e23d..c31c646d 100644 --- a/mRemoteV1/UI/Forms/frmMain.Designer.cs +++ b/mRemoteV1/UI/Forms/frmMain.Designer.cs @@ -193,7 +193,7 @@ namespace mRemoteNG.UI.Forms this.MinimumSize = new System.Drawing.Size(400, 400); this.Name = "FrmMain"; this.Opacity = 0D; - this.Text = "mRemoteNG"; + this.Text = " "; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmMain_FormClosing); this.Load += new System.EventHandler(this.frmMain_Load); this.Shown += new System.EventHandler(this.frmMain_Shown); diff --git a/mRemoteV1/UI/Window/ConnectionTreeWindow.Designer.cs b/mRemoteV1/UI/Window/ConnectionTreeWindow.Designer.cs index f0e2a625..97db7bca 100644 --- a/mRemoteV1/UI/Window/ConnectionTreeWindow.Designer.cs +++ b/mRemoteV1/UI/Window/ConnectionTreeWindow.Designer.cs @@ -58,7 +58,7 @@ namespace mRemoteNG.UI.Window this.olvConnections.IsSimpleDragSource = true; this.olvConnections.IsSimpleDropSink = true; this.olvConnections.LabelEdit = true; - this.olvConnections.Location = new System.Drawing.Point(0, 41); + this.olvConnections.Location = new System.Drawing.Point(0, 24); this.olvConnections.MultiSelect = false; this.olvConnections.Name = "olvConnections"; this.olvConnections.NodeDeletionConfirmer = alwaysConfirmYes1; @@ -68,7 +68,7 @@ namespace mRemoteNG.UI.Window this.olvConnections.ShowGroups = false; treeNodeCompositeClickHandler2.ClickHandlers = new mRemoteNG.Tree.ITreeNodeClickHandler[0]; this.olvConnections.SingleClickHandler = treeNodeCompositeClickHandler2; - this.olvConnections.Size = new System.Drawing.Size(204, 370); + this.olvConnections.Size = new System.Drawing.Size(204, 366); this.olvConnections.TabIndex = 20; this.olvConnections.UnfocusedSelectedBackColor = System.Drawing.SystemColors.Highlight; this.olvConnections.UnfocusedSelectedForeColor = System.Drawing.SystemColors.HighlightText; @@ -153,20 +153,20 @@ namespace mRemoteNG.UI.Window this.PictureBoxSearch.Location = new System.Drawing.Point(0, 0); this.PictureBoxSearch.Margin = new System.Windows.Forms.Padding(0); this.PictureBoxSearch.Name = "PictureBoxSearch"; - this.PictureBoxSearch.Size = new System.Drawing.Size(24, 17); + this.PictureBoxSearch.Size = new System.Drawing.Size(26, 21); this.PictureBoxSearch.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.PictureBoxSearch.TabIndex = 1; this.PictureBoxSearch.TabStop = false; // // txtSearch // + this.txtSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.txtSearch.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.txtSearch.Dock = System.Windows.Forms.DockStyle.Fill; this.txtSearch.ForeColor = System.Drawing.SystemColors.GrayText; - this.txtSearch.Location = new System.Drawing.Point(24, 0); + this.txtSearch.Location = new System.Drawing.Point(26, 3); this.txtSearch.Margin = new System.Windows.Forms.Padding(0); this.txtSearch.Name = "txtSearch"; - this.txtSearch.Size = new System.Drawing.Size(180, 15); + this.txtSearch.Size = new System.Drawing.Size(178, 15); this.txtSearch.TabIndex = 30; this.txtSearch.TabStop = false; this.txtSearch.Text = "Search"; @@ -179,16 +179,16 @@ namespace mRemoteNG.UI.Window // this.tableLayoutPanel1.BackColor = System.Drawing.SystemColors.Control; this.tableLayoutPanel1.ColumnCount = 2; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 24F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 26F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.Controls.Add(this.PictureBoxSearch, 0, 0); - this.tableLayoutPanel1.Controls.Add(this.txtSearch, 1, 0); - this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Top; - this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 24); + this.tableLayoutPanel1.Controls.Add(this.txtSearch); + this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 390); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(204, 17); + this.tableLayoutPanel1.Size = new System.Drawing.Size(204, 21); this.tableLayoutPanel1.TabIndex = 32; // // PictureBox1 @@ -236,7 +236,7 @@ namespace mRemoteNG.UI.Window private WeifenLuo.WinFormsUI.Docking.VisualStudioToolStripExtender vsToolStripExtender; internal System.Windows.Forms.PictureBox PictureBoxSearch; internal Controls.Base.NGTextBox txtSearch; - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; internal System.Windows.Forms.PictureBox PictureBox1; + public System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; } } diff --git a/mRemoteV1/UI/Window/ConnectionTreeWindow.cs b/mRemoteV1/UI/Window/ConnectionTreeWindow.cs index cc8b6be6..2d40b72f 100644 --- a/mRemoteV1/UI/Window/ConnectionTreeWindow.cs +++ b/mRemoteV1/UI/Window/ConnectionTreeWindow.cs @@ -51,7 +51,18 @@ namespace mRemoteNG.UI.Window ConnectionTree.UseFiltering = Settings.Default.UseFilterSearch; ApplyFiltering(); } - } + + PlaceSearchBar(Settings.Default.PlaceSearchBarAboveConnectionTree); + + } + + private void PlaceSearchBar(bool placeSearchBarAboveConnectionTree) + { + if (placeSearchBarAboveConnectionTree) + tableLayoutPanel1.Dock = DockStyle.Top; + else + tableLayoutPanel1.Dock = DockStyle.Bottom; + } #region Form Stuff