From 4ada8fea2759e965604e2f1bb44c2cd5d12f74b6 Mon Sep 17 00:00:00 2001
From: 2dust <31833384+2dust@users.noreply.github.com>
Date: Sun, 17 Apr 2022 19:01:18 +0800
Subject: [PATCH] add tray menu servers limit
---
v2rayN/v2rayN/Forms/MainForm.cs | 2 +-
.../v2rayN/Forms/MainMsgControl.Designer.cs | 1 +
.../Forms/OptionSettingForm.Designer.cs | 16 +
v2rayN/v2rayN/Forms/OptionSettingForm.cs | 13 +-
v2rayN/v2rayN/Forms/OptionSettingForm.resx | 3654 +++++++++--------
.../Forms/OptionSettingForm.zh-Hans.resx | 201 +-
v2rayN/v2rayN/Handler/ConfigHandler.cs | 4 +
v2rayN/v2rayN/Mode/Config.cs | 2 +
8 files changed, 1994 insertions(+), 1899 deletions(-)
diff --git a/v2rayN/v2rayN/Forms/MainForm.cs b/v2rayN/v2rayN/Forms/MainForm.cs
index 8ff27652..7537ba71 100644
--- a/v2rayN/v2rayN/Forms/MainForm.cs
+++ b/v2rayN/v2rayN/Forms/MainForm.cs
@@ -345,7 +345,7 @@ namespace v2rayN.Forms
{
menuServers.DropDownItems.Clear();
- if (lstVmess.Count > 30)
+ if (lstVmess.Count > config.trayMenuServersLimit)
{
menuServers.DropDownItems.Add(new ToolStripMenuItem(ResUI.TooManyServersTip));
return;
diff --git a/v2rayN/v2rayN/Forms/MainMsgControl.Designer.cs b/v2rayN/v2rayN/Forms/MainMsgControl.Designer.cs
index 785a4329..d23bd9f9 100644
--- a/v2rayN/v2rayN/Forms/MainMsgControl.Designer.cs
+++ b/v2rayN/v2rayN/Forms/MainMsgControl.Designer.cs
@@ -61,6 +61,7 @@ namespace v2rayN.Forms
this.txtMsgBox.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(226)))), ((int)(((byte)(228)))));
this.txtMsgBox.Name = "txtMsgBox";
this.txtMsgBox.ReadOnly = true;
+ this.txtMsgBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtMsgBox_KeyDown);
//
// cmsMsgBox
//
diff --git a/v2rayN/v2rayN/Forms/OptionSettingForm.Designer.cs b/v2rayN/v2rayN/Forms/OptionSettingForm.Designer.cs
index e790664b..f2d0fb9d 100644
--- a/v2rayN/v2rayN/Forms/OptionSettingForm.Designer.cs
+++ b/v2rayN/v2rayN/Forms/OptionSettingForm.Designer.cs
@@ -68,6 +68,8 @@
this.txtKcpmtu = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.tabPage7 = new System.Windows.Forms.TabPage();
+ this.txttrayMenuServersLimit = new System.Windows.Forms.TextBox();
+ this.label17 = new System.Windows.Forms.Label();
this.txtautoUpdateSubInterval = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.chkEnableSecurityProtocolTls13 = new System.Windows.Forms.CheckBox();
@@ -376,6 +378,8 @@
// tabPage7
//
resources.ApplyResources(this.tabPage7, "tabPage7");
+ this.tabPage7.Controls.Add(this.txttrayMenuServersLimit);
+ this.tabPage7.Controls.Add(this.label17);
this.tabPage7.Controls.Add(this.txtautoUpdateSubInterval);
this.tabPage7.Controls.Add(this.label3);
this.tabPage7.Controls.Add(this.chkEnableSecurityProtocolTls13);
@@ -392,6 +396,16 @@
this.tabPage7.Name = "tabPage7";
this.tabPage7.UseVisualStyleBackColor = true;
//
+ // txttrayMenuServersLimit
+ //
+ resources.ApplyResources(this.txttrayMenuServersLimit, "txttrayMenuServersLimit");
+ this.txttrayMenuServersLimit.Name = "txttrayMenuServersLimit";
+ //
+ // label17
+ //
+ resources.ApplyResources(this.label17, "label17");
+ this.label17.Name = "label17";
+ //
// txtautoUpdateSubInterval
//
resources.ApplyResources(this.txtautoUpdateSubInterval, "txtautoUpdateSubInterval");
@@ -713,5 +727,7 @@
private System.Windows.Forms.TextBox txtuser;
private System.Windows.Forms.TextBox txtautoUpdateSubInterval;
private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.TextBox txttrayMenuServersLimit;
+ private System.Windows.Forms.Label label17;
}
}
\ No newline at end of file
diff --git a/v2rayN/v2rayN/Forms/OptionSettingForm.cs b/v2rayN/v2rayN/Forms/OptionSettingForm.cs
index 1c713df8..755344f5 100644
--- a/v2rayN/v2rayN/Forms/OptionSettingForm.cs
+++ b/v2rayN/v2rayN/Forms/OptionSettingForm.cs
@@ -111,10 +111,12 @@ namespace v2rayN.Forms
}
chkIgnoreGeoUpdateCore.Checked = config.ignoreGeoUpdateCore;
- txtautoUpdateInterval.Text = config.autoUpdateInterval.ToString();
- txtautoUpdateSubInterval.Text = config.autoUpdateSubInterval.ToString();
chkEnableAutoAdjustMainLvColWidth.Checked = config.uiItem.enableAutoAdjustMainLvColWidth;
chkEnableSecurityProtocolTls13.Checked = config.enableSecurityProtocolTls13;
+
+ txtautoUpdateInterval.Text = config.autoUpdateInterval.ToString();
+ txtautoUpdateSubInterval.Text = config.autoUpdateSubInterval.ToString();
+ txttrayMenuServersLimit.Text = config.trayMenuServersLimit.ToString();
}
private void InitCoreType()
@@ -305,11 +307,12 @@ namespace v2rayN.Forms
config.keepOlderDedupl = chkKeepOlderDedupl.Checked;
config.ignoreGeoUpdateCore = chkIgnoreGeoUpdateCore.Checked;
- config.autoUpdateInterval = Utils.ToInt(txtautoUpdateInterval.Text);
- config.autoUpdateSubInterval = Utils.ToInt(txtautoUpdateSubInterval.Text);
config.uiItem.enableAutoAdjustMainLvColWidth = chkEnableAutoAdjustMainLvColWidth.Checked;
config.enableSecurityProtocolTls13 = chkEnableSecurityProtocolTls13.Checked;
+ config.autoUpdateInterval = Utils.ToInt(txtautoUpdateInterval.Text);
+ config.autoUpdateSubInterval = Utils.ToInt(txtautoUpdateSubInterval.Text);
+ config.trayMenuServersLimit = Utils.ToInt(txttrayMenuServersLimit.Text);
return 0;
}
@@ -339,6 +342,6 @@ namespace v2rayN.Forms
{
Process.Start(Utils.GetPath("EnableLoopback.exe"));
}
-
+
}
}
diff --git a/v2rayN/v2rayN/Forms/OptionSettingForm.resx b/v2rayN/v2rayN/Forms/OptionSettingForm.resx
index d9adddf4..b1ee7ec9 100644
--- a/v2rayN/v2rayN/Forms/OptionSettingForm.resx
+++ b/v2rayN/v2rayN/Forms/OptionSettingForm.resx
@@ -117,1577 +117,128 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
-
- NoControl
-
-
-
- 11
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- Keep older when deduplication
-
-
- 1
+
+ tabPage6
-
- 6, 283
-
-
- Record local logs
-
-
- tabPage7
-
-
- 12
-
-
- 4, 22
-
-
- 9
-
-
- groupBox1
-
-
- 10
-
-
- tti
-
-
- 13
-
-
- System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- tabControl1
-
-
- label10
-
-
- 10
-
-
- tabPage7
-
-
- 5
-
-
- 94, 21
-
-
- 9
-
-
- groupBox1
-
-
- label15
-
-
- txtautoUpdateInterval
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 38
-
-
- Top
-
-
- 102, 16
-
-
- 0
-
-
- 14
-
-
- tabPage3
-
-
- Core Type
-
-
- 5
-
-
- 7
-
-
- 30, 64
-
-
- 111, 100
-
-
- 30
-
-
- True
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 84, 16
-
-
- 40
-
-
- labCoreType2
-
-
- True
-
-
- 120, 16
-
-
- 285, 61
-
-
- True
-
-
- readBufferSize
-
-
- 234, 16
-
-
- tabPage6
-
-
- 4
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 59, 12
-
-
- 7
-
-
- tabPage7
-
-
- 12
-
-
- 736, 60
-
-
- 0, 0
-
-
- chkEnableSecurityProtocolTls13
-
-
- NoControl
-
-
- Fill
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- chkdefAllowInsecure
-
-
- 722, 421
-
-
- NoControl
-
-
- 30, 165
-
-
- 95, 12
-
-
- System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 45, 98
-
-
- 39
-
-
- 317, 12
-
-
- 59, 12
-
-
- 354, 159
-
-
- groupBox1
-
-
- 8
-
-
- tabPage7
-
-
- 18, 28
-
-
- &Cancel
-
-
- 36
-
-
- 111, 62
-
-
- 728, 427
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- NoControl
-
-
- tabPageCoreType
-
-
- tabPage7
-
-
- 736, 10
-
-
- 728, 427
-
-
- 15, 193
-
-
- 15, 108
-
-
- txtKcpuplinkCapacity
-
-
- 2
-
-
- 42
-
-
- txtKcpmtu
-
-
- lbFreshrate
-
-
- 11
-
-
- label11
-
-
- 29
-
-
- True
-
-
- NoControl
-
-
- 0, 10
-
-
- 143, 20
-
-
- cmbCoreType2
-
-
- Support DnsObject
-
-
- 43
-
-
- labCoreType1
-
-
- tabPage6
-
-
- 58, 20
-
-
- tabControl1
-
-
- Automatic update interval of and Geo (hours)
-
-
- $this
-
-
- 7
-
-
- 736, 523
-
-
- NoControl
-
-
- none
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- NoControl
-
-
- 117, 42
-
-
- 6
-
-
- tabPage7
-
-
- 43
-
-
- tabPage6
-
-
- Fill
+
+ 351, 211
groupBox1
-
- True
-
-
- System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- congestion
-
-
- 45, 176
-
-
- System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 15, 215
-
-
- 3
-
-
- 89, 12
-
-
- info
-
-
- 0
-
-
- 0
-
-
- 97, 21
-
-
- v2rayN settings
-
-
- System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 117, 94
-
-
- 9
-
-
- Use semicolon (;)
-
-
- True
-
-
- 6, 12
-
-
- 1
-
-
- True
-
-
- 8
-
-
- txtKcpdownlinkCapacity
-
-
- System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- Enable Security Protocol TLS v1.3 (subscription/update/speedtest)
-
-
- Automatically start at system startup
-
-
- 1
-
-
- txtKcptti
-
-
- Vertical
-
-
- 281, 12
-
-
- Ignore Geo files when updating core
-
-
- 355, 16
-
-
- System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 3
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- True
-
-
- 33, 29
-
-
- True
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 78, 21
-
-
- Log level
-
-
- tabControl1
-
-
- System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 59, 12
-
-
- v2rayN.Forms.BaseForm, v2rayN, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
-
- warning
-
-
- tabPage2
-
-
- 5
-
-
- tabPageCoreType
-
-
- True
-
-
- Statistics freshrate
-
-
- 5
-
-
- 107, 12
-
-
- 75, 23
-
-
- 89, 12
-
-
- btnOK
-
-
- chkKcpcongestion
-
-
- 18, 66
-
-
- 20, 143
-
-
- 11
-
-
- 8, 17
-
-
- 4, 4, 4, 4
-
-
- tabPage6
-
-
- 37
-
-
- Turn on Sniffing
-
-
- 4
-
-
- groupBox1
-
-
- txtpass
-
-
- tabPageCoreType
-
-
- 59, 12
-
-
- 97, 21
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 39
-
-
- 20
-
-
- 29
-
-
- tabPageCoreType
-
-
- True
-
-
- 47
-
-
- System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 5
-
-
- label12
-
-
- NoControl
-
-
- Auth user
-
-
- True
-
-
- 8, 28
-
-
- chksniffingEnabled
-
-
- 2
-
-
- 174, 16
-
-
- System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- 7
-
-
- 18, 104
-
-
- tabPage2
-
-
- True
-
-
- 282, 23
-
-
- 728, 427
-
-
- 36
-
-
- 576, 16
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 59, 12
-
-
- True
+
+
+ 6
Listening port
-
- panel1
-
-
- NoControl
-
-
- 53, 12
-
-
- 12
-
-
- label8
-
-
- 496, 27
-
-
- labCoreType4
-
-
- chkAutoRun
-
-
- 94, 21
-
-
- 345, 62
-
-
- 10
-
-
- Core Type
-
-
- 143, 20
-
-
- 3, 3, 3, 3
-
-
- chkudpEnabled
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- True
-
-
- tabPage6
-
-
- tabPage1
-
-
- Core Type
-
-
- tabPage7
-
-
- tabPage6
-
-
- 2
-
-
- System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 1
-
-
- System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 84, 16
-
-
- 15
-
-
- True
-
-
- label7
-
-
- allowInsecure
-
-
- txtlocalPort
-
-
- 41
-
-
- 236, 28
-
-
- tabPage7
-
-
- tabPage7
-
-
- System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 4, 22
-
-
- tabPage6
-
-
- True
-
-
- btnClose
-
-
- 124, 25
-
-
- protocol
-
-
- True
-
-
- 23, 12
-
-
- http
-
-
- 638, 356
-
-
- socks
-
-
+
8
-
- 3, 3
+
+ 317, 12
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- chkAllowLANConn
-
-
- True
-
-
- 117, 68
-
-
- 36
-
-
- True
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 15, 63
-
-
- tabPage6
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 10
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 8
-
-
- System proxy settings
-
-
- groupBox1
-
-
- tabControl1
-
-
- NoControl
-
-
- 5
-
-
- 2
-
-
- chkEnableStatistics
-
-
- cmbCoreType4
-
-
- 305, 12
-
-
- 193, 162
-
-
- True
-
-
- 46
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- tabPage6
-
-
- label2
-
-
- Set Windows10 UWP Loopback
-
-
- 9
-
-
- groupBox1
-
-
- 0
-
-
- 101, 12
-
-
- 11
-
-
- tabPage7
-
-
- 12
-
-
- 20
-
-
- cmbprotocol
-
-
- groupBox2
-
-
- 6
-
-
- Enable Statistics (Realtime netspeed and traffic records. Require restart the v2rayN client)
-
-
- 107, 12
-
-
- 736, 453
-
-
- tabPageCoreType
-
-
- 4
-
-
- True
-
-
- Automatic update interval of subscriptions (hours)
-
-
- 246, 16
-
-
- txtautoUpdateSubInterval
-
-
- Do not use proxy server for addresses beginning with
-
-
- 11
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- tabControl1
-
-
- System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 37
-
-
- chkKeepOlderDedupl
-
-
- 15, 129
-
-
- 42
-
-
- 5
-
-
- True
-
-
- True
-
-
- 45
-
-
- System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 0
-
-
- 0
-
-
- 285, 25
-
-
- tabPage2
-
-
- tabPageCoreType
-
-
- 117, 146
-
-
- Automatically adjust column width after updating subscription
-
-
- 0
-
-
- 30, 376
-
-
- 97, 20
-
-
- CoreType settings
-
-
- tabPage3
-
-
- 2
-
-
- 40
-
-
- 15, 160
-
-
- 45, 46
-
-
- 38
-
-
- 33
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 9
-
-
- label1
-
-
- Core: KCP settings
-
-
- NoControl
-
-
- cmbCoreType5
-
-
- error
-
-
- True
-
-
- 0, 0
-
-
- NoControl
-
-
- 38
-
-
- System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 728, 427
-
-
- downlinkCapacity
-
-
- tabControl1
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 45, 124
-
-
- True
-
-
- Core Type
-
-
- btnSetLoopback
-
-
- True
-
-
- 506, 16
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 42
-
-
- 10
-
-
- label16
-
-
- 44
-
-
- 224, 29
-
-
- chkEnableAutoAdjustMainLvColWidth
-
-
- labCoreType3
-
-
- chkIgnoreGeoUpdateCore
-
-
- Allow connections from the LAN
-
-
- 161, 60
-
-
- System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- tabPage6
-
-
- True
-
-
- 6
-
-
- groupBox2
-
-
- tabPageCoreType
-
-
+
panel2
-
- 39
-
-
- tabPageCoreType
-
-
- 35
-
-
- linkDnsObjectDoc
-
-
- tabPage7
-
-
- System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- labCoreType6
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- txtKcpreadBufferSize
-
-
- 143, 20
-
-
- System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox1
-
-
- System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- Fill
-
-
- 638, 219
-
-
- 7
-
-
- OptionSettingForm
-
-
- 2
-
-
- txtuser
-
-
- 120, 21
-
-
- 12
-
-
- groupBox2
-
-
- 39
-
-
- System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 1
-
-
- 397, 65
-
-
- 13
-
-
- 198, 16
-
-
- 6
-
-
- 8, 52
-
-
- True
-
-
- System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- tabPage7
-
-
- True
-
-
- System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- True
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 3, 3, 3, 3
-
-
- 23, 12
-
-
- True
-
-
- 4
-
-
- 8
-
-
- 41
-
-
- Exception
-
-
- 117, 172
-
-
- 3, 3, 3, 3
-
-
- 0
-
-
- 4, 22
-
-
- 345, 100
-
-
- 94, 21
-
-
- NoControl
-
-
- 728, 427
-
-
- NoControl
-
-
- 41
-
-
- 94, 21
-
-
- debug
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 0
-
-
- NoControl
-
-
- cmbCoreType3
-
-
- 8, 41
-
-
- 143, 20
-
-
- True
-
-
- tabPage1
-
-
- 3
-
-
- 3, 3, 3, 3
-
-
- 9
-
-
- tabPageCoreType
-
-
- System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 0
-
-
- groupBox1
-
-
- mtu
-
-
- 4, 22
-
-
- tabPage6
-
-
- 7
-
-
- False
-
-
- NoControl
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- &OK
-
-
- 10
-
-
- 1
-
-
- Core: basic settings
-
-
- Core Type
-
-
- tabPage2
-
-
- chklogEnabled
-
-
- tabControl1
-
tabPage7
-
- txtsystemProxyExceptions
+
+ tabPage7
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 355, 16
-
+
+ tabPage7
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 97, 21
+
+
+ error
+
+
+ 15, 129
+
+
+ readBufferSize
+
+
+
NoControl
-
- 4, 22
+
+ chkudpEnabled
-
- $this
+
+ 45
-
- tabPageCoreType
+
+ txtpass
-
- 40
+
+ 282, 23
-
+
+ downlinkCapacity
+
+
+ mtu
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ labCoreType4
+
+
+ 506, 16
+
+
+ 41
+
+
+ 36
+
+
+ 10
+
+
+ 120, 21
+
+
+ True
+
+
System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 42
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 4, 22
+
+ Log level
-
- 23
+
+ 351, 157
-
- NoControl
-
-
- label3
-
-
- 6
-
-
- 236, 66
-
-
+
groupBox1
-
- 15, 16
+
+ panel1
-
- System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ tabPage6
-
- True
-
-
- 1
-
-
- $this
-
-
- 8
-
-
- 59, 12
-
-
- txtremoteDNS
-
-
- Vertical
-
-
- 0, 463
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- True
-
-
- 3
-
-
- 1
+
+ 620, 37
11
@@ -1695,364 +246,1867 @@
System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 89, 12
+
+ 35
-
- 15
-
-
+
6
-
- 97, 21
+
+ 45, 150
-
- 31
+
+ Enable UDP
-
- 397, 27
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 15, 131
-
+
+ tabPage7
+
+
+ 8, 41
+
+
+ 45, 46
+
+
+ 94, 21
+
+
+ 390, 16
+
+
groupBox1
-
- tabPage6
-
-
- 32
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- Core: DNS settings
-
-
- 345, 24
-
-
- 45, 72
-
-
- cbFreshrate
-
-
- 257, 158
-
-
- tabPageCoreType
-
2
-
- 236, 104
-
-
+
tabPage7
-
- tabPageCoreType
+
+ 285, 25
-
+
+ 15, 16
+
+
+ 125, 12
+
+
+ 97, 21
+
+
+ cbFreshrate
+
+
+ Statistics freshrate
+
+
+ warning
+
+
+ 0
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox1
+
+
+ Keep older when deduplication
+
+
+ txtlocalPort
+
+
+ 84, 16
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tabPage6
+
+
+ True
+
+
+ 15
+
+
+ 193, 162
+
+
+ 342, 17
+
+
+ 95, 12
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 27, 188
+
+
8
+
+ tabPage7
+
+
+ 236, 66
+
+
+ 1
+
+
+ groupBox1
+
+
+ 13
+
+
+ 2
+
System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 204, 16
+
+ 15, 39
-
- cmbCoreType1
+
+ 124, 25
-
+
+ True
+
+
+ 10
+
+
+ 0
+
+
+ 9
+
+
+ protocol
+
+
+ True
+
+
+ tabPage6
+
+
+ 3, 3, 3, 3
+
+
+ True
+
+
+ chkEnableStatistics
+
+
+ OptionSettingForm
+
+
+ 8
+
+
+ 12
+
+
+ label14
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ True
+
+
+ Record local logs
+
+
+ Automatically adjust column width after updating subscription
+
+
+ Auth user
+
+
+ label15
+
+
+ 43
+
+
+ labCoreType3
+
+
+ 5
+
+
+ True
+
+
+ 117, 68
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 33, 29
+
+
+ 11
+
+
+ 117, 172
+
+
+ Use semicolon (;)
+
+
+ 75, 23
+
+
+ tabControl1
+
+
+ tabPage2
+
+
+ 12
+
+
+ 3, 3, 3, 3
+
+
+ groupBox1
+
+
+ lbFreshrate
+
+
+ labCoreType1
+
+
+ 44
+
+
+ 10
+
+
+ 9
+
+
+ 14
+
+
+ 4, 4, 4, 4
+
+
+ NoControl
+
+
+ 4, 22
+
+
+ Core Type
+
+
+ 736, 453
+
+
+ 59, 12
+
+
+ 15, 108
+
+
+ True
+
+
+ 2
+
+
+ True
+
+
+ uplinkCapacity
+
+
+ 0
+
+
+ 36
+
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ none
+
+
+ 7
+
+
+ 45, 98
+
+
+ label10
+
+
+ 94, 21
+
+
+ 4
+
+
+ True
+
+
+ 78, 21
+
+
+ txtsystemProxyExceptions
+
+
+ 236, 104
+
+
+ 42
+
+
+ True
+
+
+ label11
+
+
+ 1
+
+
+ 12
+
+
+ True
+
+
+ chkEnableAutoAdjustMainLvColWidth
+
+
+ 0
+
+
+ 7
+
+
+ NoControl
+
+
+ btnSetLoopback
+
+
+ chkEnableSecurityProtocolTls13
+
+
+ 10
+
+
+ 15, 160
+
+
+ 97, 20
+
+
+ 143, 20
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ NoControl
+
+
+ 23
+
+
+ cmbloglevel
+
+
+ 496, 61
+
+
+ label16
+
+
+ 20
+
+
+ v2rayN settings
+
+
+ groupBox1
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ True
+
+
+ tabPage7
+
+
+ 3
+
+
+ 120, 16
+
+
+ $this
+
+
+ groupBox1
+
+
+ NoControl
+
+
+ cmbCoreType6
+
+
+ True
+
+
+ 58, 20
+
+
+ label17
+
+
+ 97, 21
+
+
+ v2rayN.Forms.BaseForm, v2rayN, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+
+
+ tabPageCoreType
+
+
+ tabPageCoreType
+
+
+ 496, 27
+
+
+ linkDnsObjectDoc
+
+
+ System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ cmbCoreType5
+
+
+ tabPageCoreType
+
+
+ tabPageCoreType
+
+
+ 0, 463
+
+
+ 143, 20
+
+
+ 4, 22
+
+
+ True
+
+
+ Bottom
+
+
+ tti
+
+
+ 468, 16
+
+
+ Enable Security Protocol TLS v1.3 (subscription/update/speedtest)
+
+
+ 94, 21
+
+
+ 0
+
+
+ NoControl
+
+
+ groupBox1
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tabPage6
+
+
+ True
+
+
+ 6
+
+
+ groupBox2
+
+
+ 1
+
+
+ 9
+
+
+ 94, 21
+
+
+ tabPage6
+
+
+ Settings
+
+
+ True
+
+
+ 11
+
+
+ 89, 12
+
+
+ label12
+
+
+ 1
+
+
+ chkmuxEnabled
+
+
+ 0
+
+
+ Automatic update interval of and Geo (hours)
+
+
+ label2
+
+
+ 1
+
+
+ groupBox1
+
+
+ label6
+
+
+ tabPage6
+
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 13
+
+
+ label13
+
+
+ 46
+
+
+ tabControl1
+
+
+ 111, 100
+
+
+ 0
+
+
+ 37
+
+
+ 0
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ True
+
+
+ 7
+
+
+ Automatic update interval of subscriptions (hours)
+
+
+ Custom DNS (multiple, separated by commas (,))
+
+
+ 1
+
+
+ 30, 376
+
+
+ chklogEnabled
+
+
+ True
+
+
+ 345, 62
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 59, 12
+
+
+ 4
+
+
+ 5
+
+
+ 8, 17
+
+
+ 41
+
+
+ 39
+
+
+ 111, 24
+
+
+ 97, 21
+
+
+ &OK
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox1
+
+
+ txtKcpmtu
+
+
+ 6
+
+
+ Fill
+
+
+ 3, 3
+
+
+ NoControl
+
+
+ 8, 52
+
+
+ 4
+
+
+ 102, 16
+
+
+ cmbCoreType4
+
+
+ groupBox2
+
+
+ Fill
+
+
+ groupBox1
+
+
+ 6
+
+
+ 736, 523
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tabPage2
+
+
+ txtKcpwriteBufferSize
+
+
+ 18, 28
+
+
+ 101, 12
+
+
+ 736, 10
+
+
+ 236, 28
+
+
+ groupBox2
+
+
+ groupBox1
+
+
+ NoControl
+
+
+ 8
+
+
+ 75, 23
+
+
+ 0
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 345, 100
+
+
+ 39
+
+
+ 2
+
+
+ 15, 63
+
+
+ Exception
+
+
+ tabPage7
+
+
+ 38
+
+
+ chkIgnoreGeoUpdateCore
+
+
+ NoControl
+
+
+ chksniffingEnabled
+
+
+ tabPage7
+
+
+ 5
+
+
+ labCoreType6
+
+
+ 198, 16
+
+
+ 0, 0, 0, 0
+
+
+ 15, 62
+
+
+ 0, 10
+
+
+ NoControl
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 42
+
+
+ 397, 65
+
+
+ tabPageCoreType
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tabPage7
+
+
+ 11
+
+
+ 53, 12
+
+
+ 2
+
+
+ tabPageCoreType
+
+
+ Core Type
+
+
+ True
+
+
+ 5
+
+
+ 728, 427
+
+
+ labCoreType2
+
+
+ 7
+
+
+ Tray right-click menu servers display limit
+
+
+ NoControl
+
+
+ 8, 28
+
+
+ 9
+
+
+ 59, 12
+
+
+ chkKeepOlderDedupl
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tabPage7
+
+
+ 84, 16
+
+
+ txtautoUpdateSubInterval
+
+
+ NoControl
+
+
+ label5
+
+
+ 59, 12
+
+
+ 728, 427
+
+
+ Core Type
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 728, 427
+
+
+ True
+
+
+ 489, 41
+
+
+ tabControl1
+
+
+ 1
+
+
+ tabPage1
+
+
+ 45, 176
+
+
+ 10
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 9
+
+
+ 3
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 43
+
+
+ 47
+
+
+ 59, 12
+
+
+ allowInsecure
+
+
+ 36
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 10
+
+
+ tabPage7
+
+
+ Core Type
+
+
+ 728, 427
+
+
+ True
+
+
+ btnOK
+
+
+ True
+
+
+ 8
+
+
+ cmbCoreType3
+
+
+ 397, 27
+
+
+ 42
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 41
+
+
+ 42
+
+
+ 45, 124
+
+
+ tabPage7
+
+
+ tabControl1
+
+
+ 59, 12
+
+
+ 10
+
+
+ tabControl1
+
+
+ Core: basic settings
+
+
+ 6
+
+
+ CoreType settings
+
+
+ 6
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tabPage3
+
+
+ 263, 12
+
+
+ panel2
+
+
+ tabPage7
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox2
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 3
+
+
+ chkAutoRun
+
+
+ 143, 20
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 15, 192
+
+
+ tabPage2
+
+
+ btnClose
+
+
+ 638, 356
+
+
+ chkdefAllowInsecure
+
+
+ 0
+
+
+ 638, 219
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 4
+
+
+ tabPage3
+
+
+ 40
+
+
+ 143, 20
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ txtKcptti
+
+
+ 23, 12
+
+
+ 3, 3, 3, 3
+
+
+ 23, 12
+
+
+ 4, 22
+
+
+ True
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 30
+
+
+ 285, 61
+
+
+ 45, 72
+
+
+ System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 143, 20
+
+
System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
writeBufferSize
-
- uplinkCapacity
+
+ 117, 146
-
- 59, 12
+
+ Ignore Geo files when updating core
-
- 10
+
+ 736, 60
-
- 4
+
+ 39
-
- 0, 0, 0, 0
+
+ 38
-
- 40
+
+ txtKcpdownlinkCapacity
-
- 143, 20
+
+ 117, 42
label4
-
- Bottom
+
+ 29
-
- System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ label8
-
+
+ 257, 158
+
+
+ txtKcpreadBufferSize
+
+
NoControl
-
+
True
-
- 30, 138
+
+ &Cancel
-
- 59, 12
+
+ 15, 85
-
- 2
+
+ 3, 3, 3, 3
-
- 354, 132
+
+ 351, 184
-
- Settings
+
+ NoControl
-
- 3
+
+ groupBox1
-
- cmbCoreType6
+
+ chkAllowLANConn
-
- 143, 20
+
+ 32
-
- cmbloglevel
-
-
- label5
-
-
- System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 390, 16
-
-
- groupBox2
-
-
- 15, 192
-
-
+
tabPage6
-
- 6
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 6
+
+ 27, 215
-
- label13
+
+ 89, 12
-
+
System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- Auth pass
+
+ True
-
- chkmuxEnabled
+
+ 234, 16
-
- panel2
+
+ 89, 12
-
- 728, 427
+
+ 12
-
+
+ Automatically start at system startup
+
+
+ congestion
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 107, 12
+
+
+ groupBox1
+
+
+ False
+
+
+ 97, 20
+
+
+ 4
+
+
+ 11
+
+
tabPage6
-
- 3
+
+ txtuser
-
- 15, 84
+
+ tabControl1
+
+
+ 107, 12
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 20
117, 120
-
- 224, 65
+
+ True
-
- 342, 17
+
+ 143, 20
-
- Core Type
+
+ 345, 24
-
- Enable UDP
+
+ Top
-
- 15, 40
+
+ 11
-
+
+ True
+
+
+ NoControl
+
+
+ 4, 22
+
+
+ NoControl
+
+
+ 8
+
+
59, 12
+
+ 39
+
+
+ 18, 66
+
+
+ Allow connections from the LAN
+
+
+ True
+
+
+ System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ NoControl
+
+
+ 18, 104
+
+
+ Set Windows10 UWP Loopback
+
+
+ txtautoUpdateInterval
+
+
+ 9
+
+
+ 246, 16
+
+
+ tabPage1
+
+
+ 2
+
+
+ 94, 21
+
+
+ Fill
+
+
+ True
+
+
+ 13
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ True
+
+
+ 5
+
+
+ Turn on Mux Multiplexing
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 4, 22
+
+
+ 6
+
+
+ tabPageCoreType
+
+
+ tabPageCoreType
+
+
+ groupBox1
+
+
+ 7
+
+
+ 94, 21
+
+
+ Turn on Sniffing
+
+
+ socks
+
+
+ tabPageCoreType
+
+
+ 117, 94
+
+
+ 14
+
+
+ 29
+
+
+ http
+
+
+ True
+
+
+ NoControl
+
+
+ Vertical
+
+
+ 8
+
+
+ True
+
+
+ 37
+
+
+ label1
+
+
+ 31
+
+
+ groupBox1
+
37
+
+ $this
+
+
+ 728, 427
+
+
+ 3
+
+
+ label9
+
True
-
+
+ tabPage7
+
+
+ txttrayMenuServersLimit
+
+
+ Support DnsObject
+
+
+ True
+
+
+ 267, 16
+
+
+ NoControl
+
+
+ txtKcpuplinkCapacity
+
+
+ 3
+
+
+ tabPage6
+
+
+ 40
+
+
+ 174, 16
+
+
+ 224, 29
+
+
+ 40
+
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 722, 421
+
+
+ 2
+
+
+ True
+
+
+ 224, 65
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Vertical
+
+
+ Core Type
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 4, 22
+
+
+ cmbCoreType2
+
+
+ 38
+
+
+ 281, 12
+
+
+ NoControl
+
+
+ 20, 143
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Core Type
+
+
+ 44
+
+
+ True
+
+
+ System proxy settings
+
+
+ 15
+
+
+ 126, 16
+
+
+ cmbCoreType1
+
+
+ label3
+
+
+ 5
+
+
+ tabPage6
+
+
+ 2
+
+
+ label7
+
+
+ NoControl
+
+
+ 59, 12
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ txtremoteDNS
+
+
+ Auth pass
+
+
+ tabPage7
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 40
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 204, 16
+
+
+ 6, 12
+
+
+ 12
+
+
+ 2
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Core: DNS settings
+
+
+ 45
+
+
+ 59, 12
+
+
+ 27, 161
+
+
+ 0, 0
+
+
+ Enable Statistics (Realtime netspeed and traffic records. Require restart)
+
+
+ $this
+
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ panel2
+
+
+ debug
+
+
+ info
+
+
+ Core: KCP settings
+
+
+ 5
+
+
+ tabControl1
+
+
+ labCoreType5
+
+
+ 111, 62
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 305, 12
+
+
+ 38
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 4
+
+
+ chkKcpcongestion
+
+
+ 1
+
+
+ 0
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 33
+
+
+ 7
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 269, 12
+
+
+ 728, 427
+
+
+ NoControl
+
+
+ tabPageCoreType
+
+
+ tabPage6
+
+
+ 728, 427
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tabPageCoreType
+
+
+ True
+
+
+ 6, 283
+
+
+ 11
+
+
+ cmbprotocol
+
+
+ 2
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tabPageCoreType
+
+
+ 4
+
+
+ 3
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tabPage6
+
+
+ tabPage2
+
+
+ tabPageCoreType
+
+
+ True
+
+
+ Do not use proxy server for addresses beginning with
+
+
+ 0, 0
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ NoControl
+
+
+ 3
+
+
9
14
-
- 126, 16
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 496, 61
-
-
- 267, 16
-
-
- groupBox1
-
-
- 75, 23
-
-
- 269, 12
-
-
- NoControl
-
-
- 94, 21
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 45, 150
-
-
- 0
-
-
- groupBox1
-
-
- 0
-
-
- 94, 21
-
-
- 97, 20
-
-
- System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- tabPageCoreType
-
-
- 38
-
-
- Custom DNS (multiple, separated by commas (,))
-
-
- 728, 427
-
-
- 11
-
-
- System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 4
-
-
- groupBox1
-
-
- 125, 12
-
-
- labCoreType5
-
-
- 1
-
-
- System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
+
System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 2
+
+ tabPage6
-
- Turn on Mux Multiplexing
+
+ 1
-
- True
-
-
- label6
-
-
- 3
-
-
- txtKcpwriteBufferSize
-
-
- 111, 24
-
-
- panel2
-
-
- 4
-
-
- NoControl
-
-
- label9
-
-
- NoControl
-
-
- 2
-
-
- label14
+
+ 0
True
+
+ zh-Hans
+
\ No newline at end of file
diff --git a/v2rayN/v2rayN/Forms/OptionSettingForm.zh-Hans.resx b/v2rayN/v2rayN/Forms/OptionSettingForm.zh-Hans.resx
index 5104d229..10e4a4a0 100644
--- a/v2rayN/v2rayN/Forms/OptionSettingForm.zh-Hans.resx
+++ b/v2rayN/v2rayN/Forms/OptionSettingForm.zh-Hans.resx
@@ -121,15 +121,120 @@
取消(&C)
-
- 662, 469
-
654, 443
Core:基础设置
+
+ 654, 443
+
+
+ Core:DNS设置
+
+
+ 654, 443
+
+
+ Core:KCP设置
+
+
+ 248, 211
+
+
+ 185, 12
+
+
+ 托盘右键菜单服务器展示数量限制
+
+
+ 248, 184
+
+
+ 173, 12
+
+
+ 自动更新订阅的间隔(单位小时)
+
+
+ 启用安全协议TLS v1.3 (订阅/检查更新/测速)
+
+
+ 204, 16
+
+
+ 自动调整服务器列宽在更新订阅后
+
+
+ 解除Windows10 UWP应用回环代理限制
+
+
+ 248, 157
+
+
+ 191, 12
+
+
+ 自动更新Geo文件的间隔(单位小时)
+
+
+ 150, 16
+
+
+ 更新Core时忽略Geo文件
+
+
+ 156, 16
+
+
+ 去重时保留序号较小的项
+
+
+ 431, 37
+
+
+ 339, 41
+
+
+ 77, 12
+
+
+ 统计刷新频率
+
+
+ 300, 16
+
+
+ 启用统计(实时网速显示和使用流量显示,需要重启)
+
+
+ 180, 16
+
+
+ 开机自动启动(可能会不成功)
+
+
+ 654, 443
+
+
+ v2rayN设置
+
+
+ 654, 443
+
+
+ Core类型设置
+
+
+ 654, 443
+
+
+ 系统代理设置
+
+
+ 662, 469
+
648, 437
@@ -220,12 +325,6 @@
本地监听端口
-
- 654, 443
-
-
- Core:DNS设置
-
161, 12
@@ -238,90 +337,6 @@
自定义DNS(可多个,用逗号(,)隔开)
-
- 654, 443
-
-
- Core:KCP设置
-
-
- 654, 443
-
-
- v2rayN设置
-
-
- 248, 159
-
-
- 173, 12
-
-
- 自动更新订阅的间隔(单位小时)
-
-
- 启用安全协议TLS v1.3 (订阅/检查更新/测速)
-
-
- 204, 16
-
-
- 自动调整服务器列宽在更新订阅后
-
-
- 解除Windows10 UWP应用回环代理限制
-
-
- 248, 134
-
-
- 191, 12
-
-
- 自动更新Geo文件的间隔(单位小时)
-
-
- 150, 16
-
-
- 更新Core时忽略Geo文件
-
-
- 156, 16
-
-
- 去重时保留序号较小的项
-
-
- 77, 12
-
-
- 统计刷新频率
-
-
- 372, 16
-
-
- 启用统计(实时网速显示和使用流量显示,需要重启v2rayN客户端)
-
-
- 180, 16
-
-
- 开机自动启动(可能会不成功)
-
-
- 654, 443
-
-
- Core类型设置
-
-
- 654, 443
-
-
- 系统代理设置
-
654, 443
diff --git a/v2rayN/v2rayN/Handler/ConfigHandler.cs b/v2rayN/v2rayN/Handler/ConfigHandler.cs
index 86afad5e..a9c2e040 100644
--- a/v2rayN/v2rayN/Handler/ConfigHandler.cs
+++ b/v2rayN/v2rayN/Handler/ConfigHandler.cs
@@ -1206,6 +1206,10 @@ namespace v2rayN.Handler
{
config.routingIndex = 0;
}
+ if (config.trayMenuServersLimit <= 0)
+ {
+ config.trayMenuServersLimit = 30;
+ }
Global.reloadV2ray = true;
diff --git a/v2rayN/v2rayN/Mode/Config.cs b/v2rayN/v2rayN/Mode/Config.cs
index 612d6a1a..699448e9 100644
--- a/v2rayN/v2rayN/Mode/Config.cs
+++ b/v2rayN/v2rayN/Mode/Config.cs
@@ -134,6 +134,8 @@ namespace v2rayN.Mode
get; set;
}
+ public int trayMenuServersLimit { get; set; }
+
#endregion
#region other entities