374 lines
19 KiB
C#
Executable File
374 lines
19 KiB
C#
Executable File
namespace Shadowsocks.View
|
|
{
|
|
partial class ConfigForm
|
|
{
|
|
/// <summary>
|
|
/// 必需的设计器变量。
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// 清理所有正在使用的资源。
|
|
/// </summary>
|
|
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows 窗体设计器生成的代码
|
|
|
|
/// <summary>
|
|
/// 设计器支持所需的方法 - 不要
|
|
/// 使用代码编辑器修改此方法的内容。
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.RemarksTextBox = new System.Windows.Forms.TextBox();
|
|
this.RemarksLabel = new System.Windows.Forms.Label();
|
|
this.IPLabel = new System.Windows.Forms.Label();
|
|
this.ServerPortLabel = new System.Windows.Forms.Label();
|
|
this.ProxyPortTextBox = new System.Windows.Forms.TextBox();
|
|
this.ProxyPortLabel = new System.Windows.Forms.Label();
|
|
this.PasswordLabel = new System.Windows.Forms.Label();
|
|
this.IPTextBox = new System.Windows.Forms.TextBox();
|
|
this.ServerPortTextBox = new System.Windows.Forms.TextBox();
|
|
this.PasswordTextBox = new System.Windows.Forms.TextBox();
|
|
this.EncryptionLabel = new System.Windows.Forms.Label();
|
|
this.EncryptionSelect = new System.Windows.Forms.ComboBox();
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
this.OKButton = new System.Windows.Forms.Button();
|
|
this.MyCancelButton = new System.Windows.Forms.Button();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.panel3 = new System.Windows.Forms.Panel();
|
|
this.DeleteButton = new System.Windows.Forms.Button();
|
|
this.AddButton = new System.Windows.Forms.Button();
|
|
this.ServerGroupBox = new System.Windows.Forms.GroupBox();
|
|
this.ServersListBox = new System.Windows.Forms.ListBox();
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
this.panel1.SuspendLayout();
|
|
this.panel3.SuspendLayout();
|
|
this.ServerGroupBox.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.RemarksTextBox, 1, 5);
|
|
this.tableLayoutPanel1.Controls.Add(this.RemarksLabel, 0, 5);
|
|
this.tableLayoutPanel1.Controls.Add(this.IPLabel, 0, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.ServerPortLabel, 0, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.ProxyPortTextBox, 1, 4);
|
|
this.tableLayoutPanel1.Controls.Add(this.ProxyPortLabel, 0, 4);
|
|
this.tableLayoutPanel1.Controls.Add(this.PasswordLabel, 0, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.IPTextBox, 1, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.ServerPortTextBox, 1, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.PasswordTextBox, 1, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.EncryptionLabel, 0, 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.Name = "tableLayoutPanel1";
|
|
this.tableLayoutPanel1.Padding = new System.Windows.Forms.Padding(5);
|
|
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());
|
|
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.TabIndex = 0;
|
|
//
|
|
// RemarksTextBox
|
|
//
|
|
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.Name = "RemarksTextBox";
|
|
this.RemarksTextBox.Size = new System.Drawing.Size(160, 20);
|
|
this.RemarksTextBox.TabIndex = 10;
|
|
this.RemarksTextBox.WordWrap = false;
|
|
//
|
|
// RemarksLabel
|
|
//
|
|
this.RemarksLabel.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
this.RemarksLabel.AutoSize = true;
|
|
this.RemarksLabel.Location = new System.Drawing.Point(19, 142);
|
|
this.RemarksLabel.Name = "RemarksLabel";
|
|
this.RemarksLabel.Size = new System.Drawing.Size(49, 13);
|
|
this.RemarksLabel.TabIndex = 9;
|
|
this.RemarksLabel.Text = "Remarks";
|
|
//
|
|
// IPLabel
|
|
//
|
|
this.IPLabel.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
this.IPLabel.AutoSize = true;
|
|
this.IPLabel.Location = new System.Drawing.Point(17, 11);
|
|
this.IPLabel.Name = "IPLabel";
|
|
this.IPLabel.Size = new System.Drawing.Size(51, 13);
|
|
this.IPLabel.TabIndex = 0;
|
|
this.IPLabel.Text = "Server IP";
|
|
//
|
|
// ServerPortLabel
|
|
//
|
|
this.ServerPortLabel.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
this.ServerPortLabel.AutoSize = true;
|
|
this.ServerPortLabel.Location = new System.Drawing.Point(8, 37);
|
|
this.ServerPortLabel.Name = "ServerPortLabel";
|
|
this.ServerPortLabel.Size = new System.Drawing.Size(60, 13);
|
|
this.ServerPortLabel.TabIndex = 1;
|
|
this.ServerPortLabel.Text = "Server Port";
|
|
//
|
|
// 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(74, 113);
|
|
this.ProxyPortTextBox.Name = "ProxyPortTextBox";
|
|
this.ProxyPortTextBox.Size = new System.Drawing.Size(160, 20);
|
|
this.ProxyPortTextBox.TabIndex = 4;
|
|
this.ProxyPortTextBox.WordWrap = false;
|
|
//
|
|
// ProxyPortLabel
|
|
//
|
|
this.ProxyPortLabel.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
this.ProxyPortLabel.AutoSize = true;
|
|
this.ProxyPortLabel.Location = new System.Drawing.Point(13, 116);
|
|
this.ProxyPortLabel.Name = "ProxyPortLabel";
|
|
this.ProxyPortLabel.Size = new System.Drawing.Size(55, 13);
|
|
this.ProxyPortLabel.TabIndex = 3;
|
|
this.ProxyPortLabel.Text = "Proxy Port";
|
|
//
|
|
// PasswordLabel
|
|
//
|
|
this.PasswordLabel.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
this.PasswordLabel.AutoSize = true;
|
|
this.PasswordLabel.Location = new System.Drawing.Point(15, 63);
|
|
this.PasswordLabel.Name = "PasswordLabel";
|
|
this.PasswordLabel.Size = new System.Drawing.Size(53, 13);
|
|
this.PasswordLabel.TabIndex = 2;
|
|
this.PasswordLabel.Text = "Password";
|
|
//
|
|
// IPTextBox
|
|
//
|
|
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.Name = "IPTextBox";
|
|
this.IPTextBox.Size = new System.Drawing.Size(160, 20);
|
|
this.IPTextBox.TabIndex = 0;
|
|
this.IPTextBox.WordWrap = false;
|
|
//
|
|
// ServerPortTextBox
|
|
//
|
|
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.Name = "ServerPortTextBox";
|
|
this.ServerPortTextBox.Size = new System.Drawing.Size(160, 20);
|
|
this.ServerPortTextBox.TabIndex = 1;
|
|
this.ServerPortTextBox.WordWrap = false;
|
|
//
|
|
// PasswordTextBox
|
|
//
|
|
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.Name = "PasswordTextBox";
|
|
this.PasswordTextBox.PasswordChar = '*';
|
|
this.PasswordTextBox.Size = new System.Drawing.Size(160, 20);
|
|
this.PasswordTextBox.TabIndex = 2;
|
|
this.PasswordTextBox.WordWrap = false;
|
|
//
|
|
// EncryptionLabel
|
|
//
|
|
this.EncryptionLabel.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|
this.EncryptionLabel.AutoSize = true;
|
|
this.EncryptionLabel.Location = new System.Drawing.Point(11, 90);
|
|
this.EncryptionLabel.Name = "EncryptionLabel";
|
|
this.EncryptionLabel.Size = new System.Drawing.Size(57, 13);
|
|
this.EncryptionLabel.TabIndex = 8;
|
|
this.EncryptionLabel.Text = "Encryption";
|
|
//
|
|
// EncryptionSelect
|
|
//
|
|
this.EncryptionSelect.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.EncryptionSelect.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.EncryptionSelect.FormattingEnabled = true;
|
|
this.EncryptionSelect.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
this.EncryptionSelect.ItemHeight = 13;
|
|
this.EncryptionSelect.Items.AddRange(new object[] {
|
|
"table",
|
|
"rc4-md5",
|
|
"salsa20",
|
|
"chacha20",
|
|
"aes-256-cfb",
|
|
"aes-192-cfb",
|
|
"aes-128-cfb",
|
|
"rc4"});
|
|
this.EncryptionSelect.Location = new System.Drawing.Point(74, 86);
|
|
this.EncryptionSelect.Name = "EncryptionSelect";
|
|
this.EncryptionSelect.Size = new System.Drawing.Size(160, 21);
|
|
this.EncryptionSelect.TabIndex = 3;
|
|
//
|
|
// panel2
|
|
//
|
|
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(164, 175);
|
|
this.panel2.Name = "panel2";
|
|
this.panel2.Size = new System.Drawing.Size(0, 0);
|
|
this.panel2.TabIndex = 1;
|
|
//
|
|
// OKButton
|
|
//
|
|
this.OKButton.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
this.OKButton.Location = new System.Drawing.Point(4, 4);
|
|
this.OKButton.Name = "OKButton";
|
|
this.OKButton.Size = new System.Drawing.Size(75, 23);
|
|
this.OKButton.TabIndex = 8;
|
|
this.OKButton.Text = "OK";
|
|
this.OKButton.UseVisualStyleBackColor = true;
|
|
this.OKButton.Click += new System.EventHandler(this.OKButton_Click);
|
|
//
|
|
// MyCancelButton
|
|
//
|
|
this.MyCancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.MyCancelButton.Location = new System.Drawing.Point(87, 4);
|
|
this.MyCancelButton.Name = "MyCancelButton";
|
|
this.MyCancelButton.Size = new System.Drawing.Size(75, 23);
|
|
this.MyCancelButton.TabIndex = 9;
|
|
this.MyCancelButton.Text = "Cancel";
|
|
this.MyCancelButton.UseVisualStyleBackColor = true;
|
|
this.MyCancelButton.Click += new System.EventHandler(this.CancelButton_Click);
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.AutoSize = true;
|
|
this.panel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
this.panel1.Controls.Add(this.MyCancelButton);
|
|
this.panel1.Controls.Add(this.OKButton);
|
|
this.panel1.Location = new System.Drawing.Point(313, 247);
|
|
this.panel1.Margin = new System.Windows.Forms.Padding(0);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Size = new System.Drawing.Size(165, 30);
|
|
this.panel1.TabIndex = 1;
|
|
//
|
|
// panel3
|
|
//
|
|
this.panel3.AutoSize = true;
|
|
this.panel3.Controls.Add(this.DeleteButton);
|
|
this.panel3.Controls.Add(this.AddButton);
|
|
this.panel3.Location = new System.Drawing.Point(12, 220);
|
|
this.panel3.Margin = new System.Windows.Forms.Padding(0);
|
|
this.panel3.Name = "panel3";
|
|
this.panel3.Size = new System.Drawing.Size(192, 31);
|
|
this.panel3.TabIndex = 5;
|
|
//
|
|
// DeleteButton
|
|
//
|
|
this.DeleteButton.Location = new System.Drawing.Point(100, 4);
|
|
this.DeleteButton.Name = "DeleteButton";
|
|
this.DeleteButton.Size = new System.Drawing.Size(89, 23);
|
|
this.DeleteButton.TabIndex = 7;
|
|
this.DeleteButton.Text = "&Delete";
|
|
this.DeleteButton.UseVisualStyleBackColor = true;
|
|
this.DeleteButton.Click += new System.EventHandler(this.DeleteButton_Click);
|
|
//
|
|
// AddButton
|
|
//
|
|
this.AddButton.Location = new System.Drawing.Point(4, 4);
|
|
this.AddButton.Name = "AddButton";
|
|
this.AddButton.Size = new System.Drawing.Size(89, 23);
|
|
this.AddButton.TabIndex = 6;
|
|
this.AddButton.Text = "&Add";
|
|
this.AddButton.UseVisualStyleBackColor = true;
|
|
this.AddButton.Click += new System.EventHandler(this.AddButton_Click);
|
|
//
|
|
// ServerGroupBox
|
|
//
|
|
this.ServerGroupBox.Controls.Add(this.tableLayoutPanel1);
|
|
this.ServerGroupBox.Location = new System.Drawing.Point(220, 12);
|
|
this.ServerGroupBox.Name = "ServerGroupBox";
|
|
this.ServerGroupBox.Size = new System.Drawing.Size(258, 199);
|
|
this.ServerGroupBox.TabIndex = 6;
|
|
this.ServerGroupBox.TabStop = false;
|
|
this.ServerGroupBox.Text = "Server";
|
|
//
|
|
// ServersListBox
|
|
//
|
|
this.ServersListBox.FormattingEnabled = true;
|
|
this.ServersListBox.Location = new System.Drawing.Point(12, 12);
|
|
this.ServersListBox.Name = "ServersListBox";
|
|
this.ServersListBox.Size = new System.Drawing.Size(192, 199);
|
|
this.ServersListBox.TabIndex = 5;
|
|
this.ServersListBox.SelectedIndexChanged += new System.EventHandler(this.ServersListBox_SelectedIndexChanged);
|
|
//
|
|
// ConfigForm
|
|
//
|
|
this.AcceptButton = this.OKButton;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.AutoSize = true;
|
|
this.CancelButton = this.MyCancelButton;
|
|
this.ClientSize = new System.Drawing.Size(489, 287);
|
|
this.Controls.Add(this.ServersListBox);
|
|
this.Controls.Add(this.ServerGroupBox);
|
|
this.Controls.Add(this.panel1);
|
|
this.Controls.Add(this.panel3);
|
|
this.Controls.Add(this.panel2);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "ConfigForm";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Edit Servers";
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.ConfigForm_FormClosed);
|
|
this.Load += new System.EventHandler(this.ConfigForm_Load);
|
|
this.Shown += new System.EventHandler(this.ConfigForm_Shown);
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
this.panel1.ResumeLayout(false);
|
|
this.panel3.ResumeLayout(false);
|
|
this.ServerGroupBox.ResumeLayout(false);
|
|
this.ServerGroupBox.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private System.Windows.Forms.Label IPLabel;
|
|
private System.Windows.Forms.Label ServerPortLabel;
|
|
private System.Windows.Forms.Label PasswordLabel;
|
|
private System.Windows.Forms.Label ProxyPortLabel;
|
|
private System.Windows.Forms.TextBox IPTextBox;
|
|
private System.Windows.Forms.TextBox ServerPortTextBox;
|
|
private System.Windows.Forms.TextBox PasswordTextBox;
|
|
private System.Windows.Forms.TextBox ProxyPortTextBox;
|
|
private System.Windows.Forms.Label EncryptionLabel;
|
|
private System.Windows.Forms.ComboBox EncryptionSelect;
|
|
private System.Windows.Forms.Panel panel2;
|
|
private System.Windows.Forms.Button OKButton;
|
|
private System.Windows.Forms.Button MyCancelButton;
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.Panel panel3;
|
|
private System.Windows.Forms.Button DeleteButton;
|
|
private System.Windows.Forms.Button AddButton;
|
|
private System.Windows.Forms.GroupBox ServerGroupBox;
|
|
private System.Windows.Forms.ListBox ServersListBox;
|
|
private System.Windows.Forms.TextBox RemarksTextBox;
|
|
private System.Windows.Forms.Label RemarksLabel;
|
|
}
|
|
}
|
|
|