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

Added internalization support.

This commit is contained in:
Ylian Saint-Hilaire
2020-06-12 16:26:43 -07:00
parent 4d57656c5b
commit 547fe9ab79
25 changed files with 4156 additions and 834 deletions

View File

@@ -50,85 +50,54 @@
// //
// cancelButton // cancelButton
// //
this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.cancelButton, "cancelButton");
this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cancelButton.Location = new System.Drawing.Point(288, 167);
this.cancelButton.Name = "cancelButton"; this.cancelButton.Name = "cancelButton";
this.cancelButton.Size = new System.Drawing.Size(75, 23);
this.cancelButton.TabIndex = 8;
this.cancelButton.Text = "Cancel";
this.cancelButton.UseVisualStyleBackColor = true; this.cancelButton.UseVisualStyleBackColor = true;
this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click); this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
// //
// okButton // okButton
// //
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.okButton, "okButton");
this.okButton.Location = new System.Drawing.Point(207, 167);
this.okButton.Name = "okButton"; this.okButton.Name = "okButton";
this.okButton.Size = new System.Drawing.Size(75, 23);
this.okButton.TabIndex = 7;
this.okButton.Text = "OK";
this.okButton.UseVisualStyleBackColor = true; this.okButton.UseVisualStyleBackColor = true;
this.okButton.Click += new System.EventHandler(this.okButton_Click); this.okButton.Click += new System.EventHandler(this.okButton_Click);
// //
// localNumericUpDown // localNumericUpDown
// //
this.localNumericUpDown.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.localNumericUpDown, "localNumericUpDown");
| System.Windows.Forms.AnchorStyles.Right)));
this.localNumericUpDown.Location = new System.Drawing.Point(157, 33);
this.localNumericUpDown.Maximum = new decimal(new int[] { this.localNumericUpDown.Maximum = new decimal(new int[] {
65535, 65535,
0, 0,
0, 0,
0}); 0});
this.localNumericUpDown.Name = "localNumericUpDown"; this.localNumericUpDown.Name = "localNumericUpDown";
this.localNumericUpDown.Size = new System.Drawing.Size(206, 20);
this.localNumericUpDown.TabIndex = 2;
this.localNumericUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
// //
// label1 // label1
// //
this.label1.AutoSize = true; resources.ApplyResources(this.label1, "label1");
this.label1.Location = new System.Drawing.Point(12, 35);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(55, 13);
this.label1.TabIndex = 3;
this.label1.Text = "Local Port";
// //
// nodeComboBox // nodeComboBox
// //
this.nodeComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.nodeComboBox, "nodeComboBox");
| System.Windows.Forms.AnchorStyles.Right)));
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.Location = new System.Drawing.Point(157, 86);
this.nodeComboBox.Name = "nodeComboBox"; this.nodeComboBox.Name = "nodeComboBox";
this.nodeComboBox.Size = new System.Drawing.Size(206, 21);
this.nodeComboBox.TabIndex = 4;
// //
// label2 // label2
// //
this.label2.AutoSize = true; resources.ApplyResources(this.label2, "label2");
this.label2.Location = new System.Drawing.Point(12, 89);
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(81, 13);
this.label2.TabIndex = 5;
this.label2.Text = "Remote Device";
// //
// label3 // label3
// //
this.label3.AutoSize = true; resources.ApplyResources(this.label3, "label3");
this.label3.Location = new System.Drawing.Point(12, 142);
this.label3.Name = "label3"; this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(66, 13);
this.label3.TabIndex = 7;
this.label3.Text = "Remote Port";
// //
// remoteNumericUpDown // remoteNumericUpDown
// //
this.remoteNumericUpDown.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.remoteNumericUpDown, "remoteNumericUpDown");
| System.Windows.Forms.AnchorStyles.Right)));
this.remoteNumericUpDown.Location = new System.Drawing.Point(157, 140);
this.remoteNumericUpDown.Maximum = new decimal(new int[] { this.remoteNumericUpDown.Maximum = new decimal(new int[] {
65535, 65535,
0, 0,
@@ -140,9 +109,6 @@
0, 0,
0}); 0});
this.remoteNumericUpDown.Name = "remoteNumericUpDown"; this.remoteNumericUpDown.Name = "remoteNumericUpDown";
this.remoteNumericUpDown.Size = new System.Drawing.Size(206, 20);
this.remoteNumericUpDown.TabIndex = 6;
this.remoteNumericUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.remoteNumericUpDown.Value = new decimal(new int[] { this.remoteNumericUpDown.Value = new decimal(new int[] {
80, 80,
0, 0,
@@ -151,93 +117,64 @@
// //
// label4 // label4
// //
this.label4.AutoSize = true; resources.ApplyResources(this.label4, "label4");
this.label4.Location = new System.Drawing.Point(12, 116);
this.label4.Name = "label4"; this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(59, 13);
this.label4.TabIndex = 9;
this.label4.Text = "Application";
// //
// appComboBox // appComboBox
// //
this.appComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.appComboBox, "appComboBox");
| System.Windows.Forms.AnchorStyles.Right)));
this.appComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.appComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.appComboBox.FormattingEnabled = true; this.appComboBox.FormattingEnabled = true;
this.appComboBox.Items.AddRange(new object[] { this.appComboBox.Items.AddRange(new object[] {
"Custom", resources.GetString("appComboBox.Items"),
"HTTP", resources.GetString("appComboBox.Items1"),
"HTTPS", resources.GetString("appComboBox.Items2"),
"RDP", resources.GetString("appComboBox.Items3"),
"PuTTY", resources.GetString("appComboBox.Items4"),
"WinSCP"}); resources.GetString("appComboBox.Items5")});
this.appComboBox.Location = new System.Drawing.Point(157, 113);
this.appComboBox.Name = "appComboBox"; this.appComboBox.Name = "appComboBox";
this.appComboBox.Size = new System.Drawing.Size(206, 21);
this.appComboBox.TabIndex = 5;
this.appComboBox.SelectedIndexChanged += new System.EventHandler(this.appComboBox_SelectedIndexChanged); this.appComboBox.SelectedIndexChanged += new System.EventHandler(this.appComboBox_SelectedIndexChanged);
// //
// label5 // label5
// //
this.label5.AutoSize = true; resources.ApplyResources(this.label5, "label5");
this.label5.Location = new System.Drawing.Point(12, 62);
this.label5.Name = "label5"; this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(73, 13);
this.label5.TabIndex = 11;
this.label5.Text = "Device Group";
// //
// groupComboBox // groupComboBox
// //
this.groupComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.groupComboBox, "groupComboBox");
| System.Windows.Forms.AnchorStyles.Right)));
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.Location = new System.Drawing.Point(157, 59);
this.groupComboBox.Name = "groupComboBox"; this.groupComboBox.Name = "groupComboBox";
this.groupComboBox.Size = new System.Drawing.Size(206, 21);
this.groupComboBox.TabIndex = 3;
this.groupComboBox.SelectedIndexChanged += new System.EventHandler(this.groupComboBox_SelectedIndexChanged); this.groupComboBox.SelectedIndexChanged += new System.EventHandler(this.groupComboBox_SelectedIndexChanged);
// //
// label6 // label6
// //
this.label6.AutoSize = true; resources.ApplyResources(this.label6, "label6");
this.label6.Location = new System.Drawing.Point(12, 9);
this.label6.Name = "label6"; this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(46, 13);
this.label6.TabIndex = 12;
this.label6.Text = "Protocol";
// //
// tcpRadioButton // tcpRadioButton
// //
this.tcpRadioButton.AutoSize = true; resources.ApplyResources(this.tcpRadioButton, "tcpRadioButton");
this.tcpRadioButton.Checked = true; this.tcpRadioButton.Checked = true;
this.tcpRadioButton.Location = new System.Drawing.Point(157, 9);
this.tcpRadioButton.Name = "tcpRadioButton"; this.tcpRadioButton.Name = "tcpRadioButton";
this.tcpRadioButton.Size = new System.Drawing.Size(46, 17);
this.tcpRadioButton.TabIndex = 1;
this.tcpRadioButton.TabStop = true; this.tcpRadioButton.TabStop = true;
this.tcpRadioButton.Text = "TCP";
this.tcpRadioButton.UseVisualStyleBackColor = true; this.tcpRadioButton.UseVisualStyleBackColor = true;
this.tcpRadioButton.CheckedChanged += new System.EventHandler(this.tcpRadioButton_CheckedChanged); this.tcpRadioButton.CheckedChanged += new System.EventHandler(this.tcpRadioButton_CheckedChanged);
// //
// udpRadioButton // udpRadioButton
// //
this.udpRadioButton.AutoSize = true; resources.ApplyResources(this.udpRadioButton, "udpRadioButton");
this.udpRadioButton.Location = new System.Drawing.Point(209, 9);
this.udpRadioButton.Name = "udpRadioButton"; this.udpRadioButton.Name = "udpRadioButton";
this.udpRadioButton.Size = new System.Drawing.Size(48, 17);
this.udpRadioButton.TabIndex = 1;
this.udpRadioButton.Text = "UDP";
this.udpRadioButton.UseVisualStyleBackColor = true; this.udpRadioButton.UseVisualStyleBackColor = true;
this.udpRadioButton.CheckedChanged += new System.EventHandler(this.tcpRadioButton_CheckedChanged); this.udpRadioButton.CheckedChanged += new System.EventHandler(this.tcpRadioButton_CheckedChanged);
// //
// AddPortMapForm // AddPortMapForm
// //
this.AcceptButton = this.okButton; this.AcceptButton = this.okButton;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.cancelButton; this.CancelButton = this.cancelButton;
this.ClientSize = new System.Drawing.Size(375, 202);
this.Controls.Add(this.udpRadioButton); this.Controls.Add(this.udpRadioButton);
this.Controls.Add(this.tcpRadioButton); this.Controls.Add(this.tcpRadioButton);
this.Controls.Add(this.label6); this.Controls.Add(this.label6);
@@ -254,12 +191,9 @@
this.Controls.Add(this.okButton); this.Controls.Add(this.okButton);
this.Controls.Add(this.cancelButton); this.Controls.Add(this.cancelButton);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false; this.MaximizeBox = false;
this.MinimizeBox = false; this.MinimizeBox = false;
this.Name = "AddPortMapForm"; this.Name = "AddPortMapForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Port Mapping";
this.Load += new System.EventHandler(this.AddPortMapForm_Load); this.Load += new System.EventHandler(this.AddPortMapForm_Load);
((System.ComponentModel.ISupportInitialize)(this.localNumericUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.localNumericUpDown)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.remoteNumericUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.remoteNumericUpDown)).EndInit();

View File

@@ -117,7 +117,432 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="cancelButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="cancelButton.Location" type="System.Drawing.Point, System.Drawing">
<value>288, 167</value>
</data>
<data name="cancelButton.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="cancelButton.TabIndex" type="System.Int32, mscorlib">
<value>8</value>
</data>
<data name="cancelButton.Text" xml:space="preserve">
<value>Cancel</value>
</data>
<data name="&gt;&gt;cancelButton.Name" xml:space="preserve">
<value>cancelButton</value>
</data>
<data name="&gt;&gt;cancelButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;cancelButton.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;cancelButton.ZOrder" xml:space="preserve">
<value>14</value>
</data>
<data name="okButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value>
</data>
<data name="okButton.Location" type="System.Drawing.Point, System.Drawing">
<value>207, 167</value>
</data>
<data name="okButton.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<data name="okButton.TabIndex" type="System.Int32, mscorlib">
<value>7</value>
</data>
<data name="okButton.Text" xml:space="preserve">
<value>OK</value>
</data>
<data name="&gt;&gt;okButton.Name" xml:space="preserve">
<value>okButton</value>
</data>
<data name="&gt;&gt;okButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;okButton.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;okButton.ZOrder" xml:space="preserve">
<value>13</value>
</data>
<data name="localNumericUpDown.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="localNumericUpDown.Location" type="System.Drawing.Point, System.Drawing">
<value>157, 33</value>
</data>
<data name="localNumericUpDown.Size" type="System.Drawing.Size, System.Drawing">
<value>206, 20</value>
</data>
<data name="localNumericUpDown.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="localNumericUpDown.TextAlign" type="System.Windows.Forms.HorizontalAlignment, System.Windows.Forms">
<value>Right</value>
</data>
<data name="&gt;&gt;localNumericUpDown.Name" xml:space="preserve">
<value>localNumericUpDown</value>
</data>
<data name="&gt;&gt;localNumericUpDown.Type" xml:space="preserve">
<value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;localNumericUpDown.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;localNumericUpDown.ZOrder" xml:space="preserve">
<value>12</value>
</data>
<data name="label1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label1.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 35</value>
</data>
<data name="label1.Size" type="System.Drawing.Size, System.Drawing">
<value>55, 13</value>
</data>
<data name="label1.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="label1.Text" xml:space="preserve">
<value>Local Port</value>
</data>
<data name="&gt;&gt;label1.Name" xml:space="preserve">
<value>label1</value>
</data>
<data name="&gt;&gt;label1.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;label1.ZOrder" xml:space="preserve">
<value>11</value>
</data>
<data name="nodeComboBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="nodeComboBox.Location" type="System.Drawing.Point, System.Drawing">
<value>157, 86</value>
</data>
<data name="nodeComboBox.Size" type="System.Drawing.Size, System.Drawing">
<value>206, 21</value>
</data>
<data name="nodeComboBox.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
</data>
<data name="&gt;&gt;nodeComboBox.Name" xml:space="preserve">
<value>nodeComboBox</value>
</data>
<data name="&gt;&gt;nodeComboBox.Type" xml:space="preserve">
<value>System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;nodeComboBox.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;nodeComboBox.ZOrder" xml:space="preserve">
<value>10</value>
</data>
<data name="label2.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label2.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 89</value>
</data>
<data name="label2.Size" type="System.Drawing.Size, System.Drawing">
<value>81, 13</value>
</data>
<data name="label2.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
</data>
<data name="label2.Text" xml:space="preserve">
<value>Remote Device</value>
</data>
<data name="&gt;&gt;label2.Name" xml:space="preserve">
<value>label2</value>
</data>
<data name="&gt;&gt;label2.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label2.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;label2.ZOrder" xml:space="preserve">
<value>9</value>
</data>
<data name="label3.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label3.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 142</value>
</data>
<data name="label3.Size" type="System.Drawing.Size, System.Drawing">
<value>66, 13</value>
</data>
<data name="label3.TabIndex" type="System.Int32, mscorlib">
<value>7</value>
</data>
<data name="label3.Text" xml:space="preserve">
<value>Remote Port</value>
</data>
<data name="&gt;&gt;label3.Name" xml:space="preserve">
<value>label3</value>
</data>
<data name="&gt;&gt;label3.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label3.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;label3.ZOrder" xml:space="preserve">
<value>7</value>
</data>
<data name="remoteNumericUpDown.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="remoteNumericUpDown.Location" type="System.Drawing.Point, System.Drawing">
<value>157, 140</value>
</data>
<data name="remoteNumericUpDown.Size" type="System.Drawing.Size, System.Drawing">
<value>206, 20</value>
</data>
<data name="remoteNumericUpDown.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
</data>
<data name="remoteNumericUpDown.TextAlign" type="System.Windows.Forms.HorizontalAlignment, System.Windows.Forms">
<value>Right</value>
</data>
<data name="&gt;&gt;remoteNumericUpDown.Name" xml:space="preserve">
<value>remoteNumericUpDown</value>
</data>
<data name="&gt;&gt;remoteNumericUpDown.Type" xml:space="preserve">
<value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;remoteNumericUpDown.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;remoteNumericUpDown.ZOrder" xml:space="preserve">
<value>8</value>
</data>
<data name="label4.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label4.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 116</value>
</data>
<data name="label4.Size" type="System.Drawing.Size, System.Drawing">
<value>59, 13</value>
</data>
<data name="label4.TabIndex" type="System.Int32, mscorlib">
<value>9</value>
</data>
<data name="label4.Text" xml:space="preserve">
<value>Application</value>
</data>
<data name="&gt;&gt;label4.Name" xml:space="preserve">
<value>label4</value>
</data>
<data name="&gt;&gt;label4.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label4.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;label4.ZOrder" xml:space="preserve">
<value>5</value>
</data>
<data name="appComboBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="appComboBox.Items" xml:space="preserve">
<value>Custom</value>
</data>
<data name="appComboBox.Items1" xml:space="preserve">
<value>HTTP</value>
</data>
<data name="appComboBox.Items2" xml:space="preserve">
<value>HTTPS</value>
</data>
<data name="appComboBox.Items3" xml:space="preserve">
<value>RDP</value>
</data>
<data name="appComboBox.Items4" xml:space="preserve">
<value>PuTTY</value>
</data>
<data name="appComboBox.Items5" xml:space="preserve">
<value>WinSCP</value>
</data>
<data name="appComboBox.Location" type="System.Drawing.Point, System.Drawing">
<value>157, 113</value>
</data>
<data name="appComboBox.Size" type="System.Drawing.Size, System.Drawing">
<value>206, 21</value>
</data>
<data name="appComboBox.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
</data>
<data name="&gt;&gt;appComboBox.Name" xml:space="preserve">
<value>appComboBox</value>
</data>
<data name="&gt;&gt;appComboBox.Type" xml:space="preserve">
<value>System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;appComboBox.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;appComboBox.ZOrder" xml:space="preserve">
<value>6</value>
</data>
<data name="label5.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label5.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 62</value>
</data>
<data name="label5.Size" type="System.Drawing.Size, System.Drawing">
<value>73, 13</value>
</data>
<data name="label5.TabIndex" type="System.Int32, mscorlib">
<value>11</value>
</data>
<data name="label5.Text" xml:space="preserve">
<value>Device Group</value>
</data>
<data name="&gt;&gt;label5.Name" xml:space="preserve">
<value>label5</value>
</data>
<data name="&gt;&gt;label5.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label5.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;label5.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="groupComboBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="groupComboBox.Location" type="System.Drawing.Point, System.Drawing">
<value>157, 59</value>
</data>
<data name="groupComboBox.Size" type="System.Drawing.Size, System.Drawing">
<value>206, 21</value>
</data>
<data name="groupComboBox.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="&gt;&gt;groupComboBox.Name" xml:space="preserve">
<value>groupComboBox</value>
</data>
<data name="&gt;&gt;groupComboBox.Type" xml:space="preserve">
<value>System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;groupComboBox.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;groupComboBox.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="label6.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label6.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 9</value>
</data>
<data name="label6.Size" type="System.Drawing.Size, System.Drawing">
<value>46, 13</value>
</data>
<data name="label6.TabIndex" type="System.Int32, mscorlib">
<value>12</value>
</data>
<data name="label6.Text" xml:space="preserve">
<value>Protocol</value>
</data>
<data name="&gt;&gt;label6.Name" xml:space="preserve">
<value>label6</value>
</data>
<data name="&gt;&gt;label6.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label6.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;label6.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="tcpRadioButton.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="tcpRadioButton.Location" type="System.Drawing.Point, System.Drawing">
<value>157, 9</value>
</data>
<data name="tcpRadioButton.Size" type="System.Drawing.Size, System.Drawing">
<value>46, 17</value>
</data>
<data name="tcpRadioButton.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="tcpRadioButton.Text" xml:space="preserve">
<value>TCP</value>
</data>
<data name="&gt;&gt;tcpRadioButton.Name" xml:space="preserve">
<value>tcpRadioButton</value>
</data>
<data name="&gt;&gt;tcpRadioButton.Type" xml:space="preserve">
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;tcpRadioButton.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;tcpRadioButton.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="udpRadioButton.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="udpRadioButton.Location" type="System.Drawing.Point, System.Drawing">
<value>209, 9</value>
</data>
<data name="udpRadioButton.Size" type="System.Drawing.Size, System.Drawing">
<value>48, 17</value>
</data>
<data name="udpRadioButton.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="udpRadioButton.Text" xml:space="preserve">
<value>UDP</value>
</data>
<data name="&gt;&gt;udpRadioButton.Name" xml:space="preserve">
<value>udpRadioButton</value>
</data>
<data name="&gt;&gt;udpRadioButton.Type" xml:space="preserve">
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;udpRadioButton.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;udpRadioButton.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>6, 13</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>375, 202</value>
</data>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
AAABAA0AMDAQAAEABABoBgAA1gAAACAgEAABAAQA6AIAAD4HAAAYGBAAAQAEAOgBAAAmCgAAEBAQAAEA AAABAA0AMDAQAAEABABoBgAA1gAAACAgEAABAAQA6AIAAD4HAAAYGBAAAQAEAOgBAAAmCgAAEBAQAAEA
@@ -1812,4 +2237,16 @@
AADAPwAAwD8AAMA/AADAPwAA AADAPwAAwD8AAMA/AADAPwAA
</value> </value>
</data> </data>
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
<value>CenterParent</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>Port Mapping</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>AddPortMapForm</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root> </root>

