|
|
@@ -42,6 +42,11 @@ |
|
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
|
|
this.ProxyNotificationLabel = new System.Windows.Forms.Label();
|
|
|
|
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
|
|
|
this.AuthUserLabel = new System.Windows.Forms.Label();
|
|
|
|
this.AuthPwdLabel = new System.Windows.Forms.Label();
|
|
|
|
this.UseAuthCheckBox = new System.Windows.Forms.CheckBox();
|
|
|
|
this.AuthUserTextBox = new System.Windows.Forms.TextBox();
|
|
|
|
this.AuthPwdTextBox = new System.Windows.Forms.TextBox();
|
|
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
|
|
this.flowLayoutPanel1.SuspendLayout();
|
|
|
|
this.SuspendLayout();
|
|
|
@@ -72,9 +77,10 @@ |
|
|
|
//
|
|
|
|
// UseProxyCheckBox
|
|
|
|
//
|
|
|
|
this.UseProxyCheckBox.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
|
|
|
this.UseProxyCheckBox.AutoSize = true;
|
|
|
|
this.tableLayoutPanel1.SetColumnSpan(this.UseProxyCheckBox, 2);
|
|
|
|
this.UseProxyCheckBox.Location = new System.Drawing.Point(3, 3);
|
|
|
|
this.UseProxyCheckBox.Location = new System.Drawing.Point(3, 6);
|
|
|
|
this.UseProxyCheckBox.Name = "UseProxyCheckBox";
|
|
|
|
this.UseProxyCheckBox.Size = new System.Drawing.Size(78, 16);
|
|
|
|
this.UseProxyCheckBox.TabIndex = 0;
|
|
|
@@ -86,7 +92,7 @@ |
|
|
|
//
|
|
|
|
this.ProxyAddrLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
this.ProxyAddrLabel.AutoSize = true;
|
|
|
|
this.ProxyAddrLabel.Location = new System.Drawing.Point(3, 71);
|
|
|
|
this.ProxyAddrLabel.Location = new System.Drawing.Point(3, 64);
|
|
|
|
this.ProxyAddrLabel.Name = "ProxyAddrLabel";
|
|
|
|
this.ProxyAddrLabel.Size = new System.Drawing.Size(65, 12);
|
|
|
|
this.ProxyAddrLabel.TabIndex = 0;
|
|
|
@@ -95,10 +101,10 @@ |
|
|
|
// ProxyServerTextBox
|
|
|
|
//
|
|
|
|
this.ProxyServerTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
this.ProxyServerTextBox.Location = new System.Drawing.Point(74, 67);
|
|
|
|
this.ProxyServerTextBox.Location = new System.Drawing.Point(74, 59);
|
|
|
|
this.ProxyServerTextBox.MaxLength = 512;
|
|
|
|
this.ProxyServerTextBox.Name = "ProxyServerTextBox";
|
|
|
|
this.ProxyServerTextBox.Size = new System.Drawing.Size(142, 21);
|
|
|
|
this.ProxyServerTextBox.Size = new System.Drawing.Size(138, 21);
|
|
|
|
this.ProxyServerTextBox.TabIndex = 1;
|
|
|
|
this.ProxyServerTextBox.WordWrap = false;
|
|
|
|
//
|
|
|
@@ -106,7 +112,7 @@ |
|
|
|
//
|
|
|
|
this.ProxyPortLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
this.ProxyPortLabel.AutoSize = true;
|
|
|
|
this.ProxyPortLabel.Location = new System.Drawing.Point(222, 71);
|
|
|
|
this.ProxyPortLabel.Location = new System.Drawing.Point(218, 64);
|
|
|
|
this.ProxyPortLabel.Name = "ProxyPortLabel";
|
|
|
|
this.ProxyPortLabel.Size = new System.Drawing.Size(77, 12);
|
|
|
|
this.ProxyPortLabel.TabIndex = 2;
|
|
|
@@ -115,10 +121,10 @@ |
|
|
|
// ProxyPortTextBox
|
|
|
|
//
|
|
|
|
this.ProxyPortTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
this.ProxyPortTextBox.Location = new System.Drawing.Point(305, 67);
|
|
|
|
this.ProxyPortTextBox.Location = new System.Drawing.Point(301, 59);
|
|
|
|
this.ProxyPortTextBox.MaxLength = 10;
|
|
|
|
this.ProxyPortTextBox.Name = "ProxyPortTextBox";
|
|
|
|
this.ProxyPortTextBox.Size = new System.Drawing.Size(58, 21);
|
|
|
|
this.ProxyPortTextBox.Size = new System.Drawing.Size(91, 21);
|
|
|
|
this.ProxyPortTextBox.TabIndex = 3;
|
|
|
|
this.ProxyPortTextBox.WordWrap = false;
|
|
|
|
//
|
|
|
@@ -126,7 +132,7 @@ |
|
|
|
//
|
|
|
|
this.ProxyTypeLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
this.ProxyTypeLabel.AutoSize = true;
|
|
|
|
this.ProxyTypeLabel.Location = new System.Drawing.Point(3, 40);
|
|
|
|
this.ProxyTypeLabel.Location = new System.Drawing.Point(3, 36);
|
|
|
|
this.ProxyTypeLabel.Name = "ProxyTypeLabel";
|
|
|
|
this.ProxyTypeLabel.Size = new System.Drawing.Size(65, 12);
|
|
|
|
this.ProxyTypeLabel.TabIndex = 1;
|
|
|
@@ -140,25 +146,26 @@ |
|
|
|
this.ProxyTypeComboBox.Items.AddRange(new object[] {
|
|
|
|
"SOCKS5",
|
|
|
|
"HTTP"});
|
|
|
|
this.ProxyTypeComboBox.Location = new System.Drawing.Point(74, 36);
|
|
|
|
this.ProxyTypeComboBox.Location = new System.Drawing.Point(74, 33);
|
|
|
|
this.ProxyTypeComboBox.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5);
|
|
|
|
this.ProxyTypeComboBox.Name = "ProxyTypeComboBox";
|
|
|
|
this.ProxyTypeComboBox.Size = new System.Drawing.Size(142, 20);
|
|
|
|
this.ProxyTypeComboBox.Size = new System.Drawing.Size(138, 20);
|
|
|
|
this.ProxyTypeComboBox.TabIndex = 2;
|
|
|
|
this.ProxyTypeComboBox.SelectedIndexChanged += new System.EventHandler(this.ProxyTypeComboBox_SelectedIndexChanged);
|
|
|
|
//
|
|
|
|
// ProxyTimeoutTextBox
|
|
|
|
//
|
|
|
|
this.ProxyTimeoutTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
this.ProxyTimeoutTextBox.Location = new System.Drawing.Point(305, 36);
|
|
|
|
this.ProxyTimeoutTextBox.Location = new System.Drawing.Point(301, 31);
|
|
|
|
this.ProxyTimeoutTextBox.Name = "ProxyTimeoutTextBox";
|
|
|
|
this.ProxyTimeoutTextBox.Size = new System.Drawing.Size(58, 21);
|
|
|
|
this.ProxyTimeoutTextBox.Size = new System.Drawing.Size(91, 21);
|
|
|
|
this.ProxyTimeoutTextBox.TabIndex = 3;
|
|
|
|
//
|
|
|
|
// ProxyTimeoutLabel
|
|
|
|
//
|
|
|
|
this.ProxyTimeoutLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
this.ProxyTimeoutLabel.AutoSize = true;
|
|
|
|
this.ProxyTimeoutLabel.Location = new System.Drawing.Point(222, 40);
|
|
|
|
this.ProxyTimeoutLabel.Location = new System.Drawing.Point(218, 36);
|
|
|
|
this.ProxyTimeoutLabel.Name = "ProxyTimeoutLabel";
|
|
|
|
this.ProxyTimeoutLabel.Size = new System.Drawing.Size(77, 12);
|
|
|
|
this.ProxyTimeoutLabel.TabIndex = 4;
|
|
|
@@ -169,9 +176,9 @@ |
|
|
|
this.tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
|
|
this.tableLayoutPanel1.ColumnCount = 4;
|
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 70F));
|
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 60F));
|
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
|
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 40F));
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.UseProxyCheckBox, 0, 0);
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.ProxyTypeLabel, 0, 1);
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.ProxyPortTextBox, 3, 2);
|
|
|
@@ -182,16 +189,23 @@ |
|
|
|
this.tableLayoutPanel1.Controls.Add(this.ProxyServerTextBox, 1, 2);
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.ProxyAddrLabel, 0, 2);
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.ProxyNotificationLabel, 0, 3);
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel1, 0, 4);
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel1, 0, 6);
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.AuthUserLabel, 0, 5);
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.AuthPwdLabel, 2, 5);
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.UseAuthCheckBox, 0, 4);
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.AuthUserTextBox, 1, 5);
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.AuthPwdTextBox, 3, 5);
|
|
|
|
this.tableLayoutPanel1.Location = new System.Drawing.Point(15, 15);
|
|
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
|
|
this.tableLayoutPanel1.RowCount = 5;
|
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 21.95122F));
|
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 21.95122F));
|
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 21.95122F));
|
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 34.14634F));
|
|
|
|
this.tableLayoutPanel1.RowCount = 7;
|
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.66713F));
|
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.66713F));
|
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.66713F));
|
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.6662F));
|
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.6662F));
|
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.6662F));
|
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
|
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(366, 177);
|
|
|
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(395, 204);
|
|
|
|
this.tableLayoutPanel1.TabIndex = 14;
|
|
|
|
//
|
|
|
|
// ProxyNotificationLabel
|
|
|
@@ -200,9 +214,9 @@ |
|
|
|
this.ProxyNotificationLabel.AutoSize = true;
|
|
|
|
this.tableLayoutPanel1.SetColumnSpan(this.ProxyNotificationLabel, 4);
|
|
|
|
this.ProxyNotificationLabel.ForeColor = System.Drawing.Color.Red;
|
|
|
|
this.ProxyNotificationLabel.Location = new System.Drawing.Point(3, 111);
|
|
|
|
this.ProxyNotificationLabel.Location = new System.Drawing.Point(3, 92);
|
|
|
|
this.ProxyNotificationLabel.Name = "ProxyNotificationLabel";
|
|
|
|
this.ProxyNotificationLabel.Size = new System.Drawing.Size(360, 12);
|
|
|
|
this.ProxyNotificationLabel.Size = new System.Drawing.Size(389, 12);
|
|
|
|
this.ProxyNotificationLabel.TabIndex = 5;
|
|
|
|
this.ProxyNotificationLabel.Text = "If server has a plugin, proxy will not be used";
|
|
|
|
//
|
|
|
@@ -215,11 +229,61 @@ |
|
|
|
this.flowLayoutPanel1.Controls.Add(this.OKButton);
|
|
|
|
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Right;
|
|
|
|
this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
|
|
|
|
this.flowLayoutPanel1.Location = new System.Drawing.Point(204, 145);
|
|
|
|
this.flowLayoutPanel1.Location = new System.Drawing.Point(233, 171);
|
|
|
|
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
|
|
|
this.flowLayoutPanel1.Size = new System.Drawing.Size(159, 29);
|
|
|
|
this.flowLayoutPanel1.Size = new System.Drawing.Size(159, 30);
|
|
|
|
this.flowLayoutPanel1.TabIndex = 6;
|
|
|
|
//
|
|
|
|
// AuthUserLabel
|
|
|
|
//
|
|
|
|
this.AuthUserLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
this.AuthUserLabel.AutoSize = true;
|
|
|
|
this.AuthUserLabel.Location = new System.Drawing.Point(3, 148);
|
|
|
|
this.AuthUserLabel.Name = "AuthUserLabel";
|
|
|
|
this.AuthUserLabel.Size = new System.Drawing.Size(65, 12);
|
|
|
|
this.AuthUserLabel.TabIndex = 7;
|
|
|
|
this.AuthUserLabel.Text = "User Name";
|
|
|
|
//
|
|
|
|
// AuthPwdLabel
|
|
|
|
//
|
|
|
|
this.AuthPwdLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
this.AuthPwdLabel.AutoSize = true;
|
|
|
|
this.AuthPwdLabel.Location = new System.Drawing.Point(218, 148);
|
|
|
|
this.AuthPwdLabel.Name = "AuthPwdLabel";
|
|
|
|
this.AuthPwdLabel.Size = new System.Drawing.Size(77, 12);
|
|
|
|
this.AuthPwdLabel.TabIndex = 8;
|
|
|
|
this.AuthPwdLabel.Text = "Password";
|
|
|
|
//
|
|
|
|
// UseAuthCheckBox
|
|
|
|
//
|
|
|
|
this.UseAuthCheckBox.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
|
|
|
this.UseAuthCheckBox.AutoSize = true;
|
|
|
|
this.tableLayoutPanel1.SetColumnSpan(this.UseAuthCheckBox, 2);
|
|
|
|
this.UseAuthCheckBox.Location = new System.Drawing.Point(3, 118);
|
|
|
|
this.UseAuthCheckBox.Name = "UseAuthCheckBox";
|
|
|
|
this.UseAuthCheckBox.Size = new System.Drawing.Size(72, 16);
|
|
|
|
this.UseAuthCheckBox.TabIndex = 9;
|
|
|
|
this.UseAuthCheckBox.Text = "Use Auth";
|
|
|
|
this.UseAuthCheckBox.UseVisualStyleBackColor = true;
|
|
|
|
this.UseAuthCheckBox.CheckedChanged += new System.EventHandler(this.UseAuthCheckBox_CheckedChanged);
|
|
|
|
//
|
|
|
|
// AuthUserTextBox
|
|
|
|
//
|
|
|
|
this.AuthUserTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
this.AuthUserTextBox.Location = new System.Drawing.Point(74, 143);
|
|
|
|
this.AuthUserTextBox.Name = "AuthUserTextBox";
|
|
|
|
this.AuthUserTextBox.Size = new System.Drawing.Size(138, 21);
|
|
|
|
this.AuthUserTextBox.TabIndex = 10;
|
|
|
|
//
|
|
|
|
// AuthPwdTextBox
|
|
|
|
//
|
|
|
|
this.AuthPwdTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
this.AuthPwdTextBox.Location = new System.Drawing.Point(301, 143);
|
|
|
|
this.AuthPwdTextBox.Name = "AuthPwdTextBox";
|
|
|
|
this.AuthPwdTextBox.PasswordChar = '*';
|
|
|
|
this.AuthPwdTextBox.Size = new System.Drawing.Size(91, 21);
|
|
|
|
this.AuthPwdTextBox.TabIndex = 11;
|
|
|
|
//
|
|
|
|
// ProxyForm
|
|
|
|
//
|
|
|
|
this.AcceptButton = this.OKButton;
|
|
|
@@ -260,5 +324,10 @@ |
|
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
|
|
private System.Windows.Forms.Label ProxyNotificationLabel;
|
|
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
|
|
|
|
private System.Windows.Forms.Label AuthUserLabel;
|
|
|
|
private System.Windows.Forms.Label AuthPwdLabel;
|
|
|
|
private System.Windows.Forms.CheckBox UseAuthCheckBox;
|
|
|
|
private System.Windows.Forms.TextBox AuthUserTextBox;
|
|
|
|
private System.Windows.Forms.TextBox AuthPwdTextBox;
|
|
|
|
} |
|
|
|
} |