mirror of
https://github.com/Ylianst/MeshCentralRouter
synced 2025-12-06 00:13:33 +00:00
Added internalization support.
This commit is contained in:
110
AddPortMapForm.Designer.cs
generated
110
AddPortMapForm.Designer.cs
generated
@@ -50,85 +50,54 @@
|
||||
//
|
||||
// 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.Location = new System.Drawing.Point(288, 167);
|
||||
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.Click += new System.EventHandler(this.cancelButton_Click);
|
||||
//
|
||||
// okButton
|
||||
//
|
||||
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.okButton.Location = new System.Drawing.Point(207, 167);
|
||||
resources.ApplyResources(this.okButton, "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.Click += new System.EventHandler(this.okButton_Click);
|
||||
//
|
||||
// localNumericUpDown
|
||||
//
|
||||
this.localNumericUpDown.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.localNumericUpDown.Location = new System.Drawing.Point(157, 33);
|
||||
resources.ApplyResources(this.localNumericUpDown, "localNumericUpDown");
|
||||
this.localNumericUpDown.Maximum = new decimal(new int[] {
|
||||
65535,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
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
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(12, 35);
|
||||
resources.ApplyResources(this.label1, "label1");
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(55, 13);
|
||||
this.label1.TabIndex = 3;
|
||||
this.label1.Text = "Local Port";
|
||||
//
|
||||
// nodeComboBox
|
||||
//
|
||||
this.nodeComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
resources.ApplyResources(this.nodeComboBox, "nodeComboBox");
|
||||
this.nodeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.nodeComboBox.FormattingEnabled = true;
|
||||
this.nodeComboBox.Location = new System.Drawing.Point(157, 86);
|
||||
this.nodeComboBox.Name = "nodeComboBox";
|
||||
this.nodeComboBox.Size = new System.Drawing.Size(206, 21);
|
||||
this.nodeComboBox.TabIndex = 4;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(12, 89);
|
||||
resources.ApplyResources(this.label2, "label2");
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(81, 13);
|
||||
this.label2.TabIndex = 5;
|
||||
this.label2.Text = "Remote Device";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(12, 142);
|
||||
resources.ApplyResources(this.label3, "label3");
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(66, 13);
|
||||
this.label3.TabIndex = 7;
|
||||
this.label3.Text = "Remote Port";
|
||||
//
|
||||
// remoteNumericUpDown
|
||||
//
|
||||
this.remoteNumericUpDown.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.remoteNumericUpDown.Location = new System.Drawing.Point(157, 140);
|
||||
resources.ApplyResources(this.remoteNumericUpDown, "remoteNumericUpDown");
|
||||
this.remoteNumericUpDown.Maximum = new decimal(new int[] {
|
||||
65535,
|
||||
0,
|
||||
@@ -140,9 +109,6 @@
|
||||
0,
|
||||
0});
|
||||
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[] {
|
||||
80,
|
||||
0,
|
||||
@@ -151,93 +117,64 @@
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(12, 116);
|
||||
resources.ApplyResources(this.label4, "label4");
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(59, 13);
|
||||
this.label4.TabIndex = 9;
|
||||
this.label4.Text = "Application";
|
||||
//
|
||||
// appComboBox
|
||||
//
|
||||
this.appComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
resources.ApplyResources(this.appComboBox, "appComboBox");
|
||||
this.appComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.appComboBox.FormattingEnabled = true;
|
||||
this.appComboBox.Items.AddRange(new object[] {
|
||||
"Custom",
|
||||
"HTTP",
|
||||
"HTTPS",
|
||||
"RDP",
|
||||
"PuTTY",
|
||||
"WinSCP"});
|
||||
this.appComboBox.Location = new System.Drawing.Point(157, 113);
|
||||
resources.GetString("appComboBox.Items"),
|
||||
resources.GetString("appComboBox.Items1"),
|
||||
resources.GetString("appComboBox.Items2"),
|
||||
resources.GetString("appComboBox.Items3"),
|
||||
resources.GetString("appComboBox.Items4"),
|
||||
resources.GetString("appComboBox.Items5")});
|
||||
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);
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(12, 62);
|
||||
resources.ApplyResources(this.label5, "label5");
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(73, 13);
|
||||
this.label5.TabIndex = 11;
|
||||
this.label5.Text = "Device Group";
|
||||
//
|
||||
// groupComboBox
|
||||
//
|
||||
this.groupComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
resources.ApplyResources(this.groupComboBox, "groupComboBox");
|
||||
this.groupComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.groupComboBox.FormattingEnabled = true;
|
||||
this.groupComboBox.Location = new System.Drawing.Point(157, 59);
|
||||
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);
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(12, 9);
|
||||
resources.ApplyResources(this.label6, "label6");
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(46, 13);
|
||||
this.label6.TabIndex = 12;
|
||||
this.label6.Text = "Protocol";
|
||||
//
|
||||
// tcpRadioButton
|
||||
//
|
||||
this.tcpRadioButton.AutoSize = true;
|
||||
resources.ApplyResources(this.tcpRadioButton, "tcpRadioButton");
|
||||
this.tcpRadioButton.Checked = true;
|
||||
this.tcpRadioButton.Location = new System.Drawing.Point(157, 9);
|
||||
this.tcpRadioButton.Name = "tcpRadioButton";
|
||||
this.tcpRadioButton.Size = new System.Drawing.Size(46, 17);
|
||||
this.tcpRadioButton.TabIndex = 1;
|
||||
this.tcpRadioButton.TabStop = true;
|
||||
this.tcpRadioButton.Text = "TCP";
|
||||
this.tcpRadioButton.UseVisualStyleBackColor = true;
|
||||
this.tcpRadioButton.CheckedChanged += new System.EventHandler(this.tcpRadioButton_CheckedChanged);
|
||||
//
|
||||
// udpRadioButton
|
||||
//
|
||||
this.udpRadioButton.AutoSize = true;
|
||||
this.udpRadioButton.Location = new System.Drawing.Point(209, 9);
|
||||
resources.ApplyResources(this.udpRadioButton, "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.CheckedChanged += new System.EventHandler(this.tcpRadioButton_CheckedChanged);
|
||||
//
|
||||
// AddPortMapForm
|
||||
//
|
||||
this.AcceptButton = this.okButton;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.CancelButton = this.cancelButton;
|
||||
this.ClientSize = new System.Drawing.Size(375, 202);
|
||||
this.Controls.Add(this.udpRadioButton);
|
||||
this.Controls.Add(this.tcpRadioButton);
|
||||
this.Controls.Add(this.label6);
|
||||
@@ -254,12 +191,9 @@
|
||||
this.Controls.Add(this.okButton);
|
||||
this.Controls.Add(this.cancelButton);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "AddPortMapForm";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "Port Mapping";
|
||||
this.Load += new System.EventHandler(this.AddPortMapForm_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.localNumericUpDown)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.remoteNumericUpDown)).EndInit();
|
||||
|
||||
@@ -117,7 +117,432 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</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>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=">>cancelButton.Name" xml:space="preserve">
|
||||
<value>cancelButton</value>
|
||||
</data>
|
||||
<data name=">>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=">>cancelButton.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>okButton.Name" xml:space="preserve">
|
||||
<value>okButton</value>
|
||||
</data>
|
||||
<data name=">>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=">>okButton.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>localNumericUpDown.Name" xml:space="preserve">
|
||||
<value>localNumericUpDown</value>
|
||||
</data>
|
||||
<data name=">>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=">>localNumericUpDown.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>label1.Name" xml:space="preserve">
|
||||
<value>label1</value>
|
||||
</data>
|
||||
<data name=">>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=">>label1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>nodeComboBox.Name" xml:space="preserve">
|
||||
<value>nodeComboBox</value>
|
||||
</data>
|
||||
<data name=">>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=">>nodeComboBox.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>label2.Name" xml:space="preserve">
|
||||
<value>label2</value>
|
||||
</data>
|
||||
<data name=">>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=">>label2.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>label3.Name" xml:space="preserve">
|
||||
<value>label3</value>
|
||||
</data>
|
||||
<data name=">>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=">>label3.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>remoteNumericUpDown.Name" xml:space="preserve">
|
||||
<value>remoteNumericUpDown</value>
|
||||
</data>
|
||||
<data name=">>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=">>remoteNumericUpDown.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>label4.Name" xml:space="preserve">
|
||||
<value>label4</value>
|
||||
</data>
|
||||
<data name=">>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=">>label4.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>appComboBox.Name" xml:space="preserve">
|
||||
<value>appComboBox</value>
|
||||
</data>
|
||||
<data name=">>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=">>appComboBox.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>label5.Name" xml:space="preserve">
|
||||
<value>label5</value>
|
||||
</data>
|
||||
<data name=">>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=">>label5.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>groupComboBox.Name" xml:space="preserve">
|
||||
<value>groupComboBox</value>
|
||||
</data>
|
||||
<data name=">>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=">>groupComboBox.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>label6.Name" xml:space="preserve">
|
||||
<value>label6</value>
|
||||
</data>
|
||||
<data name=">>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=">>label6.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>tcpRadioButton.Name" xml:space="preserve">
|
||||
<value>tcpRadioButton</value>
|
||||
</data>
|
||||
<data name=">>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=">>tcpRadioButton.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>udpRadioButton.Name" xml:space="preserve">
|
||||
<value>udpRadioButton</value>
|
||||
</data>
|
||||
<data name=">>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=">>udpRadioButton.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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">
|
||||
<value>
|
||||
AAABAA0AMDAQAAEABABoBgAA1gAAACAgEAABAAQA6AIAAD4HAAAYGBAAAQAEAOgBAAAmCgAAEBAQAAEA
|
||||
@@ -1812,4 +2237,16 @@
|
||||
AADAPwAAwD8AAMA/AADAPwAA
|
||||
</value>
|
||||
</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=">>$this.Name" xml:space="preserve">
|
||||
<value>AddPortMapForm</value>
|
||||
</data>
|
||||
<data name=">>$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>
|
||||
124
AddRelayMapForm.Designer.cs
generated
124
AddRelayMapForm.Designer.cs
generated
@@ -52,85 +52,54 @@
|
||||
//
|
||||
// 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.Location = new System.Drawing.Point(288, 193);
|
||||
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.Click += new System.EventHandler(this.cancelButton_Click);
|
||||
//
|
||||
// okButton
|
||||
//
|
||||
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.okButton.Location = new System.Drawing.Point(207, 193);
|
||||
resources.ApplyResources(this.okButton, "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.Click += new System.EventHandler(this.okButton_Click);
|
||||
//
|
||||
// localNumericUpDown
|
||||
//
|
||||
this.localNumericUpDown.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.localNumericUpDown.Location = new System.Drawing.Point(157, 32);
|
||||
resources.ApplyResources(this.localNumericUpDown, "localNumericUpDown");
|
||||
this.localNumericUpDown.Maximum = new decimal(new int[] {
|
||||
65535,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
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
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(12, 34);
|
||||
resources.ApplyResources(this.label1, "label1");
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(55, 13);
|
||||
this.label1.TabIndex = 3;
|
||||
this.label1.Text = "Local Port";
|
||||
//
|
||||
// nodeComboBox
|
||||
//
|
||||
this.nodeComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
resources.ApplyResources(this.nodeComboBox, "nodeComboBox");
|
||||
this.nodeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.nodeComboBox.FormattingEnabled = true;
|
||||
this.nodeComboBox.Location = new System.Drawing.Point(157, 85);
|
||||
this.nodeComboBox.Name = "nodeComboBox";
|
||||
this.nodeComboBox.Size = new System.Drawing.Size(206, 21);
|
||||
this.nodeComboBox.TabIndex = 4;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(12, 88);
|
||||
resources.ApplyResources(this.label2, "label2");
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(71, 13);
|
||||
this.label2.TabIndex = 5;
|
||||
this.label2.Text = "Relay Device";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(12, 167);
|
||||
resources.ApplyResources(this.label3, "label3");
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(66, 13);
|
||||
this.label3.TabIndex = 7;
|
||||
this.label3.Text = "Remote Port";
|
||||
//
|
||||
// remoteNumericUpDown
|
||||
//
|
||||
this.remoteNumericUpDown.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.remoteNumericUpDown.Location = new System.Drawing.Point(157, 165);
|
||||
resources.ApplyResources(this.remoteNumericUpDown, "remoteNumericUpDown");
|
||||
this.remoteNumericUpDown.Maximum = new decimal(new int[] {
|
||||
65535,
|
||||
0,
|
||||
@@ -142,9 +111,6 @@
|
||||
0,
|
||||
0});
|
||||
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[] {
|
||||
80,
|
||||
0,
|
||||
@@ -153,113 +119,74 @@
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(12, 115);
|
||||
resources.ApplyResources(this.label4, "label4");
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(59, 13);
|
||||
this.label4.TabIndex = 9;
|
||||
this.label4.Text = "Application";
|
||||
//
|
||||
// appComboBox
|
||||
//
|
||||
this.appComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
resources.ApplyResources(this.appComboBox, "appComboBox");
|
||||
this.appComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.appComboBox.FormattingEnabled = true;
|
||||
this.appComboBox.Items.AddRange(new object[] {
|
||||
"Custom",
|
||||
"HTTP",
|
||||
"HTTPS",
|
||||
"RDP",
|
||||
"PuTTY",
|
||||
"WinSCP"});
|
||||
this.appComboBox.Location = new System.Drawing.Point(157, 112);
|
||||
resources.GetString("appComboBox.Items"),
|
||||
resources.GetString("appComboBox.Items1"),
|
||||
resources.GetString("appComboBox.Items2"),
|
||||
resources.GetString("appComboBox.Items3"),
|
||||
resources.GetString("appComboBox.Items4"),
|
||||
resources.GetString("appComboBox.Items5")});
|
||||
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);
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(12, 142);
|
||||
resources.ApplyResources(this.label5, "label5");
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(57, 13);
|
||||
this.label5.TabIndex = 10;
|
||||
this.label5.Text = "Remote IP";
|
||||
//
|
||||
// remoteIpTextBox
|
||||
//
|
||||
this.remoteIpTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.remoteIpTextBox.Location = new System.Drawing.Point(157, 139);
|
||||
resources.ApplyResources(this.remoteIpTextBox, "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);
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(12, 61);
|
||||
resources.ApplyResources(this.label6, "label6");
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(73, 13);
|
||||
this.label6.TabIndex = 13;
|
||||
this.label6.Text = "Device Group";
|
||||
//
|
||||
// groupComboBox
|
||||
//
|
||||
this.groupComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
resources.ApplyResources(this.groupComboBox, "groupComboBox");
|
||||
this.groupComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.groupComboBox.FormattingEnabled = true;
|
||||
this.groupComboBox.Location = new System.Drawing.Point(157, 58);
|
||||
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);
|
||||
//
|
||||
// udpRadioButton
|
||||
//
|
||||
this.udpRadioButton.AutoSize = true;
|
||||
this.udpRadioButton.Location = new System.Drawing.Point(209, 9);
|
||||
resources.ApplyResources(this.udpRadioButton, "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;
|
||||
//
|
||||
// tcpRadioButton
|
||||
//
|
||||
this.tcpRadioButton.AutoSize = true;
|
||||
resources.ApplyResources(this.tcpRadioButton, "tcpRadioButton");
|
||||
this.tcpRadioButton.Checked = true;
|
||||
this.tcpRadioButton.Location = new System.Drawing.Point(157, 9);
|
||||
this.tcpRadioButton.Name = "tcpRadioButton";
|
||||
this.tcpRadioButton.Size = new System.Drawing.Size(46, 17);
|
||||
this.tcpRadioButton.TabIndex = 15;
|
||||
this.tcpRadioButton.TabStop = true;
|
||||
this.tcpRadioButton.Text = "TCP";
|
||||
this.tcpRadioButton.UseVisualStyleBackColor = true;
|
||||
this.tcpRadioButton.CheckedChanged += new System.EventHandler(this.tcpRadioButton_CheckedChanged);
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(12, 9);
|
||||
resources.ApplyResources(this.label7, "label7");
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(46, 13);
|
||||
this.label7.TabIndex = 16;
|
||||
this.label7.Text = "Protocol";
|
||||
//
|
||||
// AddRelayMapForm
|
||||
//
|
||||
this.AcceptButton = this.okButton;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.CancelButton = this.cancelButton;
|
||||
this.ClientSize = new System.Drawing.Size(375, 228);
|
||||
this.Controls.Add(this.udpRadioButton);
|
||||
this.Controls.Add(this.tcpRadioButton);
|
||||
this.Controls.Add(this.label7);
|
||||
@@ -278,12 +205,9 @@
|
||||
this.Controls.Add(this.okButton);
|
||||
this.Controls.Add(this.cancelButton);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "AddRelayMapForm";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "Relay Mapping";
|
||||
this.Load += new System.EventHandler(this.AddRelayMapForm_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.localNumericUpDown)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.remoteNumericUpDown)).EndInit();
|
||||
|
||||
@@ -117,7 +117,489 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</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>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=">>cancelButton.Name" xml:space="preserve">
|
||||
<value>cancelButton</value>
|
||||
</data>
|
||||
<data name=">>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=">>cancelButton.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>okButton.Name" xml:space="preserve">
|
||||
<value>okButton</value>
|
||||
</data>
|
||||
<data name=">>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=">>okButton.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>localNumericUpDown.Name" xml:space="preserve">
|
||||
<value>localNumericUpDown</value>
|
||||
</data>
|
||||
<data name=">>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=">>localNumericUpDown.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>label1.Name" xml:space="preserve">
|
||||
<value>label1</value>
|
||||
</data>
|
||||
<data name=">>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=">>label1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>nodeComboBox.Name" xml:space="preserve">
|
||||
<value>nodeComboBox</value>
|
||||
</data>
|
||||
<data name=">>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=">>nodeComboBox.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>label2.Name" xml:space="preserve">
|
||||
<value>label2</value>
|
||||
</data>
|
||||
<data name=">>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=">>label2.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>label3.Name" xml:space="preserve">
|
||||
<value>label3</value>
|
||||
</data>
|
||||
<data name=">>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=">>label3.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>remoteNumericUpDown.Name" xml:space="preserve">
|
||||
<value>remoteNumericUpDown</value>
|
||||
</data>
|
||||
<data name=">>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=">>remoteNumericUpDown.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>label4.Name" xml:space="preserve">
|
||||
<value>label4</value>
|
||||
</data>
|
||||
<data name=">>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=">>label4.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>appComboBox.Name" xml:space="preserve">
|
||||
<value>appComboBox</value>
|
||||
</data>
|
||||
<data name=">>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=">>appComboBox.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>label5.Name" xml:space="preserve">
|
||||
<value>label5</value>
|
||||
</data>
|
||||
<data name=">>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=">>label5.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>remoteIpTextBox.Name" xml:space="preserve">
|
||||
<value>remoteIpTextBox</value>
|
||||
</data>
|
||||
<data name=">>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=">>remoteIpTextBox.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>label6.Name" xml:space="preserve">
|
||||
<value>label6</value>
|
||||
</data>
|
||||
<data name=">>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=">>label6.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>groupComboBox.Name" xml:space="preserve">
|
||||
<value>groupComboBox</value>
|
||||
</data>
|
||||
<data name=">>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=">>groupComboBox.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>udpRadioButton.Name" xml:space="preserve">
|
||||
<value>udpRadioButton</value>
|
||||
</data>
|
||||
<data name=">>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=">>udpRadioButton.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>tcpRadioButton.Name" xml:space="preserve">
|
||||
<value>tcpRadioButton</value>
|
||||
</data>
|
||||
<data name=">>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=">>tcpRadioButton.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>label7.Name" xml:space="preserve">
|
||||
<value>label7</value>
|
||||
</data>
|
||||
<data name=">>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=">>label7.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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">
|
||||
<value>
|
||||
AAABAA0AMDAQAAEABABoBgAA1gAAACAgEAABAAQA6AIAAD4HAAAYGBAAAQAEAOgBAAAmCgAAEBAQAAEA
|
||||
@@ -1812,4 +2294,16 @@
|
||||
AADAPwAAwD8AAMA/AADAPwAA
|
||||
</value>
|
||||
</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=">>$this.Name" xml:space="preserve">
|
||||
<value>AddRelayMapForm</value>
|
||||
</data>
|
||||
<data name=">>$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>
|
||||
125
AppLaunchForm.Designer.cs
generated
125
AppLaunchForm.Designer.cs
generated
@@ -32,45 +32,35 @@
|
||||
this.cancelButton = new System.Windows.Forms.Button();
|
||||
this.okButton = new System.Windows.Forms.Button();
|
||||
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.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.SuspendLayout();
|
||||
//
|
||||
// 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.Location = new System.Drawing.Point(323, 128);
|
||||
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.Click += new System.EventHandler(this.cancelButton_Click);
|
||||
//
|
||||
// okButton
|
||||
//
|
||||
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.okButton.Location = new System.Drawing.Point(242, 128);
|
||||
resources.ApplyResources(this.okButton, "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.Click += new System.EventHandler(this.okButton_Click);
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
resources.ApplyResources(this.groupBox1, "groupBox1");
|
||||
this.groupBox1.Controls.Add(this.folderButton);
|
||||
this.groupBox1.Controls.Add(this.appNameLabel);
|
||||
this.groupBox1.Controls.Add(this.appLinkLabel);
|
||||
@@ -78,101 +68,68 @@
|
||||
this.groupBox1.Controls.Add(this.label3);
|
||||
this.groupBox1.Controls.Add(this.label2);
|
||||
this.groupBox1.Controls.Add(this.label1);
|
||||
this.groupBox1.Location = new System.Drawing.Point(12, 12);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(386, 110);
|
||||
this.groupBox1.TabIndex = 2;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "Application Launch";
|
||||
//
|
||||
// label1
|
||||
// folderButton
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(12, 25);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(35, 13);
|
||||
this.label1.TabIndex = 0;
|
||||
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";
|
||||
resources.ApplyResources(this.folderButton, "folderButton");
|
||||
this.folderButton.Image = global::MeshCentralRouter.Properties.Resources.Folder36;
|
||||
this.folderButton.Name = "folderButton";
|
||||
this.folderButton.UseVisualStyleBackColor = true;
|
||||
this.folderButton.Click += new System.EventHandler(this.folderPictureBox_Click);
|
||||
//
|
||||
// appNameLabel
|
||||
//
|
||||
this.appNameLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.appNameLabel.Location = new System.Drawing.Point(83, 25);
|
||||
resources.ApplyResources(this.appNameLabel, "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
|
||||
//
|
||||
this.appLinkLabel.Location = new System.Drawing.Point(83, 49);
|
||||
resources.ApplyResources(this.appLinkLabel, "appLinkLabel");
|
||||
this.appLinkLabel.Name = "appLinkLabel";
|
||||
this.appLinkLabel.Size = new System.Drawing.Size(238, 16);
|
||||
this.appLinkLabel.TabIndex = 4;
|
||||
this.appLinkLabel.TabStop = true;
|
||||
this.appLinkLabel.Text = "Application Link";
|
||||
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
|
||||
//
|
||||
this.openFileDialog.DefaultExt = "exe";
|
||||
this.openFileDialog.Filter = "Executable (*.exe)|*.exe";
|
||||
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);
|
||||
resources.ApplyResources(this.openFileDialog, "openFileDialog");
|
||||
//
|
||||
// AppLaunchForm
|
||||
//
|
||||
this.AcceptButton = this.okButton;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.CancelButton = this.cancelButton;
|
||||
this.ClientSize = new System.Drawing.Size(410, 163);
|
||||
this.Controls.Add(this.groupBox1);
|
||||
this.Controls.Add(this.okButton);
|
||||
this.Controls.Add(this.cancelButton);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "AppLaunchForm";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "MeshCentral Router";
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
@@ -117,10 +117,285 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</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=">>cancelButton.Name" xml:space="preserve">
|
||||
<value>cancelButton</value>
|
||||
</data>
|
||||
<data name=">>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=">>cancelButton.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>okButton.Name" xml:space="preserve">
|
||||
<value>okButton</value>
|
||||
</data>
|
||||
<data name=">>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=">>okButton.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>folderButton.Name" xml:space="preserve">
|
||||
<value>folderButton</value>
|
||||
</data>
|
||||
<data name=">>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=">>folderButton.Parent" xml:space="preserve">
|
||||
<value>groupBox1</value>
|
||||
</data>
|
||||
<data name=">>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=">>appNameLabel.Name" xml:space="preserve">
|
||||
<value>appNameLabel</value>
|
||||
</data>
|
||||
<data name=">>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=">>appNameLabel.Parent" xml:space="preserve">
|
||||
<value>groupBox1</value>
|
||||
</data>
|
||||
<data name=">>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=">>appLinkLabel.Name" xml:space="preserve">
|
||||
<value>appLinkLabel</value>
|
||||
</data>
|
||||
<data name=">>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=">>appLinkLabel.Parent" xml:space="preserve">
|
||||
<value>groupBox1</value>
|
||||
</data>
|
||||
<data name=">>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=">>appPathTextBox.Name" xml:space="preserve">
|
||||
<value>appPathTextBox</value>
|
||||
</data>
|
||||
<data name=">>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=">>appPathTextBox.Parent" xml:space="preserve">
|
||||
<value>groupBox1</value>
|
||||
</data>
|
||||
<data name=">>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=">>label3.Name" xml:space="preserve">
|
||||
<value>label3</value>
|
||||
</data>
|
||||
<data name=">>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=">>label3.Parent" xml:space="preserve">
|
||||
<value>groupBox1</value>
|
||||
</data>
|
||||
<data name=">>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=">>label2.Name" xml:space="preserve">
|
||||
<value>label2</value>
|
||||
</data>
|
||||
<data name=">>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=">>label2.Parent" xml:space="preserve">
|
||||
<value>groupBox1</value>
|
||||
</data>
|
||||
<data name=">>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=">>label1.Name" xml:space="preserve">
|
||||
<value>label1</value>
|
||||
</data>
|
||||
<data name=">>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=">>label1.Parent" xml:space="preserve">
|
||||
<value>groupBox1</value>
|
||||
</data>
|
||||
<data name=">>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=">>groupBox1.Name" xml:space="preserve">
|
||||
<value>groupBox1</value>
|
||||
</data>
|
||||
<data name=">>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=">>groupBox1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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">
|
||||
<value>17, 17</value>
|
||||
</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">
|
||||
<value>
|
||||
AAABAA0AMDAQAAEABABoBgAA1gAAACAgEAABAAQA6AIAAD4HAAAYGBAAAQAEAOgBAAAmCgAAEBAQAAEA
|
||||
@@ -1815,4 +2090,22 @@
|
||||
AADAPwAAwD8AAMA/AADAPwAA
|
||||
</value>
|
||||
</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=">>openFileDialog.Name" xml:space="preserve">
|
||||
<value>openFileDialog</value>
|
||||
</data>
|
||||
<data name=">>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=">>$this.Name" xml:space="preserve">
|
||||
<value>AppLaunchForm</value>
|
||||
</data>
|
||||
<data name=">>$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>
|
||||
38
InstallForm.Designer.cs
generated
38
InstallForm.Designer.cs
generated
@@ -41,75 +41,49 @@
|
||||
// pictureBox1
|
||||
//
|
||||
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.Size = new System.Drawing.Size(250, 184);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
||||
this.pictureBox1.TabIndex = 0;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// 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.Location = new System.Drawing.Point(200, 300);
|
||||
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.Click += new System.EventHandler(this.cancelButton_Click);
|
||||
//
|
||||
// okButton
|
||||
//
|
||||
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.okButton.Location = new System.Drawing.Point(119, 300);
|
||||
resources.ApplyResources(this.okButton, "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.Click += new System.EventHandler(this.okButton_Click);
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
resources.ApplyResources(this.groupBox1, "groupBox1");
|
||||
this.groupBox1.Controls.Add(this.label1);
|
||||
this.groupBox1.Controls.Add(this.pictureBox1);
|
||||
this.groupBox1.Location = new System.Drawing.Point(12, 12);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(263, 282);
|
||||
this.groupBox1.TabIndex = 3;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "MeshCentral Router Installation";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Location = new System.Drawing.Point(6, 219);
|
||||
resources.ApplyResources(this.label1, "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
|
||||
//
|
||||
this.AcceptButton = this.okButton;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.CancelButton = this.cancelButton;
|
||||
this.ClientSize = new System.Drawing.Size(287, 335);
|
||||
this.Controls.Add(this.groupBox1);
|
||||
this.Controls.Add(this.okButton);
|
||||
this.Controls.Add(this.cancelButton);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "InstallForm";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "Installation";
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
|
||||
152
InstallForm.resx
152
InstallForm.resx
@@ -118,6 +118,146 @@
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<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=">>pictureBox1.Name" xml:space="preserve">
|
||||
<value>pictureBox1</value>
|
||||
</data>
|
||||
<data name=">>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=">>pictureBox1.Parent" xml:space="preserve">
|
||||
<value>groupBox1</value>
|
||||
</data>
|
||||
<data name=">>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=">>cancelButton.Name" xml:space="preserve">
|
||||
<value>cancelButton</value>
|
||||
</data>
|
||||
<data name=">>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=">>cancelButton.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>okButton.Name" xml:space="preserve">
|
||||
<value>okButton</value>
|
||||
</data>
|
||||
<data name=">>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=">>okButton.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>label1.Name" xml:space="preserve">
|
||||
<value>label1</value>
|
||||
</data>
|
||||
<data name=">>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=">>label1.Parent" xml:space="preserve">
|
||||
<value>groupBox1</value>
|
||||
</data>
|
||||
<data name=">>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=">>groupBox1.Name" xml:space="preserve">
|
||||
<value>groupBox1</value>
|
||||
</data>
|
||||
<data name=">>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=">>groupBox1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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">
|
||||
<value>
|
||||
AAABAA0AMDAQAAEABABoBgAA1gAAACAgEAABAAQA6AIAAD4HAAAYGBAAAQAEAOgBAAAmCgAAEBAQAAEA
|
||||
@@ -1812,4 +1952,16 @@
|
||||
AADAPwAAwD8AAMA/AADAPwAA
|
||||
</value>
|
||||
</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=">>$this.Name" xml:space="preserve">
|
||||
<value>InstallForm</value>
|
||||
</data>
|
||||
<data name=">>$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>
|
||||
464
MainForm.Designer.cs
generated
464
MainForm.Designer.cs
generated
@@ -47,7 +47,6 @@
|
||||
this.versionLabel = new System.Windows.Forms.Label();
|
||||
this.nextButton1 = new System.Windows.Forms.Button();
|
||||
this.pictureBox3 = new System.Windows.Forms.PictureBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||
this.tabPage2 = new System.Windows.Forms.TabPage();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
@@ -105,6 +104,7 @@
|
||||
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.installTimer = new System.Windows.Forms.Timer(this.components);
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.panel5.SuspendLayout();
|
||||
this.mainPanel.SuspendLayout();
|
||||
this.mainTabControl.SuspendLayout();
|
||||
@@ -138,46 +138,30 @@
|
||||
//
|
||||
this.panel5.Controls.Add(this.mainPanel);
|
||||
this.panel5.Controls.Add(this.pictureBox1);
|
||||
this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel5.Location = new System.Drawing.Point(0, 0);
|
||||
resources.ApplyResources(this.panel5, "panel5");
|
||||
this.panel5.Name = "panel5";
|
||||
this.panel5.Size = new System.Drawing.Size(492, 416);
|
||||
this.panel5.TabIndex = 8;
|
||||
//
|
||||
// mainPanel
|
||||
//
|
||||
this.mainPanel.Controls.Add(this.mainTabControl);
|
||||
this.mainPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.mainPanel.Location = new System.Drawing.Point(0, 65);
|
||||
resources.ApplyResources(this.mainPanel, "mainPanel");
|
||||
this.mainPanel.Name = "mainPanel";
|
||||
this.mainPanel.Size = new System.Drawing.Size(492, 351);
|
||||
this.mainPanel.TabIndex = 9;
|
||||
//
|
||||
// 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.tabPage2);
|
||||
this.mainTabControl.Controls.Add(this.tabPage3);
|
||||
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.SelectedIndex = 0;
|
||||
this.mainTabControl.Size = new System.Drawing.Size(492, 351);
|
||||
this.mainTabControl.TabIndex = 8;
|
||||
this.mainTabControl.Visible = false;
|
||||
//
|
||||
// tabPage1
|
||||
//
|
||||
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.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;
|
||||
//
|
||||
// panel1
|
||||
@@ -196,184 +180,102 @@
|
||||
this.panel1.Controls.Add(this.pictureBox3);
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Controls.Add(this.pictureBox2);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel1.Location = new System.Drawing.Point(3, 3);
|
||||
resources.ApplyResources(this.panel1, "panel1");
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(478, 316);
|
||||
this.panel1.TabIndex = 6;
|
||||
//
|
||||
// installButton
|
||||
//
|
||||
this.installButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.installButton.Location = new System.Drawing.Point(6, 285);
|
||||
resources.ApplyResources(this.installButton, "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.Visible = false;
|
||||
this.installButton.Click += new System.EventHandler(this.installButton_Click);
|
||||
//
|
||||
// stateLabel
|
||||
//
|
||||
this.stateLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| 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)));
|
||||
resources.ApplyResources(this.stateLabel, "stateLabel");
|
||||
this.stateLabel.ForeColor = System.Drawing.Color.Red;
|
||||
this.stateLabel.Location = new System.Drawing.Point(241, 225);
|
||||
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
|
||||
//
|
||||
this.label28.AutoSize = true;
|
||||
this.label28.Location = new System.Drawing.Point(238, 176);
|
||||
resources.ApplyResources(this.label28, "label28");
|
||||
this.label28.Name = "label28";
|
||||
this.label28.Size = new System.Drawing.Size(53, 13);
|
||||
this.label28.TabIndex = 18;
|
||||
this.label28.Text = "Password";
|
||||
//
|
||||
// label27
|
||||
//
|
||||
this.label27.AutoSize = true;
|
||||
this.label27.Location = new System.Drawing.Point(238, 135);
|
||||
resources.ApplyResources(this.label27, "label27");
|
||||
this.label27.Name = "label27";
|
||||
this.label27.Size = new System.Drawing.Size(55, 13);
|
||||
this.label27.TabIndex = 17;
|
||||
this.label27.Text = "Username";
|
||||
//
|
||||
// label26
|
||||
//
|
||||
this.label26.AutoSize = true;
|
||||
this.label26.Location = new System.Drawing.Point(238, 92);
|
||||
resources.ApplyResources(this.label26, "label26");
|
||||
this.label26.Name = "label26";
|
||||
this.label26.Size = new System.Drawing.Size(38, 13);
|
||||
this.label26.TabIndex = 16;
|
||||
this.label26.Text = "Server";
|
||||
//
|
||||
// passwordTextBox
|
||||
//
|
||||
this.passwordTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.passwordTextBox.Location = new System.Drawing.Point(241, 192);
|
||||
resources.ApplyResources(this.passwordTextBox, "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.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.passwordTextBox_KeyPress);
|
||||
//
|
||||
// serverNameComboBox
|
||||
//
|
||||
this.serverNameComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
resources.ApplyResources(this.serverNameComboBox, "serverNameComboBox");
|
||||
this.serverNameComboBox.DisplayMember = "meshcentral.com";
|
||||
this.serverNameComboBox.FormattingEnabled = true;
|
||||
this.serverNameComboBox.Items.AddRange(new object[] {
|
||||
"meshcentral.com"});
|
||||
this.serverNameComboBox.Location = new System.Drawing.Point(241, 110);
|
||||
resources.GetString("serverNameComboBox.Items")});
|
||||
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.TextChanged += new System.EventHandler(this.updatePanel1);
|
||||
this.serverNameComboBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.serverNameComboBox_KeyPress);
|
||||
//
|
||||
// userNameTextBox
|
||||
//
|
||||
this.userNameTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.userNameTextBox.Location = new System.Drawing.Point(241, 151);
|
||||
resources.ApplyResources(this.userNameTextBox, "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.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.userNameTextBox_KeyPress);
|
||||
//
|
||||
// licenseLinkLabel
|
||||
//
|
||||
this.licenseLinkLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.licenseLinkLabel.AutoSize = true;
|
||||
this.licenseLinkLabel.Location = new System.Drawing.Point(307, 260);
|
||||
resources.ApplyResources(this.licenseLinkLabel, "licenseLinkLabel");
|
||||
this.licenseLinkLabel.Name = "licenseLinkLabel";
|
||||
this.licenseLinkLabel.Size = new System.Drawing.Size(171, 13);
|
||||
this.licenseLinkLabel.TabIndex = 12;
|
||||
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);
|
||||
//
|
||||
// versionLabel
|
||||
//
|
||||
this.versionLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.versionLabel.AutoSize = true;
|
||||
resources.ApplyResources(this.versionLabel, "versionLabel");
|
||||
this.versionLabel.ForeColor = System.Drawing.Color.Gray;
|
||||
this.versionLabel.Location = new System.Drawing.Point(3, 260);
|
||||
this.versionLabel.Name = "versionLabel";
|
||||
this.versionLabel.Size = new System.Drawing.Size(37, 13);
|
||||
this.versionLabel.TabIndex = 11;
|
||||
this.versionLabel.Text = "v0.8.0";
|
||||
//
|
||||
// nextButton1
|
||||
//
|
||||
this.nextButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.nextButton1.Location = new System.Drawing.Point(391, 285);
|
||||
resources.ApplyResources(this.nextButton1, "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.Click += new System.EventHandler(this.nextButton1_Click);
|
||||
//
|
||||
// pictureBox3
|
||||
//
|
||||
this.pictureBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pictureBox3.Image = global::MeshCentralRouter.Properties.Resources.Empty_Banner;
|
||||
this.pictureBox3.Location = new System.Drawing.Point(0, 276);
|
||||
resources.ApplyResources(this.pictureBox3, "pictureBox3");
|
||||
this.pictureBox3.Image = global::MeshCentralRouter.Properties.Resources.EmptyBanner;
|
||||
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;
|
||||
//
|
||||
// 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
|
||||
//
|
||||
this.pictureBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
resources.ApplyResources(this.pictureBox2, "pictureBox2");
|
||||
this.pictureBox2.Image = global::MeshCentralRouter.Properties.Resources.MeshCentral;
|
||||
this.pictureBox2.Location = new System.Drawing.Point(15, 68);
|
||||
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;
|
||||
//
|
||||
// tabPage2
|
||||
//
|
||||
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.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;
|
||||
//
|
||||
// panel2
|
||||
@@ -388,130 +290,79 @@
|
||||
this.panel2.Controls.Add(this.nextButton2);
|
||||
this.panel2.Controls.Add(this.pictureBox4);
|
||||
this.panel2.Controls.Add(this.label2);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel2.Location = new System.Drawing.Point(3, 3);
|
||||
resources.ApplyResources(this.panel2, "panel2");
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(478, 316);
|
||||
this.panel2.TabIndex = 7;
|
||||
//
|
||||
// smsTokenButton
|
||||
//
|
||||
this.smsTokenButton.Location = new System.Drawing.Point(322, 177);
|
||||
resources.ApplyResources(this.smsTokenButton, "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.Visible = false;
|
||||
this.smsTokenButton.Click += new System.EventHandler(this.smsTokenButton_Click);
|
||||
//
|
||||
// tokenEmailSentLabel
|
||||
//
|
||||
this.tokenEmailSentLabel.AutoSize = true;
|
||||
this.tokenEmailSentLabel.Location = new System.Drawing.Point(238, 182);
|
||||
resources.ApplyResources(this.tokenEmailSentLabel, "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
|
||||
//
|
||||
this.emailTokenButton.Location = new System.Drawing.Point(241, 177);
|
||||
resources.ApplyResources(this.emailTokenButton, "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.Visible = false;
|
||||
this.emailTokenButton.Click += new System.EventHandler(this.emailTokenButton_Click);
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(238, 135);
|
||||
resources.ApplyResources(this.label3, "label3");
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(38, 13);
|
||||
this.label3.TabIndex = 19;
|
||||
this.label3.Text = "Token";
|
||||
//
|
||||
// tokenTextBox
|
||||
//
|
||||
this.tokenTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tokenTextBox.Location = new System.Drawing.Point(241, 151);
|
||||
resources.ApplyResources(this.tokenTextBox, "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.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tokenTextBox_KeyPress);
|
||||
this.tokenTextBox.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tokenTextBox_KeyUp);
|
||||
//
|
||||
// pictureBox6
|
||||
//
|
||||
this.pictureBox6.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
resources.ApplyResources(this.pictureBox6, "pictureBox6");
|
||||
this.pictureBox6.Image = global::MeshCentralRouter.Properties.Resources.MeshCentral;
|
||||
this.pictureBox6.Location = new System.Drawing.Point(15, 68);
|
||||
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;
|
||||
//
|
||||
// backButton2
|
||||
//
|
||||
this.backButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.backButton2.Location = new System.Drawing.Point(310, 285);
|
||||
resources.ApplyResources(this.backButton2, "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.Click += new System.EventHandler(this.backButton2_Click);
|
||||
//
|
||||
// nextButton2
|
||||
//
|
||||
this.nextButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.nextButton2.Location = new System.Drawing.Point(391, 285);
|
||||
resources.ApplyResources(this.nextButton2, "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.Click += new System.EventHandler(this.nextButton2_Click);
|
||||
//
|
||||
// pictureBox4
|
||||
//
|
||||
this.pictureBox4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pictureBox4.Image = global::MeshCentralRouter.Properties.Resources.Empty_Banner;
|
||||
this.pictureBox4.Location = new System.Drawing.Point(0, 276);
|
||||
resources.ApplyResources(this.pictureBox4, "pictureBox4");
|
||||
this.pictureBox4.Image = global::MeshCentralRouter.Properties.Resources.EmptyBanner;
|
||||
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;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label2.Location = new System.Drawing.Point(12, 9);
|
||||
resources.ApplyResources(this.label2, "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
|
||||
//
|
||||
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.Size = new System.Drawing.Size(484, 322);
|
||||
this.tabPage3.TabIndex = 2;
|
||||
this.tabPage3.Text = "Certificate";
|
||||
this.tabPage3.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// panel3
|
||||
@@ -523,103 +374,61 @@
|
||||
this.panel3.Controls.Add(this.backButton3);
|
||||
this.panel3.Controls.Add(this.nextButton3);
|
||||
this.panel3.Controls.Add(this.pictureBox5);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel3.Location = new System.Drawing.Point(0, 0);
|
||||
resources.ApplyResources(this.panel3, "panel3");
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(484, 322);
|
||||
this.panel3.TabIndex = 8;
|
||||
//
|
||||
// certDetailsTextBox
|
||||
//
|
||||
this.certDetailsTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.certDetailsTextBox.Location = new System.Drawing.Point(15, 82);
|
||||
this.certDetailsTextBox.Multiline = true;
|
||||
resources.ApplyResources(this.certDetailsTextBox, "certDetailsTextBox");
|
||||
this.certDetailsTextBox.Name = "certDetailsTextBox";
|
||||
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
|
||||
//
|
||||
this.certDetailsButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.certDetailsButton.Location = new System.Drawing.Point(14, 251);
|
||||
resources.ApplyResources(this.certDetailsButton, "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.Click += new System.EventHandler(this.certDetailsButton_Click);
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
resources.ApplyResources(this.label4, "label4");
|
||||
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.Location = new System.Drawing.Point(8, 6);
|
||||
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
|
||||
//
|
||||
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label5.Location = new System.Drawing.Point(12, 34);
|
||||
resources.ApplyResources(this.label5, "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
|
||||
//
|
||||
this.backButton3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.backButton3.Location = new System.Drawing.Point(316, 291);
|
||||
resources.ApplyResources(this.backButton3, "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.Click += new System.EventHandler(this.backButton3_Click);
|
||||
//
|
||||
// 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.Location = new System.Drawing.Point(397, 291);
|
||||
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.Click += new System.EventHandler(this.nextButton3_Click);
|
||||
//
|
||||
// pictureBox5
|
||||
//
|
||||
this.pictureBox5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pictureBox5.Image = global::MeshCentralRouter.Properties.Resources.Empty_Banner;
|
||||
this.pictureBox5.Location = new System.Drawing.Point(0, 282);
|
||||
resources.ApplyResources(this.pictureBox5, "pictureBox5");
|
||||
this.pictureBox5.Image = global::MeshCentralRouter.Properties.Resources.EmptyBanner;
|
||||
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;
|
||||
//
|
||||
// tabPage5
|
||||
//
|
||||
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.Size = new System.Drawing.Size(484, 322);
|
||||
this.tabPage5.TabIndex = 4;
|
||||
this.tabPage5.Text = "Mappings";
|
||||
this.tabPage5.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// panel4
|
||||
@@ -631,24 +440,15 @@
|
||||
this.panel4.Controls.Add(this.backButton5);
|
||||
this.panel4.Controls.Add(this.nextButton5);
|
||||
this.panel4.Controls.Add(this.pictureBox7);
|
||||
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel4.Location = new System.Drawing.Point(0, 0);
|
||||
resources.ApplyResources(this.panel4, "panel4");
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Size = new System.Drawing.Size(484, 322);
|
||||
this.panel4.TabIndex = 8;
|
||||
//
|
||||
// menuLabel
|
||||
//
|
||||
this.menuLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.menuLabel.AutoSize = true;
|
||||
resources.ApplyResources(this.menuLabel, "menuLabel");
|
||||
this.menuLabel.ContextMenuStrip = this.mainContextMenuStrip;
|
||||
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.Size = new System.Drawing.Size(25, 25);
|
||||
this.menuLabel.TabIndex = 6;
|
||||
this.menuLabel.Text = "≡";
|
||||
this.menuLabel.Click += new System.EventHandler(this.menuLabel_Click);
|
||||
//
|
||||
// mainContextMenuStrip
|
||||
@@ -660,120 +460,82 @@
|
||||
this.sortByNameToolStripMenuItem,
|
||||
this.sortByGroupToolStripMenuItem});
|
||||
this.mainContextMenuStrip.Name = "mainContextMenuStrip";
|
||||
this.mainContextMenuStrip.Size = new System.Drawing.Size(186, 98);
|
||||
resources.ApplyResources(this.mainContextMenuStrip, "mainContextMenuStrip");
|
||||
//
|
||||
// showGroupNamesToolStripMenuItem
|
||||
//
|
||||
this.showGroupNamesToolStripMenuItem.Checked = true;
|
||||
this.showGroupNamesToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.showGroupNamesToolStripMenuItem.Name = "showGroupNamesToolStripMenuItem";
|
||||
this.showGroupNamesToolStripMenuItem.Size = new System.Drawing.Size(185, 22);
|
||||
this.showGroupNamesToolStripMenuItem.Text = "Show &Group Names";
|
||||
resources.ApplyResources(this.showGroupNamesToolStripMenuItem, "showGroupNamesToolStripMenuItem");
|
||||
this.showGroupNamesToolStripMenuItem.Click += new System.EventHandler(this.showGroupNamesToolStripMenuItem_Click);
|
||||
//
|
||||
// showOfflineDevicesToolStripMenuItem
|
||||
//
|
||||
this.showOfflineDevicesToolStripMenuItem.Name = "showOfflineDevicesToolStripMenuItem";
|
||||
this.showOfflineDevicesToolStripMenuItem.Size = new System.Drawing.Size(185, 22);
|
||||
this.showOfflineDevicesToolStripMenuItem.Text = "Show &Offline Devices";
|
||||
resources.ApplyResources(this.showOfflineDevicesToolStripMenuItem, "showOfflineDevicesToolStripMenuItem");
|
||||
this.showOfflineDevicesToolStripMenuItem.Click += new System.EventHandler(this.hideOfflineDevicesToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripMenuItem2
|
||||
//
|
||||
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
|
||||
this.toolStripMenuItem2.Size = new System.Drawing.Size(182, 6);
|
||||
resources.ApplyResources(this.toolStripMenuItem2, "toolStripMenuItem2");
|
||||
//
|
||||
// sortByNameToolStripMenuItem
|
||||
//
|
||||
this.sortByNameToolStripMenuItem.Checked = true;
|
||||
this.sortByNameToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.sortByNameToolStripMenuItem.Name = "sortByNameToolStripMenuItem";
|
||||
this.sortByNameToolStripMenuItem.Size = new System.Drawing.Size(185, 22);
|
||||
this.sortByNameToolStripMenuItem.Text = "Sort by &Name";
|
||||
resources.ApplyResources(this.sortByNameToolStripMenuItem, "sortByNameToolStripMenuItem");
|
||||
this.sortByNameToolStripMenuItem.Click += new System.EventHandler(this.sortByNameToolStripMenuItem_Click);
|
||||
//
|
||||
// sortByGroupToolStripMenuItem
|
||||
//
|
||||
this.sortByGroupToolStripMenuItem.Name = "sortByGroupToolStripMenuItem";
|
||||
this.sortByGroupToolStripMenuItem.Size = new System.Drawing.Size(185, 22);
|
||||
this.sortByGroupToolStripMenuItem.Text = "Sort by G&roup";
|
||||
resources.ApplyResources(this.sortByGroupToolStripMenuItem, "sortByGroupToolStripMenuItem");
|
||||
this.sortByGroupToolStripMenuItem.Click += new System.EventHandler(this.sortByGroupToolStripMenuItem_Click);
|
||||
//
|
||||
// searchTextBox
|
||||
//
|
||||
this.searchTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.searchTextBox.Location = new System.Drawing.Point(306, 5);
|
||||
resources.ApplyResources(this.searchTextBox, "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.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.searchTextBox_KeyPress);
|
||||
//
|
||||
// devicesTabControl
|
||||
//
|
||||
this.devicesTabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.devicesTabControl.Appearance = System.Windows.Forms.TabAppearance.FlatButtons;
|
||||
resources.ApplyResources(this.devicesTabControl, "devicesTabControl");
|
||||
this.devicesTabControl.Controls.Add(this.devicesTabPage);
|
||||
this.devicesTabControl.Controls.Add(this.portMapTabPage);
|
||||
this.devicesTabControl.Location = new System.Drawing.Point(3, 3);
|
||||
this.devicesTabControl.Name = "devicesTabControl";
|
||||
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);
|
||||
//
|
||||
// devicesTabPage
|
||||
//
|
||||
this.devicesTabPage.BackColor = System.Drawing.SystemColors.Control;
|
||||
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.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
|
||||
//
|
||||
this.devicesPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.devicesPanel.AutoScroll = true;
|
||||
resources.ApplyResources(this.devicesPanel, "devicesPanel");
|
||||
this.devicesPanel.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
this.devicesPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.devicesPanel.Controls.Add(this.noSearchResultsLabel);
|
||||
this.devicesPanel.Controls.Add(this.noDevicesLabel);
|
||||
this.devicesPanel.Location = new System.Drawing.Point(0, 0);
|
||||
this.devicesPanel.Name = "devicesPanel";
|
||||
this.devicesPanel.Size = new System.Drawing.Size(470, 244);
|
||||
this.devicesPanel.TabIndex = 50;
|
||||
//
|
||||
// noSearchResultsLabel
|
||||
//
|
||||
this.noSearchResultsLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| 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);
|
||||
resources.ApplyResources(this.noSearchResultsLabel, "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
|
||||
//
|
||||
this.noDevicesLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| 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);
|
||||
resources.ApplyResources(this.noDevicesLabel, "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
|
||||
//
|
||||
@@ -783,141 +545,85 @@
|
||||
this.portMapTabPage.Controls.Add(this.helpPictureBox);
|
||||
this.portMapTabPage.Controls.Add(this.addButton);
|
||||
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.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
|
||||
//
|
||||
this.mapPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.mapPanel.AutoScroll = true;
|
||||
resources.ApplyResources(this.mapPanel, "mapPanel");
|
||||
this.mapPanel.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
this.mapPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.mapPanel.Controls.Add(this.noMapLabel);
|
||||
this.mapPanel.Location = new System.Drawing.Point(0, 0);
|
||||
this.mapPanel.Name = "mapPanel";
|
||||
this.mapPanel.Size = new System.Drawing.Size(470, 214);
|
||||
this.mapPanel.TabIndex = 49;
|
||||
//
|
||||
// noMapLabel
|
||||
//
|
||||
this.noMapLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| 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);
|
||||
resources.ApplyResources(this.noMapLabel, "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
|
||||
//
|
||||
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.Image = ((System.Drawing.Image)(resources.GetObject("settingsPictureBox.Image")));
|
||||
this.settingsPictureBox.Location = new System.Drawing.Point(1, 220);
|
||||
this.settingsPictureBox.Name = "settingsPictureBox";
|
||||
this.settingsPictureBox.Size = new System.Drawing.Size(20, 20);
|
||||
this.settingsPictureBox.TabIndex = 54;
|
||||
this.settingsPictureBox.TabStop = false;
|
||||
this.settingsPictureBox.Click += new System.EventHandler(this.settingsPictureBox_Click);
|
||||
//
|
||||
// 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.Image = ((System.Drawing.Image)(resources.GetObject("helpPictureBox.Image")));
|
||||
this.helpPictureBox.Location = new System.Drawing.Point(238, 220);
|
||||
this.helpPictureBox.Name = "helpPictureBox";
|
||||
this.helpPictureBox.Size = new System.Drawing.Size(20, 20);
|
||||
this.helpPictureBox.TabIndex = 5;
|
||||
this.helpPictureBox.TabStop = false;
|
||||
this.helpPictureBox.Click += new System.EventHandler(this.helpPictureBox_Click);
|
||||
//
|
||||
// addButton
|
||||
//
|
||||
this.addButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.addButton.Enabled = false;
|
||||
this.addButton.Location = new System.Drawing.Point(370, 218);
|
||||
resources.ApplyResources(this.addButton, "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.Click += new System.EventHandler(this.addButton_Click);
|
||||
//
|
||||
// addRelayButton
|
||||
//
|
||||
this.addRelayButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.addRelayButton.Enabled = false;
|
||||
this.addRelayButton.Location = new System.Drawing.Point(264, 218);
|
||||
resources.ApplyResources(this.addRelayButton, "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.Click += new System.EventHandler(this.addRelayMapButton_Click);
|
||||
//
|
||||
// openWebSiteButton
|
||||
//
|
||||
this.openWebSiteButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.openWebSiteButton.Location = new System.Drawing.Point(15, 291);
|
||||
resources.ApplyResources(this.openWebSiteButton, "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.Visible = false;
|
||||
this.openWebSiteButton.Click += new System.EventHandler(this.openWebSiteButton_Click);
|
||||
//
|
||||
// backButton5
|
||||
//
|
||||
this.backButton5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.backButton5.Location = new System.Drawing.Point(316, 291);
|
||||
resources.ApplyResources(this.backButton5, "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.Click += new System.EventHandler(this.backButton5_Click);
|
||||
//
|
||||
// nextButton5
|
||||
//
|
||||
this.nextButton5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.nextButton5.Location = new System.Drawing.Point(397, 291);
|
||||
resources.ApplyResources(this.nextButton5, "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.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
|
||||
//
|
||||
// pictureBox7
|
||||
//
|
||||
this.pictureBox7.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pictureBox7.Image = global::MeshCentralRouter.Properties.Resources.Empty_Banner;
|
||||
this.pictureBox7.Location = new System.Drawing.Point(0, 282);
|
||||
resources.ApplyResources(this.pictureBox7, "pictureBox7");
|
||||
this.pictureBox7.Image = global::MeshCentralRouter.Properties.Resources.EmptyBanner;
|
||||
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;
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.pictureBox1.Image = global::MeshCentralRouter.Properties.Resources.MC2_Banner;
|
||||
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
|
||||
resources.ApplyResources(this.pictureBox1, "pictureBox1");
|
||||
this.pictureBox1.Image = global::MeshCentralRouter.Properties.Resources.MC2Banner;
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(492, 65);
|
||||
this.pictureBox1.TabIndex = 2;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// stateClearTimer
|
||||
@@ -933,8 +639,7 @@
|
||||
// notifyIcon
|
||||
//
|
||||
this.notifyIcon.ContextMenuStrip = this.trayIconContextMenuStrip;
|
||||
this.notifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon.Icon")));
|
||||
this.notifyIcon.Text = "MeshCentral Router";
|
||||
resources.ApplyResources(this.notifyIcon, "notifyIcon");
|
||||
this.notifyIcon.DoubleClick += new System.EventHandler(this.notifyIcon_DoubleClick);
|
||||
//
|
||||
// trayIconContextMenuStrip
|
||||
@@ -944,43 +649,44 @@
|
||||
this.toolStripMenuItem1,
|
||||
this.exitToolStripMenuItem});
|
||||
this.trayIconContextMenuStrip.Name = "trayIconContextMenuStrip";
|
||||
this.trayIconContextMenuStrip.Size = new System.Drawing.Size(113, 54);
|
||||
resources.ApplyResources(this.trayIconContextMenuStrip, "trayIconContextMenuStrip");
|
||||
//
|
||||
// openToolStripMenuItem
|
||||
//
|
||||
this.openToolStripMenuItem.Name = "openToolStripMenuItem";
|
||||
this.openToolStripMenuItem.Size = new System.Drawing.Size(112, 22);
|
||||
this.openToolStripMenuItem.Text = "&Open...";
|
||||
resources.ApplyResources(this.openToolStripMenuItem, "openToolStripMenuItem");
|
||||
this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripMenuItem1
|
||||
//
|
||||
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
||||
this.toolStripMenuItem1.Size = new System.Drawing.Size(109, 6);
|
||||
resources.ApplyResources(this.toolStripMenuItem1, "toolStripMenuItem1");
|
||||
//
|
||||
// exitToolStripMenuItem
|
||||
//
|
||||
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
||||
this.exitToolStripMenuItem.Size = new System.Drawing.Size(112, 22);
|
||||
this.exitToolStripMenuItem.Text = "E&xit";
|
||||
resources.ApplyResources(this.exitToolStripMenuItem, "exitToolStripMenuItem");
|
||||
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click_1);
|
||||
//
|
||||
// installTimer
|
||||
//
|
||||
this.installTimer.Tick += new System.EventHandler(this.installTimer_Tick);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
resources.ApplyResources(this.label1, "label1");
|
||||
this.label1.Name = "label1";
|
||||
this.label1.UseMnemonic = false;
|
||||
//
|
||||
// MainForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(492, 416);
|
||||
this.Controls.Add(this.panel5);
|
||||
this.DoubleBuffered = true;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.Name = "MainForm";
|
||||
this.Text = " MeshCentral Router";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
|
||||
this.Load += new System.EventHandler(this.MainForm_Load);
|
||||
this.panel5.ResumeLayout(false);
|
||||
|
||||
22
MainForm.cs
22
MainForm.cs
@@ -217,7 +217,7 @@ namespace MeshCentralRouter
|
||||
//windowColor = serverNameTextBox.BackColor;
|
||||
setPanel(1);
|
||||
updatePanel1(null, null);
|
||||
SendMessage(searchTextBox.Handle, EM_SETCUEBANNER, 0, "Search");
|
||||
SendMessage(searchTextBox.Handle, EM_SETCUEBANNER, 0, Properties.Resources.SearchPlaceHolder);
|
||||
|
||||
// Start the multicast scanner
|
||||
//scanner = new MeshDiscovery();
|
||||
@@ -520,14 +520,14 @@ namespace MeshCentralRouter
|
||||
} else { setPanel(1); }
|
||||
|
||||
if ((meshcentral.disconnectMsg != null) && meshcentral.disconnectMsg.StartsWith("noauth")) {
|
||||
stateLabel.Text = "Invalid username or password";
|
||||
stateLabel.Text = Properties.Resources.InvalidUsernameOrPassword;
|
||||
stateLabel.Visible = true;
|
||||
stateClearTimer.Enabled = true;
|
||||
serverNameComboBox.Focus();
|
||||
}
|
||||
else if ((meshcentral.disconnectMsg != null) && meshcentral.disconnectMsg.StartsWith("emailvalidationrequired"))
|
||||
{
|
||||
stateLabel.Text = "Email verification required";
|
||||
stateLabel.Text = Properties.Resources.EmailVerificationRequired;
|
||||
stateLabel.Visible = true;
|
||||
stateClearTimer.Enabled = true;
|
||||
serverNameComboBox.Focus();
|
||||
@@ -538,7 +538,7 @@ namespace MeshCentralRouter
|
||||
setPanel(3);
|
||||
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
|
||||
nextButton1.Enabled = true;
|
||||
@@ -1027,7 +1027,7 @@ namespace MeshCentralRouter
|
||||
|
||||
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;
|
||||
sendSMSToken = false;
|
||||
@@ -1037,7 +1037,7 @@ namespace MeshCentralRouter
|
||||
|
||||
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;
|
||||
sendSMSToken = true;
|
||||
@@ -1096,6 +1096,16 @@ namespace MeshCentralRouter
|
||||
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 void displayMessage(string msg, int buttons = 0, string extra = "", int progress = 0)
|
||||
|
||||
1836
MainForm.resx
1836
MainForm.resx
File diff suppressed because it is too large
Load Diff
34
MapUserControl.Designer.cs
generated
34
MapUserControl.Designer.cs
generated
@@ -42,52 +42,31 @@
|
||||
// devicePictureBox
|
||||
//
|
||||
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.Size = new System.Drawing.Size(50, 50);
|
||||
this.devicePictureBox.TabIndex = 0;
|
||||
this.devicePictureBox.TabStop = false;
|
||||
//
|
||||
// deviceNameLabel
|
||||
//
|
||||
this.deviceNameLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| 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);
|
||||
resources.ApplyResources(this.deviceNameLabel, "deviceNameLabel");
|
||||
this.deviceNameLabel.Name = "deviceNameLabel";
|
||||
this.deviceNameLabel.Size = new System.Drawing.Size(290, 15);
|
||||
this.deviceNameLabel.TabIndex = 1;
|
||||
this.deviceNameLabel.Text = "ComputerName";
|
||||
//
|
||||
// routingStatusLabel
|
||||
//
|
||||
this.routingStatusLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.routingStatusLabel.Location = new System.Drawing.Point(62, 32);
|
||||
resources.ApplyResources(this.routingStatusLabel, "routingStatusLabel");
|
||||
this.routingStatusLabel.Name = "routingStatusLabel";
|
||||
this.routingStatusLabel.Size = new System.Drawing.Size(290, 15);
|
||||
this.routingStatusLabel.TabIndex = 2;
|
||||
this.routingStatusLabel.Text = "Routing Status";
|
||||
//
|
||||
// appButton
|
||||
//
|
||||
this.appButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.appButton.Location = new System.Drawing.Point(358, 6);
|
||||
resources.ApplyResources(this.appButton, "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.Click += new System.EventHandler(this.appButton_Click);
|
||||
//
|
||||
// closeButton
|
||||
//
|
||||
this.closeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.closeButton.Location = new System.Drawing.Point(358, 30);
|
||||
resources.ApplyResources(this.closeButton, "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.Click += new System.EventHandler(this.closeButton_Click);
|
||||
//
|
||||
@@ -106,7 +85,7 @@
|
||||
//
|
||||
// MapUserControl
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
@@ -116,7 +95,6 @@
|
||||
this.Controls.Add(this.deviceNameLabel);
|
||||
this.Controls.Add(this.devicePictureBox);
|
||||
this.Name = "MapUserControl";
|
||||
this.Size = new System.Drawing.Size(441, 60);
|
||||
((System.ComponentModel.ISupportInitialize)(this.devicePictureBox)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace MeshCentralRouter
|
||||
|
||||
public void Start()
|
||||
{
|
||||
routingStatusLabel.Text = "Starting...";
|
||||
routingStatusLabel.Text = Properties.Resources.Starting;
|
||||
appButton.Enabled = (appId != 0);
|
||||
mapper = new MeshMapper();
|
||||
mapper.xdebug = xdebug;
|
||||
@@ -71,7 +71,7 @@ namespace MeshCentralRouter
|
||||
|
||||
public void Stop()
|
||||
{
|
||||
routingStatusLabel.Text = "Stopped.";
|
||||
routingStatusLabel.Text = Properties.Resources.Stopped;
|
||||
appButton.Enabled = false;
|
||||
mapper.onStateMsgChanged -= Mapper_onStateMsgChanged;
|
||||
mapper.stop();
|
||||
@@ -127,7 +127,7 @@ namespace MeshCentralRouter
|
||||
using (AppLaunchForm f = new AppLaunchForm())
|
||||
{
|
||||
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.SetAppPath(loadFromRegistry("PuttyPath"));
|
||||
if (f.ShowDialog(this) == DialogResult.OK)
|
||||
@@ -145,7 +145,7 @@ namespace MeshCentralRouter
|
||||
using (AppLaunchForm f = new AppLaunchForm())
|
||||
{
|
||||
System.Diagnostics.Process proc = null;
|
||||
f.SetAppName("WinSCP client");
|
||||
f.SetAppName(Properties.Resources.WinscpAppName);
|
||||
f.SetAppLink("http://winscp.net/");
|
||||
f.SetAppPath(loadFromRegistry("WinSCPPath"));
|
||||
if (f.ShowDialog(this) == DialogResult.OK)
|
||||
|
||||
@@ -117,6 +117,141 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</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=">>devicePictureBox.Name" xml:space="preserve">
|
||||
<value>devicePictureBox</value>
|
||||
</data>
|
||||
<data name=">>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=">>devicePictureBox.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>deviceNameLabel.Name" xml:space="preserve">
|
||||
<value>deviceNameLabel</value>
|
||||
</data>
|
||||
<data name=">>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=">>deviceNameLabel.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>routingStatusLabel.Name" xml:space="preserve">
|
||||
<value>routingStatusLabel</value>
|
||||
</data>
|
||||
<data name=">>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=">>routingStatusLabel.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>appButton.Name" xml:space="preserve">
|
||||
<value>appButton</value>
|
||||
</data>
|
||||
<data name=">>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=">>appButton.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>closeButton.Name" xml:space="preserve">
|
||||
<value>closeButton</value>
|
||||
</data>
|
||||
<data name=">>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=">>closeButton.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
@@ -125,7 +260,7 @@
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
||||
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAy
|
||||
mgAAAk1TRnQBSQFMAgEBCAEAASABAAEgAQABMgEAATIBAAT/AREBAAj/AUIBTQE2BwABNgMAASgDAAHI
|
||||
mgAAAk1TRnQBSQFMAgEBCAEAASgBAAEoAQABMgEAATIBAAT/AREBAAj/AUIBTQE2BwABNgMAASgDAAHI
|
||||
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
|
||||
@@ -785,4 +920,25 @@
|
||||
Df8B/AMAAT8H/wMADf8B/AMAAT8H/wMADf8B/gMACP8DAA7/AgABDwj/AwAO/wH8AT8J/wMAGf8DAAs=
|
||||
</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.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>441, 60</value>
|
||||
</data>
|
||||
<data name=">>deviceImageList.Name" xml:space="preserve">
|
||||
<value>deviceImageList</value>
|
||||
</data>
|
||||
<data name=">>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=">>$this.Name" xml:space="preserve">
|
||||
<value>MapUserControl</value>
|
||||
</data>
|
||||
<data name=">>$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>
|
||||
10
MappingHelpForm.Designer.cs
generated
10
MappingHelpForm.Designer.cs
generated
@@ -35,26 +35,20 @@
|
||||
//
|
||||
// helpPictureBox
|
||||
//
|
||||
this.helpPictureBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
resources.ApplyResources(this.helpPictureBox, "helpPictureBox");
|
||||
this.helpPictureBox.Image = global::MeshCentralRouter.Properties.Resources.HelpRelayMap;
|
||||
this.helpPictureBox.Location = new System.Drawing.Point(0, 0);
|
||||
this.helpPictureBox.Name = "helpPictureBox";
|
||||
this.helpPictureBox.Size = new System.Drawing.Size(325, 435);
|
||||
this.helpPictureBox.TabIndex = 0;
|
||||
this.helpPictureBox.TabStop = false;
|
||||
//
|
||||
// MappingHelpForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(325, 435);
|
||||
this.Controls.Add(this.helpPictureBox);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "MappingHelpForm";
|
||||
this.Text = "Port Mapping Help";
|
||||
((System.ComponentModel.ISupportInitialize)(this.helpPictureBox)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
|
||||
@@ -117,7 +117,42 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</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" />
|
||||
<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=">>helpPictureBox.Name" xml:space="preserve">
|
||||
<value>helpPictureBox</value>
|
||||
</data>
|
||||
<data name=">>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=">>helpPictureBox.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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">
|
||||
<value>
|
||||
AAABAA0AMDAQAAEABABoBgAA1gAAACAgEAABAAQA6AIAAD4HAAAYGBAAAQAEAOgBAAAmCgAAEBAQAAEA
|
||||
@@ -1812,4 +1847,13 @@
|
||||
AADAPwAAwD8AAMA/AADAPwAA
|
||||
</value>
|
||||
</data>
|
||||
<data name="$this.Text" xml:space="preserve">
|
||||
<value>Port Mapping Help</value>
|
||||
</data>
|
||||
<data name=">>$this.Name" xml:space="preserve">
|
||||
<value>MappingHelpForm</value>
|
||||
</data>
|
||||
<data name=">>$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>
|
||||
@@ -117,8 +117,8 @@ namespace MeshCentralRouter
|
||||
|
||||
private void UpdateInfo() {
|
||||
string msg = "";
|
||||
if (state == -1) { msg = "Unable to bind to local port"; }
|
||||
else if (state == 0) { msg = "Stopped"; }
|
||||
if (state == -1) { msg = Properties.Resources.UnableToBindToLocalPort; }
|
||||
else if (state == 0) { msg = Properties.Resources.Stopped2; }
|
||||
else if (state == 1) {
|
||||
if (remoteip == null)
|
||||
{
|
||||
@@ -126,8 +126,8 @@ namespace MeshCentralRouter
|
||||
} else {
|
||||
msg = "Port " + localport + " to " + remoteip + ":" + remoteport;
|
||||
}
|
||||
if (totalConnectCounter == 1) { msg += ", 1 connection."; }
|
||||
if (totalConnectCounter > 1) { msg += ", " + totalConnectCounter + " connections."; }
|
||||
if (totalConnectCounter == 1) { msg += Properties.Resources.OneConnection; }
|
||||
if (totalConnectCounter > 1) { msg += string.Format(Properties.Resources.ManyConnections, totalConnectCounter); }
|
||||
}
|
||||
if (onStateMsgChanged != null) { onStateMsgChanged(msg); }
|
||||
}
|
||||
@@ -400,7 +400,7 @@ namespace MeshCentralRouter
|
||||
catch (Exception ex)
|
||||
{
|
||||
// Disconnect
|
||||
MessageBox.Show(ex.Message, "MeshRouter");
|
||||
MessageBox.Show(ex.Message, Properties.Resources.MeshCentralRouter);
|
||||
parent.Debug("#" + counter + ": Websocket TLS failed: " + ex.ToString());
|
||||
parent.ShutdownClients(client, uclient, this, this.counter);
|
||||
return;
|
||||
|
||||
15
Program.cs
15
Program.cs
@@ -31,9 +31,22 @@ namespace MeshCentralRouter
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Properties.Settings.Default.Upgrade();
|
||||
MainForm main = new MainForm(args);
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
183
Properties/Resources.Designer.cs
generated
183
Properties/Resources.Designer.cs
generated
@@ -61,29 +61,20 @@ namespace MeshCentralRouter.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Confirm Delete.
|
||||
/// Looks up a localized string similar to Email verification required.
|
||||
/// </summary>
|
||||
internal static string CertMgrForm_Del {
|
||||
internal static string EmailVerificationRequired {
|
||||
get {
|
||||
return ResourceManager.GetString("CertMgrForm_Del", 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);
|
||||
return ResourceManager.GetString("EmailVerificationRequired", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Empty_Banner {
|
||||
internal static System.Drawing.Bitmap EmptyBanner {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Empty-Banner", resourceCulture);
|
||||
object obj = ResourceManager.GetObject("EmptyBanner", resourceCulture);
|
||||
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>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap MC2_Banner {
|
||||
internal static System.Drawing.Bitmap MC2Banner {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("MC2-Banner", resourceCulture);
|
||||
object obj = ResourceManager.GetObject("MC2Banner", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
@@ -151,9 +178,9 @@ namespace MeshCentralRouter.Properties {
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap MC2_Logo {
|
||||
internal static System.Drawing.Bitmap MC2Logo {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("MC2-Logo", resourceCulture);
|
||||
object obj = ResourceManager.GetObject("MC2Logo", resourceCulture);
|
||||
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>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
@@ -189,20 +234,110 @@ namespace MeshCentralRouter.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Cert Import.
|
||||
/// Looks up a localized string similar to , 1 connection..
|
||||
/// </summary>
|
||||
internal static string MsgBox_Import_Cert {
|
||||
internal static string OneConnection {
|
||||
get {
|
||||
return ResourceManager.GetString("MsgBox_Import_Cert", resourceCulture);
|
||||
return ResourceManager.GetString("OneConnection", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Incorrect file or password.
|
||||
/// Looks up a localized string similar to PuTTY SSH client.
|
||||
/// </summary>
|
||||
internal static string MsgBox_Import_Error {
|
||||
internal static string PuttyAppName {
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
<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>
|
||||
</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>
|
||||
</data>
|
||||
<data name="MeshCentral" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
@@ -130,21 +130,12 @@
|
||||
<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>
|
||||
</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>
|
||||
</data>
|
||||
<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>
|
||||
</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">
|
||||
<value>../Resources/icons01.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
@@ -154,13 +145,67 @@
|
||||
<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>
|
||||
</data>
|
||||
<data name="MsgBox_Import_Cert" xml:space="preserve">
|
||||
<value>Cert Import</value>
|
||||
</data>
|
||||
<data name="MC2-Banner" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<data name="MC2Banner" 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>
|
||||
</data>
|
||||
<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>
|
||||
</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>
|
||||
30
ServerUserControl.Designer.cs
generated
30
ServerUserControl.Designer.cs
generated
@@ -29,6 +29,7 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ServerUserControl));
|
||||
this.serverInfoLabel = new System.Windows.Forms.Label();
|
||||
this.serverNameLabel = new System.Windows.Forms.Label();
|
||||
this.serverPictureBox = new System.Windows.Forms.PictureBox();
|
||||
@@ -41,36 +42,21 @@
|
||||
//
|
||||
// serverInfoLabel
|
||||
//
|
||||
this.serverInfoLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| 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);
|
||||
resources.ApplyResources(this.serverInfoLabel, "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);
|
||||
//
|
||||
// serverNameLabel
|
||||
//
|
||||
this.serverNameLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| 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);
|
||||
resources.ApplyResources(this.serverNameLabel, "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);
|
||||
//
|
||||
// serverPictureBox
|
||||
//
|
||||
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.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.Click += new System.EventHandler(this.serverButton_Click);
|
||||
//
|
||||
@@ -79,13 +65,12 @@
|
||||
this.serverContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.infoToolStripMenuItem});
|
||||
this.serverContextMenuStrip.Name = "serverContextMenuStrip";
|
||||
this.serverContextMenuStrip.Size = new System.Drawing.Size(153, 48);
|
||||
resources.ApplyResources(this.serverContextMenuStrip, "serverContextMenuStrip");
|
||||
//
|
||||
// infoToolStripMenuItem
|
||||
//
|
||||
this.infoToolStripMenuItem.Name = "infoToolStripMenuItem";
|
||||
this.infoToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.infoToolStripMenuItem.Text = "&Info...";
|
||||
resources.ApplyResources(this.infoToolStripMenuItem, "infoToolStripMenuItem");
|
||||
this.infoToolStripMenuItem.Click += new System.EventHandler(this.infoToolStripMenuItem_Click);
|
||||
//
|
||||
// backTimer
|
||||
@@ -95,7 +80,7 @@
|
||||
//
|
||||
// ServerUserControl
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
|
||||
this.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
@@ -105,7 +90,6 @@
|
||||
this.Controls.Add(this.serverPictureBox);
|
||||
this.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.Name = "ServerUserControl";
|
||||
this.Size = new System.Drawing.Size(485, 57);
|
||||
this.Load += new System.EventHandler(this.ServerUserControl_Load);
|
||||
this.Click += new System.EventHandler(this.serverButton_Click);
|
||||
((System.ComponentModel.ISupportInitialize)(this.serverPictureBox)).EndInit();
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace MeshCentralRouter
|
||||
|
||||
// Fix the 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
|
||||
if ((this.url.IndexOf("://[") == -1) && (url.IndexOf("://[") >= 0)) return false;
|
||||
|
||||
@@ -117,10 +117,139 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</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=">>serverInfoLabel.Name" xml:space="preserve">
|
||||
<value>serverInfoLabel</value>
|
||||
</data>
|
||||
<data name=">>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=">>serverInfoLabel.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>serverNameLabel.Name" xml:space="preserve">
|
||||
<value>serverNameLabel</value>
|
||||
</data>
|
||||
<data name=">>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=">>serverNameLabel.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>serverPictureBox.Name" xml:space="preserve">
|
||||
<value>serverPictureBox</value>
|
||||
</data>
|
||||
<data name=">>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=">>serverPictureBox.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<data name="infoToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>104, 22</value>
|
||||
</data>
|
||||
<data name="infoToolStripMenuItem.Text" xml:space="preserve">
|
||||
<value>&Info...</value>
|
||||
</data>
|
||||
<data name="serverContextMenuStrip.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>105, 26</value>
|
||||
</data>
|
||||
<data name=">>serverContextMenuStrip.Name" xml:space="preserve">
|
||||
<value>serverContextMenuStrip</value>
|
||||
</data>
|
||||
<data name=">>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">
|
||||
<value>200, 17</value>
|
||||
</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=">>infoToolStripMenuItem.Name" xml:space="preserve">
|
||||
<value>infoToolStripMenuItem</value>
|
||||
</data>
|
||||
<data name=">>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=">>backTimer.Name" xml:space="preserve">
|
||||
<value>backTimer</value>
|
||||
</data>
|
||||
<data name=">>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=">>$this.Name" xml:space="preserve">
|
||||
<value>ServerUserControl</value>
|
||||
</data>
|
||||
<data name=">>$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>
|
||||
38
altPortForm.Designer.cs
generated
38
altPortForm.Designer.cs
generated
@@ -40,55 +40,35 @@
|
||||
//
|
||||
// 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.Location = new System.Drawing.Point(212, 66);
|
||||
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.Click += new System.EventHandler(this.cancelButton_Click);
|
||||
//
|
||||
// okButton
|
||||
//
|
||||
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.okButton.Location = new System.Drawing.Point(131, 66);
|
||||
resources.ApplyResources(this.okButton, "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.Click += new System.EventHandler(this.okButton_Click);
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
resources.ApplyResources(this.groupBox1, "groupBox1");
|
||||
this.groupBox1.Controls.Add(this.label2);
|
||||
this.groupBox1.Controls.Add(this.portNumericUpDown);
|
||||
this.groupBox1.Location = new System.Drawing.Point(12, 12);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(275, 48);
|
||||
this.groupBox1.TabIndex = 3;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "Connection";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label2.Location = new System.Drawing.Point(6, 21);
|
||||
resources.ApplyResources(this.label2, "label2");
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(137, 18);
|
||||
this.label2.TabIndex = 3;
|
||||
this.label2.Text = "Alternative Port";
|
||||
//
|
||||
// portNumericUpDown
|
||||
//
|
||||
this.portNumericUpDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.portNumericUpDown.Location = new System.Drawing.Point(149, 19);
|
||||
resources.ApplyResources(this.portNumericUpDown, "portNumericUpDown");
|
||||
this.portNumericUpDown.Maximum = new decimal(new int[] {
|
||||
65535,
|
||||
0,
|
||||
@@ -100,8 +80,6 @@
|
||||
0,
|
||||
0});
|
||||
this.portNumericUpDown.Name = "portNumericUpDown";
|
||||
this.portNumericUpDown.Size = new System.Drawing.Size(120, 20);
|
||||
this.portNumericUpDown.TabIndex = 0;
|
||||
this.portNumericUpDown.Value = new decimal(new int[] {
|
||||
3389,
|
||||
0,
|
||||
@@ -113,20 +91,16 @@
|
||||
// altPortForm
|
||||
//
|
||||
this.AcceptButton = this.okButton;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.CancelButton = this.cancelButton;
|
||||
this.ClientSize = new System.Drawing.Size(299, 101);
|
||||
this.Controls.Add(this.groupBox1);
|
||||
this.Controls.Add(this.okButton);
|
||||
this.Controls.Add(this.cancelButton);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "altPortForm";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "Alternative Port";
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.portNumericUpDown)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
155
altPortForm.resx
155
altPortForm.resx
@@ -117,7 +117,150 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</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>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=">>cancelButton.Name" xml:space="preserve">
|
||||
<value>cancelButton</value>
|
||||
</data>
|
||||
<data name=">>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=">>cancelButton.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>okButton.Name" xml:space="preserve">
|
||||
<value>okButton</value>
|
||||
</data>
|
||||
<data name=">>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=">>okButton.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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=">>label2.Name" xml:space="preserve">
|
||||
<value>label2</value>
|
||||
</data>
|
||||
<data name=">>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=">>label2.Parent" xml:space="preserve">
|
||||
<value>groupBox1</value>
|
||||
</data>
|
||||
<data name=">>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=">>portNumericUpDown.Name" xml:space="preserve">
|
||||
<value>portNumericUpDown</value>
|
||||
</data>
|
||||
<data name=">>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=">>portNumericUpDown.Parent" xml:space="preserve">
|
||||
<value>groupBox1</value>
|
||||
</data>
|
||||
<data name=">>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=">>groupBox1.Name" xml:space="preserve">
|
||||
<value>groupBox1</value>
|
||||
</data>
|
||||
<data name=">>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=">>groupBox1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>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">
|
||||
<value>
|
||||
AAABAA0AMDAQAAEABABoBgAA1gAAACAgEAABAAQA6AIAAD4HAAAYGBAAAQAEAOgBAAAmCgAAEBAQAAEA
|
||||
@@ -1812,4 +1955,16 @@
|
||||
AADAPwAAwD8AAMA/AADAPwAA
|
||||
</value>
|
||||
</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=">>$this.Name" xml:space="preserve">
|
||||
<value>altPortForm</value>
|
||||
</data>
|
||||
<data name=">>$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>
|
||||
Reference in New Issue
Block a user