View File

@@ -52,85 +52,54 @@
// //
// cancelButton // cancelButton
// //
this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.cancelButton, "cancelButton");
this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cancelButton.Location = new System.Drawing.Point(288, 193);
this.cancelButton.Name = "cancelButton"; this.cancelButton.Name = "cancelButton";
this.cancelButton.Size = new System.Drawing.Size(75, 23);
this.cancelButton.TabIndex = 0;
this.cancelButton.Text = "Cancel";
this.cancelButton.UseVisualStyleBackColor = true; this.cancelButton.UseVisualStyleBackColor = true;
this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click); this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
// //
// okButton // okButton
// //
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.okButton, "okButton");
this.okButton.Location = new System.Drawing.Point(207, 193);
this.okButton.Name = "okButton"; this.okButton.Name = "okButton";
this.okButton.Size = new System.Drawing.Size(75, 23);
this.okButton.TabIndex = 1;
this.okButton.Text = "OK";
this.okButton.UseVisualStyleBackColor = true; this.okButton.UseVisualStyleBackColor = true;
this.okButton.Click += new System.EventHandler(this.okButton_Click); this.okButton.Click += new System.EventHandler(this.okButton_Click);
// //
// localNumericUpDown // localNumericUpDown
// //
this.localNumericUpDown.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.localNumericUpDown, "localNumericUpDown");
| System.Windows.Forms.AnchorStyles.Right)));
this.localNumericUpDown.Location = new System.Drawing.Point(157, 32);
this.localNumericUpDown.Maximum = new decimal(new int[] { this.localNumericUpDown.Maximum = new decimal(new int[] {
65535, 65535,
0, 0,
0, 0,
0}); 0});
this.localNumericUpDown.Name = "localNumericUpDown"; this.localNumericUpDown.Name = "localNumericUpDown";
this.localNumericUpDown.Size = new System.Drawing.Size(206, 20);
this.localNumericUpDown.TabIndex = 2;
this.localNumericUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
// //
// label1 // label1
// //
this.label1.AutoSize = true; resources.ApplyResources(this.label1, "label1");
this.label1.Location = new System.Drawing.Point(12, 34);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(55, 13);
this.label1.TabIndex = 3;
this.label1.Text = "Local Port";
// //
// nodeComboBox // nodeComboBox
// //
this.nodeComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.nodeComboBox, "nodeComboBox");
| System.Windows.Forms.AnchorStyles.Right)));
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.Location = new System.Drawing.Point(157, 85);
this.nodeComboBox.Name = "nodeComboBox"; this.nodeComboBox.Name = "nodeComboBox";
this.nodeComboBox.Size = new System.Drawing.Size(206, 21);
this.nodeComboBox.TabIndex = 4;
// //
// label2 // label2
// //
this.label2.AutoSize = true; resources.ApplyResources(this.label2, "label2");
this.label2.Location = new System.Drawing.Point(12, 88);
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(71, 13);
this.label2.TabIndex = 5;
this.label2.Text = "Relay Device";
// //
// label3 // label3
// //
this.label3.AutoSize = true; resources.ApplyResources(this.label3, "label3");
this.label3.Location = new System.Drawing.Point(12, 167);
this.label3.Name = "label3"; this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(66, 13);
this.label3.TabIndex = 7;
this.label3.Text = "Remote Port";
// //
// remoteNumericUpDown // remoteNumericUpDown
// //
this.remoteNumericUpDown.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.remoteNumericUpDown, "remoteNumericUpDown");
| System.Windows.Forms.AnchorStyles.Right)));
this.remoteNumericUpDown.Location = new System.Drawing.Point(157, 165);
this.remoteNumericUpDown.Maximum = new decimal(new int[] { this.remoteNumericUpDown.Maximum = new decimal(new int[] {
65535, 65535,
0, 0,
@@ -142,9 +111,6 @@
0, 0,
0}); 0});
this.remoteNumericUpDown.Name = "remoteNumericUpDown"; this.remoteNumericUpDown.Name = "remoteNumericUpDown";
this.remoteNumericUpDown.Size = new System.Drawing.Size(206, 20);
this.remoteNumericUpDown.TabIndex = 6;
this.remoteNumericUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.remoteNumericUpDown.Value = new decimal(new int[] { this.remoteNumericUpDown.Value = new decimal(new int[] {
80, 80,
0, 0,
@@ -153,113 +119,74 @@
// //
// label4 // label4
// //
this.label4.AutoSize = true; resources.ApplyResources(this.label4, "label4");
this.label4.Location = new System.Drawing.Point(12, 115);
this.label4.Name = "label4"; this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(59, 13);
this.label4.TabIndex = 9;
this.label4.Text = "Application";
// //
// appComboBox // appComboBox
// //
this.appComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.appComboBox, "appComboBox");
| System.Windows.Forms.AnchorStyles.Right)));
this.appComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.appComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.appComboBox.FormattingEnabled = true; this.appComboBox.FormattingEnabled = true;
this.appComboBox.Items.AddRange(new object[] { this.appComboBox.Items.AddRange(new object[] {
"Custom", resources.GetString("appComboBox.Items"),
"HTTP", resources.GetString("appComboBox.Items1"),
"HTTPS", resources.GetString("appComboBox.Items2"),
"RDP", resources.GetString("appComboBox.Items3"),
"PuTTY", resources.GetString("appComboBox.Items4"),
"WinSCP"}); resources.GetString("appComboBox.Items5")});
this.appComboBox.Location = new System.Drawing.Point(157, 112);
this.appComboBox.Name = "appComboBox"; this.appComboBox.Name = "appComboBox";
this.appComboBox.Size = new System.Drawing.Size(206, 21);
this.appComboBox.TabIndex = 8;
this.appComboBox.SelectedIndexChanged += new System.EventHandler(this.appComboBox_SelectedIndexChanged); this.appComboBox.SelectedIndexChanged += new System.EventHandler(this.appComboBox_SelectedIndexChanged);
// //
// label5 // label5
// //
this.label5.AutoSize = true; resources.ApplyResources(this.label5, "label5");
this.label5.Location = new System.Drawing.Point(12, 142);
this.label5.Name = "label5"; this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(57, 13);
this.label5.TabIndex = 10;
this.label5.Text = "Remote IP";
// //
// remoteIpTextBox // remoteIpTextBox
// //
this.remoteIpTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.remoteIpTextBox, "remoteIpTextBox");
| System.Windows.Forms.AnchorStyles.Right)));
this.remoteIpTextBox.Location = new System.Drawing.Point(157, 139);
this.remoteIpTextBox.Name = "remoteIpTextBox"; this.remoteIpTextBox.Name = "remoteIpTextBox";
this.remoteIpTextBox.Size = new System.Drawing.Size(206, 20);
this.remoteIpTextBox.TabIndex = 11;
this.remoteIpTextBox.Text = "127.0.0.1";
this.remoteIpTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.remoteIpTextBox.TextChanged += new System.EventHandler(this.remoteIpTextBox_TextChanged); this.remoteIpTextBox.TextChanged += new System.EventHandler(this.remoteIpTextBox_TextChanged);
// //
// label6 // label6
// //
this.label6.AutoSize = true; resources.ApplyResources(this.label6, "label6");
this.label6.Location = new System.Drawing.Point(12, 61);
this.label6.Name = "label6"; this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(73, 13);
this.label6.TabIndex = 13;
this.label6.Text = "Device Group";
// //
// groupComboBox // groupComboBox
// //
this.groupComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.groupComboBox, "groupComboBox");
| System.Windows.Forms.AnchorStyles.Right)));
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.Location = new System.Drawing.Point(157, 58);
this.groupComboBox.Name = "groupComboBox"; this.groupComboBox.Name = "groupComboBox";
this.groupComboBox.Size = new System.Drawing.Size(206, 21);
this.groupComboBox.TabIndex = 12;
this.groupComboBox.SelectedIndexChanged += new System.EventHandler(this.groupComboBox_SelectedIndexChanged); this.groupComboBox.SelectedIndexChanged += new System.EventHandler(this.groupComboBox_SelectedIndexChanged);
// //
// udpRadioButton // udpRadioButton
// //
this.udpRadioButton.AutoSize = true; resources.ApplyResources(this.udpRadioButton, "udpRadioButton");
this.udpRadioButton.Location = new System.Drawing.Point(209, 9);
this.udpRadioButton.Name = "udpRadioButton"; this.udpRadioButton.Name = "udpRadioButton";
this.udpRadioButton.Size = new System.Drawing.Size(48, 17);
this.udpRadioButton.TabIndex = 14;
this.udpRadioButton.Text = "UDP";
this.udpRadioButton.UseVisualStyleBackColor = true; this.udpRadioButton.UseVisualStyleBackColor = true;
// //
// tcpRadioButton // tcpRadioButton
// //
this.tcpRadioButton.AutoSize = true; resources.ApplyResources(this.tcpRadioButton, "tcpRadioButton");
this.tcpRadioButton.Checked = true; this.tcpRadioButton.Checked = true;
this.tcpRadioButton.Location = new System.Drawing.Point(157, 9);
this.tcpRadioButton.Name = "tcpRadioButton"; this.tcpRadioButton.Name = "tcpRadioButton";
this.tcpRadioButton.Size = new System.Drawing.Size(46, 17);
this.tcpRadioButton.TabIndex = 15;
this.tcpRadioButton.TabStop = true; this.tcpRadioButton.TabStop = true;
this.tcpRadioButton.Text = "TCP";
this.tcpRadioButton.UseVisualStyleBackColor = true; this.tcpRadioButton.UseVisualStyleBackColor = true;
this.tcpRadioButton.CheckedChanged += new System.EventHandler(this.tcpRadioButton_CheckedChanged); this.tcpRadioButton.CheckedChanged += new System.EventHandler(this.tcpRadioButton_CheckedChanged);
// //
// label7 // label7
// //
this.label7.AutoSize = true; resources.ApplyResources(this.label7, "label7");
this.label7.Location = new System.Drawing.Point(12, 9);
this.label7.Name = "label7"; this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(46, 13);
this.label7.TabIndex = 16;
this.label7.Text = "Protocol";
// //
// AddRelayMapForm // AddRelayMapForm
// //
this.AcceptButton = this.okButton; this.AcceptButton = this.okButton;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.cancelButton; this.CancelButton = this.cancelButton;
this.ClientSize = new System.Drawing.Size(375, 228);
this.Controls.Add(this.udpRadioButton); this.Controls.Add(this.udpRadioButton);
this.Controls.Add(this.tcpRadioButton); this.Controls.Add(this.tcpRadioButton);
this.Controls.Add(this.label7); this.Controls.Add(this.label7);
@@ -278,12 +205,9 @@
this.Controls.Add(this.okButton); this.Controls.Add(this.okButton);
this.Controls.Add(this.cancelButton); this.Controls.Add(this.cancelButton);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false; this.MaximizeBox = false;
this.MinimizeBox = false; this.MinimizeBox = false;
this.Name = "AddRelayMapForm"; this.Name = "AddRelayMapForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Relay Mapping";
this.Load += new System.EventHandler(this.AddRelayMapForm_Load); this.Load += new System.EventHandler(this.AddRelayMapForm_Load);
((System.ComponentModel.ISupportInitialize)(this.localNumericUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.localNumericUpDown)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.remoteNumericUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.remoteNumericUpDown)).EndInit();

View File

@@ -117,7 +117,489 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="cancelButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="cancelButton.Location" type="System.Drawing.Point, System.Drawing">
<value>288, 193</value>
</data>
<data name="cancelButton.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="cancelButton.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="cancelButton.Text" xml:space="preserve">
<value>Cancel</value>
</data>
<data name="&gt;&gt;cancelButton.Name" xml:space="preserve">
<value>cancelButton</value>
</data>
<data name="&gt;&gt;cancelButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;cancelButton.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;cancelButton.ZOrder" xml:space="preserve">
<value>16</value>
</data>
<data name="okButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value>
</data>
<data name="okButton.Location" type="System.Drawing.Point, System.Drawing">
<value>207, 193</value>
</data>
<data name="okButton.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<data name="okButton.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="okButton.Text" xml:space="preserve">
<value>OK</value>
</data>
<data name="&gt;&gt;okButton.Name" xml:space="preserve">
<value>okButton</value>
</data>
<data name="&gt;&gt;okButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;okButton.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;okButton.ZOrder" xml:space="preserve">
<value>15</value>
</data>
<data name="localNumericUpDown.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="localNumericUpDown.Location" type="System.Drawing.Point, System.Drawing">
<value>157, 32</value>
</data>
<data name="localNumericUpDown.Size" type="System.Drawing.Size, System.Drawing">
<value>206, 20</value>
</data>
<data name="localNumericUpDown.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="localNumericUpDown.TextAlign" type="System.Windows.Forms.HorizontalAlignment, System.Windows.Forms">
<value>Right</value>
</data>
<data name="&gt;&gt;localNumericUpDown.Name" xml:space="preserve">
<value>localNumericUpDown</value>
</data>
<data name="&gt;&gt;localNumericUpDown.Type" xml:space="preserve">
<value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;localNumericUpDown.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;localNumericUpDown.ZOrder" xml:space="preserve">
<value>14</value>
</data>
<data name="label1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label1.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 34</value>
</data>
<data name="label1.Size" type="System.Drawing.Size, System.Drawing">
<value>55, 13</value>
</data>
<data name="label1.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="label1.Text" xml:space="preserve">
<value>Local Port</value>
</data>
<data name="&gt;&gt;label1.Name" xml:space="preserve">
<value>label1</value>
</data>
<data name="&gt;&gt;label1.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;label1.ZOrder" xml:space="preserve">
<value>13</value>
</data>
<data name="nodeComboBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="nodeComboBox.Location" type="System.Drawing.Point, System.Drawing">
<value>157, 85</value>
</data>
<data name="nodeComboBox.Size" type="System.Drawing.Size, System.Drawing">
<value>206, 21</value>
</data>
<data name="nodeComboBox.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
</data>
<data name="&gt;&gt;nodeComboBox.Name" xml:space="preserve">
<value>nodeComboBox</value>
</data>
<data name="&gt;&gt;nodeComboBox.Type" xml:space="preserve">
<value>System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;nodeComboBox.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;nodeComboBox.ZOrder" xml:space="preserve">
<value>12</value>
</data>
<data name="label2.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label2.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 88</value>
</data>
<data name="label2.Size" type="System.Drawing.Size, System.Drawing">
<value>71, 13</value>
</data>
<data name="label2.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
</data>
<data name="label2.Text" xml:space="preserve">
<value>Relay Device</value>
</data>
<data name="&gt;&gt;label2.Name" xml:space="preserve">
<value>label2</value>
</data>
<data name="&gt;&gt;label2.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label2.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;label2.ZOrder" xml:space="preserve">
<value>11</value>
</data>
<data name="label3.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label3.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 167</value>
</data>
<data name="label3.Size" type="System.Drawing.Size, System.Drawing">
<value>66, 13</value>
</data>
<data name="label3.TabIndex" type="System.Int32, mscorlib">
<value>7</value>
</data>
<data name="label3.Text" xml:space="preserve">
<value>Remote Port</value>
</data>
<data name="&gt;&gt;label3.Name" xml:space="preserve">
<value>label3</value>
</data>
<data name="&gt;&gt;label3.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label3.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;label3.ZOrder" xml:space="preserve">
<value>9</value>
</data>
<data name="remoteNumericUpDown.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="remoteNumericUpDown.Location" type="System.Drawing.Point, System.Drawing">
<value>157, 165</value>
</data>
<data name="remoteNumericUpDown.Size" type="System.Drawing.Size, System.Drawing">
<value>206, 20</value>
</data>
<data name="remoteNumericUpDown.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
</data>
<data name="remoteNumericUpDown.TextAlign" type="System.Windows.Forms.HorizontalAlignment, System.Windows.Forms">
<value>Right</value>
</data>
<data name="&gt;&gt;remoteNumericUpDown.Name" xml:space="preserve">
<value>remoteNumericUpDown</value>
</data>
<data name="&gt;&gt;remoteNumericUpDown.Type" xml:space="preserve">
<value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;remoteNumericUpDown.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;remoteNumericUpDown.ZOrder" xml:space="preserve">
<value>10</value>
</data>
<data name="label4.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label4.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 115</value>
</data>
<data name="label4.Size" type="System.Drawing.Size, System.Drawing">
<value>59, 13</value>
</data>
<data name="label4.TabIndex" type="System.Int32, mscorlib">
<value>9</value>
</data>
<data name="label4.Text" xml:space="preserve">
<value>Application</value>
</data>
<data name="&gt;&gt;label4.Name" xml:space="preserve">
<value>label4</value>
</data>
<data name="&gt;&gt;label4.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label4.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;label4.ZOrder" xml:space="preserve">
<value>7</value>
</data>
<data name="appComboBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="appComboBox.Items" xml:space="preserve">
<value>Custom</value>
</data>
<data name="appComboBox.Items1" xml:space="preserve">
<value>HTTP</value>
</data>
<data name="appComboBox.Items2" xml:space="preserve">
<value>HTTPS</value>
</data>
<data name="appComboBox.Items3" xml:space="preserve">
<value>RDP</value>
</data>
<data name="appComboBox.Items4" xml:space="preserve">
<value>PuTTY</value>
</data>
<data name="appComboBox.Items5" xml:space="preserve">
<value>WinSCP</value>
</data>
<data name="appComboBox.Location" type="System.Drawing.Point, System.Drawing">
<value>157, 112</value>
</data>
<data name="appComboBox.Size" type="System.Drawing.Size, System.Drawing">
<value>206, 21</value>
</data>
<data name="appComboBox.TabIndex" type="System.Int32, mscorlib">
<value>8</value>
</data>
<data name="&gt;&gt;appComboBox.Name" xml:space="preserve">
<value>appComboBox</value>
</data>
<data name="&gt;&gt;appComboBox.Type" xml:space="preserve">
<value>System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;appComboBox.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;appComboBox.ZOrder" xml:space="preserve">
<value>8</value>
</data>
<data name="label5.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label5.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 142</value>
</data>
<data name="label5.Size" type="System.Drawing.Size, System.Drawing">
<value>57, 13</value>
</data>
<data name="label5.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
</data>
<data name="label5.Text" xml:space="preserve">
<value>Remote IP</value>
</data>
<data name="&gt;&gt;label5.Name" xml:space="preserve">
<value>label5</value>
</data>
<data name="&gt;&gt;label5.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label5.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;label5.ZOrder" xml:space="preserve">
<value>6</value>
</data>
<data name="remoteIpTextBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="remoteIpTextBox.Location" type="System.Drawing.Point, System.Drawing">
<value>157, 139</value>
</data>
<data name="remoteIpTextBox.Size" type="System.Drawing.Size, System.Drawing">
<value>206, 20</value>
</data>
<data name="remoteIpTextBox.TabIndex" type="System.Int32, mscorlib">
<value>11</value>
</data>
<data name="remoteIpTextBox.Text" xml:space="preserve">
<value>127.0.0.1</value>
</data>
<data name="remoteIpTextBox.TextAlign" type="System.Windows.Forms.HorizontalAlignment, System.Windows.Forms">
<value>Right</value>
</data>
<data name="&gt;&gt;remoteIpTextBox.Name" xml:space="preserve">
<value>remoteIpTextBox</value>
</data>
<data name="&gt;&gt;remoteIpTextBox.Type" xml:space="preserve">
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;remoteIpTextBox.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;remoteIpTextBox.ZOrder" xml:space="preserve">
<value>5</value>
</data>
<data name="label6.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label6.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 61</value>
</data>
<data name="label6.Size" type="System.Drawing.Size, System.Drawing">
<value>73, 13</value>
</data>
<data name="label6.TabIndex" type="System.Int32, mscorlib">
<value>13</value>
</data>
<data name="label6.Text" xml:space="preserve">
<value>Device Group</value>
</data>
<data name="&gt;&gt;label6.Name" xml:space="preserve">
<value>label6</value>
</data>
<data name="&gt;&gt;label6.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label6.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;label6.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="groupComboBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="groupComboBox.Location" type="System.Drawing.Point, System.Drawing">
<value>157, 58</value>
</data>
<data name="groupComboBox.Size" type="System.Drawing.Size, System.Drawing">
<value>206, 21</value>
</data>
<data name="groupComboBox.TabIndex" type="System.Int32, mscorlib">
<value>12</value>
</data>
<data name="&gt;&gt;groupComboBox.Name" xml:space="preserve">
<value>groupComboBox</value>
</data>
<data name="&gt;&gt;groupComboBox.Type" xml:space="preserve">
<value>System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;groupComboBox.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;groupComboBox.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="udpRadioButton.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="udpRadioButton.Location" type="System.Drawing.Point, System.Drawing">
<value>209, 9</value>
</data>
<data name="udpRadioButton.Size" type="System.Drawing.Size, System.Drawing">
<value>48, 17</value>
</data>
<data name="udpRadioButton.TabIndex" type="System.Int32, mscorlib">
<value>14</value>
</data>
<data name="udpRadioButton.Text" xml:space="preserve">
<value>UDP</value>
</data>
<data name="&gt;&gt;udpRadioButton.Name" xml:space="preserve">
<value>udpRadioButton</value>
</data>
<data name="&gt;&gt;udpRadioButton.Type" xml:space="preserve">
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;udpRadioButton.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;udpRadioButton.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="tcpRadioButton.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="tcpRadioButton.Location" type="System.Drawing.Point, System.Drawing">
<value>157, 9</value>
</data>
<data name="tcpRadioButton.Size" type="System.Drawing.Size, System.Drawing">
<value>46, 17</value>
</data>
<data name="tcpRadioButton.TabIndex" type="System.Int32, mscorlib">
<value>15</value>
</data>
<data name="tcpRadioButton.Text" xml:space="preserve">
<value>TCP</value>
</data>
<data name="&gt;&gt;tcpRadioButton.Name" xml:space="preserve">
<value>tcpRadioButton</value>
</data>
<data name="&gt;&gt;tcpRadioButton.Type" xml:space="preserve">
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;tcpRadioButton.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;tcpRadioButton.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="label7.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label7.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 9</value>
</data>
<data name="label7.Size" type="System.Drawing.Size, System.Drawing">
<value>46, 13</value>
</data>
<data name="label7.TabIndex" type="System.Int32, mscorlib">
<value>16</value>
</data>
<data name="label7.Text" xml:space="preserve">
<value>Protocol</value>
</data>
<data name="&gt;&gt;label7.Name" xml:space="preserve">
<value>label7</value>
</data>
<data name="&gt;&gt;label7.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label7.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;label7.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>6, 13</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>375, 228</value>
</data>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
AAABAA0AMDAQAAEABABoBgAA1gAAACAgEAABAAQA6AIAAD4HAAAYGBAAAQAEAOgBAAAmCgAAEBAQAAEA AAABAA0AMDAQAAEABABoBgAA1gAAACAgEAABAAQA6AIAAD4HAAAYGBAAAQAEAOgBAAAmCgAAEBAQAAEA
@@ -1812,4 +2294,16 @@
AADAPwAAwD8AAMA/AADAPwAA AADAPwAAwD8AAMA/AADAPwAA
</value> </value>
</data> </data>
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
<value>CenterParent</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>Relay Mapping</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>AddRelayMapForm</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root> </root>

