diff --git a/v2rayN/v2rayN/Forms/MainForm.Designer.cs b/v2rayN/v2rayN/Forms/MainForm.Designer.cs
index 0511b147..7e1faaf3 100644
--- a/v2rayN/v2rayN/Forms/MainForm.Designer.cs
+++ b/v2rayN/v2rayN/Forms/MainForm.Designer.cs
@@ -61,8 +61,8 @@
this.menuExport2ServerConfig = new System.Windows.Forms.ToolStripMenuItem();
this.menuExport2ShareUrl = new System.Windows.Forms.ToolStripMenuItem();
this.menuExport2SubContent = new System.Windows.Forms.ToolStripMenuItem();
- this.qrCodeControl = new v2rayN.Forms.QRCodeControl();
this.tsbServer = new System.Windows.Forms.ToolStripDropDownButton();
+ this.qrCodeControl = new v2rayN.Forms.QRCodeControl();
this.notifyMain = new System.Windows.Forms.NotifyIcon(this.components);
this.cmsMain = new System.Windows.Forms.ContextMenuStrip(this.components);
this.menuSysAgentMode = new System.Windows.Forms.ToolStripMenuItem();
@@ -94,6 +94,7 @@
this.toolSslPacPortLab = new System.Windows.Forms.ToolStripStatusLabel();
this.toolSslPacPort = new System.Windows.Forms.ToolStripStatusLabel();
this.toolSslBlank3 = new System.Windows.Forms.ToolStripStatusLabel();
+ this.toolSslRouting = new System.Windows.Forms.ToolStripStatusLabel();
this.toolSslServerLatency = new System.Windows.Forms.ToolStripStatusLabel();
this.toolSslServerSpeed = new System.Windows.Forms.ToolStripStatusLabel();
this.toolSslBlank4 = new System.Windows.Forms.ToolStripStatusLabel();
@@ -371,11 +372,6 @@
resources.ApplyResources(this.menuExport2SubContent, "menuExport2SubContent");
this.menuExport2SubContent.Click += new System.EventHandler(this.menuExport2SubContent_Click);
//
- // qrCodeControl
- //
- resources.ApplyResources(this.qrCodeControl, "qrCodeControl");
- this.qrCodeControl.Name = "qrCodeControl";
- //
// tsbServer
//
this.tsbServer.DropDown = this.cmsLv;
@@ -383,6 +379,11 @@
resources.ApplyResources(this.tsbServer, "tsbServer");
this.tsbServer.Name = "tsbServer";
//
+ // qrCodeControl
+ //
+ resources.ApplyResources(this.qrCodeControl, "qrCodeControl");
+ this.qrCodeControl.Name = "qrCodeControl";
+ //
// notifyMain
//
this.notifyMain.ContextMenuStrip = this.cmsMain;
@@ -544,6 +545,7 @@
this.toolSslPacPortLab,
this.toolSslPacPort,
this.toolSslBlank3,
+ this.toolSslRouting,
this.toolSslServerLatency,
this.toolSslServerSpeed,
this.toolSslBlank4});
@@ -563,6 +565,7 @@
//
// toolSslBlank1
//
+ this.toolSslBlank1.AutoToolTip = true;
resources.ApplyResources(this.toolSslBlank1, "toolSslBlank1");
this.toolSslBlank1.Name = "toolSslBlank1";
this.toolSslBlank1.Spring = true;
@@ -579,6 +582,7 @@
//
// toolSslBlank2
//
+ this.toolSslBlank2.AutoToolTip = true;
resources.ApplyResources(this.toolSslBlank2, "toolSslBlank2");
this.toolSslBlank2.Name = "toolSslBlank2";
this.toolSslBlank2.Spring = true;
@@ -595,21 +599,37 @@
//
// toolSslBlank3
//
+ this.toolSslBlank3.AutoToolTip = true;
resources.ApplyResources(this.toolSslBlank3, "toolSslBlank3");
this.toolSslBlank3.Name = "toolSslBlank3";
this.toolSslBlank3.Spring = true;
//
+ // toolSslRouting
+ //
+ resources.ApplyResources(this.toolSslRouting, "toolSslRouting");
+ this.toolSslRouting.AutoToolTip = true;
+ this.toolSslRouting.IsLink = true;
+ this.toolSslRouting.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
+ this.toolSslRouting.LinkColor = System.Drawing.SystemColors.ControlText;
+ this.toolSslRouting.Margin = new System.Windows.Forms.Padding(0, 3, 8, 2);
+ this.toolSslRouting.Name = "toolSslRouting";
+ this.toolSslRouting.Spring = true;
+ this.toolSslRouting.Click += new System.EventHandler(this.toolSslRouting_Click);
+ //
// toolSslServerLatency
//
resources.ApplyResources(this.toolSslServerLatency, "toolSslServerLatency");
+ this.toolSslServerLatency.IsLink = true;
+ this.toolSslServerLatency.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
+ this.toolSslServerLatency.LinkColor = System.Drawing.SystemColors.ControlText;
this.toolSslServerLatency.Name = "toolSslServerLatency";
this.toolSslServerLatency.Spring = true;
this.toolSslServerLatency.Click += new System.EventHandler(this.toolSslServerLatency_Click);
//
// toolSslServerSpeed
//
- resources.ApplyResources(this.toolSslServerSpeed, "toolSslServerSpeed");
this.toolSslServerSpeed.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
+ resources.ApplyResources(this.toolSslServerSpeed, "toolSslServerSpeed");
this.toolSslServerSpeed.Name = "toolSslServerSpeed";
this.toolSslServerSpeed.Click += new System.EventHandler(this.toolSslServerSpeed_Click);
//
@@ -946,6 +966,7 @@
private System.Windows.Forms.ToolStripButton tsbReload;
private System.Windows.Forms.ToolStripButton tsbQRCodeSwitch;
private System.Windows.Forms.ToolStripStatusLabel toolSslServerLatency;
+ private System.Windows.Forms.ToolStripStatusLabel toolSslRouting;
}
}
diff --git a/v2rayN/v2rayN/Forms/MainForm.cs b/v2rayN/v2rayN/Forms/MainForm.cs
index 15ca5b08..dec787c1 100644
--- a/v2rayN/v2rayN/Forms/MainForm.cs
+++ b/v2rayN/v2rayN/Forms/MainForm.cs
@@ -368,6 +368,24 @@ namespace v2rayN.Forms
}
}
+ string routingStatus = "";
+ switch (config.routingMode)
+ {
+ case 0:
+ routingStatus = UIRes.I18N("RoutingModeGlobal");
+ break;
+ case 1:
+ routingStatus = UIRes.I18N("RoutingModeBypassLAN");
+ break;
+ case 2:
+ routingStatus = UIRes.I18N("RoutingModeBypassCN");
+ break;
+ case 3:
+ routingStatus = UIRes.I18N("RoutingModeBypassLANCN");
+ break;
+ }
+ toolSslRouting.Text = routingStatus;
+
notifyMain.Icon = MainFormHandler.Instance.GetNotifyIcon(config, this.Icon);
}
private void ssMain_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
@@ -762,7 +780,9 @@ namespace v2rayN.Forms
private void tsbOptionSetting_Click(object sender, EventArgs e)
{
- OptionSettingForm fm = new OptionSettingForm();
+ string tab = "";
+ if (sender == toolSslRouting) tab = "tabPreDefinedRules";
+ OptionSettingForm fm = new OptionSettingForm(tab);
if (fm.ShowDialog() == DialogResult.OK)
{
//刷新
@@ -1588,13 +1608,13 @@ namespace v2rayN.Forms
private async void toolSslServerLatencyRefresh()
{
- toolSslServerLatencySet("Measuring...");
+ toolSslServerLatencySet(UIRes.I18N("ServerLatencyChecking"));
string result = await httpProxyTest() + "ms";
toolSslServerLatencySet(result);
}
private void toolSslServerLatencySet(string text = "")
{
- toolSslServerLatency.Text = "Latency: " + text;
+ toolSslServerLatency.Text = string.Format(UIRes.I18N("toolSslServerLatency"), text);
}
private void toolSslServerLatency_Click(object sender, EventArgs e)
{
@@ -1605,5 +1625,10 @@ namespace v2rayN.Forms
{
//toolSslServerLatencyRefresh();
}
+
+ private void toolSslRouting_Click(object sender, EventArgs e)
+ {
+ tsbOptionSetting_Click(toolSslRouting, null);
+ }
}
}
diff --git a/v2rayN/v2rayN/Forms/MainForm.resx b/v2rayN/v2rayN/Forms/MainForm.resx
index 62f3cdd2..86cd8eef 100644
--- a/v2rayN/v2rayN/Forms/MainForm.resx
+++ b/v2rayN/v2rayN/Forms/MainForm.resx
@@ -118,131 +118,193 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ Fill
+
+
+ 3, 17
+
327, 17
-
-
- 17, 17
-
-
- 137, 17
-
-
- 498, 17
-
-
- 228, 18
-
-
- 409, 17
-
-
- True
-
-
- 108
-
-
- 6, 12
+
+ 355, 22
-
- 952, 593
+
+ Add [VMess] server
-
- 4, 4, 4, 4
+
+ 355, 22
-
- MainForm
+
+ Add [Shadowsocks] server
-
- v2rayN
+
+ 355, 22
-
- v2rayN.Forms.BaseForm, v2rayN, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+
+ Add [Socks] server
-
- bgwScan
+
+ 355, 22
-
- System.ComponentModel.BackgroundWorker, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ Add a custom configuration server
-
- cmsLv
+
+ 355, 22
+
+
+ Import bulk URL from clipboard (Ctrl+V)
+
+
+ 355, 22
+
+
+ Scan QR code on the screen (Ctrl+S)
+
+
+ 352, 6
+
+
+ 355, 22
+
+
+ Remove selected servers (Delete)
+
+
+ 355, 22
+
+
+ Remove duplicate servers
+
+
+ 355, 22
+
+
+ Clone selected server
+
+
+ 355, 22
+
+
+ Set as active server (Enter)
+
+
+ 352, 6
+
+
+ 355, 22
+
+
+ Move to top (T)
+
+
+ 355, 22
+
+
+ Up (U)
+
+
+ 355, 22
+
+
+ Down (D)
+
+
+ 355, 22
+
+
+ Move to bottom (B)
+
+
+ 355, 22
+
+
+ Select All (Ctrl+A)
+
+
+ 352, 6
+
+
+ 355, 22
+
+
+ Test servers ping (Ctrl+P)
+
+
+ 355, 22
+
+
+ Test servers with tcping (Ctrl+O)
+
+
+ 355, 22
+
+
+ Test servers real delay (Ctrl+R)
+
+
+ 355, 22
+
+
+ Test servers download speed (Ctrl+T)
+
+
+ 355, 22
+
+
+ Test current service status
+
+
+ 352, 6
+
+
+ 355, 22
+
+
+ Export selected server for client configuration
+
+
+ 355, 22
+
+
+ Export selected server for server configuration
+
+
+ 355, 22
+
+
+ Export share URLs to clipboard (Ctrl+C)
+
+
+ 355, 22
+
+
+ Export subscription (base64) share to clipboard
+
+
+ Magenta
+
+
+ 64, 53
+
+
+ Servers
+
+
+ ImageAboveText
356, 556
+
+ cmsLv
+
System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- NoControl
-
-
- cmsMain
-
-
- 265, 164
-
-
- System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- Fill
-
-
- 0, 66
-
-
- groupBox1
-
-
- $this
-
-
- 952, 351
-
-
- 0
-
-
- Servers list
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 2
-
-
- Bottom
-
-
- 0, 417
-
-
- groupBox2
-
-
- $this
-
-
- 952, 176
-
-
- 3
-
-
- Informations
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 3
-
Fill
@@ -266,515 +328,36 @@
0, 0
-
- lvServers
-
-
- scMain.Panel1
-
686, 331
+
0
+
+ lvServers
+
v2rayN.Base.ListViewFlickerFree, v2rayN, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+
+ scMain.Panel1
+
0
-
- menuAddCustomServer
+
+ scMain.Panel1
-
- 355, 22
+
+ System.Windows.Forms.SplitterPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- Add a custom configuration server
+
+ scMain
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuAddServers
-
-
- 355, 22
-
-
- Import bulk URL from clipboard (Ctrl+V)
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuAddServers2
-
-
- 264, 22
-
-
- Import bulk URL from clipboard
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuAddShadowsocksServer
-
-
- 355, 22
-
-
- Add [Shadowsocks] server
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuAddSocksServer
-
-
- 355, 22
-
-
- Add [Socks] server
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuAddVmessServer
-
-
- 355, 22
-
-
- Add [VMess] server
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuCopyPACUrl
-
-
- 264, 22
-
-
- Copy local PAC URL
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuCopyServer
-
-
- 355, 22
-
-
- Clone selected server
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuExit
-
-
- 264, 22
-
-
- Exit
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuExport2ClientConfig
-
-
- 355, 22
-
-
- Export selected server for client configuration
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuExport2ServerConfig
-
-
- 355, 22
-
-
- Export selected server for server configuration
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuExport2ShareUrl
-
-
- 355, 22
-
-
- Export share URLs to clipboard (Ctrl+C)
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuExport2SubContent
-
-
- 355, 22
-
-
- Export subscription (base64) share to clipboard
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuGlobal
-
-
- 411, 22
-
-
- Open Http proxy and set the system proxy (global mode)
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuGlobalPAC
-
-
- 411, 22
-
-
- Open PAC and set the system proxy (PAC mode)
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuKeep
-
-
- 411, 22
-
-
- Only open Http proxy and clear the proxy settings
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuKeepNothing
-
-
- 411, 22
-
-
- Only open Http proxy and do nothing
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuKeepPAC
-
-
- 411, 22
-
-
- Only open PAC and clear the proxy settings
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuKeepPACNothing
-
-
- 411, 22
-
-
- Only open PAC and do nothing
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuMoveBottom
-
-
- 355, 22
-
-
- Move to bottom (B)
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuMoveDown
-
-
- 355, 22
-
-
- Down (D)
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuMoveTop
-
-
- 355, 22
-
-
- Move to top (T)
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuMoveUp
-
-
- 355, 22
-
-
- Up (U)
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuNotEnabledHttp
-
-
- 411, 22
-
-
- Not Enabled Http Proxy
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuPingServer
-
-
- 355, 22
-
-
- Test servers ping (Ctrl+P)
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuRealPingServer
-
-
- 355, 22
-
-
- Test servers real delay (Ctrl+R)
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuRemoveDuplicateServer
-
-
- 355, 22
-
-
- Remove duplicate servers
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuRemoveServer
-
-
- 355, 22
-
-
- Remove selected servers (Delete)
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuScanScreen
-
-
- 355, 22
-
-
- Scan QR code on the screen (Ctrl+S)
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuScanScreen2
-
-
- 264, 22
-
-
- Scan QR code on the screen
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuSelectAll
-
-
- 355, 22
-
-
- Select All (Ctrl+A)
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuServers
-
-
- 264, 22
-
-
- Server
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuSetDefaultServer
-
-
- 355, 22
-
-
- Set as active server (Enter)
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuSpeedServer
-
-
- 355, 22
-
-
- Test servers download speed (Ctrl+T)
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuSysAgentMode
-
-
- 264, 22
-
-
- Http proxy
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuTcpingServer
-
-
- 355, 22
-
-
- Test servers with tcping (Ctrl+O)
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuTestMe
-
-
- 355, 22
-
-
- Test current service status
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- menuUpdateSubscriptions
-
-
- 264, 22
-
-
- Update subscriptions
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- notifyMain
-
-
- v2rayN
-
-
- System.Windows.Forms.NotifyIcon, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- True
-
-
- Top
-
-
- 0, 56
-
-
- panel1
-
-
- $this
-
-
- 952, 10
-
-
- 2
-
-
- System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 4
+
+ 0
Fill
@@ -782,63 +365,39 @@
0, 0
-
- qrCodeControl
-
-
- scMain.Panel2
-
256, 331
2
+
+ qrCodeControl
+
v2rayN.Forms.QRCodeControl, v2rayN, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+
+ scMain.Panel2
+
0
-
- Fill
-
-
- 3, 17
-
-
- scMain
-
-
- scMain.Panel1
-
-
- scMain
-
-
- System.Windows.Forms.SplitterPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 0
-
scMain.Panel2
-
- scMain
-
System.Windows.Forms.SplitterPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ scMain
+
1
100
-
- groupBox1
-
946, 331
@@ -848,137 +407,263 @@
0
+
+ scMain
+
System.Windows.Forms.SplitContainer, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ groupBox1
+
0
-
- 3, 151
+
+ 17, 17
+
+
+ 137, 17
+
+
+ NoControl
-
- ssMain
+
+ 265, 164
-
- groupBox2
+
+ cmsMain
-
- 946, 22
+
+ System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
+ v2rayN
+
+
+ True
+
+
+ 264, 22
+
+
+ Http proxy
+
+
+ 411, 22
+
+
+ Not Enabled Http Proxy
+
+
+ 411, 22
+
+
+ Open Http proxy and set the system proxy (global mode)
+
+
+ 411, 22
+
+
+ Open PAC and set the system proxy (PAC mode)
+
+
+ 411, 22
+
+
+ Only open Http proxy and clear the proxy settings
+
+
+ 411, 22
+
+
+ Only open PAC and clear the proxy settings
+
+
+ 411, 22
+
+
+ Only open Http proxy and do nothing
+
+
+ 411, 22
+
+
+ Only open PAC and do nothing
+
+
+ 264, 22
+
+
+ Server
+
+
+ 264, 22
+
+
+ Import bulk URL from clipboard
+
+
+ 264, 22
+
+
+ Scan QR code on the screen
+
+
+ 264, 22
+
+
+ Copy local PAC URL
+
+
+ 264, 22
+
+
+ Update subscriptions
+
+
+ 261, 6
+
+
+ 264, 22
+
+
+ Exit
+
+
+ 498, 17
+
+
+ Fill
+
+
+ 0, 66
+
+
+ 952, 351
+
+
0
-
- statusStrip1
+
+ Servers list
-
- System.Windows.Forms.StatusStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ groupBox1
-
- 1
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 2
+
+
+ Fill
+
+
+ 3, 17
+
+
+ 0
+
+
+ True
+
+
+ Vertical
+
+
+ 946, 134
+
+
+ 3
+
+
+ txtMsgBox
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox2
+
+
+ 0
+
+
+ 228, 18
+
+
+ 微软雅黑, 8pt
+
+
+ 52, 17
+
+
+ SOCKS5:
+
+
+ 0, 17
微软雅黑, 8pt
-
- toolSslBlank1
-
- 152, 17
-
-
- System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 微软雅黑, 8pt
-
-
- toolSslBlank2
-
-
- 152, 17
-
-
- System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 微软雅黑, 8pt
-
-
- toolSslBlank3
-
-
- 152, 17
-
-
- System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- toolSslBlank4
-
-
- 0, 17
-
-
- System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- toolSslHttpPort
-
-
- 0, 17
-
-
- System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+ 137, 17
微软雅黑, 8pt
-
- toolSslHttpPortLab
-
39, 17
HTTP:
-
- System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- toolSslPacPort
-
-
+
0, 17
-
- System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 微软雅黑, 8pt
+
+
+ 137, 17
微软雅黑, 8pt
-
- toolSslPacPortLab
-
33, 17
PAC:
-
- System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 0, 17
+
+
+ 微软雅黑, 8pt
+
+
+ 137, 17
+
+
+ False
+
+
+ 129, 17
+
+
+ Routing Mode
False
-
- toolSslServerLatency
-
- 144, 17
+ 137, 17
Latency:
@@ -989,23 +674,14 @@
The http proxy's latency time.
-
- System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- False
-
微软雅黑, 8pt
-
- toolSslServerSpeed
-
No
- 200, 17
+ 89, 17
SPEED Disabled
@@ -1013,337 +689,138 @@
MiddleRight
-
- System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- toolSslSocksPort
-
-
+
0, 17
-
- System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 3, 151
-
- 微软雅黑, 8pt
+
+ 946, 22
-
- toolSslSocksPortLab
+
+ 0
-
- 52, 17
+
+ statusStrip1
-
- SOCKS5:
+
+ ssMain
-
- System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ System.Windows.Forms.StatusStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- toolStripSeparator1
+
+ groupBox2
-
- 352, 6
+
+ 1
-
- System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ Bottom
-
- toolStripSeparator10
+
+ 0, 417
-
- 6, 56
+
+ 952, 176
-
- System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 3
-
- toolStripSeparator11
+
+ Informations
-
- 6, 56
+
+ groupBox2
-
- System.Windows.Forms.ToolStripSeparator, 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
-
- toolStripSeparator12
+
+ $this
-
- 184, 6
+
+ 3
-
- System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ Top
-
- toolStripSeparator13
+
+ 0, 56
-
- 390, 6
+
+ 952, 10
-
- System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 2
-
- toolStripSeparator2
+
+ panel1
-
- 261, 6
+
+ System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ $this
-
- toolStripSeparator3
+
+ 4
-
- 352, 6
+
+ 409, 17
+
+
+ 0, 0
-
- System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 952, 56
-
- toolStripSeparator4
+
+ 1
+
+
+ tsMain
+
+
+ System.Windows.Forms.ToolStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 5
6, 56
-
- System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- toolStripSeparator5
-
-
- 6, 56
-
-
- System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- toolStripSeparator6
-
-
- 352, 6
-
-
- System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- toolStripSeparator7
-
-
- 6, 56
-
-
- System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- toolStripSeparator8
-
-
- 6, 56
-
-
- System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- toolStripSeparator9
-
-
- 352, 6
-
-
- System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- tsbAbout
-
-
- 187, 22
-
-
- v2rayN Project
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- tsbCheckClearPACList
-
-
- 393, 22
-
-
- Simplify PAC (need to set Core route)
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
+
Magenta
-
- tsbCheckUpdate
+
+ 99, 53
-
- 128, 53
+
+ Subscriptions
-
- Check for updates
-
-
+
ImageAboveText
-
- System.Windows.Forms.ToolStripDropDownButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 125, 22
-
- tsbCheckUpdateCore
-
-
- 393, 22
-
-
- Update v2rayCore
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- tsbCheckUpdateN
-
-
- 393, 22
-
-
- v2rayN (this software)
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- tsbCheckUpdatePACList
-
-
- 393, 22
-
-
- Check for updated PAC (need the HTTP proxy are ON)
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
-
- iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAySURBVFhH7c6xDQAgCEVBRnVTHU2ZABuMxV3yOvJDAAA/
- GqfZVG6X8mg1dfUAAPBQxAZd0SJruVXHWwAAAABJRU5ErkJggg==
-
-
-
- Magenta
-
-
- tsbClose
-
-
- 52, 53
-
-
- Close
-
-
- ImageAboveText
-
-
- System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- Magenta
-
-
- tsbHelp
-
-
- 48, 53
-
-
- Help
-
-
- ImageAboveText
-
-
- System.Windows.Forms.ToolStripDropDownButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- tsbLanguageDef
-
-
- 187, 22
-
-
- Language-[English]
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- tsbLanguageZhHans
-
-
- 187, 22
-
-
- 语言-[中文简体]
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- Magenta
-
-
- tsbOptionSetting
-
-
- 58, 53
-
-
+
Settings
-
- ImageAboveText
+
+ 125, 22
-
- System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- Magenta
-
-
- tsbPromotion
-
-
- 89, 53
-
-
- Promotion
-
-
- ImageAboveText
-
-
- System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ Updates
Magenta
-
- tsbQRCodeSwitch
-
45, 53
@@ -1356,8 +833,23 @@
ImageAboveText
-
- System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 6, 56
+
+
+ Magenta
+
+
+ 58, 53
+
+
+ Settings
+
+
+ ImageAboveText
+
+
+ 6, 56
@@ -1376,9 +868,6 @@
Magenta
-
- tsbReload
-
97, 53
@@ -1388,71 +877,68 @@
ImageAboveText
-
- System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 6, 56
-
+
Magenta
-
- tsbServer
+
+ 128, 53
-
- 64, 53
+
+ Check for updates
-
- Servers
-
-
+
ImageAboveText
-
- System.Windows.Forms.ToolStripDropDownButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 393, 22
-
+
+ v2rayN (this software)
+
+
+ 393, 22
+
+
+ Update v2rayCore
+
+
+ 393, 22
+
+
+ Check for updated PAC (need the HTTP proxy are ON)
+
+
+ 390, 6
+
+
+ 393, 22
+
+
+ Simplify PAC (need to set Core route)
+
+
+ 6, 56
+
+
Magenta
-
- tsbSub
+
+ 48, 53
-
- 99, 53
+
+ Help
-
- Subscriptions
-
-
+
ImageAboveText
-
- System.Windows.Forms.ToolStripDropDownButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 187, 22
-
- tsbSubSetting
-
-
- 125, 22
-
-
- Settings
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- tsbSubUpdate
-
-
- 125, 22
-
-
- Updates
-
-
- System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- tsbV2rayWebsite
+
+ v2rayN Project
187, 22
@@ -1460,61 +946,587 @@
V2Ray Website
+
+ 184, 6
+
+
+ 187, 22
+
+
+ Language-[English]
+
+
+ 187, 22
+
+
+ 语言-[中文简体]
+
+
+ Magenta
+
+
+ 89, 53
+
+
+ Promotion
+
+
+ ImageAboveText
+
+
+ 6, 56
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAySURBVFhH7c6xDQAgCEVBRnVTHU2ZABuMxV3yOvJDAAA/
+ GqfZVG6X8mg1dfUAAPBQxAZd0SJruVXHWwAAAABJRU5ErkJggg==
+
+
+
+ Magenta
+
+
+ 52, 53
+
+
+ Close
+
+
+ ImageAboveText
+
+
+ True
+
+
+ 108
+
+
+ 6, 12
+
+
+ 952, 593
+
+
+ 4, 4, 4, 4
+
+
+ v2rayN
+
+
+ menuAddVmessServer
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuAddShadowsocksServer
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuAddSocksServer
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuAddCustomServer
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuAddServers
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuScanScreen
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolStripSeparator1
+
+
+ System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuRemoveServer
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuRemoveDuplicateServer
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuCopyServer
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuSetDefaultServer
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolStripSeparator3
+
+
+ System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuMoveTop
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuMoveUp
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuMoveDown
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuMoveBottom
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuSelectAll
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolStripSeparator9
+
+
+ System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuPingServer
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuTcpingServer
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuRealPingServer
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuSpeedServer
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuTestMe
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolStripSeparator6
+
+
+ System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuExport2ClientConfig
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuExport2ServerConfig
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuExport2ShareUrl
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuExport2SubContent
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsbServer
+
+
+ System.Windows.Forms.ToolStripDropDownButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ notifyMain
+
+
+ System.Windows.Forms.NotifyIcon, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuSysAgentMode
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuNotEnabledHttp
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuGlobal
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuGlobalPAC
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuKeep
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuKeepPAC
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuKeepNothing
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuKeepPACNothing
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuServers
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuAddServers2
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuScanScreen2
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuCopyPACUrl
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuUpdateSubscriptions
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolStripSeparator2
+
+
+ System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ menuExit
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ bgwScan
+
+
+ System.ComponentModel.BackgroundWorker, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolSslSocksPortLab
+
+
+ System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolSslSocksPort
+
+
+ System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolSslBlank1
+
+
+ System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolSslHttpPortLab
+
+
+ System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolSslHttpPort
+
+
+ System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolSslBlank2
+
+
+ System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolSslPacPortLab
+
+
+ System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolSslPacPort
+
+
+ System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolSslBlank3
+
+
+ System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolSslRouting
+
+
+ System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolSslServerLatency
+
+
+ System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolSslServerSpeed
+
+
+ System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolSslBlank4
+
+
+ System.Windows.Forms.ToolStripStatusLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolStripSeparator4
+
+
+ System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsbSub
+
+
+ System.Windows.Forms.ToolStripDropDownButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsbSubSetting
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsbSubUpdate
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsbQRCodeSwitch
+
+
+ System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolStripSeparator8
+
+
+ System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsbOptionSetting
+
+
+ System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolStripSeparator5
+
+
+ System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsbReload
+
+
+ System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolStripSeparator7
+
+
+ System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsbCheckUpdate
+
+
+ System.Windows.Forms.ToolStripDropDownButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsbCheckUpdateN
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsbCheckUpdateCore
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsbCheckUpdatePACList
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolStripSeparator13
+
+
+ System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsbCheckClearPACList
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ toolStripSeparator10
+
+
+ System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsbHelp
+
+
+ System.Windows.Forms.ToolStripDropDownButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsbAbout
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsbV2rayWebsite
+
System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 0, 0
+
+ toolStripSeparator12
-
- tsMain
+
+ System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- $this
+
+ tsbLanguageDef
-
- 952, 56
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 1
+
+ tsbLanguageZhHans
-
- System.Windows.Forms.ToolStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 5
+
+ tsbPromotion
-
- Fill
+
+ System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 3, 17
+
+ toolStripSeparator11
-
- 0
+
+ System.Windows.Forms.ToolStripSeparator, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- True
+
+ tsbClose
-
- txtMsgBox
+
+ System.Windows.Forms.ToolStripButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- groupBox2
+
+ MainForm
-
- Vertical
-
-
- 946, 134
-
-
- 3
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 0
+
+ v2rayN.Forms.BaseForm, v2rayN, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
\ No newline at end of file
diff --git a/v2rayN/v2rayN/Forms/MainForm.zh-Hans.resx b/v2rayN/v2rayN/Forms/MainForm.zh-Hans.resx
index 3268c19e..71c3ad06 100644
--- a/v2rayN/v2rayN/Forms/MainForm.zh-Hans.resx
+++ b/v2rayN/v2rayN/Forms/MainForm.zh-Hans.resx
@@ -363,12 +363,24 @@
测试服务器延迟Tcping(多选) (Ctrl+O)
+
+ 测试当前服务节点状态
+
195, 22
更新订阅
+
+ 路由模式
+
+
+ 延迟:
+
+
+ 当前 HTTP 代理的访问延迟。
+
网速显示未启用
diff --git a/v2rayN/v2rayN/Forms/OptionSettingForm.Designer.cs b/v2rayN/v2rayN/Forms/OptionSettingForm.Designer.cs
index 7c009fc6..6f80e585 100644
--- a/v2rayN/v2rayN/Forms/OptionSettingForm.Designer.cs
+++ b/v2rayN/v2rayN/Forms/OptionSettingForm.Designer.cs
@@ -31,7 +31,7 @@
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OptionSettingForm));
this.btnClose = new System.Windows.Forms.Button();
this.tabControl1 = new System.Windows.Forms.TabControl();
- this.tabPage1 = new System.Windows.Forms.TabPage();
+ this.tabBasic = new System.Windows.Forms.TabPage();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.label16 = new System.Windows.Forms.Label();
this.cmblistenerType = new System.Windows.Forms.ComboBox();
@@ -53,7 +53,7 @@
this.label5 = new System.Windows.Forms.Label();
this.txtlocalPort = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
- this.tabPage2 = new System.Windows.Forms.TabPage();
+ this.tabRouting = new System.Windows.Forms.TabPage();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.tabControl2 = new System.Windows.Forms.TabControl();
this.tabPage3 = new System.Windows.Forms.TabPage();
@@ -62,14 +62,14 @@
this.txtUserdirect = new System.Windows.Forms.TextBox();
this.tabPage5 = new System.Windows.Forms.TabPage();
this.txtUserblock = new System.Windows.Forms.TextBox();
- this.tabPage8 = new System.Windows.Forms.TabPage();
+ this.tabPreDefinedRules = new System.Windows.Forms.TabPage();
this.cmbroutingMode = new System.Windows.Forms.ComboBox();
this.panel3 = new System.Windows.Forms.Panel();
this.linkLabelRoutingDoc = new System.Windows.Forms.LinkLabel();
this.btnSetDefRountingRule = new System.Windows.Forms.Button();
this.labRoutingTips = new System.Windows.Forms.Label();
this.cmbdomainStrategy = new System.Windows.Forms.ComboBox();
- this.tabPage6 = new System.Windows.Forms.TabPage();
+ this.tabKCP = new System.Windows.Forms.TabPage();
this.chkKcpcongestion = new System.Windows.Forms.CheckBox();
this.txtKcpwriteBufferSize = new System.Windows.Forms.TextBox();
this.label10 = new System.Windows.Forms.Label();
@@ -83,7 +83,7 @@
this.label7 = new System.Windows.Forms.Label();
this.txtKcpmtu = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
- this.tabPage7 = new System.Windows.Forms.TabPage();
+ this.tabGUI = new System.Windows.Forms.TabPage();
this.chkKeepOlderDedupl = new System.Windows.Forms.CheckBox();
this.cbFreshrate = new System.Windows.Forms.ComboBox();
this.lbFreshrate = new System.Windows.Forms.Label();
@@ -92,7 +92,7 @@
this.txturlGFWList = new System.Windows.Forms.TextBox();
this.label13 = new System.Windows.Forms.Label();
this.chkAutoRun = new System.Windows.Forms.CheckBox();
- this.tabPage9 = new System.Windows.Forms.TabPage();
+ this.tabUserPAC = new System.Windows.Forms.TabPage();
this.txtuserPacRule = new System.Windows.Forms.TextBox();
this.panel4 = new System.Windows.Forms.Panel();
this.label4 = new System.Windows.Forms.Label();
@@ -100,19 +100,19 @@
this.btnOK = new System.Windows.Forms.Button();
this.panel1 = new System.Windows.Forms.Panel();
this.tabControl1.SuspendLayout();
- this.tabPage1.SuspendLayout();
+ this.tabBasic.SuspendLayout();
this.groupBox1.SuspendLayout();
- this.tabPage2.SuspendLayout();
+ this.tabRouting.SuspendLayout();
this.groupBox2.SuspendLayout();
this.tabControl2.SuspendLayout();
this.tabPage3.SuspendLayout();
this.tabPage4.SuspendLayout();
this.tabPage5.SuspendLayout();
- this.tabPage8.SuspendLayout();
+ this.tabPreDefinedRules.SuspendLayout();
this.panel3.SuspendLayout();
- this.tabPage6.SuspendLayout();
- this.tabPage7.SuspendLayout();
- this.tabPage9.SuspendLayout();
+ this.tabKCP.SuspendLayout();
+ this.tabGUI.SuspendLayout();
+ this.tabUserPAC.SuspendLayout();
this.panel4.SuspendLayout();
this.panel2.SuspendLayout();
this.SuspendLayout();
@@ -127,21 +127,21 @@
//
// tabControl1
//
- this.tabControl1.Controls.Add(this.tabPage1);
- this.tabControl1.Controls.Add(this.tabPage2);
- this.tabControl1.Controls.Add(this.tabPage6);
- this.tabControl1.Controls.Add(this.tabPage7);
- this.tabControl1.Controls.Add(this.tabPage9);
+ this.tabControl1.Controls.Add(this.tabBasic);
+ this.tabControl1.Controls.Add(this.tabRouting);
+ this.tabControl1.Controls.Add(this.tabKCP);
+ this.tabControl1.Controls.Add(this.tabGUI);
+ this.tabControl1.Controls.Add(this.tabUserPAC);
resources.ApplyResources(this.tabControl1, "tabControl1");
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
//
- // tabPage1
+ // tabBasic
//
- this.tabPage1.Controls.Add(this.groupBox1);
- resources.ApplyResources(this.tabPage1, "tabPage1");
- this.tabPage1.Name = "tabPage1";
- this.tabPage1.UseVisualStyleBackColor = true;
+ this.tabBasic.Controls.Add(this.groupBox1);
+ resources.ApplyResources(this.tabBasic, "tabBasic");
+ this.tabBasic.Name = "tabBasic";
+ this.tabBasic.UseVisualStyleBackColor = true;
//
// groupBox1
//
@@ -305,12 +305,12 @@
resources.ApplyResources(this.label2, "label2");
this.label2.Name = "label2";
//
- // tabPage2
+ // tabRouting
//
- this.tabPage2.Controls.Add(this.groupBox2);
- resources.ApplyResources(this.tabPage2, "tabPage2");
- this.tabPage2.Name = "tabPage2";
- this.tabPage2.UseVisualStyleBackColor = true;
+ this.tabRouting.Controls.Add(this.groupBox2);
+ resources.ApplyResources(this.tabRouting, "tabRouting");
+ this.tabRouting.Name = "tabRouting";
+ this.tabRouting.UseVisualStyleBackColor = true;
//
// groupBox2
//
@@ -325,7 +325,7 @@
this.tabControl2.Controls.Add(this.tabPage3);
this.tabControl2.Controls.Add(this.tabPage4);
this.tabControl2.Controls.Add(this.tabPage5);
- this.tabControl2.Controls.Add(this.tabPage8);
+ this.tabControl2.Controls.Add(this.tabPreDefinedRules);
resources.ApplyResources(this.tabControl2, "tabControl2");
this.tabControl2.Name = "tabControl2";
this.tabControl2.SelectedIndex = 0;
@@ -366,12 +366,12 @@
resources.ApplyResources(this.txtUserblock, "txtUserblock");
this.txtUserblock.Name = "txtUserblock";
//
- // tabPage8
+ // tabPreDefinedRules
//
- this.tabPage8.Controls.Add(this.cmbroutingMode);
- resources.ApplyResources(this.tabPage8, "tabPage8");
- this.tabPage8.Name = "tabPage8";
- this.tabPage8.UseVisualStyleBackColor = true;
+ this.tabPreDefinedRules.Controls.Add(this.cmbroutingMode);
+ resources.ApplyResources(this.tabPreDefinedRules, "tabPreDefinedRules");
+ this.tabPreDefinedRules.Name = "tabPreDefinedRules";
+ this.tabPreDefinedRules.UseVisualStyleBackColor = true;
//
// cmbroutingMode
//
@@ -425,24 +425,24 @@
resources.ApplyResources(this.cmbdomainStrategy, "cmbdomainStrategy");
this.cmbdomainStrategy.Name = "cmbdomainStrategy";
//
- // tabPage6
+ // tabKCP
//
- this.tabPage6.Controls.Add(this.chkKcpcongestion);
- this.tabPage6.Controls.Add(this.txtKcpwriteBufferSize);
- this.tabPage6.Controls.Add(this.label10);
- this.tabPage6.Controls.Add(this.txtKcpreadBufferSize);
- this.tabPage6.Controls.Add(this.label11);
- this.tabPage6.Controls.Add(this.txtKcpdownlinkCapacity);
- this.tabPage6.Controls.Add(this.label8);
- this.tabPage6.Controls.Add(this.txtKcpuplinkCapacity);
- this.tabPage6.Controls.Add(this.label9);
- this.tabPage6.Controls.Add(this.txtKcptti);
- this.tabPage6.Controls.Add(this.label7);
- this.tabPage6.Controls.Add(this.txtKcpmtu);
- this.tabPage6.Controls.Add(this.label6);
- resources.ApplyResources(this.tabPage6, "tabPage6");
- this.tabPage6.Name = "tabPage6";
- this.tabPage6.UseVisualStyleBackColor = true;
+ this.tabKCP.Controls.Add(this.chkKcpcongestion);
+ this.tabKCP.Controls.Add(this.txtKcpwriteBufferSize);
+ this.tabKCP.Controls.Add(this.label10);
+ this.tabKCP.Controls.Add(this.txtKcpreadBufferSize);
+ this.tabKCP.Controls.Add(this.label11);
+ this.tabKCP.Controls.Add(this.txtKcpdownlinkCapacity);
+ this.tabKCP.Controls.Add(this.label8);
+ this.tabKCP.Controls.Add(this.txtKcpuplinkCapacity);
+ this.tabKCP.Controls.Add(this.label9);
+ this.tabKCP.Controls.Add(this.txtKcptti);
+ this.tabKCP.Controls.Add(this.label7);
+ this.tabKCP.Controls.Add(this.txtKcpmtu);
+ this.tabKCP.Controls.Add(this.label6);
+ resources.ApplyResources(this.tabKCP, "tabKCP");
+ this.tabKCP.Name = "tabKCP";
+ this.tabKCP.UseVisualStyleBackColor = true;
//
// chkKcpcongestion
//
@@ -510,19 +510,19 @@
resources.ApplyResources(this.label6, "label6");
this.label6.Name = "label6";
//
- // tabPage7
+ // tabGUI
//
- this.tabPage7.Controls.Add(this.chkKeepOlderDedupl);
- this.tabPage7.Controls.Add(this.cbFreshrate);
- this.tabPage7.Controls.Add(this.lbFreshrate);
- this.tabPage7.Controls.Add(this.chkEnableStatistics);
- this.tabPage7.Controls.Add(this.chkAllowLANConn);
- this.tabPage7.Controls.Add(this.txturlGFWList);
- this.tabPage7.Controls.Add(this.label13);
- this.tabPage7.Controls.Add(this.chkAutoRun);
- resources.ApplyResources(this.tabPage7, "tabPage7");
- this.tabPage7.Name = "tabPage7";
- this.tabPage7.UseVisualStyleBackColor = true;
+ this.tabGUI.Controls.Add(this.chkKeepOlderDedupl);
+ this.tabGUI.Controls.Add(this.cbFreshrate);
+ this.tabGUI.Controls.Add(this.lbFreshrate);
+ this.tabGUI.Controls.Add(this.chkEnableStatistics);
+ this.tabGUI.Controls.Add(this.chkAllowLANConn);
+ this.tabGUI.Controls.Add(this.txturlGFWList);
+ this.tabGUI.Controls.Add(this.label13);
+ this.tabGUI.Controls.Add(this.chkAutoRun);
+ resources.ApplyResources(this.tabGUI, "tabGUI");
+ this.tabGUI.Name = "tabGUI";
+ this.tabGUI.UseVisualStyleBackColor = true;
//
// chkKeepOlderDedupl
//
@@ -570,13 +570,13 @@
this.chkAutoRun.Name = "chkAutoRun";
this.chkAutoRun.UseVisualStyleBackColor = true;
//
- // tabPage9
+ // tabUserPAC
//
- this.tabPage9.Controls.Add(this.txtuserPacRule);
- this.tabPage9.Controls.Add(this.panel4);
- resources.ApplyResources(this.tabPage9, "tabPage9");
- this.tabPage9.Name = "tabPage9";
- this.tabPage9.UseVisualStyleBackColor = true;
+ this.tabUserPAC.Controls.Add(this.txtuserPacRule);
+ this.tabUserPAC.Controls.Add(this.panel4);
+ resources.ApplyResources(this.tabUserPAC, "tabUserPAC");
+ this.tabUserPAC.Name = "tabUserPAC";
+ this.tabUserPAC.UseVisualStyleBackColor = true;
//
// txtuserPacRule
//
@@ -626,10 +626,10 @@
this.Name = "OptionSettingForm";
this.Load += new System.EventHandler(this.OptionSettingForm_Load);
this.tabControl1.ResumeLayout(false);
- this.tabPage1.ResumeLayout(false);
+ this.tabBasic.ResumeLayout(false);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
- this.tabPage2.ResumeLayout(false);
+ this.tabRouting.ResumeLayout(false);
this.groupBox2.ResumeLayout(false);
this.tabControl2.ResumeLayout(false);
this.tabPage3.ResumeLayout(false);
@@ -638,15 +638,15 @@
this.tabPage4.PerformLayout();
this.tabPage5.ResumeLayout(false);
this.tabPage5.PerformLayout();
- this.tabPage8.ResumeLayout(false);
+ this.tabPreDefinedRules.ResumeLayout(false);
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
- this.tabPage6.ResumeLayout(false);
- this.tabPage6.PerformLayout();
- this.tabPage7.ResumeLayout(false);
- this.tabPage7.PerformLayout();
- this.tabPage9.ResumeLayout(false);
- this.tabPage9.PerformLayout();
+ this.tabKCP.ResumeLayout(false);
+ this.tabKCP.PerformLayout();
+ this.tabGUI.ResumeLayout(false);
+ this.tabGUI.PerformLayout();
+ this.tabUserPAC.ResumeLayout(false);
+ this.tabUserPAC.PerformLayout();
this.panel4.ResumeLayout(false);
this.panel2.ResumeLayout(false);
this.ResumeLayout(false);
@@ -666,8 +666,8 @@
private System.Windows.Forms.CheckBox chkudpEnabled;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.TabControl tabControl1;
- private System.Windows.Forms.TabPage tabPage1;
- private System.Windows.Forms.TabPage tabPage2;
+ private System.Windows.Forms.TabPage tabBasic;
+ private System.Windows.Forms.TabPage tabRouting;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.ComboBox cmbprotocol;
@@ -686,7 +686,7 @@
private System.Windows.Forms.TabPage tabPage5;
private System.Windows.Forms.TextBox txtUserdirect;
private System.Windows.Forms.TextBox txtUserblock;
- private System.Windows.Forms.TabPage tabPage6;
+ private System.Windows.Forms.TabPage tabKCP;
private System.Windows.Forms.TextBox txtKcpmtu;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox txtKcptti;
@@ -700,7 +700,7 @@
private System.Windows.Forms.TextBox txtKcpuplinkCapacity;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.CheckBox chkKcpcongestion;
- private System.Windows.Forms.TabPage tabPage7;
+ private System.Windows.Forms.TabPage tabGUI;
private System.Windows.Forms.CheckBox chkAutoRun;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.TextBox txturlGFWList;
@@ -718,8 +718,8 @@
private System.Windows.Forms.Label lbFreshrate;
private System.Windows.Forms.Label label16;
private System.Windows.Forms.ComboBox cmblistenerType;
- private System.Windows.Forms.TabPage tabPage8;
- private System.Windows.Forms.TabPage tabPage9;
+ private System.Windows.Forms.TabPage tabPreDefinedRules;
+ private System.Windows.Forms.TabPage tabUserPAC;
private System.Windows.Forms.TextBox txtuserPacRule;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.Label label4;
diff --git a/v2rayN/v2rayN/Forms/OptionSettingForm.cs b/v2rayN/v2rayN/Forms/OptionSettingForm.cs
index 6fa88f50..5d69093d 100644
--- a/v2rayN/v2rayN/Forms/OptionSettingForm.cs
+++ b/v2rayN/v2rayN/Forms/OptionSettingForm.cs
@@ -9,8 +9,10 @@ namespace v2rayN.Forms
{
public partial class OptionSettingForm : BaseForm
{
- public OptionSettingForm()
+ private string _tabOpened;
+ public OptionSettingForm(string tabOpened = "")
{
+ _tabOpened = tabOpened;
InitializeComponent();
}
@@ -25,6 +27,18 @@ namespace v2rayN.Forms
InitGUI();
InitUserPAC();
+
+ var tab = tabControl1.TabPages[_tabOpened];
+ var tab2 = tabControl2.TabPages[_tabOpened];
+ if (tab != null)
+ {
+ tabControl1.SelectedTab = tab;
+ }
+ if (tab2 != null)
+ {
+ tabControl1.SelectedTab = tabRouting;
+ tabControl2.SelectedTab = tab2;
+ }
}
///
@@ -78,8 +92,7 @@ namespace v2rayN.Forms
{
//路由
cmbdomainStrategy.Text = config.domainStrategy;
- int.TryParse(config.routingMode, out int routingMode);
- cmbroutingMode.SelectedIndex = routingMode;
+ cmbroutingMode.SelectedIndex = config.routingMode;
txtUseragent.Text = Utils.List2String(config.useragent, true);
txtUserdirect.Text = Utils.List2String(config.userdirect, true);
@@ -276,7 +289,7 @@ namespace v2rayN.Forms
{
//路由
string domainStrategy = cmbdomainStrategy.Text;
- string routingMode = cmbroutingMode.SelectedIndex.ToString();
+ int routingMode = cmbroutingMode.SelectedIndex;
string useragent = txtUseragent.Text.TrimEx();
string userdirect = txtUserdirect.Text.TrimEx();
diff --git a/v2rayN/v2rayN/Forms/OptionSettingForm.resx b/v2rayN/v2rayN/Forms/OptionSettingForm.resx
index 7f8ef414..90244957 100644
--- a/v2rayN/v2rayN/Forms/OptionSettingForm.resx
+++ b/v2rayN/v2rayN/Forms/OptionSettingForm.resx
@@ -120,24 +120,36 @@
+
+ True
+
6, 12
662, 675
-
- True
-
4, 4, 4, 4
+
+ OptionSettingForm
+
Settings
+
+ v2rayN.Forms.BaseForm, v2rayN, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+
355, 16
+
+ btnClose
+
+
+ panel2
+
75, 23
@@ -147,9 +159,27 @@
&Cancel
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 0
+
267, 16
+
+ btnOK
+
+
+ btnOK
+
+
+ panel2
+
+
+ panel2
+
75, 23
@@ -159,6 +189,18 @@
&OK
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 1
+
+
+ 1
+
Top, Right
@@ -168,6 +210,18 @@
322, 10
+
+ btnSetDefRountingRule
+
+
+ btnSetDefRountingRule
+
+
+ panel3
+
+
+ panel3
+
229, 23
@@ -177,21 +231,69 @@
Set default custom routing rules
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 1
+
+
+ 1
+
161, 84
+
+ cbFreshrate
+
+
+ cbFreshrate
+
+
+ tabGUI
+
+
+ tabGUI
+
58, 20
32
+
+ System.Windows.Forms.ComboBox, 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
+
+
+ 1
+
+
+ 1
+
True
15, 63
+
+ chkAllowIn2
+
+
+ chkAllowIn2
+
+
+ groupBox1
+
+
+ groupBox1
+
120, 16
@@ -201,15 +303,39 @@
listening port 2
+
+ 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
+
False
+
+ 7
+
+
+ 7
+
True
15, 38
+
+ chkAllowLANConn
+
+
+ chkAllowLANConn
+
+
+ tabGUI
+
+
+ tabGUI
+
204, 16
@@ -219,12 +345,36 @@
Allow connections from the LAN
+
+ 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
+
+
+ 4
+
+
+ 4
+
True
15, 16
+
+ chkAutoRun
+
+
+ chkAutoRun
+
+
+ tabGUI
+
+
+ tabGUI
+
246, 16
@@ -234,6 +384,18 @@
Automatically start at system startup
+
+ 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
+
+
+ 7
+
+
+ 7
+
True
@@ -243,6 +405,18 @@
15, 62
+
+ chkEnableStatistics
+
+
+ chkEnableStatistics
+
+
+ tabGUI
+
+
+ tabGUI
+
576, 16
@@ -252,12 +426,36 @@
Enable Statistics (Realtime netspeed and traffic records. Require restart the v2rayN client)
+
+ 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
+
+
+ 3
+
+
+ 3
+
True
20, 143
+
+ chkKcpcongestion
+
+
+ chkKcpcongestion
+
+
+ tabKCP
+
+
+ tabKCP
+
84, 16
@@ -267,6 +465,18 @@
congestion
+
+ 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
+
+
+ 0
+
+
+ 0
+
True
@@ -276,6 +486,18 @@
15, 110
+
+ chkKeepOlderDedupl
+
+
+ chkKeepOlderDedupl
+
+
+ tabGUI
+
+
+ tabGUI
+
198, 16
@@ -285,12 +507,36 @@
Keep older when deduplication
+
+ 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
+
+
+ 0
+
+
+ 0
+
True
15, 160
+
+ chklogEnabled
+
+
+ chklogEnabled
+
+
+ groupBox1
+
+
+ groupBox1
+
126, 16
@@ -300,12 +546,36 @@
Record local logs
+
+ 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
+
+
+ 15
+
+
+ 15
+
True
15, 129
+
+ chkmuxEnabled
+
+
+ chkmuxEnabled
+
+
+ groupBox1
+
+
+ groupBox1
+
174, 16
@@ -315,6 +585,18 @@
Turn on Mux Multiplexing
+
+ 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
+
+
+ 6
+
+
+ 6
+
True
@@ -324,6 +606,18 @@
468, 27
+
+ chksniffingEnabled
+
+
+ chksniffingEnabled
+
+
+ groupBox1
+
+
+ groupBox1
+
120, 16
@@ -333,6 +627,18 @@
Turn on Sniffing
+
+ 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
+
+
+ 3
+
+
+ 3
+
True
@@ -342,6 +648,18 @@
468, 60
+
+ chksniffingEnabled2
+
+
+ chksniffingEnabled2
+
+
+ groupBox1
+
+
+ groupBox1
+
120, 16
@@ -351,15 +669,39 @@
Turn on Sniffing
+
+ 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
+
False
+
+ 2
+
+
+ 2
+
True
369, 27
+
+ chkudpEnabled
+
+
+ chkudpEnabled
+
+
+ groupBox1
+
+
+ groupBox1
+
84, 16
@@ -369,12 +711,36 @@
Enable UDP
+
+ 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
+
+
+ 14
+
+
+ 14
+
True
369, 62
+
+ chkudpEnabled2
+
+
+ chkudpEnabled2
+
+
+ groupBox1
+
+
+ groupBox1
+
84, 16
@@ -384,9 +750,21 @@
Enable UDP
+
+ 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
+
False
+
+ 8
+
+
+ 8
+
AsIs
@@ -399,12 +777,36 @@
115, 10
+
+ cmbdomainStrategy
+
+
+ cmbdomainStrategy
+
+
+ panel3
+
+
+ panel3
+
165, 20
16
+
+ System.Windows.Forms.ComboBox, 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
+
+
+ 3
+
+
+ 3
+
Not Enabled Http Proxy
@@ -429,12 +831,36 @@
124, 94
+
+ cmblistenerType
+
+
+ cmblistenerType
+
+
+ groupBox1
+
+
+ groupBox1
+
464, 20
33
+
+ System.Windows.Forms.ComboBox, 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
+
+
+ 1
+
+
+ 1
+
debug
@@ -453,12 +879,36 @@
257, 158
+
+ cmbloglevel
+
+
+ cmbloglevel
+
+
+ groupBox1
+
+
+ groupBox1
+
97, 20
6
+
+ System.Windows.Forms.ComboBox, 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
+
+
+ 16
+
+
+ 16
+
False
@@ -471,12 +921,36 @@
257, 25
+
+ cmbprotocol
+
+
+ cmbprotocol
+
+
+ groupBox1
+
+
+ groupBox1
+
97, 20
12
+
+ System.Windows.Forms.ComboBox, 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
+
+
+ 12
+
+
+ 12
+
socks
@@ -486,15 +960,39 @@
257, 60
+
+ cmbprotocol2
+
+
+ cmbprotocol2
+
+
+ groupBox1
+
+
+ groupBox1
+
97, 20
17
+
+ System.Windows.Forms.ComboBox, 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
+
False
+
+ 9
+
+
+ 9
+
Global
@@ -510,42 +1008,102 @@
21, 17
+
+ cmbroutingMode
+
+
+ tabPreDefinedRules
+
255, 20
14
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 0
+
Fill
3, 3
+
+ groupBox1
+
+
+ groupBox1
+
+
+ tabBasic
+
+
+ tabBasic
+
648, 573
6
+
+ System.Windows.Forms.GroupBox, 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
+
+
+ 0
+
+
+ 0
+
Fill
3, 3
+
+ groupBox2
+
+
+ tabRouting
+
648, 573
12
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 0
+
True
206, 29
+
+ label1
+
+
+ label1
+
+
+ groupBox1
+
+
+ groupBox1
+
53, 12
@@ -555,12 +1113,36 @@
protocol
+
+ 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
+
+
+ 13
+
+
+ 13
+
True
236, 104
+
+ label10
+
+
+ label10
+
+
+ tabKCP
+
+
+ tabKCP
+
95, 12
@@ -570,12 +1152,36 @@
writeBufferSize
+
+ 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
+
+
+ 2
+
+
+ 2
+
True
18, 104
+
+ label11
+
+
+ label11
+
+
+ tabKCP
+
+
+ tabKCP
+
89, 12
@@ -585,12 +1191,36 @@
readBufferSize
+
+ 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
+
+
+ 4
+
+
+ 4
+
True
30, 176
+
+ label13
+
+
+ label13
+
+
+ tabGUI
+
+
+ tabGUI
+
431, 12
@@ -600,12 +1230,36 @@
Custom GFWList address (please fill in the blank without customization)
+
+ 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
+
+
+ 6
+
+
+ 6
+
True
33, 204
+
+ label14
+
+
+ label14
+
+
+ groupBox1
+
+
+ groupBox1
+
281, 12
@@ -615,6 +1269,18 @@
Custom DNS (multiple, separated by commas (,))
+
+ 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
+
+
+ 5
+
+
+ 5
+
True
@@ -624,6 +1290,18 @@
42, 98
+
+ label16
+
+
+ label16
+
+
+ groupBox1
+
+
+ groupBox1
+
65, 12
@@ -633,12 +1311,36 @@
Http proxy
+
+ 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
+
+
+ 0
+
+
+ 0
+
True
33, 29
+
+ label2
+
+
+ label2
+
+
+ groupBox1
+
+
+ groupBox1
+
89, 12
@@ -648,12 +1350,36 @@
Listening port
+
+ 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
+
+
+ 19
+
+
+ 19
+
True
206, 64
+
+ label3
+
+
+ label3
+
+
+ groupBox1
+
+
+ groupBox1
+
53, 12
@@ -663,15 +1389,39 @@
protocol
+
+ 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
+
False
+
+ 10
+
+
+ 10
+
NoControl
5, 11
+
+ label4
+
+
+ label4
+
+
+ panel4
+
+
+ panel4
+
598, 16
@@ -681,12 +1431,36 @@
*Set user pac rules, separated by commas (,)
+
+ 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
+
+
+ 0
+
+
+ 0
+
True
193, 162
+
+ label5
+
+
+ label5
+
+
+ groupBox1
+
+
+ groupBox1
+
59, 12
@@ -696,12 +1470,36 @@
Log level
+
+ 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
+
+
+ 17
+
+
+ 17
+
True
18, 28
+
+ label6
+
+
+ label6
+
+
+ tabKCP
+
+
+ tabKCP
+
23, 12
@@ -711,12 +1509,36 @@
mtu
+
+ 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
+
+
+ 12
+
+
+ 12
+
True
236, 28
+
+ label7
+
+
+ label7
+
+
+ tabKCP
+
+
+ tabKCP
+
23, 12
@@ -726,12 +1548,36 @@
tti
+
+ 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
+
+
+ 10
+
+
+ 10
+
True
236, 66
+
+ label8
+
+
+ label8
+
+
+ tabKCP
+
+
+ tabKCP
+
101, 12
@@ -741,12 +1587,36 @@
downlinkCapacity
+
+ 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
+
+
+ 6
+
+
+ 6
+
True
18, 66
+
+ label9
+
+
+ label9
+
+
+ tabKCP
+
+
+ tabKCP
+
89, 12
@@ -756,9 +1626,33 @@
uplinkCapacity
+
+ 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
+
+
+ 8
+
+
+ 8
+
5, 45
+
+ labRoutingTips
+
+
+ labRoutingTips
+
+
+ panel3
+
+
+ panel3
+
598, 16
@@ -768,6 +1662,18 @@
*Set the rules, separated by commas (,); support Domain (pure string / regular / subdomain) and IP
+
+ 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
+
+
+ 2
+
+
+ 2
+
True
@@ -777,6 +1683,18 @@
30, 87
+
+ lbFreshrate
+
+
+ lbFreshrate
+
+
+ tabGUI
+
+
+ tabGUI
+
125, 12
@@ -786,6 +1704,18 @@
Statistics freshrate
+
+ 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
+
+
+ 2
+
+
+ 2
+
True
@@ -795,6 +1725,18 @@
0, 0, 0, 0
+
+ linkLabelRoutingDoc
+
+
+ linkLabelRoutingDoc
+
+
+ panel3
+
+
+ panel3
+
95, 12
@@ -804,114 +1746,267 @@
Domain strategy
+
+ System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 0
+
+
+ 0
+
Top
0, 0
+
+ panel1
+
+
+ $this
+
662, 10
9
+
+ System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 2
+
Bottom
0, 615
+
+ panel2
+
+
+ $this
+
662, 60
11
+
+ System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 1
+
Top
3, 17
+
+ panel3
+
+
+ groupBox2
+
642, 67
19
+
+ System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 1
+
Top
3, 3
+
+ panel4
+
+
+ panel4
+
+
+ tabUserPAC
+
+
+ tabUserPAC
+
648, 37
20
+
+ System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 1
+
+
+ 1
+
+
+ 4, 22
+
+
+ tabBasic
+
+
+ 3, 3, 3, 3
+
+
+ tabControl1
+
+
+ 654, 579
+
+
+ 0
+
+
+ Core: basic settings
+
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 0
+
Fill
0, 10
+
+ tabControl1
+
+
+ $this
+
662, 605
10
+
+ System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 0
+
Fill
3, 84
+
+ tabControl2
+
+
+ groupBox2
+
642, 486
12
-
- 4, 22
+
+ System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 3, 3, 3, 3
-
-
- 654, 579
-
-
+
0
-
- Core: basic settings
-
-
+
4, 22
-
+
+ tabGUI
+
+
3, 3, 3, 3
-
+
+ tabControl1
+
+
654, 579
-
- 1
+
+ 3
-
- Core: Routing settings
+
+ v2rayN settings
+
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 3
+
+
+ 4, 22
+
+
+ tabKCP
+
+
+ 3, 3, 3, 3
+
+
+ tabControl1
+
+
+ 654, 579
+
+
+ 2
+
+
+ Core: KCP settings
+
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 2
4, 22
+
+ tabPage3
+
3, 3, 3, 3
+
+ tabControl2
+
634, 460
@@ -921,12 +2016,24 @@
1.Proxy Domain or IP
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 0
+
4, 22
+
+ tabPage4
+
3, 3, 3, 3
+
+ tabControl2
+
634, 460
@@ -936,12 +2043,24 @@
2.Direct Domain or IP
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 1
+
4, 22
+
+ tabPage5
+
3, 3, 3, 3
+
+ tabControl2
+
634, 460
@@ -951,165 +2070,432 @@
3.Block Domain or IP
-
- 4, 22
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 3, 3, 3, 3
-
-
- 654, 579
-
-
+
2
-
- Core: KCP settings
-
-
+
4, 22
-
+
+ tabPreDefinedRules
+
+
3, 3, 3, 3
-
- 654, 579
+
+ tabControl2
-
- 3
-
-
- v2rayN settings
-
-
- 4, 22
-
-
- 3, 3, 3, 3
-
-
+
634, 460
-
+
3
-
+
4.Pre-defined rules
-
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 3
+
+
4, 22
-
+
+ tabRouting
+
+
3, 3, 3, 3
-
+
+ tabControl1
+
+
654, 579
-
+
+ 1
+
+
+ Core: Routing settings
+
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 1
+
+
+ 4, 22
+
+
+ tabUserPAC
+
+
+ 3, 3, 3, 3
+
+
+ tabControl1
+
+
+ 654, 579
+
+
4
-
+
User PAC settings
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 4
+
345, 62
+
+ txtKcpdownlinkCapacity
+
+
+ txtKcpdownlinkCapacity
+
+
+ tabKCP
+
+
+ tabKCP
+
94, 21
11
+
+ 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
+
+
+ 5
+
+
+ 5
+
111, 24
+
+ txtKcpmtu
+
+
+ txtKcpmtu
+
+
+ tabKCP
+
+
+ tabKCP
+
94, 21
5
+
+ 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
+
+
+ 11
+
+
+ 11
+
111, 100
+
+ txtKcpreadBufferSize
+
+
+ txtKcpreadBufferSize
+
+
+ tabKCP
+
+
+ tabKCP
+
94, 21
13
+
+ 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
+
+
+ 3
+
+
+ 3
+
345, 24
+
+ txtKcptti
+
+
+ txtKcptti
+
+
+ tabKCP
+
+
+ tabKCP
+
94, 21
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
+
+
+ 9
+
+
+ 9
+
111, 62
+
+ txtKcpuplinkCapacity
+
+
+ txtKcpuplinkCapacity
+
+
+ tabKCP
+
+
+ tabKCP
+
94, 21
9
+
+ 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
+
+
+ 7
+
+
+ 7
+
345, 100
+
+ txtKcpwriteBufferSize
+
+
+ txtKcpwriteBufferSize
+
+
+ tabKCP
+
+
+ tabKCP
+
94, 21
15
+
+ 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
+
+
+ 1
+
+
+ 1
+
124, 25
+
+ txtlocalPort
+
+
+ txtlocalPort
+
+
+ groupBox1
+
+
+ groupBox1
+
78, 21
3
+
+ 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
+
+
+ 18
+
+
+ 18
+
124, 60
+
+ txtlocalPort2
+
+
+ txtlocalPort2
+
+
+ groupBox1
+
+
+ groupBox1
+
78, 21
14
+
+ 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
+
False
+
+ 11
+
+
+ 11
+
33, 228
True
+
+ txtremoteDNS
+
+
+ txtremoteDNS
+
+
+ groupBox1
+
+
+ groupBox1
+
555, 100
30
+
+ 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
+
+
+ 4
+
+
+ 4
+
32, 205
True
+
+ txturlGFWList
+
+
+ txturlGFWList
+
+
+ tabGUI
+
+
+ tabGUI
+
541, 100
28
+
+ 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
+
+
+ 5
+
+
+ 5
+
Fill
@@ -1122,6 +2508,18 @@
True
+
+ txtUseragent
+
+
+ txtUseragent
+
+
+ tabPage3
+
+
+ tabPage3
+
Vertical
@@ -1131,6 +2529,18 @@
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
+
+
+ 0
+
+
+ 0
+
Fill
@@ -1143,6 +2553,18 @@
True
+
+ txtUserblock
+
+
+ txtUserblock
+
+
+ tabPage5
+
+
+ tabPage5
+
Vertical
@@ -1152,6 +2574,18 @@
1
+
+ 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
+
+
+ 0
+
+
+ 0
+
Fill
@@ -1164,6 +2598,18 @@
True
+
+ txtUserdirect
+
+
+ txtUserdirect
+
+
+ tabPage4
+
+
+ tabPage4
+
Vertical
@@ -1173,6 +2619,18 @@
1
+
+ 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
+
+
+ 0
+
+
+ 0
+
Fill
@@ -1185,6 +2643,18 @@
True
+
+ txtuserPacRule
+
+
+ txtuserPacRule
+
+
+ tabUserPAC
+
+
+ tabUserPAC
+
Vertical
@@ -1194,4 +2664,16 @@
21
+
+ 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
+
+
+ 0
+
+
+ 0
+
\ 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 1509bce5..b2ecd834 100644
--- a/v2rayN/v2rayN/Forms/OptionSettingForm.zh-Hans.resx
+++ b/v2rayN/v2rayN/Forms/OptionSettingForm.zh-Hans.resx
@@ -312,17 +312,20 @@
642, 72
+
+ Core:基础设置
+
3, 89
642, 481
-
- Core:基础设置
+
+ v2rayN设置
-
- Core:路由设置
+
+ Core:KCP设置
634, 455
@@ -342,19 +345,16 @@
3.阻止的Domain或IP
-
- Core:KCP设置
-
-
- v2rayN设置
-
634, 455
-
+
4.预定义规则
-
+
+ Core:路由设置
+
+
用户PAC设置
diff --git a/v2rayN/v2rayN/Handler/ConfigHandler.cs b/v2rayN/v2rayN/Handler/ConfigHandler.cs
index c6748e56..3dae84b1 100644
--- a/v2rayN/v2rayN/Handler/ConfigHandler.cs
+++ b/v2rayN/v2rayN/Handler/ConfigHandler.cs
@@ -85,10 +85,6 @@ namespace v2rayN.Handler
{
config.domainStrategy = "IPIfNonMatch";
}
- if (Utils.IsNullOrEmpty(config.routingMode))
- {
- config.routingMode = "0";
- }
if (config.useragent == null)
{
config.useragent = new List();
diff --git a/v2rayN/v2rayN/Handler/SpeedtestHandler.cs b/v2rayN/v2rayN/Handler/SpeedtestHandler.cs
index 519b51e2..f14296dc 100644
--- a/v2rayN/v2rayN/Handler/SpeedtestHandler.cs
+++ b/v2rayN/v2rayN/Handler/SpeedtestHandler.cs
@@ -145,7 +145,7 @@ namespace v2rayN.Handler
}
}
- public async Task RunAvailabilityCheck() // alias: isLive
+ public int RunAvailabilityCheck() // alias: isLive
{
try
{
diff --git a/v2rayN/v2rayN/Handler/V2rayConfigHandler.cs b/v2rayN/v2rayN/Handler/V2rayConfigHandler.cs
index 9ea93933..1296112a 100644
--- a/v2rayN/v2rayN/Handler/V2rayConfigHandler.cs
+++ b/v2rayN/v2rayN/Handler/V2rayConfigHandler.cs
@@ -195,15 +195,15 @@ namespace v2rayN.Handler
switch (config.routingMode)
{
- case "0":
+ case 0:
break;
- case "1":
+ case 1:
routingGeo("ip", "private", Global.directTag, ref v2rayConfig);
break;
- case "2":
+ case 2:
routingGeo("", "cn", Global.directTag, ref v2rayConfig);
break;
- case "3":
+ case 3:
routingGeo("ip", "private", Global.directTag, ref v2rayConfig);
routingGeo("", "cn", Global.directTag, ref v2rayConfig);
break;
diff --git a/v2rayN/v2rayN/Mode/Config.cs b/v2rayN/v2rayN/Mode/Config.cs
index 515114df..d48da6ee 100644
--- a/v2rayN/v2rayN/Mode/Config.cs
+++ b/v2rayN/v2rayN/Mode/Config.cs
@@ -71,7 +71,7 @@ namespace v2rayN.Mode
///
/// 路由模式
///
- public string routingMode
+ public int routingMode
{
get; set;
}
diff --git a/v2rayN/v2rayN/Resx/ResUI.Designer.cs b/v2rayN/v2rayN/Resx/ResUI.Designer.cs
index b5b956d6..916fc039 100644
--- a/v2rayN/v2rayN/Resx/ResUI.Designer.cs
+++ b/v2rayN/v2rayN/Resx/ResUI.Designer.cs
@@ -690,6 +690,42 @@ namespace v2rayN.Resx {
}
}
+ ///
+ /// 查找类似 Bypass CN 的本地化字符串。
+ ///
+ internal static string RoutingModeBypassCN {
+ get {
+ return ResourceManager.GetString("RoutingModeBypassCN", resourceCulture);
+ }
+ }
+
+ ///
+ /// 查找类似 Bypass LAN 的本地化字符串。
+ ///
+ internal static string RoutingModeBypassLAN {
+ get {
+ return ResourceManager.GetString("RoutingModeBypassLAN", resourceCulture);
+ }
+ }
+
+ ///
+ /// 查找类似 Bypass LAN+CN 的本地化字符串。
+ ///
+ internal static string RoutingModeBypassLANCN {
+ get {
+ return ResourceManager.GetString("RoutingModeBypassLANCN", resourceCulture);
+ }
+ }
+
+ ///
+ /// 查找类似 Global 的本地化字符串。
+ ///
+ internal static string RoutingModeGlobal {
+ get {
+ return ResourceManager.GetString("RoutingModeGlobal", resourceCulture);
+ }
+ }
+
///
/// 查找类似 The client configuration file is saved at: {0} 的本地化字符串。
///
@@ -708,6 +744,15 @@ namespace v2rayN.Resx {
}
}
+ ///
+ /// 查找类似 ... 的本地化字符串。
+ ///
+ internal static string ServerLatencyChecking {
+ get {
+ return ResourceManager.GetString("ServerLatencyChecking", resourceCulture);
+ }
+ }
+
///
/// 查找类似 SlowFresh 的本地化字符串。
///
@@ -789,5 +834,14 @@ namespace v2rayN.Resx {
return ResourceManager.GetString("TestMeOutput", resourceCulture);
}
}
+
+ ///
+ /// 查找类似 Latency: {0} 的本地化字符串。
+ ///
+ internal static string toolSslServerLatency {
+ get {
+ return ResourceManager.GetString("toolSslServerLatency", resourceCulture);
+ }
+ }
}
}
diff --git a/v2rayN/v2rayN/Resx/ResUI.resx b/v2rayN/v2rayN/Resx/ResUI.resx
index 50d37abe..9066ae09 100644
--- a/v2rayN/v2rayN/Resx/ResUI.resx
+++ b/v2rayN/v2rayN/Resx/ResUI.resx
@@ -327,12 +327,27 @@
Are you sure to remove the server?
+
+ Bypass CN
+
+
+ Bypass LAN
+
+
+ Bypass LAN+CN
+
+
+ Global
+
The client configuration file is saved at: {0}
The server configuration file is saved at: {0}
+
+ ...
+
SlowFresh
@@ -361,4 +376,7 @@
The ping of current service: {0}
+
+ Latency: {0}
+
\ No newline at end of file
diff --git a/v2rayN/v2rayN/Resx/ResUI.zh-Hans.resx b/v2rayN/v2rayN/Resx/ResUI.zh-Hans.resx
index 4b312497..c88b54ae 100644
--- a/v2rayN/v2rayN/Resx/ResUI.zh-Hans.resx
+++ b/v2rayN/v2rayN/Resx/ResUI.zh-Hans.resx
@@ -327,12 +327,27 @@
是否确定移除服务器?
+
+ 绕过大陆
+
+
+ 绕过局域网
+
+
+ 绕过局域网和大陆
+
+
+ 路由: 全局
+
客户端配置文件保存在:{0}
服务端配置文件保存在:{0}
+
+ ...
+
慢
@@ -361,4 +376,7 @@
当前服务的真连接延迟: {0}
+
+ 延迟: {0}
+
\ No newline at end of file