修改添加Vmess服务器表单布局。

This commit is contained in:
yyq-404 2019-10-20 20:18:09 +08:00
parent dd4e8303e5
commit a70f1c9a5c
3 changed files with 1253 additions and 1501 deletions

View file

@ -31,10 +31,11 @@
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddServerForm));
this.btnClose = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.lbAdvanced = new System.Windows.Forms.Label();
this.lbBase = new System.Windows.Forms.Label();
this.btnGUID = new System.Windows.Forms.Button();
this.label13 = new System.Windows.Forms.Label();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.lbAdvanced = new System.Windows.Forms.Label();
this.label24 = new System.Windows.Forms.Label();
this.label23 = new System.Windows.Forms.Label();
this.panTlsMore = new System.Windows.Forms.Panel();
@ -64,7 +65,6 @@
this.label6 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.txtAlterId = 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.txtPort = new System.Windows.Forms.TextBox();
@ -78,11 +78,10 @@
this.MenuItemImportClient = new System.Windows.Forms.ToolStripMenuItem();
this.MenuItemImportServer = new System.Windows.Forms.ToolStripMenuItem();
this.MenuItemImportClipboard = new System.Windows.Forms.ToolStripMenuItem();
this.lbBase = new System.Windows.Forms.Label();
this.label25 = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.panTlsMore.SuspendLayout();
this.panel2.SuspendLayout();
this.menuServer.SuspendLayout();
this.SuspendLayout();
//
@ -96,7 +95,11 @@
//
// groupBox1
//
this.groupBox1.Controls.Add(this.lbAdvanced);
resources.ApplyResources(this.groupBox1, "groupBox1");
this.groupBox1.Controls.Add(this.label25);
this.groupBox1.Controls.Add(this.btnClose);
this.groupBox1.Controls.Add(this.lbBase);
this.groupBox1.Controls.Add(this.btnOK);
this.groupBox1.Controls.Add(this.btnGUID);
this.groupBox1.Controls.Add(this.label13);
this.groupBox1.Controls.Add(this.groupBox2);
@ -109,21 +112,19 @@
this.groupBox1.Controls.Add(this.label6);
this.groupBox1.Controls.Add(this.label5);
this.groupBox1.Controls.Add(this.txtAlterId);
this.groupBox1.Controls.Add(this.label4);
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;
//
// lbAdvanced
// lbBase
//
resources.ApplyResources(this.lbAdvanced, "lbAdvanced");
this.lbAdvanced.Name = "lbAdvanced";
resources.ApplyResources(this.lbBase, "lbBase");
this.lbBase.Name = "lbBase";
//
// btnGUID
//
@ -139,6 +140,7 @@
//
// groupBox2
//
this.groupBox2.Controls.Add(this.lbAdvanced);
this.groupBox2.Controls.Add(this.label24);
this.groupBox2.Controls.Add(this.label23);
this.groupBox2.Controls.Add(this.panTlsMore);
@ -160,6 +162,11 @@
this.groupBox2.Name = "groupBox2";
this.groupBox2.TabStop = false;
//
// lbAdvanced
//
resources.ApplyResources(this.lbAdvanced, "lbAdvanced");
this.lbAdvanced.Name = "lbAdvanced";
//
// label24
//
resources.ApplyResources(this.label24, "label24");
@ -334,6 +341,7 @@
// label6
//
resources.ApplyResources(this.label6, "label6");
this.label6.BackColor = System.Drawing.SystemColors.Control;
this.label6.Name = "label6";
//
// label5
@ -346,11 +354,6 @@
resources.ApplyResources(this.txtAlterId, "txtAlterId");
this.txtAlterId.Name = "txtAlterId";
//
// label4
//
resources.ApplyResources(this.label4, "label4");
this.label4.Name = "label4";
//
// txtId
//
resources.ApplyResources(this.txtId, "txtId");
@ -383,8 +386,6 @@
//
// panel2
//
this.panel2.Controls.Add(this.btnClose);
this.panel2.Controls.Add(this.btnOK);
resources.ApplyResources(this.panel2, "panel2");
this.panel2.Name = "panel2";
//
@ -430,17 +431,16 @@
resources.ApplyResources(this.MenuItemImportClipboard, "MenuItemImportClipboard");
this.MenuItemImportClipboard.Click += new System.EventHandler(this.MenuItemImportClipboard_Click);
//
// lbBase
// label25
//
resources.ApplyResources(this.lbBase, "lbBase");
this.lbBase.Name = "lbBase";
resources.ApplyResources(this.label25, "label25");
this.label25.Name = "label25";
//
// AddServerForm
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.btnClose;
this.Controls.Add(this.lbBase);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.panel2);
this.Controls.Add(this.menuServer);
@ -453,7 +453,6 @@
this.groupBox2.PerformLayout();
this.panTlsMore.ResumeLayout(false);
this.panTlsMore.PerformLayout();
this.panel2.ResumeLayout(false);
this.menuServer.ResumeLayout(false);
this.menuServer.PerformLayout();
this.ResumeLayout(false);
@ -470,7 +469,6 @@
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TextBox txtAlterId;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox txtId;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox txtPort;
@ -513,5 +511,6 @@
private System.Windows.Forms.Label label23;
private System.Windows.Forms.Label lbAdvanced;
private System.Windows.Forms.Label lbBase;
private System.Windows.Forms.Label label25;
}
}