View File

@@ -32,45 +32,35 @@
this.cancelButton = new System.Windows.Forms.Button(); this.cancelButton = new System.Windows.Forms.Button();
this.okButton = new System.Windows.Forms.Button(); this.okButton = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox(); this.groupBox1 = new System.Windows.Forms.GroupBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.appNameLabel = new System.Windows.Forms.Label();
this.appPathTextBox = new System.Windows.Forms.TextBox();
this.appLinkLabel = new System.Windows.Forms.LinkLabel();
this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
this.folderButton = new System.Windows.Forms.Button(); this.folderButton = new System.Windows.Forms.Button();
this.appNameLabel = new System.Windows.Forms.Label();
this.appLinkLabel = new System.Windows.Forms.LinkLabel();
this.appPathTextBox = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
this.groupBox1.SuspendLayout(); this.groupBox1.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// cancelButton // cancelButton
// //
this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.cancelButton, "cancelButton");
this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cancelButton.Location = new System.Drawing.Point(323, 128);
this.cancelButton.Name = "cancelButton"; this.cancelButton.Name = "cancelButton";
this.cancelButton.Size = new System.Drawing.Size(75, 23);
this.cancelButton.TabIndex = 0;
this.cancelButton.Text = "Cancel";
this.cancelButton.UseVisualStyleBackColor = true; this.cancelButton.UseVisualStyleBackColor = true;
this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click); this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
// //
// okButton // okButton
// //
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.okButton, "okButton");
this.okButton.Location = new System.Drawing.Point(242, 128);
this.okButton.Name = "okButton"; this.okButton.Name = "okButton";
this.okButton.Size = new System.Drawing.Size(75, 23);
this.okButton.TabIndex = 1;
this.okButton.Text = "OK";
this.okButton.UseVisualStyleBackColor = true; this.okButton.UseVisualStyleBackColor = true;
this.okButton.Click += new System.EventHandler(this.okButton_Click); this.okButton.Click += new System.EventHandler(this.okButton_Click);
// //
// groupBox1 // groupBox1
// //
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) resources.ApplyResources(this.groupBox1, "groupBox1");
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox1.Controls.Add(this.folderButton); this.groupBox1.Controls.Add(this.folderButton);
this.groupBox1.Controls.Add(this.appNameLabel); this.groupBox1.Controls.Add(this.appNameLabel);
this.groupBox1.Controls.Add(this.appLinkLabel); this.groupBox1.Controls.Add(this.appLinkLabel);
@@ -78,101 +68,68 @@
this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.label3);
this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Location = new System.Drawing.Point(12, 12);
this.groupBox1.Name = "groupBox1"; this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(386, 110);
this.groupBox1.TabIndex = 2;
this.groupBox1.TabStop = false; this.groupBox1.TabStop = false;
this.groupBox1.Text = "Application Launch";
// //
// label1 // folderButton
// //
this.label1.AutoSize = true; resources.ApplyResources(this.folderButton, "folderButton");
this.label1.Location = new System.Drawing.Point(12, 25); this.folderButton.Image = global::MeshCentralRouter.Properties.Resources.Folder36;
this.label1.Name = "label1"; this.folderButton.Name = "folderButton";
this.label1.Size = new System.Drawing.Size(35, 13); this.folderButton.UseVisualStyleBackColor = true;
this.label1.TabIndex = 0; this.folderButton.Click += new System.EventHandler(this.folderPictureBox_Click);
this.label1.Text = "Name";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(12, 51);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(25, 13);
this.label2.TabIndex = 1;
this.label2.Text = "Site";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(12, 77);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(29, 13);
this.label3.TabIndex = 2;
this.label3.Text = "Path";
// //
// appNameLabel // appNameLabel
// //
this.appNameLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); resources.ApplyResources(this.appNameLabel, "appNameLabel");
this.appNameLabel.Location = new System.Drawing.Point(83, 25);
this.appNameLabel.Name = "appNameLabel"; this.appNameLabel.Name = "appNameLabel";
this.appNameLabel.Size = new System.Drawing.Size(238, 16);
this.appNameLabel.TabIndex = 3;
this.appNameLabel.Text = "Application Name";
//
// appPathTextBox
//
this.appPathTextBox.Location = new System.Drawing.Point(86, 74);
this.appPathTextBox.Name = "appPathTextBox";
this.appPathTextBox.Size = new System.Drawing.Size(294, 20);
this.appPathTextBox.TabIndex = 3;
this.appPathTextBox.TextChanged += new System.EventHandler(this.appPathTextBox_TextChanged);
// //
// appLinkLabel // appLinkLabel
// //
this.appLinkLabel.Location = new System.Drawing.Point(83, 49); resources.ApplyResources(this.appLinkLabel, "appLinkLabel");
this.appLinkLabel.Name = "appLinkLabel"; this.appLinkLabel.Name = "appLinkLabel";
this.appLinkLabel.Size = new System.Drawing.Size(238, 16);
this.appLinkLabel.TabIndex = 4;
this.appLinkLabel.TabStop = true; this.appLinkLabel.TabStop = true;
this.appLinkLabel.Text = "Application Link";
this.appLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.appLinkLabel_LinkClicked); this.appLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.appLinkLabel_LinkClicked);
// //
// appPathTextBox
//
resources.ApplyResources(this.appPathTextBox, "appPathTextBox");
this.appPathTextBox.Name = "appPathTextBox";
this.appPathTextBox.TextChanged += new System.EventHandler(this.appPathTextBox_TextChanged);
//
// label3
//
resources.ApplyResources(this.label3, "label3");
this.label3.Name = "label3";
//
// label2
//
resources.ApplyResources(this.label2, "label2");
this.label2.Name = "label2";
//
// label1
//
resources.ApplyResources(this.label1, "label1");
this.label1.Name = "label1";
//
// openFileDialog // openFileDialog
// //
this.openFileDialog.DefaultExt = "exe"; this.openFileDialog.DefaultExt = "exe";
this.openFileDialog.Filter = "Executable (*.exe)|*.exe"; resources.ApplyResources(this.openFileDialog, "openFileDialog");
this.openFileDialog.Title = "Application Executable";
//
// folderButton
//
this.folderButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.folderButton.Image = global::MeshCentralRouter.Properties.Resources.Folder36;
this.folderButton.Location = new System.Drawing.Point(327, 15);
this.folderButton.Name = "folderButton";
this.folderButton.Size = new System.Drawing.Size(52, 52);
this.folderButton.TabIndex = 5;
this.folderButton.UseVisualStyleBackColor = true;
this.folderButton.Click += new System.EventHandler(this.folderPictureBox_Click);
// //
// AppLaunchForm // AppLaunchForm
// //
this.AcceptButton = this.okButton; this.AcceptButton = this.okButton;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.cancelButton; this.CancelButton = this.cancelButton;
this.ClientSize = new System.Drawing.Size(410, 163);
this.Controls.Add(this.groupBox1); this.Controls.Add(this.groupBox1);
this.Controls.Add(this.okButton); this.Controls.Add(this.okButton);
this.Controls.Add(this.cancelButton); this.Controls.Add(this.cancelButton);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false; this.MaximizeBox = false;
this.MinimizeBox = false; this.MinimizeBox = false;
this.Name = "AppLaunchForm"; this.Name = "AppLaunchForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "MeshCentral Router";
this.groupBox1.ResumeLayout(false); this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout(); this.groupBox1.PerformLayout();
this.ResumeLayout(false); this.ResumeLayout(false);

View File

@@ -117,10 +117,285 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="cancelButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="cancelButton.Location" type="System.Drawing.Point, System.Drawing">
<value>323, 128</value>
</data>
<data name="cancelButton.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="cancelButton.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="cancelButton.Text" xml:space="preserve">
<value>Cancel</value>
</data>
<data name="&gt;&gt;cancelButton.Name" xml:space="preserve">
<value>cancelButton</value>
</data>
<data name="&gt;&gt;cancelButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;cancelButton.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;cancelButton.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="okButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value>
</data>
<data name="okButton.Location" type="System.Drawing.Point, System.Drawing">
<value>242, 128</value>
</data>
<data name="okButton.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<data name="okButton.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="okButton.Text" xml:space="preserve">
<value>OK</value>
</data>
<data name="&gt;&gt;okButton.Name" xml:space="preserve">
<value>okButton</value>
</data>
<data name="&gt;&gt;okButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;okButton.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;okButton.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="groupBox1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Bottom, Left, Right</value>
</data>
<data name="folderButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="folderButton.Location" type="System.Drawing.Point, System.Drawing">
<value>327, 15</value>
</data>
<data name="folderButton.Size" type="System.Drawing.Size, System.Drawing">
<value>52, 52</value>
</data>
<data name="folderButton.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
</data>
<data name="&gt;&gt;folderButton.Name" xml:space="preserve">
<value>folderButton</value>
</data>
<data name="&gt;&gt;folderButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;folderButton.Parent" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="&gt;&gt;folderButton.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="appNameLabel.Font" type="System.Drawing.Font, System.Drawing">
<value>Microsoft Sans Serif, 8.25pt, style=Bold</value>
</data>
<data name="appNameLabel.Location" type="System.Drawing.Point, System.Drawing">
<value>83, 25</value>
</data>
<data name="appNameLabel.Size" type="System.Drawing.Size, System.Drawing">
<value>238, 16</value>
</data>
<data name="appNameLabel.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="appNameLabel.Text" xml:space="preserve">
<value>Application Name</value>
</data>
<data name="&gt;&gt;appNameLabel.Name" xml:space="preserve">
<value>appNameLabel</value>
</data>
<data name="&gt;&gt;appNameLabel.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;appNameLabel.Parent" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="&gt;&gt;appNameLabel.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="appLinkLabel.Location" type="System.Drawing.Point, System.Drawing">
<value>83, 49</value>
</data>
<data name="appLinkLabel.Size" type="System.Drawing.Size, System.Drawing">
<value>238, 16</value>
</data>
<data name="appLinkLabel.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
</data>
<data name="appLinkLabel.Text" xml:space="preserve">
<value>Application Link</value>
</data>
<data name="&gt;&gt;appLinkLabel.Name" xml:space="preserve">
<value>appLinkLabel</value>
</data>
<data name="&gt;&gt;appLinkLabel.Type" xml:space="preserve">
<value>System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;appLinkLabel.Parent" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="&gt;&gt;appLinkLabel.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="appPathTextBox.Location" type="System.Drawing.Point, System.Drawing">
<value>86, 74</value>
</data>
<data name="appPathTextBox.Size" type="System.Drawing.Size, System.Drawing">
<value>294, 20</value>
</data>
<data name="appPathTextBox.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="&gt;&gt;appPathTextBox.Name" xml:space="preserve">
<value>appPathTextBox</value>
</data>
<data name="&gt;&gt;appPathTextBox.Type" xml:space="preserve">
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;appPathTextBox.Parent" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="&gt;&gt;appPathTextBox.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="label3.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label3.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 77</value>
</data>
<data name="label3.Size" type="System.Drawing.Size, System.Drawing">
<value>29, 13</value>
</data>
<data name="label3.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="label3.Text" xml:space="preserve">
<value>Path</value>
</data>
<data name="&gt;&gt;label3.Name" xml:space="preserve">
<value>label3</value>
</data>
<data name="&gt;&gt;label3.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label3.Parent" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="&gt;&gt;label3.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="label2.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label2.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 51</value>
</data>
<data name="label2.Size" type="System.Drawing.Size, System.Drawing">
<value>25, 13</value>
</data>
<data name="label2.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="label2.Text" xml:space="preserve">
<value>Site</value>
</data>
<data name="&gt;&gt;label2.Name" xml:space="preserve">
<value>label2</value>
</data>
<data name="&gt;&gt;label2.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label2.Parent" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="&gt;&gt;label2.ZOrder" xml:space="preserve">
<value>5</value>
</data>
<data name="label1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label1.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 25</value>
</data>
<data name="label1.Size" type="System.Drawing.Size, System.Drawing">
<value>35, 13</value>
</data>
<data name="label1.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="label1.Text" xml:space="preserve">
<value>Name</value>
</data>
<data name="&gt;&gt;label1.Name" xml:space="preserve">
<value>label1</value>
</data>
<data name="&gt;&gt;label1.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label1.Parent" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="&gt;&gt;label1.ZOrder" xml:space="preserve">
<value>6</value>
</data>
<data name="groupBox1.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 12</value>
</data>
<data name="groupBox1.Size" type="System.Drawing.Size, System.Drawing">
<value>386, 110</value>
</data>
<data name="groupBox1.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="groupBox1.Text" xml:space="preserve">
<value>Application Launch</value>
</data>
<data name="&gt;&gt;groupBox1.Name" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="&gt;&gt;groupBox1.Type" xml:space="preserve">
<value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;groupBox1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;groupBox1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<metadata name="openFileDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="openFileDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <data name="openFileDialog.Filter" xml:space="preserve">
<value>Executable (*.exe)|*.exe</value>
</data>
<data name="openFileDialog.Title" xml:space="preserve">
<value>Application Executable</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>6, 13</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>410, 163</value>
</data>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
AAABAA0AMDAQAAEABABoBgAA1gAAACAgEAABAAQA6AIAAD4HAAAYGBAAAQAEAOgBAAAmCgAAEBAQAAEA AAABAA0AMDAQAAEABABoBgAA1gAAACAgEAABAAQA6AIAAD4HAAAYGBAAAQAEAOgBAAAmCgAAEBAQAAEA
@@ -1815,4 +2090,22 @@
AADAPwAAwD8AAMA/AADAPwAA AADAPwAAwD8AAMA/AADAPwAA
</value> </value>
</data> </data>
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
<value>CenterParent</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>MeshCentral Router</value>
</data>
<data name="&gt;&gt;openFileDialog.Name" xml:space="preserve">
<value>openFileDialog</value>
</data>
<data name="&gt;&gt;openFileDialog.Type" xml:space="preserve">
<value>System.Windows.Forms.OpenFileDialog, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>AppLaunchForm</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root> </root>

View File

@@ -41,75 +41,49 @@
// pictureBox1 // pictureBox1
// //
this.pictureBox1.Image = global::MeshCentralRouter.Properties.Resources.install; this.pictureBox1.Image = global::MeshCentralRouter.Properties.Resources.install;
this.pictureBox1.Location = new System.Drawing.Point(6, 29); resources.ApplyResources(this.pictureBox1, "pictureBox1");
this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(250, 184);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false; this.pictureBox1.TabStop = false;
// //
// cancelButton // cancelButton
// //
this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.cancelButton, "cancelButton");
this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cancelButton.Location = new System.Drawing.Point(200, 300);
this.cancelButton.Name = "cancelButton"; this.cancelButton.Name = "cancelButton";
this.cancelButton.Size = new System.Drawing.Size(75, 23);
this.cancelButton.TabIndex = 1;
this.cancelButton.Text = "Cancel";
this.cancelButton.UseVisualStyleBackColor = true; this.cancelButton.UseVisualStyleBackColor = true;
this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click); this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
// //
// okButton // okButton
// //
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.okButton, "okButton");
this.okButton.Location = new System.Drawing.Point(119, 300);
this.okButton.Name = "okButton"; this.okButton.Name = "okButton";
this.okButton.Size = new System.Drawing.Size(75, 23);
this.okButton.TabIndex = 2;
this.okButton.Text = "OK";
this.okButton.UseVisualStyleBackColor = true; this.okButton.UseVisualStyleBackColor = true;
this.okButton.Click += new System.EventHandler(this.okButton_Click); this.okButton.Click += new System.EventHandler(this.okButton_Click);
// //
// groupBox1 // groupBox1
// //
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) resources.ApplyResources(this.groupBox1, "groupBox1");
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Controls.Add(this.pictureBox1); this.groupBox1.Controls.Add(this.pictureBox1);
this.groupBox1.Location = new System.Drawing.Point(12, 12);
this.groupBox1.Name = "groupBox1"; this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(263, 282);
this.groupBox1.TabIndex = 3;
this.groupBox1.TabStop = false; this.groupBox1.TabStop = false;
this.groupBox1.Text = "MeshCentral Router Installation";
// //
// label1 // label1
// //
this.label1.Location = new System.Drawing.Point(6, 219); resources.ApplyResources(this.label1, "label1");
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(250, 59);
this.label1.TabIndex = 1;
this.label1.Text = "Click ok to register MeshCentral Router on your system as the handler for the \"mc" +
"router://\" protocol. This will allow the MeshCentral web site to launch this app" +
"lication when needed.";
// //
// InstallForm // InstallForm
// //
this.AcceptButton = this.okButton; this.AcceptButton = this.okButton;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.cancelButton; this.CancelButton = this.cancelButton;
this.ClientSize = new System.Drawing.Size(287, 335);
this.Controls.Add(this.groupBox1); this.Controls.Add(this.groupBox1);
this.Controls.Add(this.okButton); this.Controls.Add(this.okButton);
this.Controls.Add(this.cancelButton); this.Controls.Add(this.cancelButton);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "InstallForm"; this.Name = "InstallForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Installation";
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.groupBox1.ResumeLayout(false); this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout(); this.groupBox1.PerformLayout();

