diff --git a/shadowsocks-csharp/View/ConfigForm.Designer.cs b/shadowsocks-csharp/View/ConfigForm.Designer.cs index d1ca59e7..38524b64 100755 --- a/shadowsocks-csharp/View/ConfigForm.Designer.cs +++ b/shadowsocks-csharp/View/ConfigForm.Designer.cs @@ -48,16 +48,18 @@ this.panel1 = new System.Windows.Forms.Panel(); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.enableItem = new System.Windows.Forms.MenuItem(); + this.configItem = new System.Windows.Forms.MenuItem(); this.aboutItem = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.quitItem = new System.Windows.Forms.MenuItem(); - this.configItem = new System.Windows.Forms.MenuItem(); this.tableLayoutPanel1.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // tableLayoutPanel1 // + this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.tableLayoutPanel1.AutoSize = true; this.tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.tableLayoutPanel1.ColumnCount = 2; @@ -73,22 +75,24 @@ this.tableLayoutPanel1.Controls.Add(this.textBox2, 1, 1); this.tableLayoutPanel1.Controls.Add(this.textBox3, 1, 2); this.tableLayoutPanel1.Controls.Add(this.textBox4, 1, 3); - this.tableLayoutPanel1.Location = new System.Drawing.Point(22, 12); + this.tableLayoutPanel1.Location = new System.Drawing.Point(19, 19); + this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(10); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.Padding = new System.Windows.Forms.Padding(5); this.tableLayoutPanel1.RowCount = 5; 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(196, 131); + this.tableLayoutPanel1.Size = new System.Drawing.Size(206, 141); this.tableLayoutPanel1.TabIndex = 0; // // label5 // this.label5.Anchor = System.Windows.Forms.AnchorStyles.Right; this.label5.AutoSize = true; - this.label5.Location = new System.Drawing.Point(11, 111); + this.label5.Location = new System.Drawing.Point(16, 116); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(52, 13); this.label5.TabIndex = 8; @@ -98,7 +102,7 @@ // this.label1.Anchor = System.Windows.Forms.AnchorStyles.Right; this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(12, 6); + this.label1.Location = new System.Drawing.Point(17, 11); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(51, 13); this.label1.TabIndex = 0; @@ -108,7 +112,7 @@ // this.label2.Anchor = System.Windows.Forms.AnchorStyles.Right; this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(3, 32); + this.label2.Location = new System.Drawing.Point(8, 37); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(60, 13); this.label2.TabIndex = 1; @@ -128,7 +132,7 @@ "aes-128-cfb", "bf-cfb", "rc4"}); - this.comboBox1.Location = new System.Drawing.Point(69, 107); + this.comboBox1.Location = new System.Drawing.Point(74, 112); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(124, 21); this.comboBox1.TabIndex = 9; @@ -137,7 +141,7 @@ // this.label3.Anchor = System.Windows.Forms.AnchorStyles.Right; this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(10, 58); + this.label3.Location = new System.Drawing.Point(15, 63); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(53, 13); this.label3.TabIndex = 2; @@ -147,7 +151,7 @@ // this.label4.Anchor = System.Windows.Forms.AnchorStyles.Right; this.label4.AutoSize = true; - this.label4.Location = new System.Drawing.Point(8, 84); + this.label4.Location = new System.Drawing.Point(13, 89); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(55, 13); this.label4.TabIndex = 3; @@ -156,7 +160,7 @@ // textBox1 // this.textBox1.Anchor = System.Windows.Forms.AnchorStyles.Left; - this.textBox1.Location = new System.Drawing.Point(69, 3); + this.textBox1.Location = new System.Drawing.Point(74, 8); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(124, 20); this.textBox1.TabIndex = 4; @@ -165,7 +169,7 @@ // textBox2 // this.textBox2.Anchor = System.Windows.Forms.AnchorStyles.Left; - this.textBox2.Location = new System.Drawing.Point(69, 29); + this.textBox2.Location = new System.Drawing.Point(74, 34); this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(124, 20); this.textBox2.TabIndex = 5; @@ -174,7 +178,7 @@ // textBox3 // this.textBox3.Anchor = System.Windows.Forms.AnchorStyles.Left; - this.textBox3.Location = new System.Drawing.Point(69, 55); + this.textBox3.Location = new System.Drawing.Point(74, 60); this.textBox3.Name = "textBox3"; this.textBox3.Size = new System.Drawing.Size(124, 20); this.textBox3.TabIndex = 6; @@ -183,7 +187,7 @@ // textBox4 // this.textBox4.Anchor = System.Windows.Forms.AnchorStyles.Left; - this.textBox4.Location = new System.Drawing.Point(69, 81); + this.textBox4.Location = new System.Drawing.Point(74, 86); this.textBox4.Name = "textBox4"; this.textBox4.Size = new System.Drawing.Size(124, 20); this.textBox4.TabIndex = 7; @@ -201,7 +205,7 @@ this.panel2.Anchor = System.Windows.Forms.AnchorStyles.Top; this.panel2.AutoSize = true; this.panel2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.panel2.Location = new System.Drawing.Point(61, 175); + this.panel2.Location = new System.Drawing.Point(45, 175); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(0, 0); this.panel2.TabIndex = 1; @@ -235,7 +239,7 @@ this.panel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.panel1.Controls.Add(this.button2); this.panel1.Controls.Add(this.button1); - this.panel1.Location = new System.Drawing.Point(61, 153); + this.panel1.Location = new System.Drawing.Point(61, 173); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(164, 30); this.panel1.TabIndex = 1; @@ -255,6 +259,12 @@ this.enableItem.Text = "Enable"; this.enableItem.Click += new System.EventHandler(this.EnableItem_Click); // + // configItem + // + this.configItem.Index = 1; + this.configItem.Text = "Options..."; + this.configItem.Click += new System.EventHandler(this.Config_Click); + // // aboutItem // this.aboutItem.Index = 2; @@ -272,13 +282,7 @@ this.quitItem.Text = "Quit"; this.quitItem.Click += new System.EventHandler(this.Quit_Click); // - // configItem - // - this.configItem.Index = 1; - this.configItem.Text = "Options..."; - this.configItem.Click += new System.EventHandler(this.Config_Click); - // - // Form1 + // ConfigForm // this.AcceptButton = this.button1; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -286,12 +290,12 @@ this.AutoSize = true; this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.CancelButton = this.button2; - this.ClientSize = new System.Drawing.Size(282, 206); + this.ClientSize = new System.Drawing.Size(250, 221); this.Controls.Add(this.panel2); this.Controls.Add(this.tableLayoutPanel1); this.Controls.Add(this.panel1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.Name = "Form1"; + this.Name = "ConfigForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Shadowsocks"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed);