|
@@ -29,7 +29,6 @@ |
|
|
private void InitializeComponent()
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
{
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConfigForm));
|
|
|
|
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
|
this.RemarksTextBox = new System.Windows.Forms.TextBox();
|
|
|
this.RemarksTextBox = new System.Windows.Forms.TextBox();
|
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
@@ -91,10 +90,10 @@ |
|
|
this.tableLayoutPanel1.Controls.Add(this.PasswordTextBox, 1, 2);
|
|
|
this.tableLayoutPanel1.Controls.Add(this.PasswordTextBox, 1, 2);
|
|
|
this.tableLayoutPanel1.Controls.Add(this.label5, 0, 3);
|
|
|
this.tableLayoutPanel1.Controls.Add(this.label5, 0, 3);
|
|
|
this.tableLayoutPanel1.Controls.Add(this.EncryptionSelect, 1, 3);
|
|
|
this.tableLayoutPanel1.Controls.Add(this.EncryptionSelect, 1, 3);
|
|
|
this.tableLayoutPanel1.Location = new System.Drawing.Point(8, 21);
|
|
|
|
|
|
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(5);
|
|
|
|
|
|
|
|
|
this.tableLayoutPanel1.Location = new System.Drawing.Point(12, 31);
|
|
|
|
|
|
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(7, 7, 7, 7);
|
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
|
this.tableLayoutPanel1.Padding = new System.Windows.Forms.Padding(5);
|
|
|
|
|
|
|
|
|
this.tableLayoutPanel1.Padding = new System.Windows.Forms.Padding(7, 7, 7, 7);
|
|
|
this.tableLayoutPanel1.RowCount = 6;
|
|
|
this.tableLayoutPanel1.RowCount = 6;
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
@@ -102,15 +101,16 @@ |
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(242, 167);
|
|
|
|
|
|
|
|
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(360, 232);
|
|
|
this.tableLayoutPanel1.TabIndex = 0;
|
|
|
this.tableLayoutPanel1.TabIndex = 0;
|
|
|
//
|
|
|
//
|
|
|
// RemarksTextBox
|
|
|
// RemarksTextBox
|
|
|
//
|
|
|
//
|
|
|
this.RemarksTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.RemarksTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.RemarksTextBox.Location = new System.Drawing.Point(74, 139);
|
|
|
|
|
|
|
|
|
this.RemarksTextBox.Location = new System.Drawing.Point(110, 194);
|
|
|
|
|
|
this.RemarksTextBox.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
|
this.RemarksTextBox.Name = "RemarksTextBox";
|
|
|
this.RemarksTextBox.Name = "RemarksTextBox";
|
|
|
this.RemarksTextBox.Size = new System.Drawing.Size(160, 20);
|
|
|
|
|
|
|
|
|
this.RemarksTextBox.Size = new System.Drawing.Size(238, 26);
|
|
|
this.RemarksTextBox.TabIndex = 10;
|
|
|
this.RemarksTextBox.TabIndex = 10;
|
|
|
this.RemarksTextBox.WordWrap = false;
|
|
|
this.RemarksTextBox.WordWrap = false;
|
|
|
//
|
|
|
//
|
|
@@ -118,9 +118,10 @@ |
|
|
//
|
|
|
//
|
|
|
this.label6.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
|
this.label6.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
|
this.label6.AutoSize = true;
|
|
|
this.label6.AutoSize = true;
|
|
|
this.label6.Location = new System.Drawing.Point(19, 142);
|
|
|
|
|
|
|
|
|
this.label6.Location = new System.Drawing.Point(27, 197);
|
|
|
|
|
|
this.label6.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
|
|
this.label6.Name = "label6";
|
|
|
this.label6.Name = "label6";
|
|
|
this.label6.Size = new System.Drawing.Size(49, 13);
|
|
|
|
|
|
|
|
|
this.label6.Size = new System.Drawing.Size(73, 20);
|
|
|
this.label6.TabIndex = 9;
|
|
|
this.label6.TabIndex = 9;
|
|
|
this.label6.Text = "Remarks";
|
|
|
this.label6.Text = "Remarks";
|
|
|
//
|
|
|
//
|
|
@@ -128,9 +129,10 @@ |
|
|
//
|
|
|
//
|
|
|
this.label1.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
|
this.label1.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
|
this.label1.AutoSize = true;
|
|
|
this.label1.AutoSize = true;
|
|
|
this.label1.Location = new System.Drawing.Point(17, 11);
|
|
|
|
|
|
|
|
|
this.label1.Location = new System.Drawing.Point(26, 15);
|
|
|
|
|
|
this.label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
|
|
this.label1.Name = "label1";
|
|
|
this.label1.Name = "label1";
|
|
|
this.label1.Size = new System.Drawing.Size(51, 13);
|
|
|
|
|
|
|
|
|
this.label1.Size = new System.Drawing.Size(74, 20);
|
|
|
this.label1.TabIndex = 0;
|
|
|
this.label1.TabIndex = 0;
|
|
|
this.label1.Text = "Server IP";
|
|
|
this.label1.Text = "Server IP";
|
|
|
//
|
|
|
//
|
|
@@ -138,18 +140,20 @@ |
|
|
//
|
|
|
//
|
|
|
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
|
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
|
this.label2.AutoSize = true;
|
|
|
this.label2.AutoSize = true;
|
|
|
this.label2.Location = new System.Drawing.Point(8, 37);
|
|
|
|
|
|
|
|
|
this.label2.Location = new System.Drawing.Point(12, 51);
|
|
|
|
|
|
this.label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
|
|
this.label2.Name = "label2";
|
|
|
this.label2.Name = "label2";
|
|
|
this.label2.Size = new System.Drawing.Size(60, 13);
|
|
|
|
|
|
|
|
|
this.label2.Size = new System.Drawing.Size(88, 20);
|
|
|
this.label2.TabIndex = 1;
|
|
|
this.label2.TabIndex = 1;
|
|
|
this.label2.Text = "Server Port";
|
|
|
this.label2.Text = "Server Port";
|
|
|
//
|
|
|
//
|
|
|
// ProxyPortTextBox
|
|
|
// ProxyPortTextBox
|
|
|
//
|
|
|
//
|
|
|
this.ProxyPortTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.ProxyPortTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.ProxyPortTextBox.Location = new System.Drawing.Point(74, 113);
|
|
|
|
|
|
|
|
|
this.ProxyPortTextBox.Location = new System.Drawing.Point(110, 158);
|
|
|
|
|
|
this.ProxyPortTextBox.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
|
this.ProxyPortTextBox.Name = "ProxyPortTextBox";
|
|
|
this.ProxyPortTextBox.Name = "ProxyPortTextBox";
|
|
|
this.ProxyPortTextBox.Size = new System.Drawing.Size(160, 20);
|
|
|
|
|
|
|
|
|
this.ProxyPortTextBox.Size = new System.Drawing.Size(238, 26);
|
|
|
this.ProxyPortTextBox.TabIndex = 4;
|
|
|
this.ProxyPortTextBox.TabIndex = 4;
|
|
|
this.ProxyPortTextBox.WordWrap = false;
|
|
|
this.ProxyPortTextBox.WordWrap = false;
|
|
|
//
|
|
|
//
|
|
@@ -157,9 +161,10 @@ |
|
|
//
|
|
|
//
|
|
|
this.label4.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
|
this.label4.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
|
this.label4.AutoSize = true;
|
|
|
this.label4.AutoSize = true;
|
|
|
this.label4.Location = new System.Drawing.Point(13, 116);
|
|
|
|
|
|
|
|
|
this.label4.Location = new System.Drawing.Point(20, 161);
|
|
|
|
|
|
this.label4.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
|
|
this.label4.Name = "label4";
|
|
|
this.label4.Name = "label4";
|
|
|
this.label4.Size = new System.Drawing.Size(55, 13);
|
|
|
|
|
|
|
|
|
this.label4.Size = new System.Drawing.Size(80, 20);
|
|
|
this.label4.TabIndex = 3;
|
|
|
this.label4.TabIndex = 3;
|
|
|
this.label4.Text = "Proxy Port";
|
|
|
this.label4.Text = "Proxy Port";
|
|
|
//
|
|
|
//
|
|
@@ -167,37 +172,41 @@ |
|
|
//
|
|
|
//
|
|
|
this.label3.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
|
this.label3.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
|
this.label3.AutoSize = true;
|
|
|
this.label3.AutoSize = true;
|
|
|
this.label3.Location = new System.Drawing.Point(15, 63);
|
|
|
|
|
|
|
|
|
this.label3.Location = new System.Drawing.Point(22, 87);
|
|
|
|
|
|
this.label3.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
|
|
this.label3.Name = "label3";
|
|
|
this.label3.Name = "label3";
|
|
|
this.label3.Size = new System.Drawing.Size(53, 13);
|
|
|
|
|
|
|
|
|
this.label3.Size = new System.Drawing.Size(78, 20);
|
|
|
this.label3.TabIndex = 2;
|
|
|
this.label3.TabIndex = 2;
|
|
|
this.label3.Text = "Password";
|
|
|
this.label3.Text = "Password";
|
|
|
//
|
|
|
//
|
|
|
// IPTextBox
|
|
|
// IPTextBox
|
|
|
//
|
|
|
//
|
|
|
this.IPTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.IPTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.IPTextBox.Location = new System.Drawing.Point(74, 8);
|
|
|
|
|
|
|
|
|
this.IPTextBox.Location = new System.Drawing.Point(110, 12);
|
|
|
|
|
|
this.IPTextBox.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
|
this.IPTextBox.Name = "IPTextBox";
|
|
|
this.IPTextBox.Name = "IPTextBox";
|
|
|
this.IPTextBox.Size = new System.Drawing.Size(160, 20);
|
|
|
|
|
|
|
|
|
this.IPTextBox.Size = new System.Drawing.Size(238, 26);
|
|
|
this.IPTextBox.TabIndex = 0;
|
|
|
this.IPTextBox.TabIndex = 0;
|
|
|
this.IPTextBox.WordWrap = false;
|
|
|
this.IPTextBox.WordWrap = false;
|
|
|
//
|
|
|
//
|
|
|
// ServerPortTextBox
|
|
|
// ServerPortTextBox
|
|
|
//
|
|
|
//
|
|
|
this.ServerPortTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.ServerPortTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.ServerPortTextBox.Location = new System.Drawing.Point(74, 34);
|
|
|
|
|
|
|
|
|
this.ServerPortTextBox.Location = new System.Drawing.Point(110, 48);
|
|
|
|
|
|
this.ServerPortTextBox.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
|
this.ServerPortTextBox.Name = "ServerPortTextBox";
|
|
|
this.ServerPortTextBox.Name = "ServerPortTextBox";
|
|
|
this.ServerPortTextBox.Size = new System.Drawing.Size(160, 20);
|
|
|
|
|
|
|
|
|
this.ServerPortTextBox.Size = new System.Drawing.Size(238, 26);
|
|
|
this.ServerPortTextBox.TabIndex = 1;
|
|
|
this.ServerPortTextBox.TabIndex = 1;
|
|
|
this.ServerPortTextBox.WordWrap = false;
|
|
|
this.ServerPortTextBox.WordWrap = false;
|
|
|
//
|
|
|
//
|
|
|
// PasswordTextBox
|
|
|
// PasswordTextBox
|
|
|
//
|
|
|
//
|
|
|
this.PasswordTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.PasswordTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.PasswordTextBox.Location = new System.Drawing.Point(74, 60);
|
|
|
|
|
|
|
|
|
this.PasswordTextBox.Location = new System.Drawing.Point(110, 84);
|
|
|
|
|
|
this.PasswordTextBox.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
|
this.PasswordTextBox.Name = "PasswordTextBox";
|
|
|
this.PasswordTextBox.Name = "PasswordTextBox";
|
|
|
this.PasswordTextBox.PasswordChar = '*';
|
|
|
this.PasswordTextBox.PasswordChar = '*';
|
|
|
this.PasswordTextBox.Size = new System.Drawing.Size(160, 20);
|
|
|
|
|
|
|
|
|
this.PasswordTextBox.Size = new System.Drawing.Size(238, 26);
|
|
|
this.PasswordTextBox.TabIndex = 2;
|
|
|
this.PasswordTextBox.TabIndex = 2;
|
|
|
this.PasswordTextBox.WordWrap = false;
|
|
|
this.PasswordTextBox.WordWrap = false;
|
|
|
//
|
|
|
//
|
|
@@ -205,9 +214,10 @@ |
|
|
//
|
|
|
//
|
|
|
this.label5.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
|
this.label5.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
|
this.label5.AutoSize = true;
|
|
|
this.label5.AutoSize = true;
|
|
|
this.label5.Location = new System.Drawing.Point(11, 90);
|
|
|
|
|
|
|
|
|
this.label5.Location = new System.Drawing.Point(16, 124);
|
|
|
|
|
|
this.label5.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
|
|
this.label5.Name = "label5";
|
|
|
this.label5.Name = "label5";
|
|
|
this.label5.Size = new System.Drawing.Size(57, 13);
|
|
|
|
|
|
|
|
|
this.label5.Size = new System.Drawing.Size(84, 20);
|
|
|
this.label5.TabIndex = 8;
|
|
|
this.label5.TabIndex = 8;
|
|
|
this.label5.Text = "Encryption";
|
|
|
this.label5.Text = "Encryption";
|
|
|
//
|
|
|
//
|
|
@@ -218,7 +228,7 @@ |
|
|
this.EncryptionSelect.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
this.EncryptionSelect.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
this.EncryptionSelect.FormattingEnabled = true;
|
|
|
this.EncryptionSelect.FormattingEnabled = true;
|
|
|
this.EncryptionSelect.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
|
this.EncryptionSelect.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
|
this.EncryptionSelect.ItemHeight = 13;
|
|
|
|
|
|
|
|
|
this.EncryptionSelect.ItemHeight = 20;
|
|
|
this.EncryptionSelect.Items.AddRange(new object[] {
|
|
|
this.EncryptionSelect.Items.AddRange(new object[] {
|
|
|
"table",
|
|
|
"table",
|
|
|
"rc4-md5",
|
|
|
"rc4-md5",
|
|
@@ -227,16 +237,15 @@ |
|
|
"aes-128-cfb",
|
|
|
"aes-128-cfb",
|
|
|
"bf-cfb",
|
|
|
"bf-cfb",
|
|
|
"rc4"});
|
|
|
"rc4"});
|
|
|
this.EncryptionSelect.Location = new System.Drawing.Point(74, 86);
|
|
|
|
|
|
|
|
|
this.EncryptionSelect.Location = new System.Drawing.Point(110, 120);
|
|
|
|
|
|
this.EncryptionSelect.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
|
this.EncryptionSelect.Name = "EncryptionSelect";
|
|
|
this.EncryptionSelect.Name = "EncryptionSelect";
|
|
|
this.EncryptionSelect.Size = new System.Drawing.Size(160, 21);
|
|
|
|
|
|
|
|
|
this.EncryptionSelect.Size = new System.Drawing.Size(238, 28);
|
|
|
this.EncryptionSelect.TabIndex = 3;
|
|
|
this.EncryptionSelect.TabIndex = 3;
|
|
|
//
|
|
|
//
|
|
|
// notifyIcon1
|
|
|
// notifyIcon1
|
|
|
//
|
|
|
//
|
|
|
this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
|
|
|
|
|
|
this.notifyIcon1.Text = "Shadowsocks";
|
|
|
this.notifyIcon1.Text = "Shadowsocks";
|
|
|
this.notifyIcon1.Visible = true;
|
|
|
|
|
|
this.notifyIcon1.DoubleClick += new System.EventHandler(this.notifyIcon1_DoubleClick);
|
|
|
this.notifyIcon1.DoubleClick += new System.EventHandler(this.notifyIcon1_DoubleClick);
|
|
|
//
|
|
|
//
|
|
|
// panel2
|
|
|
// panel2
|
|
@@ -244,7 +253,8 @@ |
|
|
this.panel2.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
|
|
this.panel2.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
|
|
this.panel2.AutoSize = true;
|
|
|
this.panel2.AutoSize = true;
|
|
|
this.panel2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
|
this.panel2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
|
this.panel2.Location = new System.Drawing.Point(164, 175);
|
|
|
|
|
|
|
|
|
this.panel2.Location = new System.Drawing.Point(246, 263);
|
|
|
|
|
|
this.panel2.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
|
this.panel2.Name = "panel2";
|
|
|
this.panel2.Name = "panel2";
|
|
|
this.panel2.Size = new System.Drawing.Size(0, 0);
|
|
|
this.panel2.Size = new System.Drawing.Size(0, 0);
|
|
|
this.panel2.TabIndex = 1;
|
|
|
this.panel2.TabIndex = 1;
|
|
@@ -252,9 +262,10 @@ |
|
|
// OKButton
|
|
|
// OKButton
|
|
|
//
|
|
|
//
|
|
|
this.OKButton.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
|
this.OKButton.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
|
this.OKButton.Location = new System.Drawing.Point(4, 4);
|
|
|
|
|
|
|
|
|
this.OKButton.Location = new System.Drawing.Point(6, 6);
|
|
|
|
|
|
this.OKButton.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
|
this.OKButton.Name = "OKButton";
|
|
|
this.OKButton.Name = "OKButton";
|
|
|
this.OKButton.Size = new System.Drawing.Size(75, 23);
|
|
|
|
|
|
|
|
|
this.OKButton.Size = new System.Drawing.Size(113, 35);
|
|
|
this.OKButton.TabIndex = 8;
|
|
|
this.OKButton.TabIndex = 8;
|
|
|
this.OKButton.Text = "OK";
|
|
|
this.OKButton.Text = "OK";
|
|
|
this.OKButton.UseVisualStyleBackColor = true;
|
|
|
this.OKButton.UseVisualStyleBackColor = true;
|
|
@@ -263,9 +274,10 @@ |
|
|
// MyCancelButton
|
|
|
// MyCancelButton
|
|
|
//
|
|
|
//
|
|
|
this.MyCancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
|
this.MyCancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
|
this.MyCancelButton.Location = new System.Drawing.Point(86, 4);
|
|
|
|
|
|
|
|
|
this.MyCancelButton.Location = new System.Drawing.Point(130, 6);
|
|
|
|
|
|
this.MyCancelButton.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
|
this.MyCancelButton.Name = "MyCancelButton";
|
|
|
this.MyCancelButton.Name = "MyCancelButton";
|
|
|
this.MyCancelButton.Size = new System.Drawing.Size(75, 23);
|
|
|
|
|
|
|
|
|
this.MyCancelButton.Size = new System.Drawing.Size(113, 35);
|
|
|
this.MyCancelButton.TabIndex = 9;
|
|
|
this.MyCancelButton.TabIndex = 9;
|
|
|
this.MyCancelButton.Text = "Cancel";
|
|
|
this.MyCancelButton.Text = "Cancel";
|
|
|
this.MyCancelButton.UseVisualStyleBackColor = true;
|
|
|
this.MyCancelButton.UseVisualStyleBackColor = true;
|
|
@@ -277,10 +289,10 @@ |
|
|
this.panel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
|
this.panel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
|
this.panel1.Controls.Add(this.MyCancelButton);
|
|
|
this.panel1.Controls.Add(this.MyCancelButton);
|
|
|
this.panel1.Controls.Add(this.OKButton);
|
|
|
this.panel1.Controls.Add(this.OKButton);
|
|
|
this.panel1.Location = new System.Drawing.Point(313, 247);
|
|
|
|
|
|
|
|
|
this.panel1.Location = new System.Drawing.Point(469, 371);
|
|
|
this.panel1.Margin = new System.Windows.Forms.Padding(0);
|
|
|
this.panel1.Margin = new System.Windows.Forms.Padding(0);
|
|
|
this.panel1.Name = "panel1";
|
|
|
this.panel1.Name = "panel1";
|
|
|
this.panel1.Size = new System.Drawing.Size(164, 30);
|
|
|
|
|
|
|
|
|
this.panel1.Size = new System.Drawing.Size(248, 46);
|
|
|
this.panel1.TabIndex = 1;
|
|
|
this.panel1.TabIndex = 1;
|
|
|
//
|
|
|
//
|
|
|
// contextMenu1
|
|
|
// contextMenu1
|
|
@@ -373,17 +385,18 @@ |
|
|
this.panel3.AutoSize = true;
|
|
|
this.panel3.AutoSize = true;
|
|
|
this.panel3.Controls.Add(this.DeleteButton);
|
|
|
this.panel3.Controls.Add(this.DeleteButton);
|
|
|
this.panel3.Controls.Add(this.AddButton);
|
|
|
this.panel3.Controls.Add(this.AddButton);
|
|
|
this.panel3.Location = new System.Drawing.Point(12, 220);
|
|
|
|
|
|
|
|
|
this.panel3.Location = new System.Drawing.Point(18, 330);
|
|
|
this.panel3.Margin = new System.Windows.Forms.Padding(0);
|
|
|
this.panel3.Margin = new System.Windows.Forms.Padding(0);
|
|
|
this.panel3.Name = "panel3";
|
|
|
this.panel3.Name = "panel3";
|
|
|
this.panel3.Size = new System.Drawing.Size(192, 30);
|
|
|
|
|
|
|
|
|
this.panel3.Size = new System.Drawing.Size(288, 46);
|
|
|
this.panel3.TabIndex = 5;
|
|
|
this.panel3.TabIndex = 5;
|
|
|
//
|
|
|
//
|
|
|
// DeleteButton
|
|
|
// DeleteButton
|
|
|
//
|
|
|
//
|
|
|
this.DeleteButton.Location = new System.Drawing.Point(100, 4);
|
|
|
|
|
|
|
|
|
this.DeleteButton.Location = new System.Drawing.Point(150, 6);
|
|
|
|
|
|
this.DeleteButton.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
|
this.DeleteButton.Name = "DeleteButton";
|
|
|
this.DeleteButton.Name = "DeleteButton";
|
|
|
this.DeleteButton.Size = new System.Drawing.Size(89, 23);
|
|
|
|
|
|
|
|
|
this.DeleteButton.Size = new System.Drawing.Size(133, 35);
|
|
|
this.DeleteButton.TabIndex = 7;
|
|
|
this.DeleteButton.TabIndex = 7;
|
|
|
this.DeleteButton.Text = "&Delete";
|
|
|
this.DeleteButton.Text = "&Delete";
|
|
|
this.DeleteButton.UseVisualStyleBackColor = true;
|
|
|
this.DeleteButton.UseVisualStyleBackColor = true;
|
|
@@ -391,9 +404,10 @@ |
|
|
//
|
|
|
//
|
|
|
// AddButton
|
|
|
// AddButton
|
|
|
//
|
|
|
//
|
|
|
this.AddButton.Location = new System.Drawing.Point(4, 4);
|
|
|
|
|
|
|
|
|
this.AddButton.Location = new System.Drawing.Point(6, 6);
|
|
|
|
|
|
this.AddButton.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
|
this.AddButton.Name = "AddButton";
|
|
|
this.AddButton.Name = "AddButton";
|
|
|
this.AddButton.Size = new System.Drawing.Size(89, 23);
|
|
|
|
|
|
|
|
|
this.AddButton.Size = new System.Drawing.Size(133, 35);
|
|
|
this.AddButton.TabIndex = 6;
|
|
|
this.AddButton.TabIndex = 6;
|
|
|
this.AddButton.Text = "&Add";
|
|
|
this.AddButton.Text = "&Add";
|
|
|
this.AddButton.UseVisualStyleBackColor = true;
|
|
|
this.AddButton.UseVisualStyleBackColor = true;
|
|
@@ -402,9 +416,11 @@ |
|
|
// ServerGroupBox
|
|
|
// ServerGroupBox
|
|
|
//
|
|
|
//
|
|
|
this.ServerGroupBox.Controls.Add(this.tableLayoutPanel1);
|
|
|
this.ServerGroupBox.Controls.Add(this.tableLayoutPanel1);
|
|
|
this.ServerGroupBox.Location = new System.Drawing.Point(222, 12);
|
|
|
|
|
|
|
|
|
this.ServerGroupBox.Location = new System.Drawing.Point(334, 18);
|
|
|
|
|
|
this.ServerGroupBox.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
|
this.ServerGroupBox.Name = "ServerGroupBox";
|
|
|
this.ServerGroupBox.Name = "ServerGroupBox";
|
|
|
this.ServerGroupBox.Size = new System.Drawing.Size(255, 205);
|
|
|
|
|
|
|
|
|
this.ServerGroupBox.Padding = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
|
|
|
|
this.ServerGroupBox.Size = new System.Drawing.Size(383, 307);
|
|
|
this.ServerGroupBox.TabIndex = 6;
|
|
|
this.ServerGroupBox.TabIndex = 6;
|
|
|
this.ServerGroupBox.TabStop = false;
|
|
|
this.ServerGroupBox.TabStop = false;
|
|
|
this.ServerGroupBox.Text = "Server";
|
|
|
this.ServerGroupBox.Text = "Server";
|
|
@@ -412,27 +428,29 @@ |
|
|
// ServersListBox
|
|
|
// ServersListBox
|
|
|
//
|
|
|
//
|
|
|
this.ServersListBox.FormattingEnabled = true;
|
|
|
this.ServersListBox.FormattingEnabled = true;
|
|
|
this.ServersListBox.Location = new System.Drawing.Point(12, 12);
|
|
|
|
|
|
|
|
|
this.ServersListBox.ItemHeight = 20;
|
|
|
|
|
|
this.ServersListBox.Location = new System.Drawing.Point(18, 18);
|
|
|
|
|
|
this.ServersListBox.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
|
this.ServersListBox.Name = "ServersListBox";
|
|
|
this.ServersListBox.Name = "ServersListBox";
|
|
|
this.ServersListBox.Size = new System.Drawing.Size(192, 186);
|
|
|
|
|
|
|
|
|
this.ServersListBox.Size = new System.Drawing.Size(286, 264);
|
|
|
this.ServersListBox.TabIndex = 5;
|
|
|
this.ServersListBox.TabIndex = 5;
|
|
|
this.ServersListBox.SelectedIndexChanged += new System.EventHandler(this.ServersListBox_SelectedIndexChanged);
|
|
|
this.ServersListBox.SelectedIndexChanged += new System.EventHandler(this.ServersListBox_SelectedIndexChanged);
|
|
|
//
|
|
|
//
|
|
|
// ConfigForm
|
|
|
// ConfigForm
|
|
|
//
|
|
|
//
|
|
|
this.AcceptButton = this.OKButton;
|
|
|
this.AcceptButton = this.OKButton;
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
|
|
|
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(144F, 144F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
|
this.AutoSize = true;
|
|
|
this.AutoSize = true;
|
|
|
this.CancelButton = this.MyCancelButton;
|
|
|
this.CancelButton = this.MyCancelButton;
|
|
|
this.ClientSize = new System.Drawing.Size(489, 286);
|
|
|
|
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(733, 430);
|
|
|
this.Controls.Add(this.ServersListBox);
|
|
|
this.Controls.Add(this.ServersListBox);
|
|
|
this.Controls.Add(this.ServerGroupBox);
|
|
|
this.Controls.Add(this.ServerGroupBox);
|
|
|
this.Controls.Add(this.panel1);
|
|
|
this.Controls.Add(this.panel1);
|
|
|
this.Controls.Add(this.panel3);
|
|
|
this.Controls.Add(this.panel3);
|
|
|
this.Controls.Add(this.panel2);
|
|
|
this.Controls.Add(this.panel2);
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
|
|
|
|
|
|
|
this.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
|
|
|
this.MaximizeBox = false;
|
|
|
this.MaximizeBox = false;
|
|
|
this.MinimizeBox = false;
|
|
|
this.MinimizeBox = false;
|
|
|
this.Name = "ConfigForm";
|
|
|
this.Name = "ConfigForm";
|
|
|