|
|
@@ -28,12 +28,214 @@ |
|
|
|
/// </summary>
|
|
|
|
private void InitializeComponent()
|
|
|
|
{
|
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
|
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
|
|
|
this.textBox2 = new System.Windows.Forms.TextBox();
|
|
|
|
this.textBox3 = new System.Windows.Forms.TextBox();
|
|
|
|
this.textBox4 = new System.Windows.Forms.TextBox();
|
|
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
|
|
this.button2 = new System.Windows.Forms.Button();
|
|
|
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
|
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
|
|
this.panel1.SuspendLayout();
|
|
|
|
this.tableLayoutPanel2.SuspendLayout();
|
|
|
|
this.SuspendLayout();
|
|
|
|
//
|
|
|
|
// tableLayoutPanel1
|
|
|
|
//
|
|
|
|
this.tableLayoutPanel1.AutoSize = true;
|
|
|
|
this.tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
|
|
this.tableLayoutPanel1.ColumnCount = 2;
|
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.label2, 0, 1);
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.label3, 0, 2);
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.label4, 0, 3);
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.textBox1, 1, 0);
|
|
|
|
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(12, 12);
|
|
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
|
|
this.tableLayoutPanel1.RowCount = 4;
|
|
|
|
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(System.Windows.Forms.SizeType.Absolute, 20F));
|
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
|
|
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(256, 104);
|
|
|
|
this.tableLayoutPanel1.TabIndex = 0;
|
|
|
|
//
|
|
|
|
// label1
|
|
|
|
//
|
|
|
|
this.label1.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
|
|
this.label1.AutoSize = true;
|
|
|
|
this.label1.Location = new System.Drawing.Point(12, 6);
|
|
|
|
this.label1.Name = "label1";
|
|
|
|
this.label1.Size = new System.Drawing.Size(51, 13);
|
|
|
|
this.label1.TabIndex = 0;
|
|
|
|
this.label1.Text = "Server IP";
|
|
|
|
//
|
|
|
|
// label2
|
|
|
|
//
|
|
|
|
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
|
|
this.label2.AutoSize = true;
|
|
|
|
this.label2.Location = new System.Drawing.Point(3, 32);
|
|
|
|
this.label2.Name = "label2";
|
|
|
|
this.label2.Size = new System.Drawing.Size(60, 13);
|
|
|
|
this.label2.TabIndex = 1;
|
|
|
|
this.label2.Text = "Server Port";
|
|
|
|
//
|
|
|
|
// label3
|
|
|
|
//
|
|
|
|
this.label3.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
|
|
this.label3.AutoSize = true;
|
|
|
|
this.label3.Location = new System.Drawing.Point(10, 58);
|
|
|
|
this.label3.Name = "label3";
|
|
|
|
this.label3.Size = new System.Drawing.Size(53, 13);
|
|
|
|
this.label3.TabIndex = 2;
|
|
|
|
this.label3.Text = "Password";
|
|
|
|
//
|
|
|
|
// label4
|
|
|
|
//
|
|
|
|
this.label4.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
|
|
this.label4.AutoSize = true;
|
|
|
|
this.label4.Location = new System.Drawing.Point(8, 84);
|
|
|
|
this.label4.Name = "label4";
|
|
|
|
this.label4.Size = new System.Drawing.Size(55, 13);
|
|
|
|
this.label4.TabIndex = 3;
|
|
|
|
this.label4.Text = "Proxy Port";
|
|
|
|
//
|
|
|
|
// textBox1
|
|
|
|
//
|
|
|
|
this.textBox1.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
|
|
|
this.textBox1.Location = new System.Drawing.Point(69, 3);
|
|
|
|
this.textBox1.Name = "textBox1";
|
|
|
|
this.textBox1.Size = new System.Drawing.Size(184, 20);
|
|
|
|
this.textBox1.TabIndex = 4;
|
|
|
|
this.textBox1.WordWrap = false;
|
|
|
|
//
|
|
|
|
// textBox2
|
|
|
|
//
|
|
|
|
this.textBox2.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
|
|
|
this.textBox2.Location = new System.Drawing.Point(69, 29);
|
|
|
|
this.textBox2.Name = "textBox2";
|
|
|
|
this.textBox2.Size = new System.Drawing.Size(184, 20);
|
|
|
|
this.textBox2.TabIndex = 5;
|
|
|
|
this.textBox2.WordWrap = false;
|
|
|
|
//
|
|
|
|
// textBox3
|
|
|
|
//
|
|
|
|
this.textBox3.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
|
|
|
this.textBox3.Location = new System.Drawing.Point(69, 55);
|
|
|
|
this.textBox3.Name = "textBox3";
|
|
|
|
this.textBox3.Size = new System.Drawing.Size(184, 20);
|
|
|
|
this.textBox3.TabIndex = 6;
|
|
|
|
this.textBox3.WordWrap = false;
|
|
|
|
//
|
|
|
|
// textBox4
|
|
|
|
//
|
|
|
|
this.textBox4.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
|
|
|
this.textBox4.Location = new System.Drawing.Point(69, 81);
|
|
|
|
this.textBox4.Name = "textBox4";
|
|
|
|
this.textBox4.Size = new System.Drawing.Size(184, 20);
|
|
|
|
this.textBox4.TabIndex = 7;
|
|
|
|
this.textBox4.WordWrap = false;
|
|
|
|
//
|
|
|
|
// panel1
|
|
|
|
//
|
|
|
|
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
this.panel1.AutoSize = true;
|
|
|
|
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(51, 3);
|
|
|
|
this.panel1.Name = "panel1";
|
|
|
|
this.panel1.Size = new System.Drawing.Size(164, 30);
|
|
|
|
this.panel1.TabIndex = 1;
|
|
|
|
//
|
|
|
|
// button1
|
|
|
|
//
|
|
|
|
this.button1.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
|
|
this.button1.Location = new System.Drawing.Point(4, 4);
|
|
|
|
this.button1.Name = "button1";
|
|
|
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
|
|
|
this.button1.TabIndex = 0;
|
|
|
|
this.button1.Text = "OK";
|
|
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
|
|
//
|
|
|
|
// button2
|
|
|
|
//
|
|
|
|
this.button2.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
|
|
this.button2.Location = new System.Drawing.Point(86, 3);
|
|
|
|
this.button2.Name = "button2";
|
|
|
|
this.button2.Size = new System.Drawing.Size(75, 23);
|
|
|
|
this.button2.TabIndex = 1;
|
|
|
|
this.button2.Text = "Cancel";
|
|
|
|
this.button2.UseVisualStyleBackColor = true;
|
|
|
|
//
|
|
|
|
// tableLayoutPanel2
|
|
|
|
//
|
|
|
|
this.tableLayoutPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
this.tableLayoutPanel2.AutoSize = true;
|
|
|
|
this.tableLayoutPanel2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
|
|
this.tableLayoutPanel2.ColumnCount = 3;
|
|
|
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
|
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
|
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
|
|
this.tableLayoutPanel2.Controls.Add(this.panel1, 1, 0);
|
|
|
|
this.tableLayoutPanel2.Location = new System.Drawing.Point(12, 122);
|
|
|
|
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
|
|
|
|
this.tableLayoutPanel2.RowCount = 1;
|
|
|
|
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
|
|
this.tableLayoutPanel2.Size = new System.Drawing.Size(266, 36);
|
|
|
|
this.tableLayoutPanel2.TabIndex = 3;
|
|
|
|
//
|
|
|
|
// Form1
|
|
|
|
//
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
this.Text = "Form1";
|
|
|
|
this.AutoSize = true;
|
|
|
|
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
|
|
this.ClientSize = new System.Drawing.Size(291, 206);
|
|
|
|
this.Controls.Add(this.tableLayoutPanel2);
|
|
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
|
|
|
this.Name = "Form1";
|
|
|
|
this.Text = "Shadowsocks";
|
|
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
|
|
this.panel1.ResumeLayout(false);
|
|
|
|
this.tableLayoutPanel2.ResumeLayout(false);
|
|
|
|
this.tableLayoutPanel2.PerformLayout();
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
|
|
private System.Windows.Forms.Label label2;
|
|
|
|
private System.Windows.Forms.Label label3;
|
|
|
|
private System.Windows.Forms.Label label4;
|
|
|
|
private System.Windows.Forms.TextBox textBox1;
|
|
|
|
private System.Windows.Forms.TextBox textBox2;
|
|
|
|
private System.Windows.Forms.TextBox textBox3;
|
|
|
|
private System.Windows.Forms.TextBox textBox4;
|
|
|
|
private System.Windows.Forms.Panel panel1;
|
|
|
|
private System.Windows.Forms.Button button2;
|
|
|
|
private System.Windows.Forms.Button button1;
|
|
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|