File diff suppressed because it is too large Load diff

View file

@ -120,30 +120,24 @@
<data name="btnClose.Text" xml:space="preserve">
<value>取消(&amp;C)</value>
</data>
<data name="groupBox1.Text" xml:space="preserve">
<value>服务器</value>
</data>
<data name="btnGUID.Text" xml:space="preserve">
<value>生成(&amp;G)</value>
</data>
<data name="label13.Text" xml:space="preserve">
<value>*手填,方便识别管理</value>
</data>
<data name="groupBox2.Text" xml:space="preserve">
<value>不清楚则保持默认值</value>
<value>*备注,便于管理</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="label24.Size" type="System.Drawing.Size, System.Drawing">
<value>95, 12</value>
</data>
<data name="label24.Text" xml:space="preserve">
<value>3)QUIC 加密密钥</value>
<value>3.QUIC 加密密钥</value>
</data>
<data name="label23.Size" type="System.Drawing.Size, System.Drawing">
<value>95, 12</value>
</data>
<data name="label23.Text" xml:space="preserve">
<value>4)QUIC 加密方式</value>
<value>4.QUIC 加密方式</value>
</data>
<data name="label22.Size" type="System.Drawing.Size, System.Drawing">
<value>53, 12</value>
@ -155,115 +149,61 @@
<value>149, 12</value>
</data>
<data name="label20.Text" xml:space="preserve">
<value>3)h2 host中间逗号(,)隔开</value>
</data>
<data name="label19.Size" type="System.Drawing.Size, System.Drawing">
<value>65, 12</value>
<value>3.h2 host中间逗号(,)隔开</value>
</data>
<data name="label19.Text" xml:space="preserve">
<value>路径(path)</value>
</data>
<data name="label14.Size" type="System.Drawing.Size, System.Drawing">
<value>161, 12</value>
<value>路径:</value>
</data>
<data name="label14.Text" xml:space="preserve">
<value>1)http host中间逗号(,)隔开</value>
</data>
<data name="label15.Size" type="System.Drawing.Size, System.Drawing">
<value>77, 12</value>
<value>1.http host中间逗号(,)隔开</value>
</data>
<data name="label15.Text" xml:space="preserve">
<value>底层传输安全</value>
<value>底层传输安全:</value>
</data>
<data name="label12.Size" type="System.Drawing.Size, System.Drawing">
<value>197, 12</value>
</data>
<data name="label12.Text" xml:space="preserve">
<value>*tcp或kcp或QUIC伪装类型,默认none</value>
</data>
<data name="txtRequestHost.Location" type="System.Drawing.Point, System.Drawing">
<value>124, 58</value>
</data>
<data name="txtRequestHost.Size" type="System.Drawing.Size, System.Drawing">
<value>334, 51</value>
</data>
<data name="label11.Size" type="System.Drawing.Size, System.Drawing">
<value>89, 12</value>
<value>*tcp|kcp|QUIC伪装类型,默认:none</value>
</data>
<data name="label11.Text" xml:space="preserve">
<value>伪装类型</value>
</data>
<data name="label10.Size" type="System.Drawing.Size, System.Drawing">
<value>89, 12</value>
<value>伪装类型:</value>
</data>
<data name="label10.Text" xml:space="preserve">
<value>伪装域名</value>
<value>伪装域名:</value>
</data>
<data name="label9.Size" type="System.Drawing.Size, System.Drawing">
<value>143, 12</value>
</data>
<data name="label9.Text" xml:space="preserve">
<value>*默认tcp,选错无法连接</value>
<value>*默认tcp,选错无法连接</value>
</data>
<data name="label8.Size" type="System.Drawing.Size, System.Drawing">
<value>113, 12</value>
</data>
<data name="label8.Text" xml:space="preserve">
<value>*随便选,建议(auto)</value>
</data>
<data name="cmbNetwork.Location" type="System.Drawing.Point, System.Drawing">
<value>127, 171</value>
</data>
<data name="cmbNetwork.Size" type="System.Drawing.Size, System.Drawing">
<value>211, 20</value>
</data>
<data name="label7.Size" type="System.Drawing.Size, System.Drawing">
<value>107, 12</value>
<value>*任意,建议(auto)</value>
</data>
<data name="label7.Text" xml:space="preserve">
<value>传输协议</value>
</data>
<data name="cmbSecurity.Location" type="System.Drawing.Point, System.Drawing">
<value>127, 143</value>
</data>
<data name="cmbSecurity.Size" type="System.Drawing.Size, System.Drawing">
<value>211, 20</value>
</data>
<data name="label6.Size" type="System.Drawing.Size, System.Drawing">
<value>83, 12</value>
<value>传输协议:</value>
</data>
<data name="label6.Text" xml:space="preserve">
<value>别名</value>
</data>
<data name="label5.Size" type="System.Drawing.Size, System.Drawing">
<value>113, 12</value>
<value>备注:</value>
</data>
<data name="label5.Text" xml:space="preserve">
<value>加密方式</value>
</data>
<data name="label4.Size" type="System.Drawing.Size, System.Drawing">
<value>95, 12</value>
<value>加密方式:</value>
</data>
<data name="label4.Text" xml:space="preserve">
<value>额外ID</value>
</data>
<data name="label3.Size" type="System.Drawing.Size, System.Drawing">
<value>65, 12</value>
<value>额外ID:</value>
</data>
<data name="label3.Text" xml:space="preserve">
<value>用户ID</value>
</data>
<data name="label2.Size" type="System.Drawing.Size, System.Drawing">
<value>65, 12</value>
<value>用户ID:</value>
</data>
<data name="label2.Text" xml:space="preserve">
<value>端口(port)</value>
</data>
<data name="label1.Size" type="System.Drawing.Size, System.Drawing">
<value>83, 12</value>
<value>端口:</value>
</data>
<data name="label1.Text" xml:space="preserve">
<value>地址</value>
<value>IP地址:</value>
</data>
<data name="btnOK.Text" xml:space="preserve">
<value>确定(&amp;O)</value>
@ -304,4 +244,16 @@
<data name="lbBase.Text" xml:space="preserve">
<value>基础设置</value>
</data>
<data name="label16.Text" xml:space="preserve">
<value>1.ws path</value>
</data>
<data name="label18.Text" xml:space="preserve">
<value>2.h2 path</value>
</data>
<data name="label25.Text" xml:space="preserve">
<value>额外ID:</value>
</data>
<data name="lable17.Text" xml:space="preserve">
<value>2.ws host</value>
</data>
</root>