1
0
mirror of https://github.com/Ylianst/MeshCentralRouter synced 2025-12-06 00:13:33 +00:00

Sorted devices in combo boxes.

This commit is contained in:
Ylian Saint-Hilaire
2020-10-29 14:09:35 -07:00
parent 25328d3ff9
commit 234b79bcb5
4 changed files with 22 additions and 13 deletions

View File

@@ -88,6 +88,7 @@
this.nodeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.nodeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.nodeComboBox.FormattingEnabled = true; this.nodeComboBox.FormattingEnabled = true;
this.nodeComboBox.Name = "nodeComboBox"; this.nodeComboBox.Name = "nodeComboBox";
this.nodeComboBox.Sorted = true;
// //
// label2 // label2
// //
@@ -137,6 +138,7 @@
resources.GetString("appComboBox.Items4"), resources.GetString("appComboBox.Items4"),
resources.GetString("appComboBox.Items5")}); resources.GetString("appComboBox.Items5")});
this.appComboBox.Name = "appComboBox"; this.appComboBox.Name = "appComboBox";
this.appComboBox.Sorted = true;
this.appComboBox.SelectedIndexChanged += new System.EventHandler(this.appComboBox_SelectedIndexChanged); this.appComboBox.SelectedIndexChanged += new System.EventHandler(this.appComboBox_SelectedIndexChanged);
// //
// label5 // label5
@@ -150,6 +152,7 @@
this.groupComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.groupComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.groupComboBox.FormattingEnabled = true; this.groupComboBox.FormattingEnabled = true;
this.groupComboBox.Name = "groupComboBox"; this.groupComboBox.Name = "groupComboBox";
this.groupComboBox.Sorted = true;
this.groupComboBox.SelectedIndexChanged += new System.EventHandler(this.groupComboBox_SelectedIndexChanged); this.groupComboBox.SelectedIndexChanged += new System.EventHandler(this.groupComboBox_SelectedIndexChanged);
// //
// label6 // label6

View File

@@ -373,10 +373,10 @@
<value>HTTPS</value> <value>HTTPS</value>
</data> </data>
<data name="appComboBox.Items3" xml:space="preserve"> <data name="appComboBox.Items3" xml:space="preserve">
<value>RDP</value> <value>PuTTY</value>
</data> </data>
<data name="appComboBox.Items4" xml:space="preserve"> <data name="appComboBox.Items4" xml:space="preserve">
<value>PuTTY</value> <value>RDP</value>
</data> </data>
<data name="appComboBox.Items5" xml:space="preserve"> <data name="appComboBox.Items5" xml:space="preserve">
<value>WinSCP</value> <value>WinSCP</value>
@@ -534,6 +534,9 @@
<data name="&gt;&gt;udpRadioButton.ZOrder" xml:space="preserve"> <data name="&gt;&gt;udpRadioButton.ZOrder" xml:space="preserve">
<value>2</value> <value>2</value>
</data> </data>
<metadata name="mainToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<data name="nameTextBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms"> <data name="nameTextBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value> <value>Top, Left, Right</value>
</data> </data>
@@ -546,9 +549,6 @@
<data name="nameTextBox.TabIndex" type="System.Int32, mscorlib"> <data name="nameTextBox.TabIndex" type="System.Int32, mscorlib">
<value>20</value> <value>20</value>
</data> </data>
<metadata name="mainToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<data name="nameTextBox.ToolTip" xml:space="preserve"> <data name="nameTextBox.ToolTip" xml:space="preserve">
<value>Optional mapping name</value> <value>Optional mapping name</value>
</data> </data>
@@ -564,9 +564,6 @@
<data name="&gt;&gt;nameTextBox.ZOrder" xml:space="preserve"> <data name="&gt;&gt;nameTextBox.ZOrder" xml:space="preserve">
<value>0</value> <value>0</value>
</data> </data>
<metadata name="mainToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<data name="label8.AutoSize" type="System.Boolean, mscorlib"> <data name="label8.AutoSize" type="System.Boolean, mscorlib">
<value>True</value> <value>True</value>
</data> </data>
@@ -600,6 +597,9 @@
<data name="&gt;&gt;label8.ZOrder" xml:space="preserve"> <data name="&gt;&gt;label8.ZOrder" xml:space="preserve">
<value>1</value> <value>1</value>
</data> </data>
<metadata name="mainToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>

