diff --git a/v2rayN/v2rayN/Forms/AddServer3Form.Designer.cs b/v2rayN/v2rayN/Forms/AddServer3Form.Designer.cs
deleted file mode 100644
index b3cf7d3e..00000000
--- a/v2rayN/v2rayN/Forms/AddServer3Form.Designer.cs
+++ /dev/null
@@ -1,191 +0,0 @@
-namespace v2rayN.Forms
-{
- partial class AddServer3Form
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddServer3Form));
- this.btnClose = new System.Windows.Forms.Button();
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.label13 = new System.Windows.Forms.Label();
- this.cmbSecurity = new System.Windows.Forms.ComboBox();
- this.txtRemarks = new System.Windows.Forms.TextBox();
- this.label6 = new System.Windows.Forms.Label();
- this.label5 = new System.Windows.Forms.Label();
- this.txtId = new System.Windows.Forms.TextBox();
- this.label3 = new System.Windows.Forms.Label();
- this.txtPort = new System.Windows.Forms.TextBox();
- this.label2 = new System.Windows.Forms.Label();
- this.txtAddress = new System.Windows.Forms.TextBox();
- this.label1 = new System.Windows.Forms.Label();
- this.panel2 = new System.Windows.Forms.Panel();
- this.btnOK = new System.Windows.Forms.Button();
- this.panel1 = new System.Windows.Forms.Panel();
- this.groupBox1.SuspendLayout();
- this.panel2.SuspendLayout();
- this.SuspendLayout();
- //
- // btnClose
- //
- this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- resources.ApplyResources(this.btnClose, "btnClose");
- this.btnClose.Name = "btnClose";
- this.btnClose.UseVisualStyleBackColor = true;
- this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
- //
- // groupBox1
- //
- this.groupBox1.Controls.Add(this.label13);
- this.groupBox1.Controls.Add(this.cmbSecurity);
- this.groupBox1.Controls.Add(this.txtRemarks);
- this.groupBox1.Controls.Add(this.label6);
- this.groupBox1.Controls.Add(this.label5);
- this.groupBox1.Controls.Add(this.txtId);
- this.groupBox1.Controls.Add(this.label3);
- this.groupBox1.Controls.Add(this.txtPort);
- this.groupBox1.Controls.Add(this.label2);
- this.groupBox1.Controls.Add(this.txtAddress);
- this.groupBox1.Controls.Add(this.label1);
- resources.ApplyResources(this.groupBox1, "groupBox1");
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.TabStop = false;
- //
- // label13
- //
- resources.ApplyResources(this.label13, "label13");
- this.label13.Name = "label13";
- //
- // cmbSecurity
- //
- this.cmbSecurity.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cmbSecurity.FormattingEnabled = true;
- resources.ApplyResources(this.cmbSecurity, "cmbSecurity");
- this.cmbSecurity.Name = "cmbSecurity";
- //
- // txtRemarks
- //
- resources.ApplyResources(this.txtRemarks, "txtRemarks");
- this.txtRemarks.Name = "txtRemarks";
- //
- // label6
- //
- resources.ApplyResources(this.label6, "label6");
- this.label6.Name = "label6";
- //
- // label5
- //
- resources.ApplyResources(this.label5, "label5");
- this.label5.Name = "label5";
- //
- // txtId
- //
- resources.ApplyResources(this.txtId, "txtId");
- this.txtId.Name = "txtId";
- //
- // label3
- //
- resources.ApplyResources(this.label3, "label3");
- this.label3.Name = "label3";
- //
- // txtPort
- //
- resources.ApplyResources(this.txtPort, "txtPort");
- this.txtPort.Name = "txtPort";
- //
- // label2
- //
- resources.ApplyResources(this.label2, "label2");
- this.label2.Name = "label2";
- //
- // txtAddress
- //
- resources.ApplyResources(this.txtAddress, "txtAddress");
- this.txtAddress.Name = "txtAddress";
- //
- // label1
- //
- resources.ApplyResources(this.label1, "label1");
- this.label1.Name = "label1";
- //
- // panel2
- //
- this.panel2.Controls.Add(this.btnClose);
- this.panel2.Controls.Add(this.btnOK);
- resources.ApplyResources(this.panel2, "panel2");
- this.panel2.Name = "panel2";
- //
- // btnOK
- //
- resources.ApplyResources(this.btnOK, "btnOK");
- this.btnOK.Name = "btnOK";
- this.btnOK.UseVisualStyleBackColor = true;
- this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
- //
- // panel1
- //
- resources.ApplyResources(this.panel1, "panel1");
- this.panel1.Name = "panel1";
- //
- // AddServer3Form
- //
- resources.ApplyResources(this, "$this");
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.CancelButton = this.btnClose;
- this.Controls.Add(this.groupBox1);
- this.Controls.Add(this.panel2);
- this.Controls.Add(this.panel1);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
- this.MinimizeBox = true;
- this.Name = "AddServer3Form";
- this.Load += new System.EventHandler(this.AddServer3Form_Load);
- this.groupBox1.ResumeLayout(false);
- this.groupBox1.PerformLayout();
- this.panel2.ResumeLayout(false);
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private System.Windows.Forms.GroupBox groupBox1;
- private System.Windows.Forms.Button btnClose;
- private System.Windows.Forms.Button btnOK;
- private System.Windows.Forms.TextBox txtRemarks;
- private System.Windows.Forms.Label label6;
- private System.Windows.Forms.Label label5;
- private System.Windows.Forms.TextBox txtId;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.TextBox txtPort;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.TextBox txtAddress;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.ComboBox cmbSecurity;
- private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.Panel panel2;
- private System.Windows.Forms.Label label13;
- }
-}
\ No newline at end of file
diff --git a/v2rayN/v2rayN/Forms/AddServer3Form.cs b/v2rayN/v2rayN/Forms/AddServer3Form.cs
deleted file mode 100644
index b300df46..00000000
--- a/v2rayN/v2rayN/Forms/AddServer3Form.cs
+++ /dev/null
@@ -1,107 +0,0 @@
-using System;
-using System.Windows.Forms;
-using v2rayN.Handler;
-using v2rayN.Mode;
-
-namespace v2rayN.Forms
-{
- public partial class AddServer3Form : BaseServerForm
- {
-
- public AddServer3Form()
- {
- InitializeComponent();
- }
-
- private void AddServer3Form_Load(object sender, EventArgs e)
- {
- cmbSecurity.Items.AddRange(config.GetShadowsocksSecuritys().ToArray());
- if (vmessItem != null)
- {
- BindingServer();
- }
- else
- {
- vmessItem = new VmessItem();
- vmessItem.groupId = groupId;
- ClearServer();
- }
- }
-
- ///
- /// 绑定数据
- ///
- private void BindingServer()
- {
-
- txtAddress.Text = vmessItem.address;
- txtPort.Text = vmessItem.port.ToString();
- txtId.Text = vmessItem.id;
- cmbSecurity.Text = vmessItem.security;
- txtRemarks.Text = vmessItem.remarks;
- }
-
-
- ///
- /// 清除设置
- ///
- private void ClearServer()
- {
- txtAddress.Text = "";
- txtPort.Text = "";
- txtId.Text = "";
- cmbSecurity.Text = Global.DefaultSecurity;
- txtRemarks.Text = "";
- }
-
- private void btnOK_Click(object sender, EventArgs e)
- {
- string address = txtAddress.Text;
- string port = txtPort.Text;
- string id = txtId.Text;
- string security = cmbSecurity.Text;
- string remarks = txtRemarks.Text;
-
- if (Utils.IsNullOrEmpty(address))
- {
- UI.Show(UIRes.I18N("FillServerAddress"));
- return;
- }
- if (Utils.IsNullOrEmpty(port) || !Utils.IsNumberic(port))
- {
- UI.Show(UIRes.I18N("FillCorrectServerPort"));
- return;
- }
- if (Utils.IsNullOrEmpty(id))
- {
- UI.Show(UIRes.I18N("FillPassword"));
- return;
- }
- if (Utils.IsNullOrEmpty(security))
- {
- UI.Show(UIRes.I18N("PleaseSelectEncryption"));
- return;
- }
-
- vmessItem.address = address;
- vmessItem.port = Utils.ToInt(port);
- vmessItem.id = id;
- vmessItem.security = security;
- vmessItem.remarks = remarks;
-
- if (ConfigHandler.AddShadowsocksServer(ref config, vmessItem) == 0)
- {
- this.DialogResult = DialogResult.OK;
- }
- else
- {
- UI.ShowWarning(UIRes.I18N("OperationFailed"));
- }
- }
- private void btnClose_Click(object sender, EventArgs e)
- {
- this.DialogResult = DialogResult.Cancel;
- }
-
- }
-}
diff --git a/v2rayN/v2rayN/Forms/AddServer3Form.resx b/v2rayN/v2rayN/Forms/AddServer3Form.resx
deleted file mode 100644
index ce2ee4e9..00000000
--- a/v2rayN/v2rayN/Forms/AddServer3Form.resx
+++ /dev/null
@@ -1,534 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
-
- 396, 17
-
-
- 75, 23
-
-
-
- 1
-
-
- &Cancel
-
-
- btnClose
-
-
- System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- panel2
-
-
- 0
-
-
- True
-
-
-
- NoControl
-
-
- 426, 158
-
-
- 113, 12
-
-
- 22
-
-
- * Fill in manually
-
-
- label13
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 0
-
-
- 127, 123
-
-
- 278, 20
-
-
- 3
-
-
- cmbSecurity
-
-
- System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 1
-
-
- 127, 154
-
-
- 278, 21
-
-
- 4
-
-
- txtRemarks
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 2
-
-
- True
-
-
- 12, 155
-
-
- 95, 12
-
-
- 10
-
-
- Alias (remarks)
-
-
- label6
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 3
-
-
- True
-
-
- 12, 124
-
-
- 65, 12
-
-
- 8
-
-
- Encryption
-
-
- label5
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 4
-
-
- 127, 91
-
-
- 278, 21
-
-
- 2
-
-
- txtId
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 5
-
-
- True
-
-
- 12, 93
-
-
- 53, 12
-
-
- 4
-
-
- Password
-
-
- label3
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 6
-
-
- 127, 59
-
-
- 194, 21
-
-
- 1
-
-
- txtPort
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 7
-
-
- True
-
-
- 12, 62
-
-
- 71, 12
-
-
- 2
-
-
- Server port
-
-
- label2
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 8
-
-
- 127, 27
-
-
- 359, 21
-
-
- 0
-
-
- txtAddress
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 9
-
-
- True
-
-
- 12, 31
-
-
- 89, 12
-
-
- 0
-
-
- Server address
-
-
- label1
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 10
-
-
- Fill
-
-
- 0, 10
-
-
- 547, 221
-
-
- 3
-
-
- Server
-
-
- groupBox1
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- $this
-
-
- 0
-
-
- 303, 17
-
-
- 75, 23
-
-
- 0
-
-
- &OK
-
-
- btnOK
-
-
- System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- panel2
-
-
- 1
-
-
- Bottom
-
-
- 0, 231
-
-
- 547, 60
-
-
- 7
-
-
- panel2
-
-
- System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- $this
-
-
- 1
-
-
- Top
-
-
- 0, 0
-
-
- 547, 10
-
-
- 6
-
-
- panel1
-
-
- System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- $this
-
-
- 2
-
-
- True
-
-
- 6, 12
-
-
- 547, 291
-
-
- Edit or add a [Shadowsocks] server
-
-
- AddServer3Form
-
-
- v2rayN.Forms.BaseServerForm, v2rayN, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
-
\ No newline at end of file
diff --git a/v2rayN/v2rayN/Forms/AddServer3Form.zh-Hans.resx b/v2rayN/v2rayN/Forms/AddServer3Form.zh-Hans.resx
deleted file mode 100644
index e2cbcede..00000000
--- a/v2rayN/v2rayN/Forms/AddServer3Form.zh-Hans.resx
+++ /dev/null
@@ -1,178 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 取消(&C)
-
-
- 服务器
-
-
- *手填,方便识别管理
-
-
-
- 83, 12
-
-
- 别名(remarks)
-
-
- 53, 12
-
-
- 加密方式
-
-
- 29, 12
-
-
- 密码
-
-
- 65, 12
-
-
- 服务器端口
-
-
- 65, 12
-
-
- 服务器地址
-
-
- 确定(&O)
-
-
- 92, 21
-
-
- 导入配置文件
-
-
- 171, 22
-
-
- 从剪贴板导入URL
-
-
- 编辑或添加[Shadowsocks]服务器
-
-
\ No newline at end of file
diff --git a/v2rayN/v2rayN/Forms/AddServer4Form.Designer.cs b/v2rayN/v2rayN/Forms/AddServer4Form.Designer.cs
deleted file mode 100644
index 628e6c9e..00000000
--- a/v2rayN/v2rayN/Forms/AddServer4Form.Designer.cs
+++ /dev/null
@@ -1,189 +0,0 @@
-namespace v2rayN.Forms
-{
- partial class AddServer4Form
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddServer4Form));
- this.btnClose = new System.Windows.Forms.Button();
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.txtSecurity = new System.Windows.Forms.TextBox();
- this.label4 = new System.Windows.Forms.Label();
- this.txtId = new System.Windows.Forms.TextBox();
- this.label3 = new System.Windows.Forms.Label();
- this.label13 = new System.Windows.Forms.Label();
- this.txtRemarks = new System.Windows.Forms.TextBox();
- this.label6 = new System.Windows.Forms.Label();
- this.txtPort = new System.Windows.Forms.TextBox();
- this.label2 = new System.Windows.Forms.Label();
- this.txtAddress = new System.Windows.Forms.TextBox();
- this.label1 = new System.Windows.Forms.Label();
- this.panel2 = new System.Windows.Forms.Panel();
- this.btnOK = new System.Windows.Forms.Button();
- this.panel1 = new System.Windows.Forms.Panel();
- this.groupBox1.SuspendLayout();
- this.panel2.SuspendLayout();
- this.SuspendLayout();
- //
- // btnClose
- //
- this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- resources.ApplyResources(this.btnClose, "btnClose");
- this.btnClose.Name = "btnClose";
- this.btnClose.UseVisualStyleBackColor = true;
- this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
- //
- // groupBox1
- //
- this.groupBox1.Controls.Add(this.txtSecurity);
- this.groupBox1.Controls.Add(this.label4);
- this.groupBox1.Controls.Add(this.txtId);
- this.groupBox1.Controls.Add(this.label3);
- this.groupBox1.Controls.Add(this.label13);
- this.groupBox1.Controls.Add(this.txtRemarks);
- this.groupBox1.Controls.Add(this.label6);
- this.groupBox1.Controls.Add(this.txtPort);
- this.groupBox1.Controls.Add(this.label2);
- this.groupBox1.Controls.Add(this.txtAddress);
- this.groupBox1.Controls.Add(this.label1);
- resources.ApplyResources(this.groupBox1, "groupBox1");
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.TabStop = false;
- //
- // txtSecurity
- //
- resources.ApplyResources(this.txtSecurity, "txtSecurity");
- this.txtSecurity.Name = "txtSecurity";
- //
- // label4
- //
- resources.ApplyResources(this.label4, "label4");
- this.label4.Name = "label4";
- //
- // txtId
- //
- resources.ApplyResources(this.txtId, "txtId");
- this.txtId.Name = "txtId";
- //
- // label3
- //
- resources.ApplyResources(this.label3, "label3");
- this.label3.Name = "label3";
- //
- // label13
- //
- resources.ApplyResources(this.label13, "label13");
- this.label13.Name = "label13";
- //
- // txtRemarks
- //
- resources.ApplyResources(this.txtRemarks, "txtRemarks");
- this.txtRemarks.Name = "txtRemarks";
- //
- // label6
- //
- resources.ApplyResources(this.label6, "label6");
- this.label6.Name = "label6";
- //
- // txtPort
- //
- resources.ApplyResources(this.txtPort, "txtPort");
- this.txtPort.Name = "txtPort";
- //
- // label2
- //
- resources.ApplyResources(this.label2, "label2");
- this.label2.Name = "label2";
- //
- // txtAddress
- //
- resources.ApplyResources(this.txtAddress, "txtAddress");
- this.txtAddress.Name = "txtAddress";
- //
- // label1
- //
- resources.ApplyResources(this.label1, "label1");
- this.label1.Name = "label1";
- //
- // panel2
- //
- this.panel2.Controls.Add(this.btnClose);
- this.panel2.Controls.Add(this.btnOK);
- resources.ApplyResources(this.panel2, "panel2");
- this.panel2.Name = "panel2";
- //
- // btnOK
- //
- resources.ApplyResources(this.btnOK, "btnOK");
- this.btnOK.Name = "btnOK";
- this.btnOK.UseVisualStyleBackColor = true;
- this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
- //
- // panel1
- //
- resources.ApplyResources(this.panel1, "panel1");
- this.panel1.Name = "panel1";
- //
- // AddServer4Form
- //
- resources.ApplyResources(this, "$this");
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.CancelButton = this.btnClose;
- this.Controls.Add(this.groupBox1);
- this.Controls.Add(this.panel2);
- this.Controls.Add(this.panel1);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
- this.MinimizeBox = true;
- this.Name = "AddServer4Form";
- this.Load += new System.EventHandler(this.AddServer4Form_Load);
- this.groupBox1.ResumeLayout(false);
- this.groupBox1.PerformLayout();
- this.panel2.ResumeLayout(false);
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private System.Windows.Forms.GroupBox groupBox1;
- private System.Windows.Forms.Button btnClose;
- private System.Windows.Forms.Button btnOK;
- private System.Windows.Forms.TextBox txtRemarks;
- private System.Windows.Forms.Label label6;
- private System.Windows.Forms.TextBox txtPort;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.TextBox txtAddress;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.Panel panel2;
- private System.Windows.Forms.Label label13;
- private System.Windows.Forms.TextBox txtId;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.TextBox txtSecurity;
- private System.Windows.Forms.Label label4;
- }
-}
\ No newline at end of file
diff --git a/v2rayN/v2rayN/Forms/AddServer4Form.cs b/v2rayN/v2rayN/Forms/AddServer4Form.cs
deleted file mode 100644
index 800eaf7d..00000000
--- a/v2rayN/v2rayN/Forms/AddServer4Form.cs
+++ /dev/null
@@ -1,96 +0,0 @@
-using System;
-using System.Windows.Forms;
-using v2rayN.Handler;
-using v2rayN.Mode;
-
-namespace v2rayN.Forms
-{
- public partial class AddServer4Form : BaseServerForm
- {
-
- public AddServer4Form()
- {
- InitializeComponent();
- }
-
- private void AddServer4Form_Load(object sender, EventArgs e)
- {
- if (vmessItem != null)
- {
- BindingServer();
- }
- else
- {
- vmessItem = new VmessItem();
- vmessItem.groupId = groupId;
- ClearServer();
- }
- }
-
- ///
- /// 绑定数据
- ///
- private void BindingServer()
- {
- txtAddress.Text = vmessItem.address;
- txtPort.Text = vmessItem.port.ToString();
- txtId.Text = vmessItem.id;
- txtSecurity.Text = vmessItem.security;
- txtRemarks.Text = vmessItem.remarks;
- }
-
-
- ///
- /// 清除设置
- ///
- private void ClearServer()
- {
- txtAddress.Text = "";
- txtPort.Text = "";
- txtId.Text = "";
- txtSecurity.Text = "";
- txtRemarks.Text = "";
- }
-
- private void btnOK_Click(object sender, EventArgs e)
- {
- string address = txtAddress.Text;
- string port = txtPort.Text;
- string id = txtId.Text;
- string security = txtSecurity.Text;
- string remarks = txtRemarks.Text;
-
- if (Utils.IsNullOrEmpty(address))
- {
- UI.Show(UIRes.I18N("FillServerAddress"));
- return;
- }
- if (Utils.IsNullOrEmpty(port) || !Utils.IsNumberic(port))
- {
- UI.Show(UIRes.I18N("FillCorrectServerPort"));
- return;
- }
-
- vmessItem.address = address;
- vmessItem.port = Utils.ToInt(port);
- vmessItem.id = id;
- vmessItem.security = security;
- vmessItem.remarks = remarks;
-
- if (ConfigHandler.AddSocksServer(ref config, vmessItem) == 0)
- {
- this.DialogResult = DialogResult.OK;
- }
- else
- {
- UI.ShowWarning(UIRes.I18N("OperationFailed"));
- }
- }
- private void btnClose_Click(object sender, EventArgs e)
- {
- this.DialogResult = DialogResult.Cancel;
- }
-
-
- }
-}
diff --git a/v2rayN/v2rayN/Forms/AddServer4Form.resx b/v2rayN/v2rayN/Forms/AddServer4Form.resx
deleted file mode 100644
index 45725ec7..00000000
--- a/v2rayN/v2rayN/Forms/AddServer4Form.resx
+++ /dev/null
@@ -1,537 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
-
- 396, 17
-
-
- 75, 23
-
-
-
- 1
-
-
- &Cancel
-
-
- btnClose
-
-
- System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- panel2
-
-
- 0
-
-
- 127, 89
-
-
- 278, 21
-
-
- 2
-
-
- txtSecurity
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 0
-
-
- True
-
-
-
- NoControl
-
-
- 12, 93
-
-
- 89, 12
-
-
- 25
-
-
- User(Optional)
-
-
- label4
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 1
-
-
- 127, 120
-
-
- 278, 21
-
-
- 3
-
-
- txtId
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 2
-
-
- True
-
-
- NoControl
-
-
- 12, 124
-
-
- 113, 12
-
-
- 23
-
-
- Password(Optional)
-
-
- label3
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 3
-
-
- True
-
-
- 422, 155
-
-
- 113, 12
-
-
- 22
-
-
- * Fill in manually
-
-
- label13
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 4
-
-
- 127, 151
-
-
- 278, 21
-
-
- 4
-
-
- txtRemarks
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 5
-
-
- True
-
-
- 12, 155
-
-
- 95, 12
-
-
- 10
-
-
- Alias (remarks)
-
-
- label6
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 6
-
-
- 127, 58
-
-
- 194, 21
-
-
- 1
-
-
- txtPort
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 7
-
-
- True
-
-
- 12, 62
-
-
- 71, 12
-
-
- 2
-
-
- Server port
-
-
- label2
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 8
-
-
- 127, 27
-
-
- 359, 21
-
-
- 0
-
-
- txtAddress
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 9
-
-
- True
-
-
- 12, 31
-
-
- 89, 12
-
-
- 0
-
-
- Server address
-
-
- label1
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 10
-
-
- Fill
-
-
- 0, 10
-
-
- 547, 221
-
-
- 3
-
-
- Server
-
-
- groupBox1
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- $this
-
-
- 0
-
-
- 303, 17
-
-
- 75, 23
-
-
- 0
-
-
- &OK
-
-
- btnOK
-
-
- System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- panel2
-
-
- 1
-
-
- Bottom
-
-
- 0, 231
-
-
- 547, 60
-
-
- 7
-
-
- panel2
-
-
- System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- $this
-
-
- 1
-
-
- Top
-
-
- 0, 0
-
-
- 547, 10
-
-
- 6
-
-
- panel1
-
-
- System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- $this
-
-
- 2
-
-
- True
-
-
- 6, 12
-
-
- 547, 291
-
-
- Edit or add a [Socks] server
-
-
- AddServer4Form
-
-
- v2rayN.Forms.BaseServerForm, v2rayN, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
-
\ No newline at end of file
diff --git a/v2rayN/v2rayN/Forms/AddServer4Form.zh-Hans.resx b/v2rayN/v2rayN/Forms/AddServer4Form.zh-Hans.resx
deleted file mode 100644
index eb8fc4d7..00000000
--- a/v2rayN/v2rayN/Forms/AddServer4Form.zh-Hans.resx
+++ /dev/null
@@ -1,178 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 取消(&C)
-
-
-
- 77, 12
-
-
- 用户名(可选)
-
-
- 65, 12
-
-
- 密码(可选)
-
-
- *手填,方便识别管理
-
-
- 83, 12
-
-
- 别名(remarks)
-
-
- 65, 12
-
-
- 服务器端口
-
-
- 65, 12
-
-
- 服务器地址
-
-
- 服务器
-
-
- 确定(&O)
-
-
- 171, 22
-
-
- 从剪贴板导入URL
-
-
- 92, 21
-
-
- 导入配置文件
-
-
- 编辑或添加[Socks]服务器
-
-
\ No newline at end of file
diff --git a/v2rayN/v2rayN/Forms/AddServer5Form.Designer.cs b/v2rayN/v2rayN/Forms/AddServer5Form.Designer.cs
deleted file mode 100644
index be02d20f..00000000
--- a/v2rayN/v2rayN/Forms/AddServer5Form.Designer.cs
+++ /dev/null
@@ -1,246 +0,0 @@
-namespace v2rayN.Forms
-{
- partial class AddServer5Form
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddServer5Form));
- this.btnClose = new System.Windows.Forms.Button();
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.cmbFlow = new System.Windows.Forms.ComboBox();
- this.label4 = new System.Windows.Forms.Label();
- this.btnGUID = new System.Windows.Forms.Button();
- this.label13 = new System.Windows.Forms.Label();
- this.label8 = new System.Windows.Forms.Label();
- this.cmbSecurity = new System.Windows.Forms.ComboBox();
- this.txtRemarks = new System.Windows.Forms.TextBox();
- this.label6 = new System.Windows.Forms.Label();
- this.label5 = new System.Windows.Forms.Label();
- this.txtId = new System.Windows.Forms.TextBox();
- this.label3 = new System.Windows.Forms.Label();
- this.txtPort = new System.Windows.Forms.TextBox();
- this.label2 = new System.Windows.Forms.Label();
- this.txtAddress = new System.Windows.Forms.TextBox();
- this.label1 = new System.Windows.Forms.Label();
- this.panel2 = new System.Windows.Forms.Panel();
- this.btnOK = new System.Windows.Forms.Button();
- this.panel1 = new System.Windows.Forms.Panel();
- this.panel3 = new System.Windows.Forms.Panel();
- this.transportControl = new v2rayN.Forms.ServerTransportControl();
- this.groupBox1.SuspendLayout();
- this.panel2.SuspendLayout();
- this.panel3.SuspendLayout();
- this.SuspendLayout();
- //
- // btnClose
- //
- this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- resources.ApplyResources(this.btnClose, "btnClose");
- this.btnClose.Name = "btnClose";
- this.btnClose.UseVisualStyleBackColor = true;
- this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
- //
- // groupBox1
- //
- this.groupBox1.Controls.Add(this.cmbFlow);
- this.groupBox1.Controls.Add(this.label4);
- this.groupBox1.Controls.Add(this.btnGUID);
- this.groupBox1.Controls.Add(this.label13);
- this.groupBox1.Controls.Add(this.label8);
- this.groupBox1.Controls.Add(this.cmbSecurity);
- this.groupBox1.Controls.Add(this.txtRemarks);
- this.groupBox1.Controls.Add(this.label6);
- this.groupBox1.Controls.Add(this.label5);
- this.groupBox1.Controls.Add(this.txtId);
- this.groupBox1.Controls.Add(this.label3);
- this.groupBox1.Controls.Add(this.txtPort);
- this.groupBox1.Controls.Add(this.label2);
- this.groupBox1.Controls.Add(this.txtAddress);
- this.groupBox1.Controls.Add(this.label1);
- resources.ApplyResources(this.groupBox1, "groupBox1");
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.TabStop = false;
- //
- // cmbFlow
- //
- this.cmbFlow.FormattingEnabled = true;
- resources.ApplyResources(this.cmbFlow, "cmbFlow");
- this.cmbFlow.Name = "cmbFlow";
- //
- // label4
- //
- resources.ApplyResources(this.label4, "label4");
- this.label4.Name = "label4";
- //
- // btnGUID
- //
- resources.ApplyResources(this.btnGUID, "btnGUID");
- this.btnGUID.Name = "btnGUID";
- this.btnGUID.UseVisualStyleBackColor = true;
- this.btnGUID.Click += new System.EventHandler(this.btnGUID_Click);
- //
- // label13
- //
- resources.ApplyResources(this.label13, "label13");
- this.label13.Name = "label13";
- //
- // label8
- //
- resources.ApplyResources(this.label8, "label8");
- this.label8.Name = "label8";
- //
- // cmbSecurity
- //
- this.cmbSecurity.DropDownStyle = System.Windows.Forms.ComboBoxStyle.Simple;
- this.cmbSecurity.FormattingEnabled = true;
- this.cmbSecurity.Items.AddRange(new object[] {
- resources.GetString("cmbSecurity.Items")});
- resources.ApplyResources(this.cmbSecurity, "cmbSecurity");
- this.cmbSecurity.Name = "cmbSecurity";
- //
- // txtRemarks
- //
- resources.ApplyResources(this.txtRemarks, "txtRemarks");
- this.txtRemarks.Name = "txtRemarks";
- //
- // label6
- //
- resources.ApplyResources(this.label6, "label6");
- this.label6.Name = "label6";
- //
- // label5
- //
- resources.ApplyResources(this.label5, "label5");
- this.label5.Name = "label5";
- //
- // txtId
- //
- resources.ApplyResources(this.txtId, "txtId");
- this.txtId.Name = "txtId";
- //
- // label3
- //
- resources.ApplyResources(this.label3, "label3");
- this.label3.Name = "label3";
- //
- // txtPort
- //
- resources.ApplyResources(this.txtPort, "txtPort");
- this.txtPort.Name = "txtPort";
- //
- // label2
- //
- resources.ApplyResources(this.label2, "label2");
- this.label2.Name = "label2";
- //
- // txtAddress
- //
- resources.ApplyResources(this.txtAddress, "txtAddress");
- this.txtAddress.Name = "txtAddress";
- //
- // label1
- //
- resources.ApplyResources(this.label1, "label1");
- this.label1.Name = "label1";
- //
- // panel2
- //
- this.panel2.Controls.Add(this.btnClose);
- this.panel2.Controls.Add(this.btnOK);
- resources.ApplyResources(this.panel2, "panel2");
- this.panel2.Name = "panel2";
- //
- // btnOK
- //
- resources.ApplyResources(this.btnOK, "btnOK");
- this.btnOK.Name = "btnOK";
- this.btnOK.UseVisualStyleBackColor = true;
- this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
- //
- // panel1
- //
- resources.ApplyResources(this.panel1, "panel1");
- this.panel1.Name = "panel1";
- //
- // panel3
- //
- this.panel3.Controls.Add(this.transportControl);
- resources.ApplyResources(this.panel3, "panel3");
- this.panel3.Name = "panel3";
- //
- // transportControl
- //
- this.transportControl.AllowXtls = false;
- resources.ApplyResources(this.transportControl, "transportControl");
- this.transportControl.Name = "transportControl";
- //
- // AddServer5Form
- //
- resources.ApplyResources(this, "$this");
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.CancelButton = this.btnClose;
- this.Controls.Add(this.groupBox1);
- this.Controls.Add(this.panel3);
- this.Controls.Add(this.panel2);
- this.Controls.Add(this.panel1);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
- this.Name = "AddServer5Form";
- this.Load += new System.EventHandler(this.AddServer5Form_Load);
- this.groupBox1.ResumeLayout(false);
- this.groupBox1.PerformLayout();
- this.panel2.ResumeLayout(false);
- this.panel3.ResumeLayout(false);
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private System.Windows.Forms.GroupBox groupBox1;
- private System.Windows.Forms.Button btnClose;
- private System.Windows.Forms.Button btnOK;
- private System.Windows.Forms.TextBox txtRemarks;
- private System.Windows.Forms.Label label6;
- private System.Windows.Forms.Label label5;
- private System.Windows.Forms.TextBox txtId;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.TextBox txtPort;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.TextBox txtAddress;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.ComboBox cmbSecurity;
- private System.Windows.Forms.Label label8;
- private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.Panel panel2;
- private System.Windows.Forms.Label label13;
- private System.Windows.Forms.Button btnGUID;
- private System.Windows.Forms.ComboBox cmbFlow;
- private System.Windows.Forms.Label label4;
- private System.Windows.Forms.Panel panel3;
- private ServerTransportControl transportControl;
- }
-}
\ No newline at end of file
diff --git a/v2rayN/v2rayN/Forms/AddServer5Form.cs b/v2rayN/v2rayN/Forms/AddServer5Form.cs
deleted file mode 100644
index 5c1d747a..00000000
--- a/v2rayN/v2rayN/Forms/AddServer5Form.cs
+++ /dev/null
@@ -1,117 +0,0 @@
-using System;
-using System.Windows.Forms;
-using v2rayN.Handler;
-using v2rayN.Mode;
-
-namespace v2rayN.Forms
-{
- public partial class AddServer5Form : BaseServerForm
- {
-
- public AddServer5Form()
- {
- InitializeComponent();
- }
-
- private void AddServer5Form_Load(object sender, EventArgs e)
- {
- cmbFlow.Items.AddRange(Global.xtlsFlows.ToArray());
- transportControl.AllowXtls = true;
- if (vmessItem != null)
- {
- BindingServer();
- }
- else
- {
- vmessItem = new VmessItem();
- vmessItem.groupId = groupId;
- ClearServer();
- }
- }
-
- ///
- /// 绑定数据
- ///
- private void BindingServer()
- {
- txtAddress.Text = vmessItem.address;
- txtPort.Text = vmessItem.port.ToString();
- txtId.Text = vmessItem.id;
- cmbFlow.Text = vmessItem.flow;
- cmbSecurity.Text = vmessItem.security;
- txtRemarks.Text = vmessItem.remarks;
-
- transportControl.BindingServer(vmessItem);
- }
-
-
- ///
- /// 清除设置
- ///
- private void ClearServer()
- {
- txtAddress.Text = "";
- txtPort.Text = "";
- txtId.Text = "";
- cmbFlow.Text = "";
- cmbSecurity.Text = Global.None;
- txtRemarks.Text = "";
-
- transportControl.ClearServer(vmessItem);
- }
-
- private void btnOK_Click(object sender, EventArgs e)
- {
- string address = txtAddress.Text;
- string port = txtPort.Text;
- string id = txtId.Text;
- string flow = cmbFlow.Text;
- string security = cmbSecurity.Text;
- string remarks = txtRemarks.Text;
-
- if (Utils.IsNullOrEmpty(address))
- {
- UI.Show(UIRes.I18N("FillServerAddress"));
- return;
- }
- if (Utils.IsNullOrEmpty(port) || !Utils.IsNumberic(port))
- {
- UI.Show(UIRes.I18N("FillCorrectServerPort"));
- return;
- }
- if (Utils.IsNullOrEmpty(id))
- {
- UI.Show(UIRes.I18N("FillUUID"));
- return;
- }
-
- transportControl.EndBindingServer();
-
- vmessItem.address = address;
- vmessItem.port = Utils.ToInt(port);
- vmessItem.id = id;
- vmessItem.flow = flow;
- vmessItem.security = security;
- vmessItem.remarks = remarks;
-
- if (ConfigHandler.AddVlessServer(ref config, vmessItem) == 0)
- {
- this.DialogResult = DialogResult.OK;
- }
- else
- {
- UI.ShowWarning(UIRes.I18N("OperationFailed"));
- }
- }
-
- private void btnGUID_Click(object sender, EventArgs e)
- {
- txtId.Text = Utils.GetGUID();
- }
-
- private void btnClose_Click(object sender, EventArgs e)
- {
- this.DialogResult = DialogResult.Cancel;
- }
- }
-}
\ No newline at end of file
diff --git a/v2rayN/v2rayN/Forms/AddServer5Form.resx b/v2rayN/v2rayN/Forms/AddServer5Form.resx
deleted file mode 100644
index 48f6a172..00000000
--- a/v2rayN/v2rayN/Forms/AddServer5Form.resx
+++ /dev/null
@@ -1,690 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
-
- 396, 17
-
-
- 75, 23
-
-
-
- 4
-
-
- &Cancel
-
-
- btnClose
-
-
- System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- panel2
-
-
- 0
-
-
- 127, 123
-
-
- 211, 20
-
-
- 3
-
-
- cmbFlow
-
-
- System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 0
-
-
- True
-
-
-
- NoControl
-
-
- 12, 127
-
-
- 29, 12
-
-
- 25
-
-
- Flow
-
-
- label4
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 1
-
-
- 411, 91
-
-
- 75, 23
-
-
- 23
-
-
- &Generate
-
-
- btnGUID
-
-
- System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 2
-
-
- True
-
-
- 353, 189
-
-
- 113, 12
-
-
- 22
-
-
- * Fill in manually
-
-
- label13
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 3
-
-
- True
-
-
- NoControl
-
-
- 353, 157
-
-
- 119, 12
-
-
- 14
-
-
- *Recommended (none)
-
-
- label8
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 4
-
-
- none
-
-
- 127, 154
-
-
- 211, 20
-
-
- 4
-
-
- cmbSecurity
-
-
- System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 5
-
-
- 127, 185
-
-
- 211, 21
-
-
- 5
-
-
- txtRemarks
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 6
-
-
- True
-
-
- 12, 189
-
-
- 95, 12
-
-
- 10
-
-
- Alias (remarks)
-
-
- label6
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 7
-
-
- True
-
-
- 12, 158
-
-
- 65, 12
-
-
- 8
-
-
- Encryption
-
-
- label5
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 8
-
-
- 127, 91
-
-
- 278, 21
-
-
- 2
-
-
- txtId
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 9
-
-
- True
-
-
- 12, 95
-
-
- 53, 12
-
-
- 4
-
-
- UUID(id)
-
-
- label3
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 10
-
-
- 127, 59
-
-
- 143, 21
-
-
- 1
-
-
- txtPort
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 11
-
-
- True
-
-
- 12, 63
-
-
- 29, 12
-
-
- 2
-
-
- Port
-
-
- label2
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 12
-
-
- 127, 27
-
-
- 359, 21
-
-
- 0
-
-
- txtAddress
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 13
-
-
- True
-
-
- 12, 31
-
-
- 47, 12
-
-
- 0
-
-
- Address
-
-
- label1
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 14
-
-
- Fill
-
-
- 0, 10
-
-
- 729, 221
-
-
- 3
-
-
- Server
-
-
- groupBox1
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- $this
-
-
- 0
-
-
- 303, 17
-
-
- 75, 23
-
-
- 5
-
-
- &OK
-
-
- btnOK
-
-
- System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- panel2
-
-
- 1
-
-
- Bottom
-
-
- 0, 461
-
-
- 729, 60
-
-
- 7
-
-
- panel2
-
-
- System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- $this
-
-
- 2
-
-
- Top
-
-
- 0, 0
-
-
- 729, 10
-
-
- 6
-
-
- panel1
-
-
- System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- $this
-
-
- 3
-
-
- Fill
-
-
- 0, 0
-
-
- 729, 230
-
-
- 0
-
-
- transportControl
-
-
- v2rayN.Forms.ServerTransportControl, v2rayN, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
-
- panel3
-
-
- 0
-
-
- Bottom
-
-
- 0, 231
-
-
- 729, 230
-
-
- 9
-
-
- panel3
-
-
- System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- $this
-
-
- 1
-
-
- True
-
-
- 25
-
-
- 6, 12
-
-
- 729, 521
-
-
- Edit or add a [VLESS] server
-
-
- AddServer5Form
-
-
- v2rayN.Forms.BaseServerForm, v2rayN, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
-
\ No newline at end of file
diff --git a/v2rayN/v2rayN/Forms/AddServer5Form.zh-Hans.resx b/v2rayN/v2rayN/Forms/AddServer5Form.zh-Hans.resx
deleted file mode 100644
index 3d03d416..00000000
--- a/v2rayN/v2rayN/Forms/AddServer5Form.zh-Hans.resx
+++ /dev/null
@@ -1,193 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 取消(&C)
-
-
-
- 220, 20
-
-
- 65, 12
-
-
- 流控(flow)
-
-
- 生成(&G)
-
-
- *手填,方便识别管理
-
-
- 353, 158
-
-
- 71, 12
-
-
- *非空(none)
-
-
- 220, 20
-
-
- 220, 21
-
-
- 83, 12
-
-
- 别名(remarks)
-
-
- 101, 12
-
-
- 加密(encryption)
-
-
- 65, 12
-
-
- 用户ID(id)
-
-
- 65, 12
-
-
- 端口(port)
-
-
- 83, 12
-
-
- 地址(address)
-
-
- 服务器
-
-
- 确定(&O)
-
-
- 编辑或添加[VLESS]服务器
-
-
\ No newline at end of file
diff --git a/v2rayN/v2rayN/Forms/AddServer6Form.Designer.cs b/v2rayN/v2rayN/Forms/AddServer6Form.Designer.cs
deleted file mode 100644
index 998dc789..00000000
--- a/v2rayN/v2rayN/Forms/AddServer6Form.Designer.cs
+++ /dev/null
@@ -1,209 +0,0 @@
-namespace v2rayN.Forms
-{
- partial class AddServer6Form
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddServer6Form));
- this.btnClose = new System.Windows.Forms.Button();
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.cmbFlow = new System.Windows.Forms.ComboBox();
- this.label4 = new System.Windows.Forms.Label();
- this.label13 = new System.Windows.Forms.Label();
- this.txtRemarks = new System.Windows.Forms.TextBox();
- this.label6 = new System.Windows.Forms.Label();
- this.txtId = new System.Windows.Forms.TextBox();
- this.label3 = new System.Windows.Forms.Label();
- this.txtPort = new System.Windows.Forms.TextBox();
- this.label2 = new System.Windows.Forms.Label();
- this.txtAddress = new System.Windows.Forms.TextBox();
- this.label1 = new System.Windows.Forms.Label();
- this.panel3 = new System.Windows.Forms.Panel();
- this.transportControl = new v2rayN.Forms.ServerTransportControl();
- this.panel2 = new System.Windows.Forms.Panel();
- this.btnOK = new System.Windows.Forms.Button();
- this.panel1 = new System.Windows.Forms.Panel();
- this.groupBox1.SuspendLayout();
- this.panel3.SuspendLayout();
- this.panel2.SuspendLayout();
- this.SuspendLayout();
- //
- // btnClose
- //
- this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- resources.ApplyResources(this.btnClose, "btnClose");
- this.btnClose.Name = "btnClose";
- this.btnClose.UseVisualStyleBackColor = true;
- this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
- //
- // groupBox1
- //
- this.groupBox1.Controls.Add(this.cmbFlow);
- this.groupBox1.Controls.Add(this.label4);
- this.groupBox1.Controls.Add(this.label13);
- this.groupBox1.Controls.Add(this.txtRemarks);
- this.groupBox1.Controls.Add(this.label6);
- this.groupBox1.Controls.Add(this.txtId);
- this.groupBox1.Controls.Add(this.label3);
- this.groupBox1.Controls.Add(this.txtPort);
- this.groupBox1.Controls.Add(this.label2);
- this.groupBox1.Controls.Add(this.txtAddress);
- this.groupBox1.Controls.Add(this.label1);
- resources.ApplyResources(this.groupBox1, "groupBox1");
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.TabStop = false;
- //
- // cmbFlow
- //
- this.cmbFlow.FormattingEnabled = true;
- resources.ApplyResources(this.cmbFlow, "cmbFlow");
- this.cmbFlow.Name = "cmbFlow";
- //
- // label4
- //
- resources.ApplyResources(this.label4, "label4");
- this.label4.Name = "label4";
- //
- // label13
- //
- resources.ApplyResources(this.label13, "label13");
- this.label13.Name = "label13";
- //
- // txtRemarks
- //
- resources.ApplyResources(this.txtRemarks, "txtRemarks");
- this.txtRemarks.Name = "txtRemarks";
- //
- // label6
- //
- resources.ApplyResources(this.label6, "label6");
- this.label6.Name = "label6";
- //
- // txtId
- //
- resources.ApplyResources(this.txtId, "txtId");
- this.txtId.Name = "txtId";
- //
- // label3
- //
- resources.ApplyResources(this.label3, "label3");
- this.label3.Name = "label3";
- //
- // txtPort
- //
- resources.ApplyResources(this.txtPort, "txtPort");
- this.txtPort.Name = "txtPort";
- //
- // label2
- //
- resources.ApplyResources(this.label2, "label2");
- this.label2.Name = "label2";
- //
- // txtAddress
- //
- resources.ApplyResources(this.txtAddress, "txtAddress");
- this.txtAddress.Name = "txtAddress";
- //
- // label1
- //
- resources.ApplyResources(this.label1, "label1");
- this.label1.Name = "label1";
- //
- // panel3
- //
- this.panel3.Controls.Add(this.transportControl);
- resources.ApplyResources(this.panel3, "panel3");
- this.panel3.Name = "panel3";
- //
- // transportControl
- //
- this.transportControl.AllowXtls = false;
- resources.ApplyResources(this.transportControl, "transportControl");
- this.transportControl.Name = "transportControl";
- //
- // panel2
- //
- this.panel2.Controls.Add(this.btnClose);
- this.panel2.Controls.Add(this.btnOK);
- resources.ApplyResources(this.panel2, "panel2");
- this.panel2.Name = "panel2";
- //
- // btnOK
- //
- resources.ApplyResources(this.btnOK, "btnOK");
- this.btnOK.Name = "btnOK";
- this.btnOK.UseVisualStyleBackColor = true;
- this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
- //
- // panel1
- //
- resources.ApplyResources(this.panel1, "panel1");
- this.panel1.Name = "panel1";
- //
- // AddServer6Form
- //
- resources.ApplyResources(this, "$this");
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.CancelButton = this.btnClose;
- this.Controls.Add(this.groupBox1);
- this.Controls.Add(this.panel3);
- this.Controls.Add(this.panel2);
- this.Controls.Add(this.panel1);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
- this.MinimizeBox = true;
- this.Name = "AddServer6Form";
- this.Load += new System.EventHandler(this.AddServer6Form_Load);
- this.groupBox1.ResumeLayout(false);
- this.groupBox1.PerformLayout();
- this.panel3.ResumeLayout(false);
- this.panel2.ResumeLayout(false);
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private System.Windows.Forms.GroupBox groupBox1;
- private System.Windows.Forms.Button btnClose;
- private System.Windows.Forms.Button btnOK;
- private System.Windows.Forms.TextBox txtRemarks;
- private System.Windows.Forms.Label label6;
- private System.Windows.Forms.TextBox txtId;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.TextBox txtPort;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.TextBox txtAddress;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.Panel panel2;
- private System.Windows.Forms.Label label13;
- private System.Windows.Forms.Panel panel3;
- private ServerTransportControl transportControl;
- private System.Windows.Forms.ComboBox cmbFlow;
- private System.Windows.Forms.Label label4;
- }
-}
\ No newline at end of file
diff --git a/v2rayN/v2rayN/Forms/AddServer6Form.cs b/v2rayN/v2rayN/Forms/AddServer6Form.cs
deleted file mode 100644
index 7b0abb05..00000000
--- a/v2rayN/v2rayN/Forms/AddServer6Form.cs
+++ /dev/null
@@ -1,107 +0,0 @@
-using System;
-using System.Windows.Forms;
-using v2rayN.Handler;
-using v2rayN.Mode;
-
-namespace v2rayN.Forms
-{
- public partial class AddServer6Form : BaseServerForm
- {
- public AddServer6Form()
- {
- InitializeComponent();
- }
-
- private void AddServer6Form_Load(object sender, EventArgs e)
- {
- cmbFlow.Items.AddRange(Global.xtlsFlows.ToArray());
- transportControl.AllowXtls = true;
- if (vmessItem != null)
- {
- BindingServer();
- }
- else
- {
- vmessItem = new VmessItem();
- vmessItem.groupId = groupId;
- ClearServer();
- }
- }
-
- ///
- /// 绑定数据
- ///
- private void BindingServer()
- {
- txtAddress.Text = vmessItem.address;
- txtPort.Text = vmessItem.port.ToString();
- txtId.Text = vmessItem.id;
- cmbFlow.Text = vmessItem.flow;
- txtRemarks.Text = vmessItem.remarks;
-
- transportControl.BindingServer(vmessItem);
- }
-
-
- ///
- /// 清除设置
- ///
- private void ClearServer()
- {
- txtAddress.Text = "";
- txtPort.Text = "";
- txtId.Text = "";
- cmbFlow.Text = "";
- txtRemarks.Text = "";
-
- transportControl.ClearServer(vmessItem);
- }
-
- private void btnOK_Click(object sender, EventArgs e)
- {
- string address = txtAddress.Text;
- string port = txtPort.Text;
- string id = txtId.Text;
- string flow = cmbFlow.Text;
- string remarks = txtRemarks.Text;
-
- if (Utils.IsNullOrEmpty(address))
- {
- UI.Show(UIRes.I18N("FillServerAddress"));
- return;
- }
- if (Utils.IsNullOrEmpty(port) || !Utils.IsNumberic(port))
- {
- UI.Show(UIRes.I18N("FillCorrectServerPort"));
- return;
- }
- if (Utils.IsNullOrEmpty(id))
- {
- UI.Show(UIRes.I18N("FillPassword"));
- return;
- }
-
- transportControl.EndBindingServer();
-
- vmessItem.address = address;
- vmessItem.port = Utils.ToInt(port);
- vmessItem.id = id;
- vmessItem.flow = flow;
- vmessItem.remarks = remarks;
-
- if (ConfigHandler.AddTrojanServer(ref config, vmessItem) == 0)
- {
- this.DialogResult = DialogResult.OK;
- }
- else
- {
- UI.ShowWarning(UIRes.I18N("OperationFailed"));
- }
- }
- private void btnClose_Click(object sender, EventArgs e)
- {
- this.DialogResult = DialogResult.Cancel;
- }
-
- }
-}
diff --git a/v2rayN/v2rayN/Forms/AddServer6Form.resx b/v2rayN/v2rayN/Forms/AddServer6Form.resx
deleted file mode 100644
index 0050f788..00000000
--- a/v2rayN/v2rayN/Forms/AddServer6Form.resx
+++ /dev/null
@@ -1,603 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
-
- NoControl
-
-
-
- 396, 17
-
-
- 75, 23
-
-
-
- 4
-
-
- &Cancel
-
-
- btnClose
-
-
- System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- panel2
-
-
- 0
-
-
- 127, 123
-
-
- 211, 20
-
-
- 3
-
-
- cmbFlow
-
-
- System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 0
-
-
- True
-
-
- NoControl
-
-
- 12, 127
-
-
- 29, 12
-
-
- 27
-
-
- Flow
-
-
- label4
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 1
-
-
- True
-
-
- NoControl
-
-
- 428, 158
-
-
- 113, 12
-
-
- 22
-
-
- * Fill in manually
-
-
- label13
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 2
-
-
- 127, 155
-
-
- 265, 21
-
-
- 4
-
-
- txtRemarks
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 3
-
-
- True
-
-
- NoControl
-
-
- 12, 159
-
-
- 95, 12
-
-
- 10
-
-
- Alias (remarks)
-
-
- label6
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 4
-
-
- 127, 91
-
-
- 265, 21
-
-
- 2
-
-
- txtId
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 5
-
-
- True
-
-
- NoControl
-
-
- 12, 93
-
-
- 53, 12
-
-
- 4
-
-
- Password
-
-
- label3
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 6
-
-
- 127, 59
-
-
- 194, 21
-
-
- 1
-
-
- txtPort
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 7
-
-
- True
-
-
- NoControl
-
-
- 12, 62
-
-
- 71, 12
-
-
- 2
-
-
- Server port
-
-
- label2
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 8
-
-
- 127, 27
-
-
- 359, 21
-
-
- 0
-
-
- txtAddress
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 9
-
-
- True
-
-
- NoControl
-
-
- 12, 31
-
-
- 89, 12
-
-
- 0
-
-
- Server address
-
-
- label1
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 10
-
-
- Fill
-
-
- 0, 10
-
-
- 707, 191
-
-
- 3
-
-
- Server
-
-
- groupBox1
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- $this
-
-
- 0
-
-
- Fill
-
-
- 0, 0
-
-
- 707, 230
-
-
- 0
-
-
- transportControl
-
-
- v2rayN.Forms.ServerTransportControl, v2rayN, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
-
- panel3
-
-
- 0
-
-
- Bottom
-
-
- 0, 201
-
-
- 707, 230
-
-
- 8
-
-
- panel3
-
-
- System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- $this
-
-
- 1
-
-
- NoControl
-
-
- 303, 17
-
-
- 75, 23
-
-
- 5
-
-
- &OK
-
-
- btnOK
-
-
- System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- panel2
-
-
- 1
-
-
- Bottom
-
-
- 0, 431
-
-
- 707, 60
-
-
- 7
-
-
- panel2
-
-
- System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- $this
-
-
- 2
-
-
- Top
-
-
- 0, 0
-
-
- 707, 10
-
-
- 6
-
-
- panel1
-
-
- System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- $this
-
-
- 3
-
-
- True
-
-
- 6, 12
-
-
- 707, 491
-
-
- Edit or add a [Trojan] server
-
-
- AddServer6Form
-
-
- v2rayN.Forms.BaseServerForm, v2rayN, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
-
\ No newline at end of file
diff --git a/v2rayN/v2rayN/Forms/AddServer6Form.zh-Hans.resx b/v2rayN/v2rayN/Forms/AddServer6Form.zh-Hans.resx
deleted file mode 100644
index 928ced2b..00000000
--- a/v2rayN/v2rayN/Forms/AddServer6Form.zh-Hans.resx
+++ /dev/null
@@ -1,166 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 取消(&C)
-
-
-
- 65, 12
-
-
- 流控(flow)
-
-
- *手填,方便识别管理
-
-
- 83, 12
-
-
- 别名(remarks)
-
-
- 29, 12
-
-
- 密码
-
-
- 65, 12
-
-
- 服务器端口
-
-
- 65, 12
-
-
- 服务器地址
-
-
- 服务器
-
-
- 确定(&O)
-
-
- 编辑或添加[Trojan]服务器
-
-
\ No newline at end of file
diff --git a/v2rayN/v2rayN/v2rayN.csproj b/v2rayN/v2rayN/v2rayN.csproj
index 6cb109d8..fe6e948d 100644
--- a/v2rayN/v2rayN/v2rayN.csproj
+++ b/v2rayN/v2rayN/v2rayN.csproj
@@ -99,27 +99,9 @@
-
- Form
-
-
- AddServer6Form.cs
-
-
- Form
-
-
- AddServer4Form.cs
-
Component
-
- Form
-
-
- AddServer5Form.cs
-
Form
@@ -196,12 +178,6 @@
AddServer2Form.cs
-
- Form
-
-
- AddServer3Form.cs
-
UserControl
@@ -292,34 +268,6 @@
AddServer2Form.cs
Designer
-
- AddServer6Form.cs
- Designer
-
-
- AddServer6Form.cs
- Designer
-
-
- AddServer4Form.cs
- Designer
-
-
- AddServer4Form.cs
- Designer
-
-
- AddServer3Form.cs
- Designer
-
-
- AddServer5Form.cs
- Designer
-
-
- AddServer5Form.cs
- Designer
-
AddServerForm.cs
Designer
@@ -429,10 +377,6 @@
AddServer2Form.cs
Designer
-
- AddServer3Form.cs
- Designer
-
SubSettingForm.cs