View File

@@ -118,6 +118,146 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="pictureBox1.Location" type="System.Drawing.Point, System.Drawing">
<value>6, 29</value>
</data>
<data name="pictureBox1.Size" type="System.Drawing.Size, System.Drawing">
<value>250, 184</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="pictureBox1.SizeMode" type="System.Windows.Forms.PictureBoxSizeMode, System.Windows.Forms">
<value>AutoSize</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="pictureBox1.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="&gt;&gt;pictureBox1.Name" xml:space="preserve">
<value>pictureBox1</value>
</data>
<data name="&gt;&gt;pictureBox1.Type" xml:space="preserve">
<value>System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;pictureBox1.Parent" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="&gt;&gt;pictureBox1.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="cancelButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value>
</data>
<data name="cancelButton.Location" type="System.Drawing.Point, System.Drawing">
<value>200, 300</value>
</data>
<data name="cancelButton.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<data name="cancelButton.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="cancelButton.Text" xml:space="preserve">
<value>Cancel</value>
</data>
<data name="&gt;&gt;cancelButton.Name" xml:space="preserve">
<value>cancelButton</value>
</data>
<data name="&gt;&gt;cancelButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;cancelButton.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;cancelButton.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="okButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value>
</data>
<data name="okButton.Location" type="System.Drawing.Point, System.Drawing">
<value>119, 300</value>
</data>
<data name="okButton.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<data name="okButton.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="okButton.Text" xml:space="preserve">
<value>OK</value>
</data>
<data name="&gt;&gt;okButton.Name" xml:space="preserve">
<value>okButton</value>
</data>
<data name="&gt;&gt;okButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;okButton.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;okButton.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="groupBox1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Bottom, Left, Right</value>
</data>
<data name="label1.Location" type="System.Drawing.Point, System.Drawing">
<value>6, 219</value>
</data>
<data name="label1.Size" type="System.Drawing.Size, System.Drawing">
<value>250, 59</value>
</data>
<data name="label1.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="label1.Text" xml:space="preserve">
<value>Click ok to register MeshCentral Router on your system as the handler for the "mcrouter://" protocol. This will allow the MeshCentral web site to launch this application when needed.</value>
</data>
<data name="&gt;&gt;label1.Name" xml:space="preserve">
<value>label1</value>
</data>
<data name="&gt;&gt;label1.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label1.Parent" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="&gt;&gt;label1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="groupBox1.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 12</value>
</data>
<data name="groupBox1.Size" type="System.Drawing.Size, System.Drawing">
<value>263, 282</value>
</data>
<data name="groupBox1.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="groupBox1.Text" xml:space="preserve">
<value>MeshCentral Router Installation</value>
</data>
<data name="&gt;&gt;groupBox1.Name" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="&gt;&gt;groupBox1.Type" xml:space="preserve">
<value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;groupBox1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;groupBox1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>6, 13</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>287, 335</value>
</data>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
AAABAA0AMDAQAAEABABoBgAA1gAAACAgEAABAAQA6AIAAD4HAAAYGBAAAQAEAOgBAAAmCgAAEBAQAAEA AAABAA0AMDAQAAEABABoBgAA1gAAACAgEAABAAQA6AIAAD4HAAAYGBAAAQAEAOgBAAAmCgAAEBAQAAEA
@@ -1812,4 +1952,16 @@
AADAPwAAwD8AAMA/AADAPwAA AADAPwAAwD8AAMA/AADAPwAA
</value> </value>
</data> </data>
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
<value>CenterParent</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>Installation</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>InstallForm</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root> </root>

464
MainForm.Designer.cs generated
View File

@@ -47,7 +47,6 @@
this.versionLabel = new System.Windows.Forms.Label(); this.versionLabel = new System.Windows.Forms.Label();
this.nextButton1 = new System.Windows.Forms.Button(); this.nextButton1 = new System.Windows.Forms.Button();
this.pictureBox3 = new System.Windows.Forms.PictureBox(); this.pictureBox3 = new System.Windows.Forms.PictureBox();
this.label1 = new System.Windows.Forms.Label();
this.pictureBox2 = new System.Windows.Forms.PictureBox(); this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.tabPage2 = new System.Windows.Forms.TabPage(); this.tabPage2 = new System.Windows.Forms.TabPage();
this.panel2 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel();
@@ -105,6 +104,7 @@
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.installTimer = new System.Windows.Forms.Timer(this.components); this.installTimer = new System.Windows.Forms.Timer(this.components);
this.label1 = new System.Windows.Forms.Label();
this.panel5.SuspendLayout(); this.panel5.SuspendLayout();
this.mainPanel.SuspendLayout(); this.mainPanel.SuspendLayout();
this.mainTabControl.SuspendLayout(); this.mainTabControl.SuspendLayout();
@@ -138,46 +138,30 @@
// //
this.panel5.Controls.Add(this.mainPanel); this.panel5.Controls.Add(this.mainPanel);
this.panel5.Controls.Add(this.pictureBox1); this.panel5.Controls.Add(this.pictureBox1);
this.panel5.Dock = System.Windows.Forms.DockStyle.Fill; resources.ApplyResources(this.panel5, "panel5");
this.panel5.Location = new System.Drawing.Point(0, 0);
this.panel5.Name = "panel5"; this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(492, 416);
this.panel5.TabIndex = 8;
// //
// mainPanel // mainPanel
// //
this.mainPanel.Controls.Add(this.mainTabControl); this.mainPanel.Controls.Add(this.mainTabControl);
this.mainPanel.Dock = System.Windows.Forms.DockStyle.Fill; resources.ApplyResources(this.mainPanel, "mainPanel");
this.mainPanel.Location = new System.Drawing.Point(0, 65);
this.mainPanel.Name = "mainPanel"; this.mainPanel.Name = "mainPanel";
this.mainPanel.Size = new System.Drawing.Size(492, 351);
this.mainPanel.TabIndex = 9;
// //
// mainTabControl // mainTabControl
// //
this.mainTabControl.Appearance = System.Windows.Forms.TabAppearance.FlatButtons; resources.ApplyResources(this.mainTabControl, "mainTabControl");
this.mainTabControl.Controls.Add(this.tabPage1); this.mainTabControl.Controls.Add(this.tabPage1);
this.mainTabControl.Controls.Add(this.tabPage2); this.mainTabControl.Controls.Add(this.tabPage2);
this.mainTabControl.Controls.Add(this.tabPage3); this.mainTabControl.Controls.Add(this.tabPage3);
this.mainTabControl.Controls.Add(this.tabPage5); this.mainTabControl.Controls.Add(this.tabPage5);
this.mainTabControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.mainTabControl.Location = new System.Drawing.Point(0, 0);
this.mainTabControl.Margin = new System.Windows.Forms.Padding(0);
this.mainTabControl.Name = "mainTabControl"; this.mainTabControl.Name = "mainTabControl";
this.mainTabControl.SelectedIndex = 0; this.mainTabControl.SelectedIndex = 0;
this.mainTabControl.Size = new System.Drawing.Size(492, 351);
this.mainTabControl.TabIndex = 8;
this.mainTabControl.Visible = false;
// //
// tabPage1 // tabPage1
// //
this.tabPage1.Controls.Add(this.panel1); this.tabPage1.Controls.Add(this.panel1);
this.tabPage1.Location = new System.Drawing.Point(4, 25); resources.ApplyResources(this.tabPage1, "tabPage1");
this.tabPage1.Name = "tabPage1"; this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
this.tabPage1.Size = new System.Drawing.Size(484, 322);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "Login";
this.tabPage1.UseVisualStyleBackColor = true; this.tabPage1.UseVisualStyleBackColor = true;
// //
// panel1 // panel1
@@ -196,184 +180,102 @@
this.panel1.Controls.Add(this.pictureBox3); this.panel1.Controls.Add(this.pictureBox3);
this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.pictureBox2); this.panel1.Controls.Add(this.pictureBox2);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; resources.ApplyResources(this.panel1, "panel1");
this.panel1.Location = new System.Drawing.Point(3, 3);
this.panel1.Name = "panel1"; this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(478, 316);
this.panel1.TabIndex = 6;
// //
// installButton // installButton
// //
this.installButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); resources.ApplyResources(this.installButton, "installButton");
this.installButton.Location = new System.Drawing.Point(6, 285);
this.installButton.Name = "installButton"; this.installButton.Name = "installButton";
this.installButton.Size = new System.Drawing.Size(75, 23);
this.installButton.TabIndex = 20;
this.installButton.Text = "Install...";
this.installButton.UseVisualStyleBackColor = true; this.installButton.UseVisualStyleBackColor = true;
this.installButton.Visible = false;
this.installButton.Click += new System.EventHandler(this.installButton_Click); this.installButton.Click += new System.EventHandler(this.installButton_Click);
// //
// stateLabel // stateLabel
// //
this.stateLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.stateLabel, "stateLabel");
| System.Windows.Forms.AnchorStyles.Right)));
this.stateLabel.AutoSize = true;
this.stateLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.stateLabel.ForeColor = System.Drawing.Color.Red; this.stateLabel.ForeColor = System.Drawing.Color.Red;
this.stateLabel.Location = new System.Drawing.Point(241, 225);
this.stateLabel.Name = "stateLabel"; this.stateLabel.Name = "stateLabel";
this.stateLabel.Size = new System.Drawing.Size(88, 13);
this.stateLabel.TabIndex = 19;
this.stateLabel.Text = "Error Message";
this.stateLabel.Visible = false;
// //
// label28 // label28
// //
this.label28.AutoSize = true; resources.ApplyResources(this.label28, "label28");
this.label28.Location = new System.Drawing.Point(238, 176);
this.label28.Name = "label28"; this.label28.Name = "label28";
this.label28.Size = new System.Drawing.Size(53, 13);
this.label28.TabIndex = 18;
this.label28.Text = "Password";
// //
// label27 // label27
// //
this.label27.AutoSize = true; resources.ApplyResources(this.label27, "label27");
this.label27.Location = new System.Drawing.Point(238, 135);
this.label27.Name = "label27"; this.label27.Name = "label27";
this.label27.Size = new System.Drawing.Size(55, 13);
this.label27.TabIndex = 17;
this.label27.Text = "Username";
// //
// label26 // label26
// //
this.label26.AutoSize = true; resources.ApplyResources(this.label26, "label26");
this.label26.Location = new System.Drawing.Point(238, 92);
this.label26.Name = "label26"; this.label26.Name = "label26";
this.label26.Size = new System.Drawing.Size(38, 13);
this.label26.TabIndex = 16;
this.label26.Text = "Server";
// //
// passwordTextBox // passwordTextBox
// //
this.passwordTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.passwordTextBox, "passwordTextBox");
| System.Windows.Forms.AnchorStyles.Right)));
this.passwordTextBox.Location = new System.Drawing.Point(241, 192);
this.passwordTextBox.Name = "passwordTextBox"; this.passwordTextBox.Name = "passwordTextBox";
this.passwordTextBox.PasswordChar = '●';
this.passwordTextBox.Size = new System.Drawing.Size(213, 20);
this.passwordTextBox.TabIndex = 3;
this.passwordTextBox.TextChanged += new System.EventHandler(this.updatePanel1); this.passwordTextBox.TextChanged += new System.EventHandler(this.updatePanel1);
this.passwordTextBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.passwordTextBox_KeyPress); this.passwordTextBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.passwordTextBox_KeyPress);
// //
// serverNameComboBox // serverNameComboBox
// //
this.serverNameComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.serverNameComboBox, "serverNameComboBox");
| System.Windows.Forms.AnchorStyles.Right)));
this.serverNameComboBox.DisplayMember = "meshcentral.com"; this.serverNameComboBox.DisplayMember = "meshcentral.com";
this.serverNameComboBox.FormattingEnabled = true; this.serverNameComboBox.FormattingEnabled = true;
this.serverNameComboBox.Items.AddRange(new object[] { this.serverNameComboBox.Items.AddRange(new object[] {
"meshcentral.com"}); resources.GetString("serverNameComboBox.Items")});
this.serverNameComboBox.Location = new System.Drawing.Point(241, 110);
this.serverNameComboBox.Name = "serverNameComboBox"; this.serverNameComboBox.Name = "serverNameComboBox";
this.serverNameComboBox.Size = new System.Drawing.Size(213, 21);
this.serverNameComboBox.TabIndex = 1;
this.serverNameComboBox.SelectedIndexChanged += new System.EventHandler(this.updatePanel1); this.serverNameComboBox.SelectedIndexChanged += new System.EventHandler(this.updatePanel1);
this.serverNameComboBox.TextChanged += new System.EventHandler(this.updatePanel1); this.serverNameComboBox.TextChanged += new System.EventHandler(this.updatePanel1);
this.serverNameComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.serverNameComboBox_KeyPress); this.serverNameComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.serverNameComboBox_KeyPress);
// //
// userNameTextBox // userNameTextBox
// //
this.userNameTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.userNameTextBox, "userNameTextBox");
| System.Windows.Forms.AnchorStyles.Right)));
this.userNameTextBox.Location = new System.Drawing.Point(241, 151);
this.userNameTextBox.Name = "userNameTextBox"; this.userNameTextBox.Name = "userNameTextBox";
this.userNameTextBox.Size = new System.Drawing.Size(213, 20);
this.userNameTextBox.TabIndex = 2;
this.userNameTextBox.TextChanged += new System.EventHandler(this.updatePanel1); this.userNameTextBox.TextChanged += new System.EventHandler(this.updatePanel1);
this.userNameTextBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.userNameTextBox_KeyPress); this.userNameTextBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.userNameTextBox_KeyPress);
// //
// licenseLinkLabel // licenseLinkLabel
// //
this.licenseLinkLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.licenseLinkLabel, "licenseLinkLabel");
this.licenseLinkLabel.AutoSize = true;
this.licenseLinkLabel.Location = new System.Drawing.Point(307, 260);
this.licenseLinkLabel.Name = "licenseLinkLabel"; this.licenseLinkLabel.Name = "licenseLinkLabel";
this.licenseLinkLabel.Size = new System.Drawing.Size(171, 13);
this.licenseLinkLabel.TabIndex = 12;
this.licenseLinkLabel.TabStop = true; this.licenseLinkLabel.TabStop = true;
this.licenseLinkLabel.Text = "Open Source, Apache 2.0 License";
this.licenseLinkLabel.TextAlign = System.Drawing.ContentAlignment.TopRight;
this.licenseLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.licenseLinkLabel_LinkClicked); this.licenseLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.licenseLinkLabel_LinkClicked);
// //
// versionLabel // versionLabel
// //
this.versionLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); resources.ApplyResources(this.versionLabel, "versionLabel");
this.versionLabel.AutoSize = true;
this.versionLabel.ForeColor = System.Drawing.Color.Gray; this.versionLabel.ForeColor = System.Drawing.Color.Gray;
this.versionLabel.Location = new System.Drawing.Point(3, 260);
this.versionLabel.Name = "versionLabel"; this.versionLabel.Name = "versionLabel";
this.versionLabel.Size = new System.Drawing.Size(37, 13);
this.versionLabel.TabIndex = 11;
this.versionLabel.Text = "v0.8.0";
// //
// nextButton1 // nextButton1
// //
this.nextButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.nextButton1, "nextButton1");
this.nextButton1.Location = new System.Drawing.Point(391, 285);
this.nextButton1.Name = "nextButton1"; this.nextButton1.Name = "nextButton1";
this.nextButton1.Size = new System.Drawing.Size(75, 23);
this.nextButton1.TabIndex = 4;
this.nextButton1.Text = "Login";
this.nextButton1.UseVisualStyleBackColor = true; this.nextButton1.UseVisualStyleBackColor = true;
this.nextButton1.Click += new System.EventHandler(this.nextButton1_Click); this.nextButton1.Click += new System.EventHandler(this.nextButton1_Click);
// //
// pictureBox3 // pictureBox3
// //
this.pictureBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.pictureBox3, "pictureBox3");
| System.Windows.Forms.AnchorStyles.Right))); this.pictureBox3.Image = global::MeshCentralRouter.Properties.Resources.EmptyBanner;
this.pictureBox3.Image = global::MeshCentralRouter.Properties.Resources.Empty_Banner;
this.pictureBox3.Location = new System.Drawing.Point(0, 276);
this.pictureBox3.Name = "pictureBox3"; this.pictureBox3.Name = "pictureBox3";
this.pictureBox3.Size = new System.Drawing.Size(478, 40);
this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox3.TabIndex = 10;
this.pictureBox3.TabStop = false; this.pictureBox3.TabStop = false;
//
// label1
//
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label1.Location = new System.Drawing.Point(12, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(454, 29);
this.label1.TabIndex = 6;
this.label1.Text = "MeshCentral Router allows mapping of TCP and UDP ports on this computer to any co" +
"mputer in your MeshCentral server account. Start by logging into your account.";
// //
// pictureBox2 // pictureBox2
// //
this.pictureBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) resources.ApplyResources(this.pictureBox2, "pictureBox2");
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pictureBox2.Image = global::MeshCentralRouter.Properties.Resources.MeshCentral; this.pictureBox2.Image = global::MeshCentralRouter.Properties.Resources.MeshCentral;
this.pictureBox2.Location = new System.Drawing.Point(15, 68);
this.pictureBox2.Name = "pictureBox2"; this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(202, 170);
this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.pictureBox2.TabIndex = 7;
this.pictureBox2.TabStop = false; this.pictureBox2.TabStop = false;
// //
// tabPage2 // tabPage2
// //
this.tabPage2.Controls.Add(this.panel2); this.tabPage2.Controls.Add(this.panel2);
this.tabPage2.Location = new System.Drawing.Point(4, 25); resources.ApplyResources(this.tabPage2, "tabPage2");
this.tabPage2.Name = "tabPage2"; this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
this.tabPage2.Size = new System.Drawing.Size(484, 322);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "Token";
this.tabPage2.UseVisualStyleBackColor = true; this.tabPage2.UseVisualStyleBackColor = true;
// //
// panel2 // panel2
@@ -388,130 +290,79 @@
this.panel2.Controls.Add(this.nextButton2); this.panel2.Controls.Add(this.nextButton2);
this.panel2.Controls.Add(this.pictureBox4); this.panel2.Controls.Add(this.pictureBox4);
this.panel2.Controls.Add(this.label2); this.panel2.Controls.Add(this.label2);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; resources.ApplyResources(this.panel2, "panel2");
this.panel2.Location = new System.Drawing.Point(3, 3);
this.panel2.Name = "panel2"; this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(478, 316);
this.panel2.TabIndex = 7;
// //
// smsTokenButton // smsTokenButton
// //
this.smsTokenButton.Location = new System.Drawing.Point(322, 177); resources.ApplyResources(this.smsTokenButton, "smsTokenButton");
this.smsTokenButton.Name = "smsTokenButton"; this.smsTokenButton.Name = "smsTokenButton";
this.smsTokenButton.Size = new System.Drawing.Size(75, 23);
this.smsTokenButton.TabIndex = 22;
this.smsTokenButton.Text = "SMS";
this.smsTokenButton.UseVisualStyleBackColor = true; this.smsTokenButton.UseVisualStyleBackColor = true;
this.smsTokenButton.Visible = false;
this.smsTokenButton.Click += new System.EventHandler(this.smsTokenButton_Click); this.smsTokenButton.Click += new System.EventHandler(this.smsTokenButton_Click);
// //
// tokenEmailSentLabel // tokenEmailSentLabel
// //
this.tokenEmailSentLabel.AutoSize = true; resources.ApplyResources(this.tokenEmailSentLabel, "tokenEmailSentLabel");
this.tokenEmailSentLabel.Location = new System.Drawing.Point(238, 182);
this.tokenEmailSentLabel.Name = "tokenEmailSentLabel"; this.tokenEmailSentLabel.Name = "tokenEmailSentLabel";
this.tokenEmailSentLabel.Size = new System.Drawing.Size(55, 13);
this.tokenEmailSentLabel.TabIndex = 21;
this.tokenEmailSentLabel.Text = "Email sent";
this.tokenEmailSentLabel.Visible = false;
// //
// emailTokenButton // emailTokenButton
// //
this.emailTokenButton.Location = new System.Drawing.Point(241, 177); resources.ApplyResources(this.emailTokenButton, "emailTokenButton");
this.emailTokenButton.Name = "emailTokenButton"; this.emailTokenButton.Name = "emailTokenButton";
this.emailTokenButton.Size = new System.Drawing.Size(75, 23);
this.emailTokenButton.TabIndex = 20;
this.emailTokenButton.Text = "Email";
this.emailTokenButton.UseVisualStyleBackColor = true; this.emailTokenButton.UseVisualStyleBackColor = true;
this.emailTokenButton.Visible = false;
this.emailTokenButton.Click += new System.EventHandler(this.emailTokenButton_Click); this.emailTokenButton.Click += new System.EventHandler(this.emailTokenButton_Click);
// //
// label3 // label3
// //
this.label3.AutoSize = true; resources.ApplyResources(this.label3, "label3");
this.label3.Location = new System.Drawing.Point(238, 135);
this.label3.Name = "label3"; this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(38, 13);
this.label3.TabIndex = 19;
this.label3.Text = "Token";
// //
// tokenTextBox // tokenTextBox
// //
this.tokenTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.tokenTextBox, "tokenTextBox");
| System.Windows.Forms.AnchorStyles.Right)));
this.tokenTextBox.Location = new System.Drawing.Point(241, 151);
this.tokenTextBox.Name = "tokenTextBox"; this.tokenTextBox.Name = "tokenTextBox";
this.tokenTextBox.Size = new System.Drawing.Size(213, 20);
this.tokenTextBox.TabIndex = 18;
this.tokenTextBox.TextChanged += new System.EventHandler(this.tokenTextBox_TextChanged); this.tokenTextBox.TextChanged += new System.EventHandler(this.tokenTextBox_TextChanged);
this.tokenTextBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tokenTextBox_KeyPress); this.tokenTextBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tokenTextBox_KeyPress);
this.tokenTextBox.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tokenTextBox_KeyUp); this.tokenTextBox.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tokenTextBox_KeyUp);
// //
// pictureBox6 // pictureBox6
// //
this.pictureBox6.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) resources.ApplyResources(this.pictureBox6, "pictureBox6");
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pictureBox6.Image = global::MeshCentralRouter.Properties.Resources.MeshCentral; this.pictureBox6.Image = global::MeshCentralRouter.Properties.Resources.MeshCentral;
this.pictureBox6.Location = new System.Drawing.Point(15, 68);
this.pictureBox6.Name = "pictureBox6"; this.pictureBox6.Name = "pictureBox6";
this.pictureBox6.Size = new System.Drawing.Size(202, 170);
this.pictureBox6.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.pictureBox6.TabIndex = 15;
this.pictureBox6.TabStop = false; this.pictureBox6.TabStop = false;
// //
// backButton2 // backButton2
// //
this.backButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.backButton2, "backButton2");
this.backButton2.Location = new System.Drawing.Point(310, 285);
this.backButton2.Name = "backButton2"; this.backButton2.Name = "backButton2";
this.backButton2.Size = new System.Drawing.Size(75, 23);
this.backButton2.TabIndex = 13;
this.backButton2.Text = "Back";
this.backButton2.UseVisualStyleBackColor = true; this.backButton2.UseVisualStyleBackColor = true;
this.backButton2.Click += new System.EventHandler(this.backButton2_Click); this.backButton2.Click += new System.EventHandler(this.backButton2_Click);
// //
// nextButton2 // nextButton2
// //
this.nextButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.nextButton2, "nextButton2");
this.nextButton2.Location = new System.Drawing.Point(391, 285);
this.nextButton2.Name = "nextButton2"; this.nextButton2.Name = "nextButton2";
this.nextButton2.Size = new System.Drawing.Size(75, 23);
this.nextButton2.TabIndex = 14;
this.nextButton2.Text = "Next";
this.nextButton2.UseVisualStyleBackColor = true; this.nextButton2.UseVisualStyleBackColor = true;
this.nextButton2.Click += new System.EventHandler(this.nextButton2_Click); this.nextButton2.Click += new System.EventHandler(this.nextButton2_Click);
// //
// pictureBox4 // pictureBox4
// //
this.pictureBox4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.pictureBox4, "pictureBox4");
| System.Windows.Forms.AnchorStyles.Right))); this.pictureBox4.Image = global::MeshCentralRouter.Properties.Resources.EmptyBanner;
this.pictureBox4.Image = global::MeshCentralRouter.Properties.Resources.Empty_Banner;
this.pictureBox4.Location = new System.Drawing.Point(0, 276);
this.pictureBox4.Name = "pictureBox4"; this.pictureBox4.Name = "pictureBox4";
this.pictureBox4.Size = new System.Drawing.Size(478, 40);
this.pictureBox4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox4.TabIndex = 10;
this.pictureBox4.TabStop = false; this.pictureBox4.TabStop = false;
// //
// label2 // label2
// //
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.label2, "label2");
| System.Windows.Forms.AnchorStyles.Right)));
this.label2.Location = new System.Drawing.Point(12, 9);
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(454, 32);
this.label2.TabIndex = 6;
this.label2.Text = "Enter the second factor authentication token.";
// //
// tabPage3 // tabPage3
// //
this.tabPage3.Controls.Add(this.panel3); this.tabPage3.Controls.Add(this.panel3);
this.tabPage3.Location = new System.Drawing.Point(4, 25); resources.ApplyResources(this.tabPage3, "tabPage3");
this.tabPage3.Name = "tabPage3"; this.tabPage3.Name = "tabPage3";
this.tabPage3.Size = new System.Drawing.Size(484, 322);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "Certificate";
this.tabPage3.UseVisualStyleBackColor = true; this.tabPage3.UseVisualStyleBackColor = true;
// //
// panel3 // panel3
@@ -523,103 +374,61 @@
this.panel3.Controls.Add(this.backButton3); this.panel3.Controls.Add(this.backButton3);
this.panel3.Controls.Add(this.nextButton3); this.panel3.Controls.Add(this.nextButton3);
this.panel3.Controls.Add(this.pictureBox5); this.panel3.Controls.Add(this.pictureBox5);
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; resources.ApplyResources(this.panel3, "panel3");
this.panel3.Location = new System.Drawing.Point(0, 0);
this.panel3.Name = "panel3"; this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(484, 322);
this.panel3.TabIndex = 8;
// //
// certDetailsTextBox // certDetailsTextBox
// //
this.certDetailsTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) resources.ApplyResources(this.certDetailsTextBox, "certDetailsTextBox");
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.certDetailsTextBox.Location = new System.Drawing.Point(15, 82);
this.certDetailsTextBox.Multiline = true;
this.certDetailsTextBox.Name = "certDetailsTextBox"; this.certDetailsTextBox.Name = "certDetailsTextBox";
this.certDetailsTextBox.ReadOnly = true; this.certDetailsTextBox.ReadOnly = true;
this.certDetailsTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.certDetailsTextBox.Size = new System.Drawing.Size(451, 162);
this.certDetailsTextBox.TabIndex = 25;
// //
// certDetailsButton // certDetailsButton
// //
this.certDetailsButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); resources.ApplyResources(this.certDetailsButton, "certDetailsButton");
this.certDetailsButton.Location = new System.Drawing.Point(14, 251);
this.certDetailsButton.Name = "certDetailsButton"; this.certDetailsButton.Name = "certDetailsButton";
this.certDetailsButton.Size = new System.Drawing.Size(153, 23);
this.certDetailsButton.TabIndex = 24;
this.certDetailsButton.Text = "View Certificate Details...";
this.certDetailsButton.UseVisualStyleBackColor = true; this.certDetailsButton.UseVisualStyleBackColor = true;
this.certDetailsButton.Click += new System.EventHandler(this.certDetailsButton_Click); this.certDetailsButton.Click += new System.EventHandler(this.certDetailsButton_Click);
// //
// label4 // label4
// //
this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.label4, "label4");
| System.Windows.Forms.AnchorStyles.Right)));
this.label4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.label4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label4.ForeColor = System.Drawing.Color.Red; this.label4.ForeColor = System.Drawing.Color.Red;
this.label4.Location = new System.Drawing.Point(8, 6);
this.label4.Name = "label4"; this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(468, 22);
this.label4.TabIndex = 23;
this.label4.Text = "WARNING - Invalid Server Certificate";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// label5 // label5
// //
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.label5, "label5");
| System.Windows.Forms.AnchorStyles.Right)));
this.label5.Location = new System.Drawing.Point(12, 34);
this.label5.Name = "label5"; this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(454, 45);
this.label5.TabIndex = 22;
this.label5.Text = resources.GetString("label5.Text");
// //
// backButton3 // backButton3
// //
this.backButton3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.backButton3, "backButton3");
this.backButton3.Location = new System.Drawing.Point(316, 291);
this.backButton3.Name = "backButton3"; this.backButton3.Name = "backButton3";
this.backButton3.Size = new System.Drawing.Size(75, 23);
this.backButton3.TabIndex = 20;
this.backButton3.Text = "Back";
this.backButton3.UseVisualStyleBackColor = true; this.backButton3.UseVisualStyleBackColor = true;
this.backButton3.Click += new System.EventHandler(this.backButton3_Click); this.backButton3.Click += new System.EventHandler(this.backButton3_Click);
// //
// nextButton3 // nextButton3
// //
this.nextButton3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.nextButton3, "nextButton3");
this.nextButton3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.nextButton3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.nextButton3.Location = new System.Drawing.Point(397, 291);
this.nextButton3.Name = "nextButton3"; this.nextButton3.Name = "nextButton3";
this.nextButton3.Size = new System.Drawing.Size(75, 23);
this.nextButton3.TabIndex = 21;
this.nextButton3.Text = "Ignore";
this.nextButton3.UseVisualStyleBackColor = false; this.nextButton3.UseVisualStyleBackColor = false;
this.nextButton3.Click += new System.EventHandler(this.nextButton3_Click); this.nextButton3.Click += new System.EventHandler(this.nextButton3_Click);
// //
// pictureBox5 // pictureBox5
// //
this.pictureBox5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.pictureBox5, "pictureBox5");
| System.Windows.Forms.AnchorStyles.Right))); this.pictureBox5.Image = global::MeshCentralRouter.Properties.Resources.EmptyBanner;
this.pictureBox5.Image = global::MeshCentralRouter.Properties.Resources.Empty_Banner;
this.pictureBox5.Location = new System.Drawing.Point(0, 282);
this.pictureBox5.Name = "pictureBox5"; this.pictureBox5.Name = "pictureBox5";
this.pictureBox5.Size = new System.Drawing.Size(484, 40);
this.pictureBox5.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox5.TabIndex = 10;
this.pictureBox5.TabStop = false; this.pictureBox5.TabStop = false;
// //
// tabPage5 // tabPage5
// //
this.tabPage5.Controls.Add(this.panel4); this.tabPage5.Controls.Add(this.panel4);
this.tabPage5.Location = new System.Drawing.Point(4, 25); resources.ApplyResources(this.tabPage5, "tabPage5");
this.tabPage5.Name = "tabPage5"; this.tabPage5.Name = "tabPage5";
this.tabPage5.Size = new System.Drawing.Size(484, 322);
this.tabPage5.TabIndex = 4;
this.tabPage5.Text = "Mappings";
this.tabPage5.UseVisualStyleBackColor = true; this.tabPage5.UseVisualStyleBackColor = true;
// //
// panel4 // panel4
@@ -631,24 +440,15 @@
this.panel4.Controls.Add(this.backButton5); this.panel4.Controls.Add(this.backButton5);
this.panel4.Controls.Add(this.nextButton5); this.panel4.Controls.Add(this.nextButton5);
this.panel4.Controls.Add(this.pictureBox7); this.panel4.Controls.Add(this.pictureBox7);
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; resources.ApplyResources(this.panel4, "panel4");
this.panel4.Location = new System.Drawing.Point(0, 0);
this.panel4.Name = "panel4"; this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(484, 322);
this.panel4.TabIndex = 8;
// //
// menuLabel // menuLabel
// //
this.menuLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.menuLabel, "menuLabel");
this.menuLabel.AutoSize = true;
this.menuLabel.ContextMenuStrip = this.mainContextMenuStrip; this.menuLabel.ContextMenuStrip = this.mainContextMenuStrip;
this.menuLabel.Cursor = System.Windows.Forms.Cursors.Hand; this.menuLabel.Cursor = System.Windows.Forms.Cursors.Hand;
this.menuLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.menuLabel.Location = new System.Drawing.Point(454, 2);
this.menuLabel.Name = "menuLabel"; this.menuLabel.Name = "menuLabel";
this.menuLabel.Size = new System.Drawing.Size(25, 25);
this.menuLabel.TabIndex = 6;
this.menuLabel.Text = "≡";
this.menuLabel.Click += new System.EventHandler(this.menuLabel_Click); this.menuLabel.Click += new System.EventHandler(this.menuLabel_Click);
// //
// mainContextMenuStrip // mainContextMenuStrip
@@ -660,120 +460,82 @@
this.sortByNameToolStripMenuItem, this.sortByNameToolStripMenuItem,
this.sortByGroupToolStripMenuItem}); this.sortByGroupToolStripMenuItem});
this.mainContextMenuStrip.Name = "mainContextMenuStrip"; this.mainContextMenuStrip.Name = "mainContextMenuStrip";
this.mainContextMenuStrip.Size = new System.Drawing.Size(186, 98); resources.ApplyResources(this.mainContextMenuStrip, "mainContextMenuStrip");
// //
// showGroupNamesToolStripMenuItem // showGroupNamesToolStripMenuItem
// //
this.showGroupNamesToolStripMenuItem.Checked = true; this.showGroupNamesToolStripMenuItem.Checked = true;
this.showGroupNamesToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; this.showGroupNamesToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
this.showGroupNamesToolStripMenuItem.Name = "showGroupNamesToolStripMenuItem"; this.showGroupNamesToolStripMenuItem.Name = "showGroupNamesToolStripMenuItem";
this.showGroupNamesToolStripMenuItem.Size = new System.Drawing.Size(185, 22); resources.ApplyResources(this.showGroupNamesToolStripMenuItem, "showGroupNamesToolStripMenuItem");
this.showGroupNamesToolStripMenuItem.Text = "Show &Group Names";
this.showGroupNamesToolStripMenuItem.Click += new System.EventHandler(this.showGroupNamesToolStripMenuItem_Click); this.showGroupNamesToolStripMenuItem.Click += new System.EventHandler(this.showGroupNamesToolStripMenuItem_Click);
// //
// showOfflineDevicesToolStripMenuItem // showOfflineDevicesToolStripMenuItem
// //
this.showOfflineDevicesToolStripMenuItem.Name = "showOfflineDevicesToolStripMenuItem"; this.showOfflineDevicesToolStripMenuItem.Name = "showOfflineDevicesToolStripMenuItem";
this.showOfflineDevicesToolStripMenuItem.Size = new System.Drawing.Size(185, 22); resources.ApplyResources(this.showOfflineDevicesToolStripMenuItem, "showOfflineDevicesToolStripMenuItem");
this.showOfflineDevicesToolStripMenuItem.Text = "Show &Offline Devices";
this.showOfflineDevicesToolStripMenuItem.Click += new System.EventHandler(this.hideOfflineDevicesToolStripMenuItem_Click); this.showOfflineDevicesToolStripMenuItem.Click += new System.EventHandler(this.hideOfflineDevicesToolStripMenuItem_Click);
// //
// toolStripMenuItem2 // toolStripMenuItem2
// //
this.toolStripMenuItem2.Name = "toolStripMenuItem2"; this.toolStripMenuItem2.Name = "toolStripMenuItem2";
this.toolStripMenuItem2.Size = new System.Drawing.Size(182, 6); resources.ApplyResources(this.toolStripMenuItem2, "toolStripMenuItem2");
// //
// sortByNameToolStripMenuItem // sortByNameToolStripMenuItem
// //
this.sortByNameToolStripMenuItem.Checked = true; this.sortByNameToolStripMenuItem.Checked = true;
this.sortByNameToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; this.sortByNameToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
this.sortByNameToolStripMenuItem.Name = "sortByNameToolStripMenuItem"; this.sortByNameToolStripMenuItem.Name = "sortByNameToolStripMenuItem";
this.sortByNameToolStripMenuItem.Size = new System.Drawing.Size(185, 22); resources.ApplyResources(this.sortByNameToolStripMenuItem, "sortByNameToolStripMenuItem");
this.sortByNameToolStripMenuItem.Text = "Sort by &Name";
this.sortByNameToolStripMenuItem.Click += new System.EventHandler(this.sortByNameToolStripMenuItem_Click); this.sortByNameToolStripMenuItem.Click += new System.EventHandler(this.sortByNameToolStripMenuItem_Click);
// //
// sortByGroupToolStripMenuItem // sortByGroupToolStripMenuItem
// //
this.sortByGroupToolStripMenuItem.Name = "sortByGroupToolStripMenuItem"; this.sortByGroupToolStripMenuItem.Name = "sortByGroupToolStripMenuItem";
this.sortByGroupToolStripMenuItem.Size = new System.Drawing.Size(185, 22); resources.ApplyResources(this.sortByGroupToolStripMenuItem, "sortByGroupToolStripMenuItem");
this.sortByGroupToolStripMenuItem.Text = "Sort by G&roup";
this.sortByGroupToolStripMenuItem.Click += new System.EventHandler(this.sortByGroupToolStripMenuItem_Click); this.sortByGroupToolStripMenuItem.Click += new System.EventHandler(this.sortByGroupToolStripMenuItem_Click);
// //
// searchTextBox // searchTextBox
// //
this.searchTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.searchTextBox, "searchTextBox");
this.searchTextBox.Location = new System.Drawing.Point(306, 5);
this.searchTextBox.Name = "searchTextBox"; this.searchTextBox.Name = "searchTextBox";
this.searchTextBox.Size = new System.Drawing.Size(146, 20);
this.searchTextBox.TabIndex = 9;
this.searchTextBox.TextChanged += new System.EventHandler(this.searchTextBox_TextChanged); this.searchTextBox.TextChanged += new System.EventHandler(this.searchTextBox_TextChanged);
this.searchTextBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.searchTextBox_KeyPress); this.searchTextBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.searchTextBox_KeyPress);
// //
// devicesTabControl // devicesTabControl
// //
this.devicesTabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) resources.ApplyResources(this.devicesTabControl, "devicesTabControl");
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.devicesTabControl.Appearance = System.Windows.Forms.TabAppearance.FlatButtons;
this.devicesTabControl.Controls.Add(this.devicesTabPage); this.devicesTabControl.Controls.Add(this.devicesTabPage);
this.devicesTabControl.Controls.Add(this.portMapTabPage); this.devicesTabControl.Controls.Add(this.portMapTabPage);
this.devicesTabControl.Location = new System.Drawing.Point(3, 3);
this.devicesTabControl.Name = "devicesTabControl"; this.devicesTabControl.Name = "devicesTabControl";
this.devicesTabControl.SelectedIndex = 0; this.devicesTabControl.SelectedIndex = 0;
this.devicesTabControl.Size = new System.Drawing.Size(478, 273);
this.devicesTabControl.TabIndex = 55;
this.devicesTabControl.SelectedIndexChanged += new System.EventHandler(this.devicesTabControl_SelectedIndexChanged); this.devicesTabControl.SelectedIndexChanged += new System.EventHandler(this.devicesTabControl_SelectedIndexChanged);
// //
// devicesTabPage // devicesTabPage
// //
this.devicesTabPage.BackColor = System.Drawing.SystemColors.Control; this.devicesTabPage.BackColor = System.Drawing.SystemColors.Control;
this.devicesTabPage.Controls.Add(this.devicesPanel); this.devicesTabPage.Controls.Add(this.devicesPanel);
this.devicesTabPage.Location = new System.Drawing.Point(4, 25); resources.ApplyResources(this.devicesTabPage, "devicesTabPage");
this.devicesTabPage.Name = "devicesTabPage"; this.devicesTabPage.Name = "devicesTabPage";
this.devicesTabPage.Padding = new System.Windows.Forms.Padding(3);
this.devicesTabPage.Size = new System.Drawing.Size(470, 244);
this.devicesTabPage.TabIndex = 0;
this.devicesTabPage.Text = "Devices";
// //
// devicesPanel // devicesPanel
// //
this.devicesPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) resources.ApplyResources(this.devicesPanel, "devicesPanel");
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.devicesPanel.AutoScroll = true;
this.devicesPanel.BackColor = System.Drawing.SystemColors.ControlLightLight; this.devicesPanel.BackColor = System.Drawing.SystemColors.ControlLightLight;
this.devicesPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.devicesPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.devicesPanel.Controls.Add(this.noSearchResultsLabel); this.devicesPanel.Controls.Add(this.noSearchResultsLabel);
this.devicesPanel.Controls.Add(this.noDevicesLabel); this.devicesPanel.Controls.Add(this.noDevicesLabel);
this.devicesPanel.Location = new System.Drawing.Point(0, 0);
this.devicesPanel.Name = "devicesPanel"; this.devicesPanel.Name = "devicesPanel";
this.devicesPanel.Size = new System.Drawing.Size(470, 244);
this.devicesPanel.TabIndex = 50;
// //
// noSearchResultsLabel // noSearchResultsLabel
// //
this.noSearchResultsLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.noSearchResultsLabel, "noSearchResultsLabel");
| System.Windows.Forms.AnchorStyles.Right)));
this.noSearchResultsLabel.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.noSearchResultsLabel.Location = new System.Drawing.Point(91, 96);
this.noSearchResultsLabel.Name = "noSearchResultsLabel"; this.noSearchResultsLabel.Name = "noSearchResultsLabel";
this.noSearchResultsLabel.Size = new System.Drawing.Size(283, 17);
this.noSearchResultsLabel.TabIndex = 5;
this.noSearchResultsLabel.Text = "No Search Results";
this.noSearchResultsLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.noSearchResultsLabel.Visible = false;
// //
// noDevicesLabel // noDevicesLabel
// //
this.noDevicesLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.noDevicesLabel, "noDevicesLabel");
| System.Windows.Forms.AnchorStyles.Right)));
this.noDevicesLabel.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.noDevicesLabel.Location = new System.Drawing.Point(91, 97);
this.noDevicesLabel.Name = "noDevicesLabel"; this.noDevicesLabel.Name = "noDevicesLabel";
this.noDevicesLabel.Size = new System.Drawing.Size(283, 17);
this.noDevicesLabel.TabIndex = 4;
this.noDevicesLabel.Text = "No Devices";
this.noDevicesLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// portMapTabPage // portMapTabPage
// //
@@ -783,141 +545,85 @@
this.portMapTabPage.Controls.Add(this.helpPictureBox); this.portMapTabPage.Controls.Add(this.helpPictureBox);
this.portMapTabPage.Controls.Add(this.addButton); this.portMapTabPage.Controls.Add(this.addButton);
this.portMapTabPage.Controls.Add(this.addRelayButton); this.portMapTabPage.Controls.Add(this.addRelayButton);
this.portMapTabPage.Location = new System.Drawing.Point(4, 25); resources.ApplyResources(this.portMapTabPage, "portMapTabPage");
this.portMapTabPage.Name = "portMapTabPage"; this.portMapTabPage.Name = "portMapTabPage";
this.portMapTabPage.Padding = new System.Windows.Forms.Padding(3);
this.portMapTabPage.Size = new System.Drawing.Size(470, 244);
this.portMapTabPage.TabIndex = 1;
this.portMapTabPage.Text = "Mappings";
// //
// mapPanel // mapPanel
// //
this.mapPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) resources.ApplyResources(this.mapPanel, "mapPanel");
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.mapPanel.AutoScroll = true;
this.mapPanel.BackColor = System.Drawing.SystemColors.ControlLightLight; this.mapPanel.BackColor = System.Drawing.SystemColors.ControlLightLight;
this.mapPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.mapPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.mapPanel.Controls.Add(this.noMapLabel); this.mapPanel.Controls.Add(this.noMapLabel);
this.mapPanel.Location = new System.Drawing.Point(0, 0);
this.mapPanel.Name = "mapPanel"; this.mapPanel.Name = "mapPanel";
this.mapPanel.Size = new System.Drawing.Size(470, 214);
this.mapPanel.TabIndex = 49;
// //
// noMapLabel // noMapLabel
// //
this.noMapLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.noMapLabel, "noMapLabel");
| System.Windows.Forms.AnchorStyles.Right)));
this.noMapLabel.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.noMapLabel.Location = new System.Drawing.Point(91, 79);
this.noMapLabel.Name = "noMapLabel"; this.noMapLabel.Name = "noMapLabel";
this.noMapLabel.Size = new System.Drawing.Size(283, 52);
this.noMapLabel.TabIndex = 4;
this.noMapLabel.Text = "No Port Mappings\r\n\r\nClick \"Add\" to get started.";
this.noMapLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// settingsPictureBox // settingsPictureBox
// //
this.settingsPictureBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); resources.ApplyResources(this.settingsPictureBox, "settingsPictureBox");
this.settingsPictureBox.Cursor = System.Windows.Forms.Cursors.Hand; this.settingsPictureBox.Cursor = System.Windows.Forms.Cursors.Hand;
this.settingsPictureBox.Image = ((System.Drawing.Image)(resources.GetObject("settingsPictureBox.Image")));
this.settingsPictureBox.Location = new System.Drawing.Point(1, 220);
this.settingsPictureBox.Name = "settingsPictureBox"; this.settingsPictureBox.Name = "settingsPictureBox";
this.settingsPictureBox.Size = new System.Drawing.Size(20, 20);
this.settingsPictureBox.TabIndex = 54;
this.settingsPictureBox.TabStop = false; this.settingsPictureBox.TabStop = false;
this.settingsPictureBox.Click += new System.EventHandler(this.settingsPictureBox_Click); this.settingsPictureBox.Click += new System.EventHandler(this.settingsPictureBox_Click);
// //
// helpPictureBox // helpPictureBox
// //
this.helpPictureBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.helpPictureBox, "helpPictureBox");
this.helpPictureBox.Cursor = System.Windows.Forms.Cursors.Hand; this.helpPictureBox.Cursor = System.Windows.Forms.Cursors.Hand;
this.helpPictureBox.Image = ((System.Drawing.Image)(resources.GetObject("helpPictureBox.Image")));
this.helpPictureBox.Location = new System.Drawing.Point(238, 220);
this.helpPictureBox.Name = "helpPictureBox"; this.helpPictureBox.Name = "helpPictureBox";
this.helpPictureBox.Size = new System.Drawing.Size(20, 20);
this.helpPictureBox.TabIndex = 5;
this.helpPictureBox.TabStop = false; this.helpPictureBox.TabStop = false;
this.helpPictureBox.Click += new System.EventHandler(this.helpPictureBox_Click); this.helpPictureBox.Click += new System.EventHandler(this.helpPictureBox_Click);
// //
// addButton // addButton
// //
this.addButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.addButton, "addButton");
this.addButton.Enabled = false;
this.addButton.Location = new System.Drawing.Point(370, 218);
this.addButton.Name = "addButton"; this.addButton.Name = "addButton";
this.addButton.Size = new System.Drawing.Size(100, 23);
this.addButton.TabIndex = 50;
this.addButton.Text = "Add Map...";
this.addButton.UseVisualStyleBackColor = true; this.addButton.UseVisualStyleBackColor = true;
this.addButton.Click += new System.EventHandler(this.addButton_Click); this.addButton.Click += new System.EventHandler(this.addButton_Click);
// //
// addRelayButton // addRelayButton
// //
this.addRelayButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.addRelayButton, "addRelayButton");
this.addRelayButton.Enabled = false;
this.addRelayButton.Location = new System.Drawing.Point(264, 218);
this.addRelayButton.Name = "addRelayButton"; this.addRelayButton.Name = "addRelayButton";
this.addRelayButton.Size = new System.Drawing.Size(100, 23);
this.addRelayButton.TabIndex = 52;
this.addRelayButton.Text = "Add Relay Map...";
this.addRelayButton.UseVisualStyleBackColor = true; this.addRelayButton.UseVisualStyleBackColor = true;
this.addRelayButton.Click += new System.EventHandler(this.addRelayMapButton_Click); this.addRelayButton.Click += new System.EventHandler(this.addRelayMapButton_Click);
// //
// openWebSiteButton // openWebSiteButton
// //
this.openWebSiteButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); resources.ApplyResources(this.openWebSiteButton, "openWebSiteButton");
this.openWebSiteButton.Location = new System.Drawing.Point(15, 291);
this.openWebSiteButton.Name = "openWebSiteButton"; this.openWebSiteButton.Name = "openWebSiteButton";
this.openWebSiteButton.Size = new System.Drawing.Size(109, 23);
this.openWebSiteButton.TabIndex = 53;
this.openWebSiteButton.Text = "Open Web Site";
this.openWebSiteButton.UseVisualStyleBackColor = true; this.openWebSiteButton.UseVisualStyleBackColor = true;
this.openWebSiteButton.Visible = false;
this.openWebSiteButton.Click += new System.EventHandler(this.openWebSiteButton_Click); this.openWebSiteButton.Click += new System.EventHandler(this.openWebSiteButton_Click);
// //
// backButton5 // backButton5
// //
this.backButton5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.backButton5, "backButton5");
this.backButton5.Location = new System.Drawing.Point(316, 291);
this.backButton5.Name = "backButton5"; this.backButton5.Name = "backButton5";
this.backButton5.Size = new System.Drawing.Size(75, 23);
this.backButton5.TabIndex = 35;
this.backButton5.Text = "Log out";
this.backButton5.UseVisualStyleBackColor = true; this.backButton5.UseVisualStyleBackColor = true;
this.backButton5.Click += new System.EventHandler(this.backButton5_Click); this.backButton5.Click += new System.EventHandler(this.backButton5_Click);
// //
// nextButton5 // nextButton5
// //
this.nextButton5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.nextButton5, "nextButton5");
this.nextButton5.Location = new System.Drawing.Point(397, 291);
this.nextButton5.Name = "nextButton5"; this.nextButton5.Name = "nextButton5";
this.nextButton5.Size = new System.Drawing.Size(75, 23);
this.nextButton5.TabIndex = 36;
this.nextButton5.Text = "Close";
this.nextButton5.UseVisualStyleBackColor = true; this.nextButton5.UseVisualStyleBackColor = true;
this.nextButton5.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); this.nextButton5.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
// //
// pictureBox7 // pictureBox7
// //
this.pictureBox7.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.pictureBox7, "pictureBox7");
| System.Windows.Forms.AnchorStyles.Right))); this.pictureBox7.Image = global::MeshCentralRouter.Properties.Resources.EmptyBanner;
this.pictureBox7.Image = global::MeshCentralRouter.Properties.Resources.Empty_Banner;
this.pictureBox7.Location = new System.Drawing.Point(0, 282);
this.pictureBox7.Name = "pictureBox7"; this.pictureBox7.Name = "pictureBox7";
this.pictureBox7.Size = new System.Drawing.Size(484, 40);
this.pictureBox7.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox7.TabIndex = 10;
this.pictureBox7.TabStop = false; this.pictureBox7.TabStop = false;
// //
// pictureBox1 // pictureBox1
// //
this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Top; resources.ApplyResources(this.pictureBox1, "pictureBox1");
this.pictureBox1.Image = global::MeshCentralRouter.Properties.Resources.MC2_Banner; this.pictureBox1.Image = global::MeshCentralRouter.Properties.Resources.MC2Banner;
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(492, 65);
this.pictureBox1.TabIndex = 2;
this.pictureBox1.TabStop = false; this.pictureBox1.TabStop = false;
// //
// stateClearTimer // stateClearTimer
@@ -933,8 +639,7 @@
// notifyIcon // notifyIcon
// //
this.notifyIcon.ContextMenuStrip = this.trayIconContextMenuStrip; this.notifyIcon.ContextMenuStrip = this.trayIconContextMenuStrip;
this.notifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon.Icon"))); resources.ApplyResources(this.notifyIcon, "notifyIcon");
this.notifyIcon.Text = "MeshCentral Router";
this.notifyIcon.DoubleClick += new System.EventHandler(this.notifyIcon_DoubleClick); this.notifyIcon.DoubleClick += new System.EventHandler(this.notifyIcon_DoubleClick);
// //
// trayIconContextMenuStrip // trayIconContextMenuStrip
@@ -944,43 +649,44 @@
this.toolStripMenuItem1, this.toolStripMenuItem1,
this.exitToolStripMenuItem}); this.exitToolStripMenuItem});
this.trayIconContextMenuStrip.Name = "trayIconContextMenuStrip"; this.trayIconContextMenuStrip.Name = "trayIconContextMenuStrip";
this.trayIconContextMenuStrip.Size = new System.Drawing.Size(113, 54); resources.ApplyResources(this.trayIconContextMenuStrip, "trayIconContextMenuStrip");
// //
// openToolStripMenuItem // openToolStripMenuItem
// //
this.openToolStripMenuItem.Name = "openToolStripMenuItem"; this.openToolStripMenuItem.Name = "openToolStripMenuItem";
this.openToolStripMenuItem.Size = new System.Drawing.Size(112, 22); resources.ApplyResources(this.openToolStripMenuItem, "openToolStripMenuItem");
this.openToolStripMenuItem.Text = "&Open...";
this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click); this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click);
// //
// toolStripMenuItem1 // toolStripMenuItem1
// //
this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Name = "toolStripMenuItem1";
this.toolStripMenuItem1.Size = new System.Drawing.Size(109, 6); resources.ApplyResources(this.toolStripMenuItem1, "toolStripMenuItem1");
// //
// exitToolStripMenuItem // exitToolStripMenuItem
// //
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
this.exitToolStripMenuItem.Size = new System.Drawing.Size(112, 22); resources.ApplyResources(this.exitToolStripMenuItem, "exitToolStripMenuItem");
this.exitToolStripMenuItem.Text = "E&xit";
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click_1); this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click_1);
// //
// installTimer // installTimer
// //
this.installTimer.Tick += new System.EventHandler(this.installTimer_Tick); this.installTimer.Tick += new System.EventHandler(this.installTimer_Tick);
// //
// label1
//
resources.ApplyResources(this.label1, "label1");
this.label1.Name = "label1";
this.label1.UseMnemonic = false;
//
// MainForm // MainForm
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(492, 416);
this.Controls.Add(this.panel5); this.Controls.Add(this.panel5);
this.DoubleBuffered = true; this.DoubleBuffered = true;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false; this.MaximizeBox = false;
this.Name = "MainForm"; this.Name = "MainForm";
this.Text = " MeshCentral Router";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
this.Load += new System.EventHandler(this.MainForm_Load); this.Load += new System.EventHandler(this.MainForm_Load);
this.panel5.ResumeLayout(false); this.panel5.ResumeLayout(false);