View File

@@ -90,6 +90,7 @@
this.nodeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.nodeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.nodeComboBox.FormattingEnabled = true; this.nodeComboBox.FormattingEnabled = true;
this.nodeComboBox.Name = "nodeComboBox"; this.nodeComboBox.Name = "nodeComboBox";
this.nodeComboBox.Sorted = true;
// //
// label2 // label2
// //
@@ -139,6 +140,7 @@
resources.GetString("appComboBox.Items4"), resources.GetString("appComboBox.Items4"),
resources.GetString("appComboBox.Items5")}); resources.GetString("appComboBox.Items5")});
this.appComboBox.Name = "appComboBox"; this.appComboBox.Name = "appComboBox";
this.appComboBox.Sorted = true;
this.appComboBox.SelectedIndexChanged += new System.EventHandler(this.appComboBox_SelectedIndexChanged); this.appComboBox.SelectedIndexChanged += new System.EventHandler(this.appComboBox_SelectedIndexChanged);
// //
// label5 // label5
@@ -163,6 +165,7 @@
this.groupComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.groupComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.groupComboBox.FormattingEnabled = true; this.groupComboBox.FormattingEnabled = true;
this.groupComboBox.Name = "groupComboBox"; this.groupComboBox.Name = "groupComboBox";
this.groupComboBox.Sorted = true;
this.groupComboBox.SelectedIndexChanged += new System.EventHandler(this.groupComboBox_SelectedIndexChanged); this.groupComboBox.SelectedIndexChanged += new System.EventHandler(this.groupComboBox_SelectedIndexChanged);
// //
// udpRadioButton // udpRadioButton

View File

@@ -373,10 +373,10 @@
<value>HTTPS</value> <value>HTTPS</value>
</data> </data>
<data name="appComboBox.Items3" xml:space="preserve"> <data name="appComboBox.Items3" xml:space="preserve">
<value>RDP</value> <value>PuTTY</value>
</data> </data>
<data name="appComboBox.Items4" xml:space="preserve"> <data name="appComboBox.Items4" xml:space="preserve">
<value>PuTTY</value> <value>RDP</value>
</data> </data>
<data name="appComboBox.Items5" xml:space="preserve"> <data name="appComboBox.Items5" xml:space="preserve">
<value>WinSCP</value> <value>WinSCP</value>
@@ -591,6 +591,9 @@
<data name="&gt;&gt;label7.ZOrder" xml:space="preserve"> <data name="&gt;&gt;label7.ZOrder" xml:space="preserve">
<value>4</value> <value>4</value>
</data> </data>
<metadata name="mainToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<data name="nameTextBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms"> <data name="nameTextBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value> <value>Top, Left, Right</value>
</data> </data>
@@ -603,9 +606,6 @@
<data name="nameTextBox.TabIndex" type="System.Int32, mscorlib"> <data name="nameTextBox.TabIndex" type="System.Int32, mscorlib">
<value>18</value> <value>18</value>
</data> </data>
<metadata name="mainToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<data name="nameTextBox.ToolTip" xml:space="preserve"> <data name="nameTextBox.ToolTip" xml:space="preserve">
<value>Optional mapping name</value> <value>Optional mapping name</value>
</data> </data>
@@ -654,6 +654,9 @@
<data name="&gt;&gt;label8.ZOrder" xml:space="preserve"> <data name="&gt;&gt;label8.ZOrder" xml:space="preserve">
<value>1</value> <value>1</value>
</data> </data>
<metadata name="mainToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>