mirror of
https://github.com/netchx/netch.git
synced 2026-03-14 17:43:18 +08:00
Revert Bind ProxyDNSCheckBox.Enabled to UseCustomDNSCheckBox.Checked
This commit is contained in:
1
Netch/Forms/SettingForm.Designer.cs
generated
1
Netch/Forms/SettingForm.Designer.cs
generated
@@ -595,7 +595,6 @@ namespace Netch.Forms
|
||||
//
|
||||
// ProxyDNSCheckBox
|
||||
//
|
||||
this.ProxyDNSCheckBox.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", this.UseCustomDNSCheckBox, "Checked", true));;
|
||||
this.ProxyDNSCheckBox.AutoSize = true;
|
||||
this.ProxyDNSCheckBox.Location = new System.Drawing.Point(261, 139);
|
||||
this.ProxyDNSCheckBox.Name = "ProxyDNSCheckBox";
|
||||
|
||||
@@ -206,10 +206,7 @@ namespace Netch.Forms
|
||||
if (UseCustomDNSCheckBox.Checked)
|
||||
TUNTAPDNSTextBox.Text = Global.Settings.TUNTAP.DNS.Any() ? DnsUtils.Join(Global.Settings.TUNTAP.DNS) : "1.1.1.1";
|
||||
else
|
||||
{
|
||||
TUNTAPDNSTextBox.Text = "AioDNS";
|
||||
ProxyDNSCheckBox.Checked = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void InitSTUN()
|
||||
|
||||
Reference in New Issue
Block a user