View File

@@ -217,7 +217,7 @@ namespace MeshCentralRouter
//windowColor = serverNameTextBox.BackColor; //windowColor = serverNameTextBox.BackColor;
setPanel(1); setPanel(1);
updatePanel1(null, null); updatePanel1(null, null);
SendMessage(searchTextBox.Handle, EM_SETCUEBANNER, 0, "Search"); SendMessage(searchTextBox.Handle, EM_SETCUEBANNER, 0, Properties.Resources.SearchPlaceHolder);
// Start the multicast scanner // Start the multicast scanner
//scanner = new MeshDiscovery(); //scanner = new MeshDiscovery();
@@ -520,14 +520,14 @@ namespace MeshCentralRouter
} else { setPanel(1); } } else { setPanel(1); }
if ((meshcentral.disconnectMsg != null) && meshcentral.disconnectMsg.StartsWith("noauth")) { if ((meshcentral.disconnectMsg != null) && meshcentral.disconnectMsg.StartsWith("noauth")) {
stateLabel.Text = "Invalid username or password"; stateLabel.Text = Properties.Resources.InvalidUsernameOrPassword;
stateLabel.Visible = true; stateLabel.Visible = true;
stateClearTimer.Enabled = true; stateClearTimer.Enabled = true;
serverNameComboBox.Focus(); serverNameComboBox.Focus();
} }
else if ((meshcentral.disconnectMsg != null) && meshcentral.disconnectMsg.StartsWith("emailvalidationrequired")) else if ((meshcentral.disconnectMsg != null) && meshcentral.disconnectMsg.StartsWith("emailvalidationrequired"))
{ {
stateLabel.Text = "Email verification required"; stateLabel.Text = Properties.Resources.EmailVerificationRequired;
stateLabel.Visible = true; stateLabel.Visible = true;
stateClearTimer.Enabled = true; stateClearTimer.Enabled = true;
serverNameComboBox.Focus(); serverNameComboBox.Focus();
@@ -538,7 +538,7 @@ namespace MeshCentralRouter
setPanel(3); setPanel(3);
certDetailsButton.Focus(); certDetailsButton.Focus();
} }
else if (meshcentral.disconnectMsg == null) { stateLabel.Text = "Unable to connect"; stateLabel.Visible = true; stateClearTimer.Enabled = true; serverNameComboBox.Focus(); } else if (meshcentral.disconnectMsg == null) { stateLabel.Text = Properties.Resources.UnableToConnect; stateLabel.Visible = true; stateClearTimer.Enabled = true; serverNameComboBox.Focus(); }
// Clean up the UI // Clean up the UI
nextButton1.Enabled = true; nextButton1.Enabled = true;
@@ -1027,7 +1027,7 @@ namespace MeshCentralRouter
private void emailTokenButton_Click(object sender, EventArgs e) private void emailTokenButton_Click(object sender, EventArgs e)
{ {
if (MessageBox.Show(this, "Send token to registered email address?", "Two-factor Authentication", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.OK) if (MessageBox.Show(this, Properties.Resources.SendTokenEmail, Properties.Resources.TwoFactorAuthentication, MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.OK)
{ {
sendEmailToken = true; sendEmailToken = true;
sendSMSToken = false; sendSMSToken = false;
@@ -1037,7 +1037,7 @@ namespace MeshCentralRouter
private void smsTokenButton_Click(object sender, EventArgs e) private void smsTokenButton_Click(object sender, EventArgs e)
{ {
if (MessageBox.Show(this, "Send token to registered phone number?", "Two-factor Authentication", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.OK) if (MessageBox.Show(this, Properties.Resources.SendTokenSMS, Properties.Resources.TwoFactorAuthentication, MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.OK)
{ {
sendEmailToken = false; sendEmailToken = false;
sendSMSToken = true; sendSMSToken = true;
@@ -1096,6 +1096,16 @@ namespace MeshCentralRouter
if (form.ShowDialog(this) == DialogResult.OK) { hookRouterEx(); } if (form.ShowDialog(this) == DialogResult.OK) { hookRouterEx(); }
} }
private void ChangeLanguage(string lang)
{
if (System.Threading.Thread.CurrentThread.CurrentUICulture == new System.Globalization.CultureInfo(lang)) return;
if (MessageBox.Show(this, Properties.Resources.LanguagesChanging, Properties.Resources.LanguagesTitle, MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo(lang);
Close();
}
}
/* /*
private delegate void displayMessageHandler(string msg, int buttons, string extra, int progress); private delegate void displayMessageHandler(string msg, int buttons, string extra, int progress);
private void displayMessage(string msg, int buttons = 0, string extra = "", int progress = 0) private void displayMessage(string msg, int buttons = 0, string extra = "", int progress = 0)

File diff suppressed because it is too large Load Diff

View File

@@ -42,52 +42,31 @@
// devicePictureBox // devicePictureBox
// //
this.devicePictureBox.Image = global::MeshCentralRouter.Properties.Resources.icons01; this.devicePictureBox.Image = global::MeshCentralRouter.Properties.Resources.icons01;
this.devicePictureBox.Location = new System.Drawing.Point(6, 3); resources.ApplyResources(this.devicePictureBox, "devicePictureBox");
this.devicePictureBox.Name = "devicePictureBox"; this.devicePictureBox.Name = "devicePictureBox";
this.devicePictureBox.Size = new System.Drawing.Size(50, 50);
this.devicePictureBox.TabIndex = 0;
this.devicePictureBox.TabStop = false; this.devicePictureBox.TabStop = false;
// //
// deviceNameLabel // deviceNameLabel
// //
this.deviceNameLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.deviceNameLabel, "deviceNameLabel");
| System.Windows.Forms.AnchorStyles.Right)));
this.deviceNameLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.deviceNameLabel.Location = new System.Drawing.Point(62, 12);
this.deviceNameLabel.Name = "deviceNameLabel"; this.deviceNameLabel.Name = "deviceNameLabel";
this.deviceNameLabel.Size = new System.Drawing.Size(290, 15);
this.deviceNameLabel.TabIndex = 1;
this.deviceNameLabel.Text = "ComputerName";
// //
// routingStatusLabel // routingStatusLabel
// //
this.routingStatusLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.routingStatusLabel, "routingStatusLabel");
| System.Windows.Forms.AnchorStyles.Right)));
this.routingStatusLabel.Location = new System.Drawing.Point(62, 32);
this.routingStatusLabel.Name = "routingStatusLabel"; this.routingStatusLabel.Name = "routingStatusLabel";
this.routingStatusLabel.Size = new System.Drawing.Size(290, 15);
this.routingStatusLabel.TabIndex = 2;
this.routingStatusLabel.Text = "Routing Status";
// //
// appButton // appButton
// //
this.appButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.appButton, "appButton");
this.appButton.Location = new System.Drawing.Point(358, 6);
this.appButton.Name = "appButton"; this.appButton.Name = "appButton";
this.appButton.Size = new System.Drawing.Size(75, 23);
this.appButton.TabIndex = 3;
this.appButton.Text = "Open...";
this.appButton.UseVisualStyleBackColor = true; this.appButton.UseVisualStyleBackColor = true;
this.appButton.Click += new System.EventHandler(this.appButton_Click); this.appButton.Click += new System.EventHandler(this.appButton_Click);
// //
// closeButton // closeButton
// //
this.closeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.closeButton, "closeButton");
this.closeButton.Location = new System.Drawing.Point(358, 30);
this.closeButton.Name = "closeButton"; this.closeButton.Name = "closeButton";
this.closeButton.Size = new System.Drawing.Size(75, 23);
this.closeButton.TabIndex = 4;
this.closeButton.Text = "Remove";
this.closeButton.UseVisualStyleBackColor = true; this.closeButton.UseVisualStyleBackColor = true;
this.closeButton.Click += new System.EventHandler(this.closeButton_Click); this.closeButton.Click += new System.EventHandler(this.closeButton_Click);
// //
@@ -106,7 +85,7 @@
// //
// MapUserControl // MapUserControl
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.ControlLight; this.BackColor = System.Drawing.SystemColors.ControlLight;
this.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
@@ -116,7 +95,6 @@
this.Controls.Add(this.deviceNameLabel); this.Controls.Add(this.deviceNameLabel);
this.Controls.Add(this.devicePictureBox); this.Controls.Add(this.devicePictureBox);
this.Name = "MapUserControl"; this.Name = "MapUserControl";
this.Size = new System.Drawing.Size(441, 60);
((System.ComponentModel.ISupportInitialize)(this.devicePictureBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.devicePictureBox)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);

View File

@@ -50,7 +50,7 @@ namespace MeshCentralRouter
public void Start() public void Start()
{ {
routingStatusLabel.Text = "Starting..."; routingStatusLabel.Text = Properties.Resources.Starting;
appButton.Enabled = (appId != 0); appButton.Enabled = (appId != 0);
mapper = new MeshMapper(); mapper = new MeshMapper();
mapper.xdebug = xdebug; mapper.xdebug = xdebug;
@@ -71,7 +71,7 @@ namespace MeshCentralRouter
public void Stop() public void Stop()
{ {
routingStatusLabel.Text = "Stopped."; routingStatusLabel.Text = Properties.Resources.Stopped;
appButton.Enabled = false; appButton.Enabled = false;
mapper.onStateMsgChanged -= Mapper_onStateMsgChanged; mapper.onStateMsgChanged -= Mapper_onStateMsgChanged;
mapper.stop(); mapper.stop();
@@ -127,7 +127,7 @@ namespace MeshCentralRouter
using (AppLaunchForm f = new AppLaunchForm()) using (AppLaunchForm f = new AppLaunchForm())
{ {
System.Diagnostics.Process proc = null; System.Diagnostics.Process proc = null;
f.SetAppName("PuTTY SSH client"); f.SetAppName(Properties.Resources.PuttyAppName);
f.SetAppLink("http://www.chiark.greenend.org.uk/~sgtatham/putty/"); f.SetAppLink("http://www.chiark.greenend.org.uk/~sgtatham/putty/");
f.SetAppPath(loadFromRegistry("PuttyPath")); f.SetAppPath(loadFromRegistry("PuttyPath"));
if (f.ShowDialog(this) == DialogResult.OK) if (f.ShowDialog(this) == DialogResult.OK)
@@ -145,7 +145,7 @@ namespace MeshCentralRouter
using (AppLaunchForm f = new AppLaunchForm()) using (AppLaunchForm f = new AppLaunchForm())
{ {
System.Diagnostics.Process proc = null; System.Diagnostics.Process proc = null;
f.SetAppName("WinSCP client"); f.SetAppName(Properties.Resources.WinscpAppName);
f.SetAppLink("http://winscp.net/"); f.SetAppLink("http://winscp.net/");
f.SetAppPath(loadFromRegistry("WinSCPPath")); f.SetAppPath(loadFromRegistry("WinSCPPath"));
if (f.ShowDialog(this) == DialogResult.OK) if (f.ShowDialog(this) == DialogResult.OK)

View File

@@ -117,6 +117,141 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="devicePictureBox.Location" type="System.Drawing.Point, System.Drawing">
<value>6, 3</value>
</data>
<data name="devicePictureBox.Size" type="System.Drawing.Size, System.Drawing">
<value>50, 50</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="devicePictureBox.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="&gt;&gt;devicePictureBox.Name" xml:space="preserve">
<value>devicePictureBox</value>
</data>
<data name="&gt;&gt;devicePictureBox.Type" xml:space="preserve">
<value>System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;devicePictureBox.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;devicePictureBox.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="deviceNameLabel.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="deviceNameLabel.Font" type="System.Drawing.Font, System.Drawing">
<value>Microsoft Sans Serif, 8.25pt, style=Bold</value>
</data>
<data name="deviceNameLabel.Location" type="System.Drawing.Point, System.Drawing">
<value>62, 12</value>
</data>
<data name="deviceNameLabel.Size" type="System.Drawing.Size, System.Drawing">
<value>290, 15</value>
</data>
<data name="deviceNameLabel.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="deviceNameLabel.Text" xml:space="preserve">
<value>ComputerName</value>
</data>
<data name="&gt;&gt;deviceNameLabel.Name" xml:space="preserve">
<value>deviceNameLabel</value>
</data>
<data name="&gt;&gt;deviceNameLabel.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;deviceNameLabel.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;deviceNameLabel.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="routingStatusLabel.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="routingStatusLabel.Location" type="System.Drawing.Point, System.Drawing">
<value>62, 32</value>
</data>
<data name="routingStatusLabel.Size" type="System.Drawing.Size, System.Drawing">
<value>290, 15</value>
</data>
<data name="routingStatusLabel.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="routingStatusLabel.Text" xml:space="preserve">
<value>Routing Status</value>
</data>
<data name="&gt;&gt;routingStatusLabel.Name" xml:space="preserve">
<value>routingStatusLabel</value>
</data>
<data name="&gt;&gt;routingStatusLabel.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;routingStatusLabel.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;routingStatusLabel.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="appButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="appButton.Location" type="System.Drawing.Point, System.Drawing">
<value>358, 6</value>
</data>
<data name="appButton.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<data name="appButton.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="appButton.Text" xml:space="preserve">
<value>Open...</value>
</data>
<data name="&gt;&gt;appButton.Name" xml:space="preserve">
<value>appButton</value>
</data>
<data name="&gt;&gt;appButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;appButton.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;appButton.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="closeButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="closeButton.Location" type="System.Drawing.Point, System.Drawing">
<value>358, 30</value>
</data>
<data name="closeButton.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<data name="closeButton.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
</data>
<data name="closeButton.Text" xml:space="preserve">
<value>Remove</value>
</data>
<data name="&gt;&gt;closeButton.Name" xml:space="preserve">
<value>closeButton</value>
</data>
<data name="&gt;&gt;closeButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;closeButton.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;closeButton.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<metadata name="deviceImageList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="deviceImageList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>
@@ -125,7 +260,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAy ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAy
mgAAAk1TRnQBSQFMAgEBCAEAASABAAEgAQABMgEAATIBAAT/AREBAAj/AUIBTQE2BwABNgMAASgDAAHI mgAAAk1TRnQBSQFMAgEBCAEAASgBAAEoAQABMgEAATIBAAT/AREBAAj/AUIBTQE2BwABNgMAASgDAAHI
AwABlgMAAQEBAAEQBQABYAHq/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A AwABlgMAAQEBAAEQBQABYAHq/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A
/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A /wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A
/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A /wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A
@@ -785,4 +920,25 @@
Df8B/AMAAT8H/wMADf8B/AMAAT8H/wMADf8B/gMACP8DAA7/AgABDwj/AwAO/wH8AT8J/wMAGf8DAAs= Df8B/AMAAT8H/wMADf8B/AMAAT8H/wMADf8B/gMACP8DAA7/AgABDwj/AwAO/wH8AT8J/wMAGf8DAAs=
</value> </value>
</data> </data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>6, 13</value>
</data>
<data name="$this.Size" type="System.Drawing.Size, System.Drawing">
<value>441, 60</value>
</data>
<data name="&gt;&gt;deviceImageList.Name" xml:space="preserve">
<value>deviceImageList</value>
</data>
<data name="&gt;&gt;deviceImageList.Type" xml:space="preserve">
<value>System.Windows.Forms.ImageList, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>MapUserControl</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>System.Windows.Forms.UserControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root> </root>

View File

@@ -35,26 +35,20 @@
// //
// helpPictureBox // helpPictureBox
// //
this.helpPictureBox.Dock = System.Windows.Forms.DockStyle.Fill; resources.ApplyResources(this.helpPictureBox, "helpPictureBox");
this.helpPictureBox.Image = global::MeshCentralRouter.Properties.Resources.HelpRelayMap; this.helpPictureBox.Image = global::MeshCentralRouter.Properties.Resources.HelpRelayMap;
this.helpPictureBox.Location = new System.Drawing.Point(0, 0);
this.helpPictureBox.Name = "helpPictureBox"; this.helpPictureBox.Name = "helpPictureBox";
this.helpPictureBox.Size = new System.Drawing.Size(325, 435);
this.helpPictureBox.TabIndex = 0;
this.helpPictureBox.TabStop = false; this.helpPictureBox.TabStop = false;
// //
// MappingHelpForm // MappingHelpForm
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(325, 435);
this.Controls.Add(this.helpPictureBox); this.Controls.Add(this.helpPictureBox);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false; this.MaximizeBox = false;
this.MinimizeBox = false; this.MinimizeBox = false;
this.Name = "MappingHelpForm"; this.Name = "MappingHelpForm";
this.Text = "Port Mapping Help";
((System.ComponentModel.ISupportInitialize)(this.helpPictureBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.helpPictureBox)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);

View File

@@ -117,7 +117,42 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="helpPictureBox.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="helpPictureBox.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 0</value>
</data>
<data name="helpPictureBox.Size" type="System.Drawing.Size, System.Drawing">
<value>325, 435</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="helpPictureBox.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="&gt;&gt;helpPictureBox.Name" xml:space="preserve">
<value>helpPictureBox</value>
</data>
<data name="&gt;&gt;helpPictureBox.Type" xml:space="preserve">
<value>System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;helpPictureBox.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;helpPictureBox.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>6, 13</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>325, 435</value>
</data>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
AAABAA0AMDAQAAEABABoBgAA1gAAACAgEAABAAQA6AIAAD4HAAAYGBAAAQAEAOgBAAAmCgAAEBAQAAEA AAABAA0AMDAQAAEABABoBgAA1gAAACAgEAABAAQA6AIAAD4HAAAYGBAAAQAEAOgBAAAmCgAAEBAQAAEA
@@ -1812,4 +1847,13 @@
AADAPwAAwD8AAMA/AADAPwAA AADAPwAAwD8AAMA/AADAPwAA
</value> </value>
</data> </data>
<data name="$this.Text" xml:space="preserve">
<value>Port Mapping Help</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>MappingHelpForm</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root> </root>

View File

@@ -117,8 +117,8 @@ namespace MeshCentralRouter
private void UpdateInfo() { private void UpdateInfo() {
string msg = ""; string msg = "";
if (state == -1) { msg = "Unable to bind to local port"; } if (state == -1) { msg = Properties.Resources.UnableToBindToLocalPort; }
else if (state == 0) { msg = "Stopped"; } else if (state == 0) { msg = Properties.Resources.Stopped2; }
else if (state == 1) { else if (state == 1) {
if (remoteip == null) if (remoteip == null)
{ {
@@ -126,8 +126,8 @@ namespace MeshCentralRouter
} else { } else {
msg = "Port " + localport + " to " + remoteip + ":" + remoteport; msg = "Port " + localport + " to " + remoteip + ":" + remoteport;
} }
if (totalConnectCounter == 1) { msg += ", 1 connection."; } if (totalConnectCounter == 1) { msg += Properties.Resources.OneConnection; }
if (totalConnectCounter > 1) { msg += ", " + totalConnectCounter + " connections."; } if (totalConnectCounter > 1) { msg += string.Format(Properties.Resources.ManyConnections, totalConnectCounter); }
} }
if (onStateMsgChanged != null) { onStateMsgChanged(msg); } if (onStateMsgChanged != null) { onStateMsgChanged(msg); }
} }
@@ -400,7 +400,7 @@ namespace MeshCentralRouter
catch (Exception ex) catch (Exception ex)
{ {
// Disconnect // Disconnect
MessageBox.Show(ex.Message, "MeshRouter"); MessageBox.Show(ex.Message, Properties.Resources.MeshCentralRouter);
parent.Debug("#" + counter + ": Websocket TLS failed: " + ex.ToString()); parent.Debug("#" + counter + ": Websocket TLS failed: " + ex.ToString());
parent.ShutdownClients(client, uclient, this, this.counter); parent.ShutdownClients(client, uclient, this, this.counter);
return; return;

View File

@@ -31,8 +31,21 @@ namespace MeshCentralRouter
Application.EnableVisualStyles(); Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false); Application.SetCompatibleTextRenderingDefault(false);
Properties.Settings.Default.Upgrade(); Properties.Settings.Default.Upgrade();
MainForm main = new MainForm(args);
if (main.forceExit == false) { Application.Run(main); } foreach (string arg in args)
{
if (arg.Length > 3 && string.Compare(arg.Substring(0, 3), "-l:", true) == 0) { try { System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo(arg.Substring(3)); } catch (ArgumentException) { } }
}
MainForm main;
System.Globalization.CultureInfo currentCulture;
do
{
currentCulture = System.Threading.Thread.CurrentThread.CurrentUICulture;
main = new MainForm(args);
if (main.forceExit == false) { Application.Run(main); }
}
while (currentCulture.Equals(System.Threading.Thread.CurrentThread.CurrentUICulture) == false);
} }
} }

View File

@@ -61,29 +61,20 @@ namespace MeshCentralRouter.Properties {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to Confirm Delete. /// Looks up a localized string similar to Email verification required.
/// </summary> /// </summary>
internal static string CertMgrForm_Del { internal static string EmailVerificationRequired {
get { get {
return ResourceManager.GetString("CertMgrForm_Del", resourceCulture); return ResourceManager.GetString("EmailVerificationRequired", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Delete Selected Certificate?.
/// </summary>
internal static string CertMgrForm_DelStr {
get {
return ResourceManager.GetString("CertMgrForm_DelStr", resourceCulture);
} }
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap Empty_Banner { internal static System.Drawing.Bitmap EmptyBanner {
get { get {
object obj = ResourceManager.GetObject("Empty-Banner", resourceCulture); object obj = ResourceManager.GetObject("EmptyBanner", resourceCulture);
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
@@ -138,12 +129,48 @@ namespace MeshCentralRouter.Properties {
} }
} }
/// <summary>
/// Looks up a localized string similar to Invalid username or password.
/// </summary>
internal static string InvalidUsernameOrPassword {
get {
return ResourceManager.GetString("InvalidUsernameOrPassword", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Changing language will close this tool. Are you sure?.
/// </summary>
internal static string LanguagesChanging {
get {
return ResourceManager.GetString("LanguagesChanging", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Languages.
/// </summary>
internal static string LanguagesTitle {
get {
return ResourceManager.GetString("LanguagesTitle", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to , {0} connections..
/// </summary>
internal static string ManyConnections {
get {
return ResourceManager.GetString("ManyConnections", resourceCulture);
}
}
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap MC2_Banner { internal static System.Drawing.Bitmap MC2Banner {
get { get {
object obj = ResourceManager.GetObject("MC2-Banner", resourceCulture); object obj = ResourceManager.GetObject("MC2Banner", resourceCulture);
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
@@ -151,9 +178,9 @@ namespace MeshCentralRouter.Properties {
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
internal static System.Drawing.Bitmap MC2_Logo { internal static System.Drawing.Bitmap MC2Logo {
get { get {
object obj = ResourceManager.GetObject("MC2-Logo", resourceCulture); object obj = ResourceManager.GetObject("MC2Logo", resourceCulture);
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
@@ -168,6 +195,24 @@ namespace MeshCentralRouter.Properties {
} }
} }
/// <summary>
/// Looks up a localized string similar to MeshCentral Router.
/// </summary>
internal static string MeshCentralRouter {
get {
return ResourceManager.GetString("MeshCentralRouter", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to MeshCentral.
/// </summary>
internal static string MeshCentralTitle {
get {
return ResourceManager.GetString("MeshCentralTitle", resourceCulture);
}
}
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>
@@ -189,20 +234,110 @@ namespace MeshCentralRouter.Properties {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to Cert Import. /// Looks up a localized string similar to , 1 connection..
/// </summary> /// </summary>
internal static string MsgBox_Import_Cert { internal static string OneConnection {
get { get {
return ResourceManager.GetString("MsgBox_Import_Cert", resourceCulture); return ResourceManager.GetString("OneConnection", resourceCulture);
} }
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to Incorrect file or password. /// Looks up a localized string similar to PuTTY SSH client.
/// </summary> /// </summary>
internal static string MsgBox_Import_Error { internal static string PuttyAppName {
get { get {
return ResourceManager.GetString("MsgBox_Import_Error", resourceCulture); return ResourceManager.GetString("PuttyAppName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Search.
/// </summary>
internal static string SearchPlaceHolder {
get {
return ResourceManager.GetString("SearchPlaceHolder", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Send token to registered email address?.
/// </summary>
internal static string SendTokenEmail {
get {
return ResourceManager.GetString("SendTokenEmail", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Send token to registered phone number?.
/// </summary>
internal static string SendTokenSMS {
get {
return ResourceManager.GetString("SendTokenSMS", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Starting....
/// </summary>
internal static string Starting {
get {
return ResourceManager.GetString("Starting", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Stopped..
/// </summary>
internal static string Stopped {
get {
return ResourceManager.GetString("Stopped", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Stopped.
/// </summary>
internal static string Stopped2 {
get {
return ResourceManager.GetString("Stopped2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Two-factor Authentication.
/// </summary>
internal static string TwoFactorAuthentication {
get {
return ResourceManager.GetString("TwoFactorAuthentication", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unable to bind to local port.
/// </summary>
internal static string UnableToBindToLocalPort {
get {
return ResourceManager.GetString("UnableToBindToLocalPort", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unable to connect.
/// </summary>
internal static string UnableToConnect {
get {
return ResourceManager.GetString("UnableToConnect", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to WinSCP client.
/// </summary>
internal static string WinscpAppName {
get {
return ResourceManager.GetString("WinscpAppName", resourceCulture);
} }
} }
} }

View File

@@ -121,7 +121,7 @@
<data name="MeshIcon50T" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="MeshIcon50T" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>../Resources/MeshIcon50T.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>../Resources/MeshIcon50T.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="Empty-Banner" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="EmptyBanner" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>../Resources/Empty-Banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>../Resources/Empty-Banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="MeshCentral" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="MeshCentral" type="System.Resources.ResXFileRef, System.Windows.Forms">
@@ -130,21 +130,12 @@
<data name="Folder36" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="Folder36" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>../Resources/Folder36.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>../Resources/Folder36.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="MC2-Logo" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="MC2Logo" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>../Resources/MC2-Logo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>../Resources/MC2-Logo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="Help20" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="Help20" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>../Resources/Help20.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>../Resources/Help20.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="CertMgrForm_Del" xml:space="preserve">
<value>Confirm Delete</value>
</data>
<data name="MsgBox_Import_Error" xml:space="preserve">
<value>Incorrect file or password</value>
</data>
<data name="CertMgrForm_DelStr" xml:space="preserve">
<value>Delete Selected Certificate?</value>
</data>
<data name="icons01" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="icons01" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>../Resources/icons01.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>../Resources/icons01.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
@@ -154,13 +145,67 @@
<data name="HelpRelayMap" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="HelpRelayMap" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>../Resources/HelpRelayMap.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>../Resources/HelpRelayMap.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="MsgBox_Import_Cert" xml:space="preserve"> <data name="MC2Banner" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Cert Import</value>
</data>
<data name="MC2-Banner" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>../Resources/MC2-Banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>../Resources/MC2-Banner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="install" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="install" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\install.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\install.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="LanguagesChanging" xml:space="preserve">
<value>Changing language will close this tool. Are you sure?</value>
</data>
<data name="LanguagesTitle" xml:space="preserve">
<value>Languages</value>
</data>
<data name="SearchPlaceHolder" xml:space="preserve">
<value>Search</value>
</data>
<data name="EmailVerificationRequired" xml:space="preserve">
<value>Email verification required</value>
</data>
<data name="InvalidUsernameOrPassword" xml:space="preserve">
<value>Invalid username or password</value>
</data>
<data name="SendTokenEmail" xml:space="preserve">
<value>Send token to registered email address?</value>
</data>
<data name="SendTokenSMS" xml:space="preserve">
<value>Send token to registered phone number?</value>
</data>
<data name="TwoFactorAuthentication" xml:space="preserve">
<value>Two-factor Authentication</value>
</data>
<data name="UnableToConnect" xml:space="preserve">
<value>Unable to connect</value>
</data>
<data name="ManyConnections" xml:space="preserve">
<value>, {0} connections.</value>
</data>
<data name="MeshCentralRouter" xml:space="preserve">
<value>MeshCentral Router</value>
</data>
<data name="MeshCentralTitle" xml:space="preserve">
<value>MeshCentral</value>
</data>
<data name="OneConnection" xml:space="preserve">
<value>, 1 connection.</value>
</data>
<data name="PuttyAppName" xml:space="preserve">
<value>PuTTY SSH client</value>
</data>
<data name="Starting" xml:space="preserve">
<value>Starting...</value>
</data>
<data name="Stopped" xml:space="preserve">
<value>Stopped.</value>
</data>
<data name="Stopped2" xml:space="preserve">
<value>Stopped</value>
</data>
<data name="UnableToBindToLocalPort" xml:space="preserve">
<value>Unable to bind to local port</value>
</data>
<data name="WinscpAppName" xml:space="preserve">
<value>WinSCP client</value>
</data>
</root> </root>

View File

@@ -29,6 +29,7 @@
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ServerUserControl));
this.serverInfoLabel = new System.Windows.Forms.Label(); this.serverInfoLabel = new System.Windows.Forms.Label();
this.serverNameLabel = new System.Windows.Forms.Label(); this.serverNameLabel = new System.Windows.Forms.Label();
this.serverPictureBox = new System.Windows.Forms.PictureBox(); this.serverPictureBox = new System.Windows.Forms.PictureBox();
@@ -41,36 +42,21 @@
// //
// serverInfoLabel // serverInfoLabel
// //
this.serverInfoLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.serverInfoLabel, "serverInfoLabel");
| System.Windows.Forms.AnchorStyles.Right)));
this.serverInfoLabel.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.serverInfoLabel.Location = new System.Drawing.Point(65, 30);
this.serverInfoLabel.Name = "serverInfoLabel"; this.serverInfoLabel.Name = "serverInfoLabel";
this.serverInfoLabel.Size = new System.Drawing.Size(420, 18);
this.serverInfoLabel.TabIndex = 11;
this.serverInfoLabel.Text = "Server information";
this.serverInfoLabel.Click += new System.EventHandler(this.serverButton_Click); this.serverInfoLabel.Click += new System.EventHandler(this.serverButton_Click);
// //
// serverNameLabel // serverNameLabel
// //
this.serverNameLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.serverNameLabel, "serverNameLabel");
| System.Windows.Forms.AnchorStyles.Right)));
this.serverNameLabel.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.serverNameLabel.Location = new System.Drawing.Point(65, 10);
this.serverNameLabel.Name = "serverNameLabel"; this.serverNameLabel.Name = "serverNameLabel";
this.serverNameLabel.Size = new System.Drawing.Size(420, 18);
this.serverNameLabel.TabIndex = 10;
this.serverNameLabel.Text = "ServerName";
this.serverNameLabel.Click += new System.EventHandler(this.serverButton_Click); this.serverNameLabel.Click += new System.EventHandler(this.serverButton_Click);
// //
// serverPictureBox // serverPictureBox
// //
this.serverPictureBox.Image = global::MeshCentralRouter.Properties.Resources.MeshCentral; this.serverPictureBox.Image = global::MeshCentralRouter.Properties.Resources.MeshCentral;
this.serverPictureBox.Location = new System.Drawing.Point(0, 0); resources.ApplyResources(this.serverPictureBox, "serverPictureBox");
this.serverPictureBox.Name = "serverPictureBox"; this.serverPictureBox.Name = "serverPictureBox";
this.serverPictureBox.Size = new System.Drawing.Size(59, 59);
this.serverPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.serverPictureBox.TabIndex = 9;
this.serverPictureBox.TabStop = false; this.serverPictureBox.TabStop = false;
this.serverPictureBox.Click += new System.EventHandler(this.serverButton_Click); this.serverPictureBox.Click += new System.EventHandler(this.serverButton_Click);
// //
@@ -79,13 +65,12 @@
this.serverContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.serverContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.infoToolStripMenuItem}); this.infoToolStripMenuItem});
this.serverContextMenuStrip.Name = "serverContextMenuStrip"; this.serverContextMenuStrip.Name = "serverContextMenuStrip";
this.serverContextMenuStrip.Size = new System.Drawing.Size(153, 48); resources.ApplyResources(this.serverContextMenuStrip, "serverContextMenuStrip");
// //
// infoToolStripMenuItem // infoToolStripMenuItem
// //
this.infoToolStripMenuItem.Name = "infoToolStripMenuItem"; this.infoToolStripMenuItem.Name = "infoToolStripMenuItem";
this.infoToolStripMenuItem.Size = new System.Drawing.Size(152, 22); resources.ApplyResources(this.infoToolStripMenuItem, "infoToolStripMenuItem");
this.infoToolStripMenuItem.Text = "&Info...";
this.infoToolStripMenuItem.Click += new System.EventHandler(this.infoToolStripMenuItem_Click); this.infoToolStripMenuItem.Click += new System.EventHandler(this.infoToolStripMenuItem_Click);
// //
// backTimer // backTimer
@@ -95,7 +80,7 @@
// //
// ServerUserControl // ServerUserControl
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
this.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
@@ -105,7 +90,6 @@
this.Controls.Add(this.serverPictureBox); this.Controls.Add(this.serverPictureBox);
this.Cursor = System.Windows.Forms.Cursors.Hand; this.Cursor = System.Windows.Forms.Cursors.Hand;
this.Name = "ServerUserControl"; this.Name = "ServerUserControl";
this.Size = new System.Drawing.Size(485, 57);
this.Load += new System.EventHandler(this.ServerUserControl_Load); this.Load += new System.EventHandler(this.ServerUserControl_Load);
this.Click += new System.EventHandler(this.serverButton_Click); this.Click += new System.EventHandler(this.serverButton_Click);
((System.ComponentModel.ISupportInitialize)(this.serverPictureBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.serverPictureBox)).EndInit();

View File

@@ -46,7 +46,7 @@ namespace MeshCentralRouter
// Fix the name // Fix the name
if (name == null) { name = this.name; } if (name == null) { name = this.name; }
if (name == null) { name = "MeshCentral"; } if (name == null) { name = Properties.Resources.MeshCentralTitle; }
// Don't replace a IPv4 address with a IPv6 one, or remove information // Don't replace a IPv4 address with a IPv6 one, or remove information
if ((this.url.IndexOf("://[") == -1) && (url.IndexOf("://[") >= 0)) return false; if ((this.url.IndexOf("://[") == -1) && (url.IndexOf("://[") >= 0)) return false;

View File

@@ -117,10 +117,139 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="serverInfoLabel.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="serverInfoLabel.Font" type="System.Drawing.Font, System.Drawing">
<value>Arial, 9pt</value>
</data>
<data name="serverInfoLabel.Location" type="System.Drawing.Point, System.Drawing">
<value>65, 30</value>
</data>
<data name="serverInfoLabel.Size" type="System.Drawing.Size, System.Drawing">
<value>420, 18</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="serverInfoLabel.TabIndex" type="System.Int32, mscorlib">
<value>11</value>
</data>
<data name="serverInfoLabel.Text" xml:space="preserve">
<value>Server information</value>
</data>
<data name="&gt;&gt;serverInfoLabel.Name" xml:space="preserve">
<value>serverInfoLabel</value>
</data>
<data name="&gt;&gt;serverInfoLabel.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;serverInfoLabel.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;serverInfoLabel.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="serverNameLabel.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="serverNameLabel.Font" type="System.Drawing.Font, System.Drawing">
<value>Arial, 11.25pt, style=Bold</value>
</data>
<data name="serverNameLabel.Location" type="System.Drawing.Point, System.Drawing">
<value>65, 10</value>
</data>
<data name="serverNameLabel.Size" type="System.Drawing.Size, System.Drawing">
<value>420, 18</value>
</data>
<data name="serverNameLabel.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
</data>
<data name="serverNameLabel.Text" xml:space="preserve">
<value>ServerName</value>
</data>
<data name="&gt;&gt;serverNameLabel.Name" xml:space="preserve">
<value>serverNameLabel</value>
</data>
<data name="&gt;&gt;serverNameLabel.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;serverNameLabel.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;serverNameLabel.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="serverPictureBox.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 0</value>
</data>
<data name="serverPictureBox.Size" type="System.Drawing.Size, System.Drawing">
<value>59, 59</value>
</data>
<data name="serverPictureBox.SizeMode" type="System.Windows.Forms.PictureBoxSizeMode, System.Windows.Forms">
<value>StretchImage</value>
</data>
<data name="serverPictureBox.TabIndex" type="System.Int32, mscorlib">
<value>9</value>
</data>
<data name="&gt;&gt;serverPictureBox.Name" xml:space="preserve">
<value>serverPictureBox</value>
</data>
<data name="&gt;&gt;serverPictureBox.Type" xml:space="preserve">
<value>System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;serverPictureBox.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;serverPictureBox.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<metadata name="serverContextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="serverContextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>
<data name="infoToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>104, 22</value>
</data>
<data name="infoToolStripMenuItem.Text" xml:space="preserve">
<value>&amp;Info...</value>
</data>
<data name="serverContextMenuStrip.Size" type="System.Drawing.Size, System.Drawing">
<value>105, 26</value>
</data>
<data name="&gt;&gt;serverContextMenuStrip.Name" xml:space="preserve">
<value>serverContextMenuStrip</value>
</data>
<data name="&gt;&gt;serverContextMenuStrip.Type" xml:space="preserve">
<value>System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<metadata name="backTimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="backTimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>200, 17</value> <value>200, 17</value>
</metadata> </metadata>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>6, 13</value>
</data>
<data name="$this.Size" type="System.Drawing.Size, System.Drawing">
<value>485, 57</value>
</data>
<data name="&gt;&gt;infoToolStripMenuItem.Name" xml:space="preserve">
<value>infoToolStripMenuItem</value>
</data>
<data name="&gt;&gt;infoToolStripMenuItem.Type" xml:space="preserve">
<value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;backTimer.Name" xml:space="preserve">
<value>backTimer</value>
</data>
<data name="&gt;&gt;backTimer.Type" xml:space="preserve">
<value>System.Windows.Forms.Timer, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>ServerUserControl</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>System.Windows.Forms.UserControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root> </root>

View File

@@ -40,55 +40,35 @@
// //
// cancelButton // cancelButton
// //
this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.cancelButton, "cancelButton");
this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cancelButton.Location = new System.Drawing.Point(212, 66);
this.cancelButton.Name = "cancelButton"; this.cancelButton.Name = "cancelButton";
this.cancelButton.Size = new System.Drawing.Size(75, 23);
this.cancelButton.TabIndex = 0;
this.cancelButton.Text = "Cancel";
this.cancelButton.UseVisualStyleBackColor = true; this.cancelButton.UseVisualStyleBackColor = true;
this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click); this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
// //
// okButton // okButton
// //
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.okButton, "okButton");
this.okButton.Location = new System.Drawing.Point(131, 66);
this.okButton.Name = "okButton"; this.okButton.Name = "okButton";
this.okButton.Size = new System.Drawing.Size(75, 23);
this.okButton.TabIndex = 1;
this.okButton.Text = "OK";
this.okButton.UseVisualStyleBackColor = true; this.okButton.UseVisualStyleBackColor = true;
this.okButton.Click += new System.EventHandler(this.okButton_Click); this.okButton.Click += new System.EventHandler(this.okButton_Click);
// //
// groupBox1 // groupBox1
// //
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) resources.ApplyResources(this.groupBox1, "groupBox1");
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.portNumericUpDown); this.groupBox1.Controls.Add(this.portNumericUpDown);
this.groupBox1.Location = new System.Drawing.Point(12, 12);
this.groupBox1.Name = "groupBox1"; this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(275, 48);
this.groupBox1.TabIndex = 3;
this.groupBox1.TabStop = false; this.groupBox1.TabStop = false;
this.groupBox1.Text = "Connection";
// //
// label2 // label2
// //
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) resources.ApplyResources(this.label2, "label2");
| System.Windows.Forms.AnchorStyles.Right)));
this.label2.Location = new System.Drawing.Point(6, 21);
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(137, 18);
this.label2.TabIndex = 3;
this.label2.Text = "Alternative Port";
// //
// portNumericUpDown // portNumericUpDown
// //
this.portNumericUpDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); resources.ApplyResources(this.portNumericUpDown, "portNumericUpDown");
this.portNumericUpDown.Location = new System.Drawing.Point(149, 19);
this.portNumericUpDown.Maximum = new decimal(new int[] { this.portNumericUpDown.Maximum = new decimal(new int[] {
65535, 65535,
0, 0,
@@ -100,8 +80,6 @@
0, 0,
0}); 0});
this.portNumericUpDown.Name = "portNumericUpDown"; this.portNumericUpDown.Name = "portNumericUpDown";
this.portNumericUpDown.Size = new System.Drawing.Size(120, 20);
this.portNumericUpDown.TabIndex = 0;
this.portNumericUpDown.Value = new decimal(new int[] { this.portNumericUpDown.Value = new decimal(new int[] {
3389, 3389,
0, 0,
@@ -113,20 +91,16 @@
// altPortForm // altPortForm
// //
this.AcceptButton = this.okButton; this.AcceptButton = this.okButton;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.cancelButton; this.CancelButton = this.cancelButton;
this.ClientSize = new System.Drawing.Size(299, 101);
this.Controls.Add(this.groupBox1); this.Controls.Add(this.groupBox1);
this.Controls.Add(this.okButton); this.Controls.Add(this.okButton);
this.Controls.Add(this.cancelButton); this.Controls.Add(this.cancelButton);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false; this.MaximizeBox = false;
this.MinimizeBox = false; this.MinimizeBox = false;
this.Name = "altPortForm"; this.Name = "altPortForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Alternative Port";
this.groupBox1.ResumeLayout(false); this.groupBox1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.portNumericUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.portNumericUpDown)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);

View File

@@ -117,7 +117,150 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="cancelButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="cancelButton.Location" type="System.Drawing.Point, System.Drawing">
<value>212, 66</value>
</data>
<data name="cancelButton.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="cancelButton.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="cancelButton.Text" xml:space="preserve">
<value>Cancel</value>
</data>
<data name="&gt;&gt;cancelButton.Name" xml:space="preserve">
<value>cancelButton</value>
</data>
<data name="&gt;&gt;cancelButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;cancelButton.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;cancelButton.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="okButton.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value>
</data>
<data name="okButton.Location" type="System.Drawing.Point, System.Drawing">
<value>131, 66</value>
</data>
<data name="okButton.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<data name="okButton.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="okButton.Text" xml:space="preserve">
<value>OK</value>
</data>
<data name="&gt;&gt;okButton.Name" xml:space="preserve">
<value>okButton</value>
</data>
<data name="&gt;&gt;okButton.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;okButton.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;okButton.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="groupBox1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Bottom, Left, Right</value>
</data>
<data name="label2.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="label2.Location" type="System.Drawing.Point, System.Drawing">
<value>6, 21</value>
</data>
<data name="label2.Size" type="System.Drawing.Size, System.Drawing">
<value>137, 18</value>
</data>
<data name="label2.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="label2.Text" xml:space="preserve">
<value>Alternative Port</value>
</data>
<data name="&gt;&gt;label2.Name" xml:space="preserve">
<value>label2</value>
</data>
<data name="&gt;&gt;label2.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label2.Parent" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="&gt;&gt;label2.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="portNumericUpDown.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="portNumericUpDown.Location" type="System.Drawing.Point, System.Drawing">
<value>149, 19</value>
</data>
<data name="portNumericUpDown.Size" type="System.Drawing.Size, System.Drawing">
<value>120, 20</value>
</data>
<data name="portNumericUpDown.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="&gt;&gt;portNumericUpDown.Name" xml:space="preserve">
<value>portNumericUpDown</value>
</data>
<data name="&gt;&gt;portNumericUpDown.Type" xml:space="preserve">
<value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;portNumericUpDown.Parent" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="&gt;&gt;portNumericUpDown.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="groupBox1.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 12</value>
</data>
<data name="groupBox1.Size" type="System.Drawing.Size, System.Drawing">
<value>275, 48</value>
</data>
<data name="groupBox1.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="groupBox1.Text" xml:space="preserve">
<value>Connection</value>
</data>
<data name="&gt;&gt;groupBox1.Name" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="&gt;&gt;groupBox1.Type" xml:space="preserve">
<value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;groupBox1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;groupBox1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>6, 13</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>299, 101</value>
</data>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
AAABAA0AMDAQAAEABABoBgAA1gAAACAgEAABAAQA6AIAAD4HAAAYGBAAAQAEAOgBAAAmCgAAEBAQAAEA AAABAA0AMDAQAAEABABoBgAA1gAAACAgEAABAAQA6AIAAD4HAAAYGBAAAQAEAOgBAAAmCgAAEBAQAAEA
@@ -1812,4 +1955,16 @@
AADAPwAAwD8AAMA/AADAPwAA AADAPwAAwD8AAMA/AADAPwAA
</value> </value>
</data> </data>
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
<value>CenterParent</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>Alternative Port</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>altPortForm</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root> </root>