From 34cbcbfb0fc7b075ed817286dba79529936a0233 Mon Sep 17 00:00:00 2001 From: ChsBuffer <33744752+chsbuffer@users.noreply.github.com> Date: Fri, 23 Oct 2020 16:30:21 +0800 Subject: [PATCH] fix: SettingForm Control Order --- Netch/Forms/SettingForm.Designer.cs | 507 ++++++++++++---------------- 1 file changed, 216 insertions(+), 291 deletions(-) diff --git a/Netch/Forms/SettingForm.Designer.cs b/Netch/Forms/SettingForm.Designer.cs index 3efe9f7add..11b835ce71 100644 --- a/Netch/Forms/SettingForm.Designer.cs +++ b/Netch/Forms/SettingForm.Designer.cs @@ -34,27 +34,27 @@ private void InitializeComponent() System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SettingForm)); this.TabControl = new System.Windows.Forms.TabControl(); this.GeneralTabPage = new System.Windows.Forms.TabPage(); - this.LanguageLabel = new System.Windows.Forms.Label(); - this.LanguageComboBox = new System.Windows.Forms.ComboBox(); - this.AclAddrTextBox = new System.Windows.Forms.TextBox(); - this.AclLabel = new System.Windows.Forms.Label(); - this.DetectionIntervalLabel = new System.Windows.Forms.Label(); - this.DetectionIntervalTextBox = new System.Windows.Forms.TextBox(); - this.TcpingAtStartedCheckBox = new System.Windows.Forms.CheckBox(); - this.STUNServerLabel = new System.Windows.Forms.Label(); - this.STUN_ServerComboBox = new System.Windows.Forms.ComboBox(); - this.ProfileCountLabel = new System.Windows.Forms.Label(); - this.ProfileCountTextBox = new System.Windows.Forms.TextBox(); this.PortGroupBox = new System.Windows.Forms.GroupBox(); + this.Socks5PortLabel = new System.Windows.Forms.Label(); + this.Socks5PortTextBox = new System.Windows.Forms.TextBox(); + this.HTTPPortLabel = new System.Windows.Forms.Label(); + this.HTTPPortTextBox = new System.Windows.Forms.TextBox(); this.RedirectorLabel = new System.Windows.Forms.Label(); this.RedirectorTextBox = new System.Windows.Forms.TextBox(); this.AllowDevicesCheckBox = new System.Windows.Forms.CheckBox(); - this.HTTPPortLabel = new System.Windows.Forms.Label(); - this.HTTPPortTextBox = new System.Windows.Forms.TextBox(); - this.Socks5PortLabel = new System.Windows.Forms.Label(); - this.Socks5PortTextBox = new System.Windows.Forms.TextBox(); - this.ResolveServerHostnameCheckBox = new System.Windows.Forms.CheckBox(); this.BootShadowsocksFromDLLCheckBox = new System.Windows.Forms.CheckBox(); + this.ResolveServerHostnameCheckBox = new System.Windows.Forms.CheckBox(); + this.ProfileCountLabel = new System.Windows.Forms.Label(); + this.ProfileCountTextBox = new System.Windows.Forms.TextBox(); + this.TcpingAtStartedCheckBox = new System.Windows.Forms.CheckBox(); + this.DetectionIntervalLabel = new System.Windows.Forms.Label(); + this.DetectionIntervalTextBox = new System.Windows.Forms.TextBox(); + this.STUNServerLabel = new System.Windows.Forms.Label(); + this.STUN_ServerComboBox = new System.Windows.Forms.ComboBox(); + this.AclLabel = new System.Windows.Forms.Label(); + this.AclAddrTextBox = new System.Windows.Forms.TextBox(); + this.LanguageLabel = new System.Windows.Forms.Label(); + this.LanguageComboBox = new System.Windows.Forms.ComboBox(); this.NFTabPage = new System.Windows.Forms.TabPage(); this.ModifySystemDNSCheckBox = new System.Windows.Forms.CheckBox(); this.TAPTabPage = new System.Windows.Forms.TabPage(); @@ -98,15 +98,15 @@ private void InitializeComponent() this.StartWhenOpenedCheckBox = new System.Windows.Forms.CheckBox(); this.StopWhenExitedCheckBox = new System.Windows.Forms.CheckBox(); this.ExitWhenClosedCheckBox = new System.Windows.Forms.CheckBox(); - this.ControlButton = new System.Windows.Forms.Button(); - this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.AioDNSTabPage = new System.Windows.Forms.TabPage(); - this.AioDNSRulePathTextBox = new System.Windows.Forms.TextBox(); this.AioDNSRuleRuleLabel = new System.Windows.Forms.Label(); - this.ChinaDNSTextBox = new System.Windows.Forms.TextBox(); + this.AioDNSRulePathTextBox = new System.Windows.Forms.TextBox(); this.ChinaDNSLabel = new System.Windows.Forms.Label(); - this.OtherDNSTextBox = new System.Windows.Forms.TextBox(); + this.ChinaDNSTextBox = new System.Windows.Forms.TextBox(); this.OtherDNSLabel = new System.Windows.Forms.Label(); + this.OtherDNSTextBox = new System.Windows.Forms.TextBox(); + this.ControlButton = new System.Windows.Forms.Button(); + this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.TabControl.SuspendLayout(); this.GeneralTabPage.SuspendLayout(); this.PortGroupBox.SuspendLayout(); @@ -116,8 +116,8 @@ private void InitializeComponent() this.v2rayTabPage.SuspendLayout(); this.KCPGroupBox.SuspendLayout(); this.OtherTabPage.SuspendLayout(); - this.flowLayoutPanel1.SuspendLayout(); this.AioDNSTabPage.SuspendLayout(); + this.flowLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // TabControl @@ -133,111 +133,117 @@ private void InitializeComponent() this.TabControl.Name = "TabControl"; this.TabControl.SelectedIndex = 0; this.TabControl.Size = new System.Drawing.Size(469, 354); - this.TabControl.TabIndex = 0; // // GeneralTabPage // this.GeneralTabPage.BackColor = System.Drawing.SystemColors.ButtonFace; - this.GeneralTabPage.Controls.Add(this.LanguageLabel); - this.GeneralTabPage.Controls.Add(this.LanguageComboBox); - this.GeneralTabPage.Controls.Add(this.AclAddrTextBox); - this.GeneralTabPage.Controls.Add(this.AclLabel); + this.GeneralTabPage.Controls.Add(this.PortGroupBox); + this.GeneralTabPage.Controls.Add(this.BootShadowsocksFromDLLCheckBox); + this.GeneralTabPage.Controls.Add(this.ResolveServerHostnameCheckBox); + this.GeneralTabPage.Controls.Add(this.ProfileCountLabel); + this.GeneralTabPage.Controls.Add(this.ProfileCountTextBox); + this.GeneralTabPage.Controls.Add(this.TcpingAtStartedCheckBox); this.GeneralTabPage.Controls.Add(this.DetectionIntervalLabel); this.GeneralTabPage.Controls.Add(this.DetectionIntervalTextBox); - this.GeneralTabPage.Controls.Add(this.TcpingAtStartedCheckBox); this.GeneralTabPage.Controls.Add(this.STUNServerLabel); this.GeneralTabPage.Controls.Add(this.STUN_ServerComboBox); - this.GeneralTabPage.Controls.Add(this.ProfileCountLabel); - this.GeneralTabPage.Controls.Add(this.ProfileCountTextBox); - this.GeneralTabPage.Controls.Add(this.PortGroupBox); - this.GeneralTabPage.Controls.Add(this.ResolveServerHostnameCheckBox); - this.GeneralTabPage.Controls.Add(this.BootShadowsocksFromDLLCheckBox); + this.GeneralTabPage.Controls.Add(this.AclLabel); + this.GeneralTabPage.Controls.Add(this.AclAddrTextBox); + this.GeneralTabPage.Controls.Add(this.LanguageLabel); + this.GeneralTabPage.Controls.Add(this.LanguageComboBox); this.GeneralTabPage.Location = new System.Drawing.Point(4, 25); this.GeneralTabPage.Name = "GeneralTabPage"; this.GeneralTabPage.Padding = new System.Windows.Forms.Padding(3); this.GeneralTabPage.Size = new System.Drawing.Size(461, 325); - this.GeneralTabPage.TabIndex = 0; this.GeneralTabPage.Text = "General"; // - // LanguageLabel + // PortGroupBox // - this.LanguageLabel.AutoSize = true; - this.LanguageLabel.Location = new System.Drawing.Point(12, 277); - this.LanguageLabel.Name = "LanguageLabel"; - this.LanguageLabel.Size = new System.Drawing.Size(53, 12); - this.LanguageLabel.TabIndex = 34; - this.LanguageLabel.Text = "Language"; + this.PortGroupBox.Controls.Add(this.Socks5PortLabel); + this.PortGroupBox.Controls.Add(this.Socks5PortTextBox); + this.PortGroupBox.Controls.Add(this.HTTPPortLabel); + this.PortGroupBox.Controls.Add(this.HTTPPortTextBox); + this.PortGroupBox.Controls.Add(this.RedirectorLabel); + this.PortGroupBox.Controls.Add(this.RedirectorTextBox); + this.PortGroupBox.Controls.Add(this.AllowDevicesCheckBox); + this.PortGroupBox.Location = new System.Drawing.Point(8, 6); + this.PortGroupBox.Name = "PortGroupBox"; + this.PortGroupBox.Size = new System.Drawing.Size(241, 140); + this.PortGroupBox.TabStop = false; + this.PortGroupBox.Text = "Local Port"; // - // LanguageComboBox + // Socks5PortLabel // - this.LanguageComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.LanguageComboBox.FormattingEnabled = true; - this.LanguageComboBox.Location = new System.Drawing.Point(120, 274); - this.LanguageComboBox.Name = "LanguageComboBox"; - this.LanguageComboBox.Size = new System.Drawing.Size(121, 20); - this.LanguageComboBox.TabIndex = 33; + this.Socks5PortLabel.AutoSize = true; + this.Socks5PortLabel.Location = new System.Drawing.Point(9, 25); + this.Socks5PortLabel.Name = "Socks5PortLabel"; + this.Socks5PortLabel.Size = new System.Drawing.Size(41, 12); + this.Socks5PortLabel.Text = "Socks5"; // - // AclAddrTextBox + // Socks5PortTextBox // - this.AclAddrTextBox.Location = new System.Drawing.Point(120, 245); - this.AclAddrTextBox.Name = "AclAddrTextBox"; - this.AclAddrTextBox.Size = new System.Drawing.Size(315, 21); - this.AclAddrTextBox.TabIndex = 31; - this.AclAddrTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.Socks5PortTextBox.Location = new System.Drawing.Point(120, 22); + this.Socks5PortTextBox.Name = "Socks5PortTextBox"; + this.Socks5PortTextBox.Size = new System.Drawing.Size(90, 21); + this.Socks5PortTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // AclLabel + // HTTPPortLabel // - this.AclLabel.AutoSize = true; - this.AclLabel.Location = new System.Drawing.Point(12, 248); - this.AclLabel.Name = "AclLabel"; - this.AclLabel.Size = new System.Drawing.Size(65, 12); - this.AclLabel.TabIndex = 32; - this.AclLabel.Text = "Custom ACL"; + this.HTTPPortLabel.AutoSize = true; + this.HTTPPortLabel.Location = new System.Drawing.Point(9, 54); + this.HTTPPortLabel.Name = "HTTPPortLabel"; + this.HTTPPortLabel.Size = new System.Drawing.Size(29, 12); + this.HTTPPortLabel.Text = "HTTP"; // - // DetectionIntervalLabel + // HTTPPortTextBox // - this.DetectionIntervalLabel.AutoSize = true; - this.DetectionIntervalLabel.Location = new System.Drawing.Point(228, 187); - this.DetectionIntervalLabel.Name = "DetectionIntervalLabel"; - this.DetectionIntervalLabel.Size = new System.Drawing.Size(143, 12); - this.DetectionIntervalLabel.TabIndex = 30; - this.DetectionIntervalLabel.Text = "Detection interval(sec)"; + this.HTTPPortTextBox.Location = new System.Drawing.Point(120, 51); + this.HTTPPortTextBox.Name = "HTTPPortTextBox"; + this.HTTPPortTextBox.Size = new System.Drawing.Size(90, 21); + this.HTTPPortTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // DetectionIntervalTextBox + // RedirectorLabel // - this.DetectionIntervalTextBox.Location = new System.Drawing.Point(366, 184); - this.DetectionIntervalTextBox.Name = "DetectionIntervalTextBox"; - this.DetectionIntervalTextBox.Size = new System.Drawing.Size(68, 21); - this.DetectionIntervalTextBox.TabIndex = 29; - this.DetectionIntervalTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.RedirectorLabel.AutoSize = true; + this.RedirectorLabel.Location = new System.Drawing.Point(9, 83); + this.RedirectorLabel.Name = "RedirectorLabel"; + this.RedirectorLabel.Size = new System.Drawing.Size(89, 12); + this.RedirectorLabel.Text = "Redirector TCP"; // - // TcpingAtStartedCheckBox + // RedirectorTextBox // - this.TcpingAtStartedCheckBox.AutoSize = true; - this.TcpingAtStartedCheckBox.Location = new System.Drawing.Point(15, 186); - this.TcpingAtStartedCheckBox.Name = "TcpingAtStartedCheckBox"; - this.TcpingAtStartedCheckBox.Size = new System.Drawing.Size(156, 16); - this.TcpingAtStartedCheckBox.TabIndex = 28; - this.TcpingAtStartedCheckBox.TabStop = false; - this.TcpingAtStartedCheckBox.Text = "Delay test after start"; - this.TcpingAtStartedCheckBox.UseVisualStyleBackColor = true; + this.RedirectorTextBox.Location = new System.Drawing.Point(120, 80); + this.RedirectorTextBox.Name = "RedirectorTextBox"; + this.RedirectorTextBox.Size = new System.Drawing.Size(90, 21); + this.RedirectorTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // STUNServerLabel + // AllowDevicesCheckBox // - this.STUNServerLabel.AutoSize = true; - this.STUNServerLabel.Location = new System.Drawing.Point(12, 216); - this.STUNServerLabel.Name = "STUNServerLabel"; - this.STUNServerLabel.Size = new System.Drawing.Size(71, 12); - this.STUNServerLabel.TabIndex = 26; - this.STUNServerLabel.Text = "STUN Server"; + this.AllowDevicesCheckBox.AutoSize = true; + this.AllowDevicesCheckBox.Location = new System.Drawing.Point(6, 107); + this.AllowDevicesCheckBox.Name = "AllowDevicesCheckBox"; + this.AllowDevicesCheckBox.Size = new System.Drawing.Size(204, 16); + this.AllowDevicesCheckBox.Text = "Allow other Devices to connect"; + this.AllowDevicesCheckBox.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.AllowDevicesCheckBox.UseVisualStyleBackColor = true; // - // STUN_ServerComboBox + // BootShadowsocksFromDLLCheckBox // - this.STUN_ServerComboBox.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest; - this.STUN_ServerComboBox.Location = new System.Drawing.Point(120, 213); - this.STUN_ServerComboBox.Name = "STUN_ServerComboBox"; - this.STUN_ServerComboBox.Size = new System.Drawing.Size(314, 20); - this.STUN_ServerComboBox.TabIndex = 27; + this.BootShadowsocksFromDLLCheckBox.AutoSize = true; + this.BootShadowsocksFromDLLCheckBox.Location = new System.Drawing.Point(267, 15); + this.BootShadowsocksFromDLLCheckBox.Name = "BootShadowsocksFromDLLCheckBox"; + this.BootShadowsocksFromDLLCheckBox.Size = new System.Drawing.Size(60, 16); + this.BootShadowsocksFromDLLCheckBox.Text = "SS DLL"; + this.BootShadowsocksFromDLLCheckBox.UseVisualStyleBackColor = true; + // + // ResolveServerHostnameCheckBox + // + this.ResolveServerHostnameCheckBox.AutoSize = true; + this.ResolveServerHostnameCheckBox.Location = new System.Drawing.Point(266, 42); + this.ResolveServerHostnameCheckBox.Name = "ResolveServerHostnameCheckBox"; + this.ResolveServerHostnameCheckBox.Size = new System.Drawing.Size(162, 16); + this.ResolveServerHostnameCheckBox.Text = "Resolve Server Hostname"; + this.ResolveServerHostnameCheckBox.UseVisualStyleBackColor = true; // // ProfileCountLabel // @@ -245,7 +251,6 @@ private void InitializeComponent() this.ProfileCountLabel.Location = new System.Drawing.Point(12, 160); this.ProfileCountLabel.Name = "ProfileCountLabel"; this.ProfileCountLabel.Size = new System.Drawing.Size(77, 12); - this.ProfileCountLabel.TabIndex = 24; this.ProfileCountLabel.Text = "ProfileCount"; // // ProfileCountTextBox @@ -253,106 +258,78 @@ private void InitializeComponent() this.ProfileCountTextBox.Location = new System.Drawing.Point(120, 157); this.ProfileCountTextBox.Name = "ProfileCountTextBox"; this.ProfileCountTextBox.Size = new System.Drawing.Size(90, 21); - this.ProfileCountTextBox.TabIndex = 25; this.ProfileCountTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // PortGroupBox - // - this.PortGroupBox.Controls.Add(this.RedirectorLabel); - this.PortGroupBox.Controls.Add(this.RedirectorTextBox); - this.PortGroupBox.Controls.Add(this.AllowDevicesCheckBox); - this.PortGroupBox.Controls.Add(this.HTTPPortLabel); - this.PortGroupBox.Controls.Add(this.HTTPPortTextBox); - this.PortGroupBox.Controls.Add(this.Socks5PortLabel); - this.PortGroupBox.Controls.Add(this.Socks5PortTextBox); - this.PortGroupBox.Location = new System.Drawing.Point(8, 6); - this.PortGroupBox.Name = "PortGroupBox"; - this.PortGroupBox.Size = new System.Drawing.Size(241, 140); - this.PortGroupBox.TabIndex = 10; - this.PortGroupBox.TabStop = false; - this.PortGroupBox.Text = "Local Port"; - // - // RedirectorLabel + // TcpingAtStartedCheckBox // - this.RedirectorLabel.AutoSize = true; - this.RedirectorLabel.Location = new System.Drawing.Point(9, 83); - this.RedirectorLabel.Name = "RedirectorLabel"; - this.RedirectorLabel.Size = new System.Drawing.Size(89, 12); - this.RedirectorLabel.TabIndex = 6; - this.RedirectorLabel.Text = "Redirector TCP"; + this.TcpingAtStartedCheckBox.AutoSize = true; + this.TcpingAtStartedCheckBox.Location = new System.Drawing.Point(15, 186); + this.TcpingAtStartedCheckBox.Name = "TcpingAtStartedCheckBox"; + this.TcpingAtStartedCheckBox.Size = new System.Drawing.Size(156, 16); + this.TcpingAtStartedCheckBox.TabStop = false; + this.TcpingAtStartedCheckBox.Text = "Delay test after start"; + this.TcpingAtStartedCheckBox.UseVisualStyleBackColor = true; // - // RedirectorTextBox + // DetectionIntervalLabel // - this.RedirectorTextBox.Location = new System.Drawing.Point(120, 80); - this.RedirectorTextBox.Name = "RedirectorTextBox"; - this.RedirectorTextBox.Size = new System.Drawing.Size(90, 21); - this.RedirectorTextBox.TabIndex = 7; - this.RedirectorTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.DetectionIntervalLabel.AutoSize = true; + this.DetectionIntervalLabel.Location = new System.Drawing.Point(228, 187); + this.DetectionIntervalLabel.Name = "DetectionIntervalLabel"; + this.DetectionIntervalLabel.Size = new System.Drawing.Size(143, 12); + this.DetectionIntervalLabel.Text = "Detection interval(sec)"; // - // AllowDevicesCheckBox + // DetectionIntervalTextBox // - this.AllowDevicesCheckBox.AutoSize = true; - this.AllowDevicesCheckBox.Location = new System.Drawing.Point(6, 107); - this.AllowDevicesCheckBox.Name = "AllowDevicesCheckBox"; - this.AllowDevicesCheckBox.Size = new System.Drawing.Size(204, 16); - this.AllowDevicesCheckBox.TabIndex = 5; - this.AllowDevicesCheckBox.Text = "Allow other Devices to connect"; - this.AllowDevicesCheckBox.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.AllowDevicesCheckBox.UseVisualStyleBackColor = true; + this.DetectionIntervalTextBox.Location = new System.Drawing.Point(366, 184); + this.DetectionIntervalTextBox.Name = "DetectionIntervalTextBox"; + this.DetectionIntervalTextBox.Size = new System.Drawing.Size(68, 21); + this.DetectionIntervalTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // HTTPPortLabel + // STUNServerLabel // - this.HTTPPortLabel.AutoSize = true; - this.HTTPPortLabel.Location = new System.Drawing.Point(9, 54); - this.HTTPPortLabel.Name = "HTTPPortLabel"; - this.HTTPPortLabel.Size = new System.Drawing.Size(29, 12); - this.HTTPPortLabel.TabIndex = 3; - this.HTTPPortLabel.Text = "HTTP"; + this.STUNServerLabel.AutoSize = true; + this.STUNServerLabel.Location = new System.Drawing.Point(12, 216); + this.STUNServerLabel.Name = "STUNServerLabel"; + this.STUNServerLabel.Size = new System.Drawing.Size(71, 12); + this.STUNServerLabel.Text = "STUN Server"; // - // HTTPPortTextBox + // STUN_ServerComboBox // - this.HTTPPortTextBox.Location = new System.Drawing.Point(120, 51); - this.HTTPPortTextBox.Name = "HTTPPortTextBox"; - this.HTTPPortTextBox.Size = new System.Drawing.Size(90, 21); - this.HTTPPortTextBox.TabIndex = 4; - this.HTTPPortTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.STUN_ServerComboBox.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest; + this.STUN_ServerComboBox.Location = new System.Drawing.Point(120, 213); + this.STUN_ServerComboBox.Name = "STUN_ServerComboBox"; + this.STUN_ServerComboBox.Size = new System.Drawing.Size(314, 20); // - // Socks5PortLabel + // AclLabel // - this.Socks5PortLabel.AutoSize = true; - this.Socks5PortLabel.Location = new System.Drawing.Point(9, 25); - this.Socks5PortLabel.Name = "Socks5PortLabel"; - this.Socks5PortLabel.Size = new System.Drawing.Size(41, 12); - this.Socks5PortLabel.TabIndex = 0; - this.Socks5PortLabel.Text = "Socks5"; + this.AclLabel.AutoSize = true; + this.AclLabel.Location = new System.Drawing.Point(12, 248); + this.AclLabel.Name = "AclLabel"; + this.AclLabel.Size = new System.Drawing.Size(65, 12); + this.AclLabel.Text = "Custom ACL"; // - // Socks5PortTextBox + // AclAddrTextBox // - this.Socks5PortTextBox.Location = new System.Drawing.Point(120, 22); - this.Socks5PortTextBox.Name = "Socks5PortTextBox"; - this.Socks5PortTextBox.Size = new System.Drawing.Size(90, 21); - this.Socks5PortTextBox.TabIndex = 1; - this.Socks5PortTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.AclAddrTextBox.Location = new System.Drawing.Point(120, 245); + this.AclAddrTextBox.Name = "AclAddrTextBox"; + this.AclAddrTextBox.Size = new System.Drawing.Size(315, 21); + this.AclAddrTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // ResolveServerHostnameCheckBox + // LanguageLabel // - this.ResolveServerHostnameCheckBox.AutoSize = true; - this.ResolveServerHostnameCheckBox.Location = new System.Drawing.Point(266, 42); - this.ResolveServerHostnameCheckBox.Name = "ResolveServerHostnameCheckBox"; - this.ResolveServerHostnameCheckBox.Size = new System.Drawing.Size(162, 16); - this.ResolveServerHostnameCheckBox.TabIndex = 21; - this.ResolveServerHostnameCheckBox.Text = "Resolve Server Hostname"; - this.ResolveServerHostnameCheckBox.UseVisualStyleBackColor = true; + this.LanguageLabel.AutoSize = true; + this.LanguageLabel.Location = new System.Drawing.Point(12, 277); + this.LanguageLabel.Name = "LanguageLabel"; + this.LanguageLabel.Size = new System.Drawing.Size(53, 12); + this.LanguageLabel.Text = "Language"; // - // BootShadowsocksFromDLLCheckBox + // LanguageComboBox // - this.BootShadowsocksFromDLLCheckBox.AutoSize = true; - this.BootShadowsocksFromDLLCheckBox.Location = new System.Drawing.Point(267, 15); - this.BootShadowsocksFromDLLCheckBox.Name = "BootShadowsocksFromDLLCheckBox"; - this.BootShadowsocksFromDLLCheckBox.Size = new System.Drawing.Size(60, 16); - this.BootShadowsocksFromDLLCheckBox.TabIndex = 21; - this.BootShadowsocksFromDLLCheckBox.Text = "SS DLL"; - this.BootShadowsocksFromDLLCheckBox.UseVisualStyleBackColor = true; + this.LanguageComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.LanguageComboBox.FormattingEnabled = true; + this.LanguageComboBox.Location = new System.Drawing.Point(120, 274); + this.LanguageComboBox.Name = "LanguageComboBox"; + this.LanguageComboBox.Size = new System.Drawing.Size(121, 20); // // NFTabPage // @@ -362,7 +339,6 @@ private void InitializeComponent() this.NFTabPage.Name = "NFTabPage"; this.NFTabPage.Padding = new System.Windows.Forms.Padding(3); this.NFTabPage.Size = new System.Drawing.Size(461, 325); - this.NFTabPage.TabIndex = 1; this.NFTabPage.Text = "Process Mode"; // // ModifySystemDNSCheckBox @@ -371,20 +347,18 @@ private void InitializeComponent() this.ModifySystemDNSCheckBox.Location = new System.Drawing.Point(8, 16); this.ModifySystemDNSCheckBox.Name = "ModifySystemDNSCheckBox"; this.ModifySystemDNSCheckBox.Size = new System.Drawing.Size(126, 16); - this.ModifySystemDNSCheckBox.TabIndex = 22; this.ModifySystemDNSCheckBox.Text = "Modify System DNS"; this.ModifySystemDNSCheckBox.UseVisualStyleBackColor = true; // // TAPTabPage // this.TAPTabPage.BackColor = System.Drawing.SystemColors.ButtonFace; - this.TAPTabPage.Controls.Add(this.GlobalBypassIPsButton); this.TAPTabPage.Controls.Add(this.TUNTAPGroupBox); + this.TAPTabPage.Controls.Add(this.GlobalBypassIPsButton); this.TAPTabPage.Location = new System.Drawing.Point(4, 25); this.TAPTabPage.Name = "TAPTabPage"; this.TAPTabPage.Padding = new System.Windows.Forms.Padding(3); this.TAPTabPage.Size = new System.Drawing.Size(461, 325); - this.TAPTabPage.TabIndex = 2; this.TAPTabPage.Text = "TUN/TAP"; // // GlobalBypassIPsButton @@ -392,29 +366,27 @@ private void InitializeComponent() this.GlobalBypassIPsButton.Location = new System.Drawing.Point(6, 199); this.GlobalBypassIPsButton.Name = "GlobalBypassIPsButton"; this.GlobalBypassIPsButton.Size = new System.Drawing.Size(128, 23); - this.GlobalBypassIPsButton.TabIndex = 11; this.GlobalBypassIPsButton.Text = "Global Bypass IPs"; this.GlobalBypassIPsButton.UseVisualStyleBackColor = true; this.GlobalBypassIPsButton.Click += new System.EventHandler(this.GlobalBypassIPsButton_Click); // // TUNTAPGroupBox // - this.TUNTAPGroupBox.Controls.Add(this.UseFakeDNSCheckBox); - this.TUNTAPGroupBox.Controls.Add(this.ProxyDNSCheckBox); - this.TUNTAPGroupBox.Controls.Add(this.ICSCheckBox); - this.TUNTAPGroupBox.Controls.Add(this.UseCustomDNSCheckBox); - this.TUNTAPGroupBox.Controls.Add(this.TUNTAPDNSLabel); - this.TUNTAPGroupBox.Controls.Add(this.TUNTAPDNSTextBox); - this.TUNTAPGroupBox.Controls.Add(this.TUNTAPGatewayLabel); - this.TUNTAPGroupBox.Controls.Add(this.TUNTAPGatewayTextBox); - this.TUNTAPGroupBox.Controls.Add(this.TUNTAPNetmaskLabel); - this.TUNTAPGroupBox.Controls.Add(this.TUNTAPNetmaskTextBox); this.TUNTAPGroupBox.Controls.Add(this.TUNTAPAddressLabel); this.TUNTAPGroupBox.Controls.Add(this.TUNTAPAddressTextBox); + this.TUNTAPGroupBox.Controls.Add(this.TUNTAPNetmaskLabel); + this.TUNTAPGroupBox.Controls.Add(this.TUNTAPNetmaskTextBox); + this.TUNTAPGroupBox.Controls.Add(this.TUNTAPGatewayLabel); + this.TUNTAPGroupBox.Controls.Add(this.TUNTAPGatewayTextBox); + this.TUNTAPGroupBox.Controls.Add(this.TUNTAPDNSLabel); + this.TUNTAPGroupBox.Controls.Add(this.TUNTAPDNSTextBox); + this.TUNTAPGroupBox.Controls.Add(this.UseCustomDNSCheckBox); + this.TUNTAPGroupBox.Controls.Add(this.ProxyDNSCheckBox); + this.TUNTAPGroupBox.Controls.Add(this.UseFakeDNSCheckBox); + this.TUNTAPGroupBox.Controls.Add(this.ICSCheckBox); this.TUNTAPGroupBox.Location = new System.Drawing.Point(6, 6); this.TUNTAPGroupBox.Name = "TUNTAPGroupBox"; this.TUNTAPGroupBox.Size = new System.Drawing.Size(420, 187); - this.TUNTAPGroupBox.TabIndex = 4; this.TUNTAPGroupBox.TabStop = false; this.TUNTAPGroupBox.Text = "TUN/TAP"; // @@ -424,7 +396,6 @@ private void InitializeComponent() this.UseFakeDNSCheckBox.Location = new System.Drawing.Point(10, 160); this.UseFakeDNSCheckBox.Name = "UseFakeDNSCheckBox"; this.UseFakeDNSCheckBox.Size = new System.Drawing.Size(96, 16); - this.UseFakeDNSCheckBox.TabIndex = 11; this.UseFakeDNSCheckBox.Text = "Use Fake DNS"; this.UseFakeDNSCheckBox.UseVisualStyleBackColor = true; this.UseFakeDNSCheckBox.Visible = false; @@ -435,7 +406,6 @@ private void InitializeComponent() this.ProxyDNSCheckBox.Location = new System.Drawing.Point(261, 139); this.ProxyDNSCheckBox.Name = "ProxyDNSCheckBox"; this.ProxyDNSCheckBox.Size = new System.Drawing.Size(138, 16); - this.ProxyDNSCheckBox.TabIndex = 10; this.ProxyDNSCheckBox.Text = "Proxy DNS in Mode 2"; this.ProxyDNSCheckBox.UseVisualStyleBackColor = true; // @@ -446,7 +416,6 @@ private void InitializeComponent() this.ICSCheckBox.Location = new System.Drawing.Point(261, 160); this.ICSCheckBox.Name = "ICSCheckBox"; this.ICSCheckBox.Size = new System.Drawing.Size(138, 16); - this.ICSCheckBox.TabIndex = 5; this.ICSCheckBox.Text = "Tap Network Sharing"; this.ICSCheckBox.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.ICSCheckBox.UseVisualStyleBackColor = true; @@ -458,7 +427,6 @@ private void InitializeComponent() this.UseCustomDNSCheckBox.Location = new System.Drawing.Point(10, 139); this.UseCustomDNSCheckBox.Name = "UseCustomDNSCheckBox"; this.UseCustomDNSCheckBox.Size = new System.Drawing.Size(108, 16); - this.UseCustomDNSCheckBox.TabIndex = 9; this.UseCustomDNSCheckBox.Text = "Use Custom DNS"; this.UseCustomDNSCheckBox.UseVisualStyleBackColor = true; this.UseCustomDNSCheckBox.Click += new System.EventHandler(this.TUNTAPUseCustomDNSCheckBox_CheckedChanged); @@ -469,7 +437,6 @@ private void InitializeComponent() this.TUNTAPDNSLabel.Location = new System.Drawing.Point(9, 112); this.TUNTAPDNSLabel.Name = "TUNTAPDNSLabel"; this.TUNTAPDNSLabel.Size = new System.Drawing.Size(23, 12); - this.TUNTAPDNSLabel.TabIndex = 7; this.TUNTAPDNSLabel.Text = "DNS"; // // TUNTAPDNSTextBox @@ -477,7 +444,6 @@ private void InitializeComponent() this.TUNTAPDNSTextBox.Location = new System.Drawing.Point(120, 110); this.TUNTAPDNSTextBox.Name = "TUNTAPDNSTextBox"; this.TUNTAPDNSTextBox.Size = new System.Drawing.Size(294, 21); - this.TUNTAPDNSTextBox.TabIndex = 8; this.TUNTAPDNSTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // TUNTAPGatewayLabel @@ -486,7 +452,6 @@ private void InitializeComponent() this.TUNTAPGatewayLabel.Location = new System.Drawing.Point(9, 83); this.TUNTAPGatewayLabel.Name = "TUNTAPGatewayLabel"; this.TUNTAPGatewayLabel.Size = new System.Drawing.Size(47, 12); - this.TUNTAPGatewayLabel.TabIndex = 5; this.TUNTAPGatewayLabel.Text = "Gateway"; // // TUNTAPGatewayTextBox @@ -494,7 +459,6 @@ private void InitializeComponent() this.TUNTAPGatewayTextBox.Location = new System.Drawing.Point(120, 80); this.TUNTAPGatewayTextBox.Name = "TUNTAPGatewayTextBox"; this.TUNTAPGatewayTextBox.Size = new System.Drawing.Size(294, 21); - this.TUNTAPGatewayTextBox.TabIndex = 6; this.TUNTAPGatewayTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // TUNTAPNetmaskLabel @@ -503,7 +467,6 @@ private void InitializeComponent() this.TUNTAPNetmaskLabel.Location = new System.Drawing.Point(9, 54); this.TUNTAPNetmaskLabel.Name = "TUNTAPNetmaskLabel"; this.TUNTAPNetmaskLabel.Size = new System.Drawing.Size(47, 12); - this.TUNTAPNetmaskLabel.TabIndex = 3; this.TUNTAPNetmaskLabel.Text = "Netmask"; // // TUNTAPNetmaskTextBox @@ -511,7 +474,6 @@ private void InitializeComponent() this.TUNTAPNetmaskTextBox.Location = new System.Drawing.Point(120, 51); this.TUNTAPNetmaskTextBox.Name = "TUNTAPNetmaskTextBox"; this.TUNTAPNetmaskTextBox.Size = new System.Drawing.Size(294, 21); - this.TUNTAPNetmaskTextBox.TabIndex = 4; this.TUNTAPNetmaskTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // TUNTAPAddressLabel @@ -520,7 +482,6 @@ private void InitializeComponent() this.TUNTAPAddressLabel.Location = new System.Drawing.Point(9, 25); this.TUNTAPAddressLabel.Name = "TUNTAPAddressLabel"; this.TUNTAPAddressLabel.Size = new System.Drawing.Size(47, 12); - this.TUNTAPAddressLabel.TabIndex = 1; this.TUNTAPAddressLabel.Text = "Address"; // // TUNTAPAddressTextBox @@ -528,20 +489,18 @@ private void InitializeComponent() this.TUNTAPAddressTextBox.Location = new System.Drawing.Point(120, 22); this.TUNTAPAddressTextBox.Name = "TUNTAPAddressTextBox"; this.TUNTAPAddressTextBox.Size = new System.Drawing.Size(294, 21); - this.TUNTAPAddressTextBox.TabIndex = 2; this.TUNTAPAddressTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // v2rayTabPage // this.v2rayTabPage.BackColor = System.Drawing.SystemColors.ButtonFace; - this.v2rayTabPage.Controls.Add(this.KCPGroupBox); - this.v2rayTabPage.Controls.Add(this.UseMuxCheckBox); this.v2rayTabPage.Controls.Add(this.TLSAllowInsecureCheckBox); + this.v2rayTabPage.Controls.Add(this.UseMuxCheckBox); + this.v2rayTabPage.Controls.Add(this.KCPGroupBox); this.v2rayTabPage.Location = new System.Drawing.Point(4, 25); this.v2rayTabPage.Name = "v2rayTabPage"; this.v2rayTabPage.Padding = new System.Windows.Forms.Padding(3); this.v2rayTabPage.Size = new System.Drawing.Size(461, 325); - this.v2rayTabPage.TabIndex = 3; this.v2rayTabPage.Text = "V2Ray"; // // KCPGroupBox @@ -562,7 +521,6 @@ private void InitializeComponent() this.KCPGroupBox.Location = new System.Drawing.Point(9, 48); this.KCPGroupBox.Name = "KCPGroupBox"; this.KCPGroupBox.Size = new System.Drawing.Size(427, 204); - this.KCPGroupBox.TabIndex = 1; this.KCPGroupBox.TabStop = false; this.KCPGroupBox.Text = "KCP"; // @@ -572,7 +530,6 @@ private void InitializeComponent() this.mtuLabel.Location = new System.Drawing.Point(6, 26); this.mtuLabel.Name = "mtuLabel"; this.mtuLabel.Size = new System.Drawing.Size(23, 12); - this.mtuLabel.TabIndex = 2; this.mtuLabel.Text = "mtu"; // // mtuTextBox @@ -580,7 +537,6 @@ private void InitializeComponent() this.mtuTextBox.Location = new System.Drawing.Point(103, 17); this.mtuTextBox.Name = "mtuTextBox"; this.mtuTextBox.Size = new System.Drawing.Size(90, 21); - this.mtuTextBox.TabIndex = 3; this.mtuTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // ttiLabel @@ -589,7 +545,6 @@ private void InitializeComponent() this.ttiLabel.Location = new System.Drawing.Point(224, 26); this.ttiLabel.Name = "ttiLabel"; this.ttiLabel.Size = new System.Drawing.Size(23, 12); - this.ttiLabel.TabIndex = 4; this.ttiLabel.Text = "tti"; // // ttiTextBox @@ -597,7 +552,6 @@ private void InitializeComponent() this.ttiTextBox.Location = new System.Drawing.Point(331, 17); this.ttiTextBox.Name = "ttiTextBox"; this.ttiTextBox.Size = new System.Drawing.Size(90, 21); - this.ttiTextBox.TabIndex = 5; this.ttiTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // uplinkCapacityLabel @@ -606,7 +560,6 @@ private void InitializeComponent() this.uplinkCapacityLabel.Location = new System.Drawing.Point(6, 68); this.uplinkCapacityLabel.Name = "uplinkCapacityLabel"; this.uplinkCapacityLabel.Size = new System.Drawing.Size(89, 12); - this.uplinkCapacityLabel.TabIndex = 6; this.uplinkCapacityLabel.Text = "uplinkCapacity"; // // uplinkCapacityTextBox @@ -614,7 +567,6 @@ private void InitializeComponent() this.uplinkCapacityTextBox.Location = new System.Drawing.Point(103, 59); this.uplinkCapacityTextBox.Name = "uplinkCapacityTextBox"; this.uplinkCapacityTextBox.Size = new System.Drawing.Size(90, 21); - this.uplinkCapacityTextBox.TabIndex = 7; this.uplinkCapacityTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // downlinkCapacityLabel @@ -623,7 +575,6 @@ private void InitializeComponent() this.downlinkCapacityLabel.Location = new System.Drawing.Point(224, 68); this.downlinkCapacityLabel.Name = "downlinkCapacityLabel"; this.downlinkCapacityLabel.Size = new System.Drawing.Size(101, 12); - this.downlinkCapacityLabel.TabIndex = 8; this.downlinkCapacityLabel.Text = "downlinkCapacity"; // // downlinkCapacityTextBox @@ -631,7 +582,6 @@ private void InitializeComponent() this.downlinkCapacityTextBox.Location = new System.Drawing.Point(331, 65); this.downlinkCapacityTextBox.Name = "downlinkCapacityTextBox"; this.downlinkCapacityTextBox.Size = new System.Drawing.Size(90, 21); - this.downlinkCapacityTextBox.TabIndex = 9; this.downlinkCapacityTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // readBufferSizeLabel @@ -640,7 +590,6 @@ private void InitializeComponent() this.readBufferSizeLabel.Location = new System.Drawing.Point(6, 109); this.readBufferSizeLabel.Name = "readBufferSizeLabel"; this.readBufferSizeLabel.Size = new System.Drawing.Size(89, 12); - this.readBufferSizeLabel.TabIndex = 10; this.readBufferSizeLabel.Text = "readBufferSize"; // // readBufferSizeTextBox @@ -648,7 +597,6 @@ private void InitializeComponent() this.readBufferSizeTextBox.Location = new System.Drawing.Point(103, 100); this.readBufferSizeTextBox.Name = "readBufferSizeTextBox"; this.readBufferSizeTextBox.Size = new System.Drawing.Size(90, 21); - this.readBufferSizeTextBox.TabIndex = 11; this.readBufferSizeTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // writeBufferSizeLabel @@ -657,7 +605,6 @@ private void InitializeComponent() this.writeBufferSizeLabel.Location = new System.Drawing.Point(224, 109); this.writeBufferSizeLabel.Name = "writeBufferSizeLabel"; this.writeBufferSizeLabel.Size = new System.Drawing.Size(95, 12); - this.writeBufferSizeLabel.TabIndex = 12; this.writeBufferSizeLabel.Text = "writeBufferSize"; // // writeBufferSizeTextBox @@ -665,7 +612,6 @@ private void InitializeComponent() this.writeBufferSizeTextBox.Location = new System.Drawing.Point(331, 106); this.writeBufferSizeTextBox.Name = "writeBufferSizeTextBox"; this.writeBufferSizeTextBox.Size = new System.Drawing.Size(90, 21); - this.writeBufferSizeTextBox.TabIndex = 13; this.writeBufferSizeTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // congestionCheckBox @@ -674,17 +620,15 @@ private void InitializeComponent() this.congestionCheckBox.Location = new System.Drawing.Point(8, 139); this.congestionCheckBox.Name = "congestionCheckBox"; this.congestionCheckBox.Size = new System.Drawing.Size(84, 16); - this.congestionCheckBox.TabIndex = 0; this.congestionCheckBox.Text = "congestion"; this.congestionCheckBox.UseVisualStyleBackColor = true; // // UseMuxCheckBox // this.UseMuxCheckBox.AutoSize = true; - this.UseMuxCheckBox.Location = new System.Drawing.Point(138, 15); + this.UseMuxCheckBox.Location = new System.Drawing.Point(148, 15); this.UseMuxCheckBox.Name = "UseMuxCheckBox"; this.UseMuxCheckBox.Size = new System.Drawing.Size(66, 16); - this.UseMuxCheckBox.TabIndex = 0; this.UseMuxCheckBox.Text = "Use Mux"; this.UseMuxCheckBox.UseVisualStyleBackColor = true; // @@ -694,35 +638,32 @@ private void InitializeComponent() this.TLSAllowInsecureCheckBox.Location = new System.Drawing.Point(6, 15); this.TLSAllowInsecureCheckBox.Name = "TLSAllowInsecureCheckBox"; this.TLSAllowInsecureCheckBox.Size = new System.Drawing.Size(126, 16); - this.TLSAllowInsecureCheckBox.TabIndex = 0; this.TLSAllowInsecureCheckBox.Text = "TLS AllowInsecure"; this.TLSAllowInsecureCheckBox.UseVisualStyleBackColor = true; // // OtherTabPage // this.OtherTabPage.BackColor = System.Drawing.SystemColors.ButtonFace; - this.OtherTabPage.Controls.Add(this.UpdateSubscribeatWhenOpenedCheckBox); - this.OtherTabPage.Controls.Add(this.RunAtStartupCheckBox); + this.OtherTabPage.Controls.Add(this.ExitWhenClosedCheckBox); + this.OtherTabPage.Controls.Add(this.StopWhenExitedCheckBox); + this.OtherTabPage.Controls.Add(this.StartWhenOpenedCheckBox); this.OtherTabPage.Controls.Add(this.MinimizeWhenStartedCheckBox); - this.OtherTabPage.Controls.Add(this.CheckBetaUpdateCheckBox); + this.OtherTabPage.Controls.Add(this.RunAtStartupCheckBox); this.OtherTabPage.Controls.Add(this.CheckUpdateWhenOpenedCheckBox); - this.OtherTabPage.Controls.Add(this.StartWhenOpenedCheckBox); - this.OtherTabPage.Controls.Add(this.StopWhenExitedCheckBox); - this.OtherTabPage.Controls.Add(this.ExitWhenClosedCheckBox); + this.OtherTabPage.Controls.Add(this.CheckBetaUpdateCheckBox); + this.OtherTabPage.Controls.Add(this.UpdateSubscribeatWhenOpenedCheckBox); this.OtherTabPage.Location = new System.Drawing.Point(4, 25); this.OtherTabPage.Name = "OtherTabPage"; this.OtherTabPage.Padding = new System.Windows.Forms.Padding(3); this.OtherTabPage.Size = new System.Drawing.Size(461, 325); - this.OtherTabPage.TabIndex = 4; this.OtherTabPage.Text = "Others"; // // UpdateSubscribeatWhenOpenedCheckBox // this.UpdateSubscribeatWhenOpenedCheckBox.AutoSize = true; - this.UpdateSubscribeatWhenOpenedCheckBox.Location = new System.Drawing.Point(200, 114); + this.UpdateSubscribeatWhenOpenedCheckBox.Location = new System.Drawing.Point(200, 109); this.UpdateSubscribeatWhenOpenedCheckBox.Name = "UpdateSubscribeatWhenOpenedCheckBox"; this.UpdateSubscribeatWhenOpenedCheckBox.Size = new System.Drawing.Size(204, 16); - this.UpdateSubscribeatWhenOpenedCheckBox.TabIndex = 32; this.UpdateSubscribeatWhenOpenedCheckBox.Text = "Update subscribeat when opened"; this.UpdateSubscribeatWhenOpenedCheckBox.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.UpdateSubscribeatWhenOpenedCheckBox.UseVisualStyleBackColor = true; @@ -733,7 +674,6 @@ private void InitializeComponent() this.RunAtStartupCheckBox.Location = new System.Drawing.Point(6, 60); this.RunAtStartupCheckBox.Name = "RunAtStartupCheckBox"; this.RunAtStartupCheckBox.Size = new System.Drawing.Size(108, 16); - this.RunAtStartupCheckBox.TabIndex = 31; this.RunAtStartupCheckBox.Text = "Run at startup"; this.RunAtStartupCheckBox.UseVisualStyleBackColor = true; // @@ -743,7 +683,6 @@ private void InitializeComponent() this.MinimizeWhenStartedCheckBox.Location = new System.Drawing.Point(200, 33); this.MinimizeWhenStartedCheckBox.Name = "MinimizeWhenStartedCheckBox"; this.MinimizeWhenStartedCheckBox.Size = new System.Drawing.Size(150, 16); - this.MinimizeWhenStartedCheckBox.TabIndex = 30; this.MinimizeWhenStartedCheckBox.Text = "Minimize when started"; this.MinimizeWhenStartedCheckBox.UseVisualStyleBackColor = true; // @@ -753,7 +692,6 @@ private void InitializeComponent() this.CheckBetaUpdateCheckBox.Location = new System.Drawing.Point(200, 87); this.CheckBetaUpdateCheckBox.Name = "CheckBetaUpdateCheckBox"; this.CheckBetaUpdateCheckBox.Size = new System.Drawing.Size(126, 16); - this.CheckBetaUpdateCheckBox.TabIndex = 28; this.CheckBetaUpdateCheckBox.Text = "Check Beta update"; this.CheckBetaUpdateCheckBox.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.CheckBetaUpdateCheckBox.UseVisualStyleBackColor = true; @@ -764,7 +702,6 @@ private void InitializeComponent() this.CheckUpdateWhenOpenedCheckBox.Location = new System.Drawing.Point(200, 60); this.CheckUpdateWhenOpenedCheckBox.Name = "CheckUpdateWhenOpenedCheckBox"; this.CheckUpdateWhenOpenedCheckBox.Size = new System.Drawing.Size(168, 16); - this.CheckUpdateWhenOpenedCheckBox.TabIndex = 29; this.CheckUpdateWhenOpenedCheckBox.Text = "Check update when opened"; this.CheckUpdateWhenOpenedCheckBox.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.CheckUpdateWhenOpenedCheckBox.UseVisualStyleBackColor = true; @@ -775,7 +712,6 @@ private void InitializeComponent() this.StartWhenOpenedCheckBox.Location = new System.Drawing.Point(6, 33); this.StartWhenOpenedCheckBox.Name = "StartWhenOpenedCheckBox"; this.StartWhenOpenedCheckBox.Size = new System.Drawing.Size(126, 16); - this.StartWhenOpenedCheckBox.TabIndex = 27; this.StartWhenOpenedCheckBox.Text = "Start when opened"; this.StartWhenOpenedCheckBox.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.StartWhenOpenedCheckBox.UseVisualStyleBackColor = true; @@ -786,7 +722,6 @@ private void InitializeComponent() this.StopWhenExitedCheckBox.Location = new System.Drawing.Point(200, 7); this.StopWhenExitedCheckBox.Name = "StopWhenExitedCheckBox"; this.StopWhenExitedCheckBox.Size = new System.Drawing.Size(120, 16); - this.StopWhenExitedCheckBox.TabIndex = 26; this.StopWhenExitedCheckBox.Text = "Stop when exited"; this.StopWhenExitedCheckBox.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.StopWhenExitedCheckBox.UseVisualStyleBackColor = true; @@ -797,35 +732,10 @@ private void InitializeComponent() this.ExitWhenClosedCheckBox.Location = new System.Drawing.Point(6, 6); this.ExitWhenClosedCheckBox.Name = "ExitWhenClosedCheckBox"; this.ExitWhenClosedCheckBox.Size = new System.Drawing.Size(120, 16); - this.ExitWhenClosedCheckBox.TabIndex = 25; this.ExitWhenClosedCheckBox.Text = "Exit when closed"; this.ExitWhenClosedCheckBox.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.ExitWhenClosedCheckBox.UseVisualStyleBackColor = true; // - // ControlButton - // - this.ControlButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.ControlButton.Location = new System.Drawing.Point(397, 363); - this.ControlButton.Name = "ControlButton"; - this.ControlButton.Size = new System.Drawing.Size(75, 23); - this.ControlButton.TabIndex = 12; - this.ControlButton.Text = "Save"; - this.ControlButton.UseVisualStyleBackColor = true; - this.ControlButton.Click += new System.EventHandler(this.ControlButton_Click); - // - // flowLayoutPanel1 - // - this.flowLayoutPanel1.AutoSize = true; - this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.flowLayoutPanel1.Controls.Add(this.TabControl); - this.flowLayoutPanel1.Controls.Add(this.ControlButton); - this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; - this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 0); - this.flowLayoutPanel1.Name = "flowLayoutPanel1"; - this.flowLayoutPanel1.Size = new System.Drawing.Size(480, 400); - this.flowLayoutPanel1.TabIndex = 13; - // // AioDNSTabPage // this.AioDNSTabPage.Controls.Add(this.AioDNSRuleRuleLabel); @@ -838,34 +748,23 @@ private void InitializeComponent() this.AioDNSTabPage.Name = "AioDNSTabPage"; this.AioDNSTabPage.Padding = new System.Windows.Forms.Padding(3); this.AioDNSTabPage.Size = new System.Drawing.Size(461, 325); - this.AioDNSTabPage.TabIndex = 5; this.AioDNSTabPage.Text = "AioDNS"; this.AioDNSTabPage.UseVisualStyleBackColor = true; // - // AioDNSRulePathTextBox - // - this.AioDNSRulePathTextBox.Enabled = false; - this.AioDNSRulePathTextBox.Location = new System.Drawing.Point(147, 24); - this.AioDNSRulePathTextBox.Name = "AioDNSRulePathTextBox"; - this.AioDNSRulePathTextBox.Size = new System.Drawing.Size(201, 21); - this.AioDNSRulePathTextBox.TabIndex = 0; - // // AioDNSRuleRuleLabel // this.AioDNSRuleRuleLabel.AutoSize = true; this.AioDNSRuleRuleLabel.Location = new System.Drawing.Point(16, 27); this.AioDNSRuleRuleLabel.Name = "AioDNSRuleRuleLabel"; this.AioDNSRuleRuleLabel.Size = new System.Drawing.Size(59, 12); - this.AioDNSRuleRuleLabel.TabIndex = 1; this.AioDNSRuleRuleLabel.Text = "Rule File"; // - // ChinaDNSTextBox + // AioDNSRulePathTextBox // - this.ChinaDNSTextBox.Location = new System.Drawing.Point(147, 70); - this.ChinaDNSTextBox.Name = "ChinaDNSTextBox"; - this.ChinaDNSTextBox.Size = new System.Drawing.Size(201, 21); - this.ChinaDNSTextBox.TabIndex = 0; - this.ChinaDNSTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.AioDNSRulePathTextBox.Enabled = false; + this.AioDNSRulePathTextBox.Location = new System.Drawing.Point(147, 24); + this.AioDNSRulePathTextBox.Name = "AioDNSRulePathTextBox"; + this.AioDNSRulePathTextBox.Size = new System.Drawing.Size(201, 21); // // ChinaDNSLabel // @@ -873,16 +772,14 @@ private void InitializeComponent() this.ChinaDNSLabel.Location = new System.Drawing.Point(16, 73); this.ChinaDNSLabel.Name = "ChinaDNSLabel"; this.ChinaDNSLabel.Size = new System.Drawing.Size(59, 12); - this.ChinaDNSLabel.TabIndex = 1; this.ChinaDNSLabel.Text = "China DNS"; // - // OtherDNSTextBox + // ChinaDNSTextBox // - this.OtherDNSTextBox.Location = new System.Drawing.Point(147, 106); - this.OtherDNSTextBox.Name = "OtherDNSTextBox"; - this.OtherDNSTextBox.Size = new System.Drawing.Size(201, 21); - this.OtherDNSTextBox.TabIndex = 0; - this.OtherDNSTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.ChinaDNSTextBox.Location = new System.Drawing.Point(147, 70); + this.ChinaDNSTextBox.Name = "ChinaDNSTextBox"; + this.ChinaDNSTextBox.Size = new System.Drawing.Size(201, 21); + this.ChinaDNSTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // OtherDNSLabel // @@ -890,9 +787,37 @@ private void InitializeComponent() this.OtherDNSLabel.Location = new System.Drawing.Point(16, 109); this.OtherDNSLabel.Name = "OtherDNSLabel"; this.OtherDNSLabel.Size = new System.Drawing.Size(59, 12); - this.OtherDNSLabel.TabIndex = 1; this.OtherDNSLabel.Text = "Other DNS"; // + // OtherDNSTextBox + // + this.OtherDNSTextBox.Location = new System.Drawing.Point(147, 106); + this.OtherDNSTextBox.Name = "OtherDNSTextBox"; + this.OtherDNSTextBox.Size = new System.Drawing.Size(201, 21); + this.OtherDNSTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // ControlButton + // + this.ControlButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.ControlButton.Location = new System.Drawing.Point(397, 363); + this.ControlButton.Name = "ControlButton"; + this.ControlButton.Size = new System.Drawing.Size(75, 23); + this.ControlButton.Text = "Save"; + this.ControlButton.UseVisualStyleBackColor = true; + this.ControlButton.Click += new System.EventHandler(this.ControlButton_Click); + // + // flowLayoutPanel1 + // + this.flowLayoutPanel1.AutoSize = true; + this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.flowLayoutPanel1.Controls.Add(this.TabControl); + this.flowLayoutPanel1.Controls.Add(this.ControlButton); + this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; + this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 0); + this.flowLayoutPanel1.Name = "flowLayoutPanel1"; + this.flowLayoutPanel1.Size = new System.Drawing.Size(480, 400); + // // SettingForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); @@ -923,9 +848,9 @@ private void InitializeComponent() this.KCPGroupBox.PerformLayout(); this.OtherTabPage.ResumeLayout(false); this.OtherTabPage.PerformLayout(); - this.flowLayoutPanel1.ResumeLayout(false); this.AioDNSTabPage.ResumeLayout(false); this.AioDNSTabPage.PerformLayout(); + this.flowLayoutPanel1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout();