diff --git a/SecureDNSClient/Audio/Resource1.Designer.cs b/SecureDNSClient/Audio/Resource1.Designer.cs
index 4f228e1..74af630 100644
--- a/SecureDNSClient/Audio/Resource1.Designer.cs
+++ b/SecureDNSClient/Audio/Resource1.Designer.cs
@@ -95,5 +95,14 @@ internal static System.IO.UnmanagedMemoryStream Secure_DNS_Online {
return ResourceManager.GetStream("Secure_DNS_Online", resourceCulture);
}
}
+
+ ///
+ /// Looks up a localized resource of type System.IO.UnmanagedMemoryStream similar to System.IO.MemoryStream.
+ ///
+ internal static System.IO.UnmanagedMemoryStream Warning_Handle_Requests_Exceeded {
+ get {
+ return ResourceManager.GetStream("Warning_Handle_Requests_Exceeded", resourceCulture);
+ }
+ }
}
}
diff --git a/SecureDNSClient/Audio/Resource1.resx b/SecureDNSClient/Audio/Resource1.resx
index c527823..6354ed3 100644
--- a/SecureDNSClient/Audio/Resource1.resx
+++ b/SecureDNSClient/Audio/Resource1.resx
@@ -130,4 +130,7 @@
secure-dns-online.wav;System.IO.MemoryStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ warning-handle-requests-exceeded.wav;System.IO.MemoryStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
\ No newline at end of file
diff --git a/SecureDNSClient/Audio/Warning-Handle-Requests-Exceeded.wav b/SecureDNSClient/Audio/Warning-Handle-Requests-Exceeded.wav
new file mode 100644
index 0000000..c506686
Binary files /dev/null and b/SecureDNSClient/Audio/Warning-Handle-Requests-Exceeded.wav differ
diff --git a/SecureDNSClient/Forms/FormMain.Designer.cs b/SecureDNSClient/Forms/FormMain.Designer.cs
index aaba5f7..0ec5cff 100644
--- a/SecureDNSClient/Forms/FormMain.Designer.cs
+++ b/SecureDNSClient/Forms/FormMain.Designer.cs
@@ -51,7 +51,7 @@ private void InitializeComponent()
this.TabPageSecureDNS = new System.Windows.Forms.TabPage();
this.CustomTabControlSecureDNS = new CustomControls.CustomTabControl();
this.TabPageCheck = new System.Windows.Forms.TabPage();
- this.CustomButtonToggleLogView = new CustomControls.CustomButton();
+ this.CustomLabelCheckPercent = new CustomControls.CustomLabel();
this.CustomButtonConnectAll = new CustomControls.CustomButton();
this.CustomButtonViewWorkingServers = new CustomControls.CustomButton();
this.TabPageConnect = new System.Windows.Forms.TabPage();
@@ -64,6 +64,8 @@ private void InitializeComponent()
this.CustomLabelSetDNSInfo = new CustomControls.CustomLabel();
this.CustomComboBoxNICs = new CustomControls.CustomComboBox();
this.TabPageShare = new System.Windows.Forms.TabPage();
+ this.CustomNumericUpDownHTTPProxyHandleRequests = new CustomControls.CustomNumericUpDown();
+ this.CustomLabelHTTPProxyHandleRequests = new CustomControls.CustomLabel();
this.CustomCheckBoxHTTPProxyEventShowChunkDetails = new CustomControls.CustomCheckBox();
this.CustomButtonPDpiApplyChanges = new CustomControls.CustomButton();
this.CustomNumericUpDownPDpiFragDelay = new CustomControls.CustomNumericUpDown();
@@ -192,22 +194,23 @@ private void InitializeComponent()
this.CustomLabelAboutThis2 = new CustomControls.CustomLabel();
this.CustomLabelAboutThis = new CustomControls.CustomLabel();
this.PictureBoxAbout = new System.Windows.Forms.PictureBox();
- this.CustomStatusStrip1 = new CustomControls.CustomStatusStrip();
- this.ToolStripStatusLabelDNS = new System.Windows.Forms.ToolStripStatusLabel();
- this.ToolStripStatusLabelDnsLatency = new System.Windows.Forms.ToolStripStatusLabel();
- this.ToolStripStatusLabelDoH = new System.Windows.Forms.ToolStripStatusLabel();
- this.ToolStripStatusLabelDohLatency = new System.Windows.Forms.ToolStripStatusLabel();
- this.ToolStripStatusLabelSpace = new System.Windows.Forms.ToolStripStatusLabel();
- this.ToolStripStatusLabelPercent = new System.Windows.Forms.ToolStripStatusLabel();
+ this.CustomButtonToggleLogView = new CustomControls.CustomButton();
this.NotifyIconMain = new System.Windows.Forms.NotifyIcon(this.components);
this.CustomContextMenuStripIcon = new CustomControls.CustomContextMenuStrip();
this.CustomGroupBoxStatus = new CustomControls.CustomGroupBox();
+ this.CustomRichTextBoxStatusProxyRequests = new CustomControls.CustomRichTextBox();
+ this.CustomRichTextBoxStatusLocalDoHLatency = new CustomControls.CustomRichTextBox();
+ this.CustomRichTextBoxStatusLocalDoH = new CustomControls.CustomRichTextBox();
+ this.CustomRichTextBoxStatusLocalDnsLatency = new CustomControls.CustomRichTextBox();
+ this.CustomRichTextBoxStatusLocalDNS = new CustomControls.CustomRichTextBox();
this.CustomRichTextBoxStatusIsProxySet = new CustomControls.CustomRichTextBox();
this.CustomRichTextBoxStatusIsSharing = new CustomControls.CustomRichTextBox();
this.CustomRichTextBoxStatusIsDNSSet = new CustomControls.CustomRichTextBox();
this.CustomRichTextBoxStatusIsDPIActive = new CustomControls.CustomRichTextBox();
this.CustomRichTextBoxStatusIsConnected = new CustomControls.CustomRichTextBox();
this.CustomRichTextBoxStatusWorkingServers = new CustomControls.CustomRichTextBox();
+ this.SplitContainerMain = new System.Windows.Forms.SplitContainer();
+ this.SplitContainerTop = new System.Windows.Forms.SplitContainer();
this.CustomGroupBoxLog.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.CustomNumericUpDownSSLFragmentSize)).BeginInit();
this.CustomTabControlMain.SuspendLayout();
@@ -217,6 +220,7 @@ private void InitializeComponent()
this.TabPageConnect.SuspendLayout();
this.TabPageSetDNS.SuspendLayout();
this.TabPageShare.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.CustomNumericUpDownHTTPProxyHandleRequests)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.CustomNumericUpDownPDpiFragDelay)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.CustomNumericUpDownPDpiDataLength)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.CustomNumericUpDownPDpiFragmentSize)).BeginInit();
@@ -249,8 +253,15 @@ private void InitializeComponent()
((System.ComponentModel.ISupportInitialize)(this.CustomNumericUpDownSettingBootstrapDnsPort)).BeginInit();
this.TabPageAbout.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.PictureBoxAbout)).BeginInit();
- this.CustomStatusStrip1.SuspendLayout();
this.CustomGroupBoxStatus.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.SplitContainerMain)).BeginInit();
+ this.SplitContainerMain.Panel1.SuspendLayout();
+ this.SplitContainerMain.Panel2.SuspendLayout();
+ this.SplitContainerMain.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.SplitContainerTop)).BeginInit();
+ this.SplitContainerTop.Panel1.SuspendLayout();
+ this.SplitContainerTop.Panel2.SuspendLayout();
+ this.SplitContainerTop.SuspendLayout();
this.SuspendLayout();
//
// CustomRichTextBoxLog
@@ -283,7 +294,7 @@ private void InitializeComponent()
this.CustomRichTextBoxLog.SelectionLength = 0;
this.CustomRichTextBoxLog.SelectionStart = 0;
this.CustomRichTextBoxLog.ShortcutsEnabled = true;
- this.CustomRichTextBoxLog.Size = new System.Drawing.Size(694, 185);
+ this.CustomRichTextBoxLog.Size = new System.Drawing.Size(878, 155);
this.CustomRichTextBoxLog.TabIndex = 0;
this.CustomRichTextBoxLog.Texts = "";
this.CustomRichTextBoxLog.UnderlinedStyle = false;
@@ -292,13 +303,15 @@ private void InitializeComponent()
//
// CustomButtonCheck
//
+ this.CustomButtonCheck.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.CustomButtonCheck.AutoSize = true;
this.CustomButtonCheck.BorderColor = System.Drawing.Color.Blue;
this.CustomButtonCheck.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.CustomButtonCheck.Location = new System.Drawing.Point(292, 220);
+ this.CustomButtonCheck.Location = new System.Drawing.Point(302, 303);
this.CustomButtonCheck.Name = "CustomButtonCheck";
this.CustomButtonCheck.RoundedCorners = 0;
this.CustomButtonCheck.SelectionColor = System.Drawing.Color.LightBlue;
- this.CustomButtonCheck.Size = new System.Drawing.Size(90, 23);
+ this.CustomButtonCheck.Size = new System.Drawing.Size(93, 27);
this.CustomButtonCheck.TabIndex = 2;
this.CustomButtonCheck.Text = "Check/Cancel";
this.CustomButtonCheck.UseVisualStyleBackColor = true;
@@ -306,16 +319,14 @@ private void InitializeComponent()
//
// CustomGroupBoxLog
//
- this.CustomGroupBoxLog.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
this.CustomGroupBoxLog.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.CustomGroupBoxLog.BorderColor = System.Drawing.Color.Blue;
this.CustomGroupBoxLog.Controls.Add(this.CustomRichTextBoxLog);
- this.CustomGroupBoxLog.Location = new System.Drawing.Point(1, 356);
+ this.CustomGroupBoxLog.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.CustomGroupBoxLog.Location = new System.Drawing.Point(0, 0);
this.CustomGroupBoxLog.Margin = new System.Windows.Forms.Padding(1);
this.CustomGroupBoxLog.Name = "CustomGroupBoxLog";
- this.CustomGroupBoxLog.Size = new System.Drawing.Size(700, 207);
+ this.CustomGroupBoxLog.Size = new System.Drawing.Size(884, 177);
this.CustomGroupBoxLog.TabIndex = 3;
this.CustomGroupBoxLog.TabStop = false;
this.CustomGroupBoxLog.Text = "Log";
@@ -326,7 +337,7 @@ private void InitializeComponent()
this.CustomCheckBoxInsecure.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxInsecure.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxInsecure.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxInsecure.Location = new System.Drawing.Point(25, 171);
+ this.CustomCheckBoxInsecure.Location = new System.Drawing.Point(25, 190);
this.CustomCheckBoxInsecure.Name = "CustomCheckBoxInsecure";
this.CustomCheckBoxInsecure.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxInsecure.Size = new System.Drawing.Size(211, 17);
@@ -343,7 +354,7 @@ private void InitializeComponent()
this.CustomLabelCustomServersInfo.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelCustomServersInfo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelCustomServersInfo.ForeColor = System.Drawing.Color.White;
- this.CustomLabelCustomServersInfo.Location = new System.Drawing.Point(41, 72);
+ this.CustomLabelCustomServersInfo.Location = new System.Drawing.Point(41, 75);
this.CustomLabelCustomServersInfo.Name = "CustomLabelCustomServersInfo";
this.CustomLabelCustomServersInfo.RoundedCorners = 0;
this.CustomLabelCustomServersInfo.Size = new System.Drawing.Size(218, 92);
@@ -353,13 +364,15 @@ private void InitializeComponent()
//
// CustomButtonEditCustomServers
//
+ this.CustomButtonEditCustomServers.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.CustomButtonEditCustomServers.AutoSize = true;
this.CustomButtonEditCustomServers.BorderColor = System.Drawing.Color.Blue;
this.CustomButtonEditCustomServers.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.CustomButtonEditCustomServers.Location = new System.Drawing.Point(50, 220);
+ this.CustomButtonEditCustomServers.Location = new System.Drawing.Point(40, 303);
this.CustomButtonEditCustomServers.Name = "CustomButtonEditCustomServers";
this.CustomButtonEditCustomServers.RoundedCorners = 0;
this.CustomButtonEditCustomServers.SelectionColor = System.Drawing.Color.LightBlue;
- this.CustomButtonEditCustomServers.Size = new System.Drawing.Size(110, 23);
+ this.CustomButtonEditCustomServers.Size = new System.Drawing.Size(121, 27);
this.CustomButtonEditCustomServers.TabIndex = 5;
this.CustomButtonEditCustomServers.Text = "Edit custom servers";
this.CustomButtonEditCustomServers.UseVisualStyleBackColor = true;
@@ -371,7 +384,7 @@ private void InitializeComponent()
this.CustomRadioButtonCustom.BorderColor = System.Drawing.Color.Blue;
this.CustomRadioButtonCustom.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonCustom.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonCustom.Location = new System.Drawing.Point(25, 43);
+ this.CustomRadioButtonCustom.Location = new System.Drawing.Point(25, 50);
this.CustomRadioButtonCustom.Name = "CustomRadioButtonCustom";
this.CustomRadioButtonCustom.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomRadioButtonCustom.Size = new System.Drawing.Size(125, 17);
@@ -406,10 +419,10 @@ private void InitializeComponent()
this.CustomLabelSSLFragmentSize.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelSSLFragmentSize.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelSSLFragmentSize.ForeColor = System.Drawing.Color.White;
- this.CustomLabelSSLFragmentSize.Location = new System.Drawing.Point(299, 83);
+ this.CustomLabelSSLFragmentSize.Location = new System.Drawing.Point(296, 95);
this.CustomLabelSSLFragmentSize.Name = "CustomLabelSSLFragmentSize";
this.CustomLabelSSLFragmentSize.RoundedCorners = 0;
- this.CustomLabelSSLFragmentSize.Size = new System.Drawing.Size(102, 15);
+ this.CustomLabelSSLFragmentSize.Size = new System.Drawing.Size(104, 17);
this.CustomLabelSSLFragmentSize.TabIndex = 10;
this.CustomLabelSSLFragmentSize.Text = "SSL fragment size:";
//
@@ -418,7 +431,7 @@ private void InitializeComponent()
this.CustomNumericUpDownSSLFragmentSize.BackColor = System.Drawing.Color.DimGray;
this.CustomNumericUpDownSSLFragmentSize.BorderColor = System.Drawing.Color.Blue;
this.CustomNumericUpDownSSLFragmentSize.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.CustomNumericUpDownSSLFragmentSize.Location = new System.Drawing.Point(407, 81);
+ this.CustomNumericUpDownSSLFragmentSize.Location = new System.Drawing.Point(404, 93);
this.CustomNumericUpDownSSLFragmentSize.Margin = new System.Windows.Forms.Padding(1);
this.CustomNumericUpDownSSLFragmentSize.Maximum = new decimal(new int[] {
70000,
@@ -426,7 +439,7 @@ private void InitializeComponent()
0,
0});
this.CustomNumericUpDownSSLFragmentSize.Name = "CustomNumericUpDownSSLFragmentSize";
- this.CustomNumericUpDownSSLFragmentSize.Size = new System.Drawing.Size(55, 23);
+ this.CustomNumericUpDownSSLFragmentSize.Size = new System.Drawing.Size(53, 23);
this.CustomNumericUpDownSSLFragmentSize.TabIndex = 9;
this.CustomNumericUpDownSSLFragmentSize.Value = new decimal(new int[] {
40,
@@ -447,7 +460,7 @@ private void InitializeComponent()
this.CustomTextBoxHTTPProxy.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.CustomTextBoxHTTPProxy.ForeColor = System.Drawing.Color.White;
this.CustomTextBoxHTTPProxy.HideSelection = true;
- this.CustomTextBoxHTTPProxy.Location = new System.Drawing.Point(324, 110);
+ this.CustomTextBoxHTTPProxy.Location = new System.Drawing.Point(312, 123);
this.CustomTextBoxHTTPProxy.Margin = new System.Windows.Forms.Padding(1);
this.CustomTextBoxHTTPProxy.MaxLength = 32767;
this.CustomTextBoxHTTPProxy.Multiline = false;
@@ -455,7 +468,7 @@ private void InitializeComponent()
this.CustomTextBoxHTTPProxy.ReadOnly = false;
this.CustomTextBoxHTTPProxy.ScrollBars = System.Windows.Forms.ScrollBars.None;
this.CustomTextBoxHTTPProxy.ShortcutsEnabled = true;
- this.CustomTextBoxHTTPProxy.Size = new System.Drawing.Size(215, 23);
+ this.CustomTextBoxHTTPProxy.Size = new System.Drawing.Size(205, 23);
this.CustomTextBoxHTTPProxy.TabIndex = 0;
this.CustomTextBoxHTTPProxy.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.CustomTextBoxHTTPProxy.Texts = "";
@@ -469,7 +482,7 @@ private void InitializeComponent()
this.CustomRadioButtonDPIModeExtreme.BorderColor = System.Drawing.Color.Blue;
this.CustomRadioButtonDPIModeExtreme.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonDPIModeExtreme.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonDPIModeExtreme.Location = new System.Drawing.Point(192, 83);
+ this.CustomRadioButtonDPIModeExtreme.Location = new System.Drawing.Point(196, 95);
this.CustomRadioButtonDPIModeExtreme.Margin = new System.Windows.Forms.Padding(1);
this.CustomRadioButtonDPIModeExtreme.Name = "CustomRadioButtonDPIModeExtreme";
this.CustomRadioButtonDPIModeExtreme.SelectionColor = System.Drawing.Color.LightBlue;
@@ -485,7 +498,7 @@ private void InitializeComponent()
this.CustomRadioButtonDPIModeHigh.BorderColor = System.Drawing.Color.Blue;
this.CustomRadioButtonDPIModeHigh.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonDPIModeHigh.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonDPIModeHigh.Location = new System.Drawing.Point(143, 83);
+ this.CustomRadioButtonDPIModeHigh.Location = new System.Drawing.Point(147, 95);
this.CustomRadioButtonDPIModeHigh.Margin = new System.Windows.Forms.Padding(1);
this.CustomRadioButtonDPIModeHigh.Name = "CustomRadioButtonDPIModeHigh";
this.CustomRadioButtonDPIModeHigh.SelectionColor = System.Drawing.Color.LightBlue;
@@ -501,7 +514,7 @@ private void InitializeComponent()
this.CustomRadioButtonDPIModeMedium.BorderColor = System.Drawing.Color.Blue;
this.CustomRadioButtonDPIModeMedium.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonDPIModeMedium.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonDPIModeMedium.Location = new System.Drawing.Point(75, 83);
+ this.CustomRadioButtonDPIModeMedium.Location = new System.Drawing.Point(79, 95);
this.CustomRadioButtonDPIModeMedium.Margin = new System.Windows.Forms.Padding(1);
this.CustomRadioButtonDPIModeMedium.Name = "CustomRadioButtonDPIModeMedium";
this.CustomRadioButtonDPIModeMedium.SelectionColor = System.Drawing.Color.LightBlue;
@@ -518,7 +531,7 @@ private void InitializeComponent()
this.CustomRadioButtonDPIModeLight.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonDPIModeLight.Checked = true;
this.CustomRadioButtonDPIModeLight.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonDPIModeLight.Location = new System.Drawing.Point(25, 83);
+ this.CustomRadioButtonDPIModeLight.Location = new System.Drawing.Point(25, 95);
this.CustomRadioButtonDPIModeLight.Margin = new System.Windows.Forms.Padding(1);
this.CustomRadioButtonDPIModeLight.Name = "CustomRadioButtonDPIModeLight";
this.CustomRadioButtonDPIModeLight.SelectionColor = System.Drawing.Color.LightBlue;
@@ -537,22 +550,24 @@ private void InitializeComponent()
this.CustomLabelDPIModes.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelDPIModes.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelDPIModes.ForeColor = System.Drawing.Color.White;
- this.CustomLabelDPIModes.Location = new System.Drawing.Point(25, 65);
+ this.CustomLabelDPIModes.Location = new System.Drawing.Point(25, 70);
this.CustomLabelDPIModes.Name = "CustomLabelDPIModes";
this.CustomLabelDPIModes.RoundedCorners = 0;
- this.CustomLabelDPIModes.Size = new System.Drawing.Size(75, 15);
+ this.CustomLabelDPIModes.Size = new System.Drawing.Size(77, 17);
this.CustomLabelDPIModes.TabIndex = 3;
this.CustomLabelDPIModes.Text = "Select mode:";
//
// CustomButtonConnect
//
+ this.CustomButtonConnect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.CustomButtonConnect.AutoSize = true;
this.CustomButtonConnect.BorderColor = System.Drawing.Color.Blue;
this.CustomButtonConnect.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.CustomButtonConnect.Location = new System.Drawing.Point(50, 220);
+ this.CustomButtonConnect.Location = new System.Drawing.Point(40, 303);
this.CustomButtonConnect.Name = "CustomButtonConnect";
this.CustomButtonConnect.RoundedCorners = 0;
this.CustomButtonConnect.SelectionColor = System.Drawing.Color.LightBlue;
- this.CustomButtonConnect.Size = new System.Drawing.Size(120, 23);
+ this.CustomButtonConnect.Size = new System.Drawing.Size(128, 27);
this.CustomButtonConnect.TabIndex = 1;
this.CustomButtonConnect.Text = "Connect/Disconnect";
this.CustomButtonConnect.UseVisualStyleBackColor = true;
@@ -560,19 +575,18 @@ private void InitializeComponent()
//
// CustomTabControlMain
//
- this.CustomTabControlMain.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
this.CustomTabControlMain.BorderColor = System.Drawing.Color.Blue;
this.CustomTabControlMain.Controls.Add(this.TabPageSecureDNS);
this.CustomTabControlMain.Controls.Add(this.TabPageSettings);
this.CustomTabControlMain.Controls.Add(this.TabPageAbout);
+ this.CustomTabControlMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.CustomTabControlMain.HideTabHeader = false;
this.CustomTabControlMain.ItemSize = new System.Drawing.Size(90, 21);
- this.CustomTabControlMain.Location = new System.Drawing.Point(1, 1);
+ this.CustomTabControlMain.Location = new System.Drawing.Point(0, 0);
this.CustomTabControlMain.Margin = new System.Windows.Forms.Padding(0);
this.CustomTabControlMain.Name = "CustomTabControlMain";
this.CustomTabControlMain.SelectedIndex = 0;
- this.CustomTabControlMain.Size = new System.Drawing.Size(700, 313);
+ this.CustomTabControlMain.Size = new System.Drawing.Size(700, 400);
this.CustomTabControlMain.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
this.CustomTabControlMain.TabIndex = 6;
this.CustomTabControlMain.Tag = 0;
@@ -584,7 +598,7 @@ private void InitializeComponent()
this.TabPageSecureDNS.Location = new System.Drawing.Point(4, 25);
this.TabPageSecureDNS.Name = "TabPageSecureDNS";
this.TabPageSecureDNS.Padding = new System.Windows.Forms.Padding(3);
- this.TabPageSecureDNS.Size = new System.Drawing.Size(692, 284);
+ this.TabPageSecureDNS.Size = new System.Drawing.Size(692, 371);
this.TabPageSecureDNS.TabIndex = 0;
this.TabPageSecureDNS.Tag = 0;
this.TabPageSecureDNS.Text = "Secure DNS";
@@ -599,18 +613,18 @@ private void InitializeComponent()
this.CustomTabControlSecureDNS.Controls.Add(this.TabPageDPI);
this.CustomTabControlSecureDNS.Dock = System.Windows.Forms.DockStyle.Fill;
this.CustomTabControlSecureDNS.HideTabHeader = false;
- this.CustomTabControlSecureDNS.ItemSize = new System.Drawing.Size(90, 21);
+ this.CustomTabControlSecureDNS.ItemSize = new System.Drawing.Size(120, 21);
this.CustomTabControlSecureDNS.Location = new System.Drawing.Point(3, 3);
this.CustomTabControlSecureDNS.Name = "CustomTabControlSecureDNS";
this.CustomTabControlSecureDNS.SelectedIndex = 0;
- this.CustomTabControlSecureDNS.Size = new System.Drawing.Size(686, 278);
+ this.CustomTabControlSecureDNS.Size = new System.Drawing.Size(686, 365);
this.CustomTabControlSecureDNS.TabIndex = 0;
this.CustomTabControlSecureDNS.Tag = 3;
//
// TabPageCheck
//
this.TabPageCheck.BackColor = System.Drawing.Color.Transparent;
- this.TabPageCheck.Controls.Add(this.CustomButtonToggleLogView);
+ this.TabPageCheck.Controls.Add(this.CustomLabelCheckPercent);
this.TabPageCheck.Controls.Add(this.CustomButtonConnectAll);
this.TabPageCheck.Controls.Add(this.CustomButtonViewWorkingServers);
this.TabPageCheck.Controls.Add(this.CustomButtonCheck);
@@ -622,34 +636,38 @@ private void InitializeComponent()
this.TabPageCheck.Location = new System.Drawing.Point(4, 25);
this.TabPageCheck.Name = "TabPageCheck";
this.TabPageCheck.Padding = new System.Windows.Forms.Padding(3);
- this.TabPageCheck.Size = new System.Drawing.Size(678, 249);
+ this.TabPageCheck.Size = new System.Drawing.Size(678, 336);
this.TabPageCheck.TabIndex = 0;
this.TabPageCheck.Tag = 0;
this.TabPageCheck.Text = "1. Check";
//
- // CustomButtonToggleLogView
- //
- this.CustomButtonToggleLogView.BorderColor = System.Drawing.Color.Blue;
- this.CustomButtonToggleLogView.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.CustomButtonToggleLogView.Location = new System.Drawing.Point(6, 220);
- this.CustomButtonToggleLogView.Name = "CustomButtonToggleLogView";
- this.CustomButtonToggleLogView.RoundedCorners = 5;
- this.CustomButtonToggleLogView.SelectionColor = System.Drawing.Color.LightBlue;
- this.CustomButtonToggleLogView.Size = new System.Drawing.Size(23, 23);
- this.CustomButtonToggleLogView.TabIndex = 10;
- this.CustomButtonToggleLogView.Text = "T";
- this.CustomButtonToggleLogView.UseVisualStyleBackColor = true;
- this.CustomButtonToggleLogView.Click += new System.EventHandler(this.CustomButtonToggleLogView_Click);
+ // CustomLabelCheckPercent
+ //
+ this.CustomLabelCheckPercent.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.CustomLabelCheckPercent.AutoSize = true;
+ this.CustomLabelCheckPercent.BackColor = System.Drawing.Color.DimGray;
+ this.CustomLabelCheckPercent.Border = false;
+ this.CustomLabelCheckPercent.BorderColor = System.Drawing.Color.Blue;
+ this.CustomLabelCheckPercent.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.CustomLabelCheckPercent.ForeColor = System.Drawing.Color.White;
+ this.CustomLabelCheckPercent.Location = new System.Drawing.Point(415, 309);
+ this.CustomLabelCheckPercent.Name = "CustomLabelCheckPercent";
+ this.CustomLabelCheckPercent.RoundedCorners = 0;
+ this.CustomLabelCheckPercent.Size = new System.Drawing.Size(25, 17);
+ this.CustomLabelCheckPercent.TabIndex = 11;
+ this.CustomLabelCheckPercent.Text = "0%";
//
// CustomButtonConnectAll
//
+ this.CustomButtonConnectAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.CustomButtonConnectAll.AutoSize = true;
this.CustomButtonConnectAll.BorderColor = System.Drawing.Color.Blue;
this.CustomButtonConnectAll.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.CustomButtonConnectAll.Location = new System.Drawing.Point(529, 220);
+ this.CustomButtonConnectAll.Location = new System.Drawing.Point(517, 303);
this.CustomButtonConnectAll.Name = "CustomButtonConnectAll";
this.CustomButtonConnectAll.RoundedCorners = 0;
this.CustomButtonConnectAll.SelectionColor = System.Drawing.Color.LightBlue;
- this.CustomButtonConnectAll.Size = new System.Drawing.Size(145, 23);
+ this.CustomButtonConnectAll.Size = new System.Drawing.Size(158, 27);
this.CustomButtonConnectAll.TabIndex = 9;
this.CustomButtonConnectAll.Text = "Connect all/Disconnect all";
this.CustomButtonConnectAll.UseVisualStyleBackColor = true;
@@ -658,13 +676,15 @@ private void InitializeComponent()
//
// CustomButtonViewWorkingServers
//
+ this.CustomButtonViewWorkingServers.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.CustomButtonViewWorkingServers.AutoSize = true;
this.CustomButtonViewWorkingServers.BorderColor = System.Drawing.Color.Blue;
this.CustomButtonViewWorkingServers.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.CustomButtonViewWorkingServers.Location = new System.Drawing.Point(166, 220);
+ this.CustomButtonViewWorkingServers.Location = new System.Drawing.Point(167, 303);
this.CustomButtonViewWorkingServers.Name = "CustomButtonViewWorkingServers";
this.CustomButtonViewWorkingServers.RoundedCorners = 0;
this.CustomButtonViewWorkingServers.SelectionColor = System.Drawing.Color.LightBlue;
- this.CustomButtonViewWorkingServers.Size = new System.Drawing.Size(120, 23);
+ this.CustomButtonViewWorkingServers.Size = new System.Drawing.Size(129, 27);
this.CustomButtonViewWorkingServers.TabIndex = 8;
this.CustomButtonViewWorkingServers.Text = "View working servers";
this.CustomButtonViewWorkingServers.UseVisualStyleBackColor = true;
@@ -681,7 +701,7 @@ private void InitializeComponent()
this.TabPageConnect.Location = new System.Drawing.Point(4, 25);
this.TabPageConnect.Name = "TabPageConnect";
this.TabPageConnect.Padding = new System.Windows.Forms.Padding(3);
- this.TabPageConnect.Size = new System.Drawing.Size(678, 249);
+ this.TabPageConnect.Size = new System.Drawing.Size(678, 336);
this.TabPageConnect.TabIndex = 1;
this.TabPageConnect.Tag = 1;
this.TabPageConnect.Text = "2. Connect";
@@ -692,7 +712,7 @@ private void InitializeComponent()
this.CustomRadioButtonConnectCloudflare.BorderColor = System.Drawing.Color.Blue;
this.CustomRadioButtonConnectCloudflare.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonConnectCloudflare.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonConnectCloudflare.Location = new System.Drawing.Point(25, 70);
+ this.CustomRadioButtonConnectCloudflare.Location = new System.Drawing.Point(25, 80);
this.CustomRadioButtonConnectCloudflare.Name = "CustomRadioButtonConnectCloudflare";
this.CustomRadioButtonConnectCloudflare.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomRadioButtonConnectCloudflare.Size = new System.Drawing.Size(168, 17);
@@ -707,7 +727,7 @@ private void InitializeComponent()
this.CustomRadioButtonConnectCheckedServers.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonConnectCheckedServers.Checked = true;
this.CustomRadioButtonConnectCheckedServers.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonConnectCheckedServers.Location = new System.Drawing.Point(25, 30);
+ this.CustomRadioButtonConnectCheckedServers.Location = new System.Drawing.Point(25, 35);
this.CustomRadioButtonConnectCheckedServers.Name = "CustomRadioButtonConnectCheckedServers";
this.CustomRadioButtonConnectCheckedServers.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomRadioButtonConnectCheckedServers.Size = new System.Drawing.Size(169, 17);
@@ -722,7 +742,7 @@ private void InitializeComponent()
this.CustomRadioButtonConnectDNSCrypt.BorderColor = System.Drawing.Color.Blue;
this.CustomRadioButtonConnectDNSCrypt.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonConnectDNSCrypt.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonConnectDNSCrypt.Location = new System.Drawing.Point(25, 110);
+ this.CustomRadioButtonConnectDNSCrypt.Location = new System.Drawing.Point(25, 125);
this.CustomRadioButtonConnectDNSCrypt.Name = "CustomRadioButtonConnectDNSCrypt";
this.CustomRadioButtonConnectDNSCrypt.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomRadioButtonConnectDNSCrypt.Size = new System.Drawing.Size(283, 17);
@@ -741,20 +761,22 @@ private void InitializeComponent()
this.TabPageSetDNS.Location = new System.Drawing.Point(4, 25);
this.TabPageSetDNS.Name = "TabPageSetDNS";
this.TabPageSetDNS.Padding = new System.Windows.Forms.Padding(3);
- this.TabPageSetDNS.Size = new System.Drawing.Size(678, 249);
+ this.TabPageSetDNS.Size = new System.Drawing.Size(678, 336);
this.TabPageSetDNS.TabIndex = 3;
this.TabPageSetDNS.Tag = 2;
this.TabPageSetDNS.Text = "3. Set DNS";
//
// CustomButtonSetDNS
//
+ this.CustomButtonSetDNS.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.CustomButtonSetDNS.AutoSize = true;
this.CustomButtonSetDNS.BorderColor = System.Drawing.Color.Blue;
this.CustomButtonSetDNS.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.CustomButtonSetDNS.Location = new System.Drawing.Point(50, 220);
+ this.CustomButtonSetDNS.Location = new System.Drawing.Point(40, 303);
this.CustomButtonSetDNS.Name = "CustomButtonSetDNS";
this.CustomButtonSetDNS.RoundedCorners = 0;
this.CustomButtonSetDNS.SelectionColor = System.Drawing.Color.LightBlue;
- this.CustomButtonSetDNS.Size = new System.Drawing.Size(75, 23);
+ this.CustomButtonSetDNS.Size = new System.Drawing.Size(71, 27);
this.CustomButtonSetDNS.TabIndex = 3;
this.CustomButtonSetDNS.Text = "Set/Unset";
this.CustomButtonSetDNS.UseVisualStyleBackColor = true;
@@ -768,7 +790,7 @@ private void InitializeComponent()
this.CustomLabelSelectNIC.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelSelectNIC.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelSelectNIC.ForeColor = System.Drawing.Color.White;
- this.CustomLabelSelectNIC.Location = new System.Drawing.Point(25, 20);
+ this.CustomLabelSelectNIC.Location = new System.Drawing.Point(25, 25);
this.CustomLabelSelectNIC.Name = "CustomLabelSelectNIC";
this.CustomLabelSelectNIC.RoundedCorners = 0;
this.CustomLabelSelectNIC.Size = new System.Drawing.Size(135, 15);
@@ -783,7 +805,7 @@ private void InitializeComponent()
this.CustomLabelSetDNSInfo.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelSetDNSInfo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelSetDNSInfo.ForeColor = System.Drawing.Color.White;
- this.CustomLabelSetDNSInfo.Location = new System.Drawing.Point(25, 91);
+ this.CustomLabelSetDNSInfo.Location = new System.Drawing.Point(25, 100);
this.CustomLabelSetDNSInfo.Name = "CustomLabelSetDNSInfo";
this.CustomLabelSetDNSInfo.RoundedCorners = 0;
this.CustomLabelSetDNSInfo.Size = new System.Drawing.Size(220, 45);
@@ -799,15 +821,17 @@ private void InitializeComponent()
this.CustomComboBoxNICs.ForeColor = System.Drawing.Color.White;
this.CustomComboBoxNICs.FormattingEnabled = true;
this.CustomComboBoxNICs.ItemHeight = 17;
- this.CustomComboBoxNICs.Location = new System.Drawing.Point(25, 49);
+ this.CustomComboBoxNICs.Location = new System.Drawing.Point(25, 55);
this.CustomComboBoxNICs.Name = "CustomComboBoxNICs";
this.CustomComboBoxNICs.SelectionColor = System.Drawing.Color.DodgerBlue;
- this.CustomComboBoxNICs.Size = new System.Drawing.Size(180, 23);
+ this.CustomComboBoxNICs.Size = new System.Drawing.Size(171, 23);
this.CustomComboBoxNICs.TabIndex = 1;
//
// TabPageShare
//
this.TabPageShare.BackColor = System.Drawing.Color.Transparent;
+ this.TabPageShare.Controls.Add(this.CustomNumericUpDownHTTPProxyHandleRequests);
+ this.TabPageShare.Controls.Add(this.CustomLabelHTTPProxyHandleRequests);
this.TabPageShare.Controls.Add(this.CustomCheckBoxHTTPProxyEventShowChunkDetails);
this.TabPageShare.Controls.Add(this.CustomButtonPDpiApplyChanges);
this.TabPageShare.Controls.Add(this.CustomNumericUpDownPDpiFragDelay);
@@ -831,18 +855,58 @@ private void InitializeComponent()
this.TabPageShare.Location = new System.Drawing.Point(4, 25);
this.TabPageShare.Name = "TabPageShare";
this.TabPageShare.Padding = new System.Windows.Forms.Padding(3);
- this.TabPageShare.Size = new System.Drawing.Size(678, 249);
+ this.TabPageShare.Size = new System.Drawing.Size(678, 336);
this.TabPageShare.TabIndex = 4;
this.TabPageShare.Tag = 3;
this.TabPageShare.Text = "4. Share + Bypass DPI";
//
+ // CustomNumericUpDownHTTPProxyHandleRequests
+ //
+ this.CustomNumericUpDownHTTPProxyHandleRequests.BackColor = System.Drawing.Color.DimGray;
+ this.CustomNumericUpDownHTTPProxyHandleRequests.BorderColor = System.Drawing.Color.Blue;
+ this.CustomNumericUpDownHTTPProxyHandleRequests.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.CustomNumericUpDownHTTPProxyHandleRequests.Location = new System.Drawing.Point(300, 53);
+ this.CustomNumericUpDownHTTPProxyHandleRequests.Maximum = new decimal(new int[] {
+ 50000,
+ 0,
+ 0,
+ 0});
+ this.CustomNumericUpDownHTTPProxyHandleRequests.Minimum = new decimal(new int[] {
+ 200,
+ 0,
+ 0,
+ 0});
+ this.CustomNumericUpDownHTTPProxyHandleRequests.Name = "CustomNumericUpDownHTTPProxyHandleRequests";
+ this.CustomNumericUpDownHTTPProxyHandleRequests.Size = new System.Drawing.Size(53, 23);
+ this.CustomNumericUpDownHTTPProxyHandleRequests.TabIndex = 40;
+ this.CustomNumericUpDownHTTPProxyHandleRequests.Value = new decimal(new int[] {
+ 2000,
+ 0,
+ 0,
+ 0});
+ //
+ // CustomLabelHTTPProxyHandleRequests
+ //
+ this.CustomLabelHTTPProxyHandleRequests.AutoSize = true;
+ this.CustomLabelHTTPProxyHandleRequests.BackColor = System.Drawing.Color.DimGray;
+ this.CustomLabelHTTPProxyHandleRequests.Border = false;
+ this.CustomLabelHTTPProxyHandleRequests.BorderColor = System.Drawing.Color.Blue;
+ this.CustomLabelHTTPProxyHandleRequests.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.CustomLabelHTTPProxyHandleRequests.ForeColor = System.Drawing.Color.White;
+ this.CustomLabelHTTPProxyHandleRequests.Location = new System.Drawing.Point(200, 55);
+ this.CustomLabelHTTPProxyHandleRequests.Name = "CustomLabelHTTPProxyHandleRequests";
+ this.CustomLabelHTTPProxyHandleRequests.RoundedCorners = 0;
+ this.CustomLabelHTTPProxyHandleRequests.Size = new System.Drawing.Size(97, 17);
+ this.CustomLabelHTTPProxyHandleRequests.TabIndex = 39;
+ this.CustomLabelHTTPProxyHandleRequests.Text = "Handle requests:";
+ //
// CustomCheckBoxHTTPProxyEventShowChunkDetails
//
this.CustomCheckBoxHTTPProxyEventShowChunkDetails.BackColor = System.Drawing.Color.DimGray;
this.CustomCheckBoxHTTPProxyEventShowChunkDetails.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxHTTPProxyEventShowChunkDetails.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxHTTPProxyEventShowChunkDetails.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxHTTPProxyEventShowChunkDetails.Location = new System.Drawing.Point(480, 50);
+ this.CustomCheckBoxHTTPProxyEventShowChunkDetails.Location = new System.Drawing.Point(455, 55);
this.CustomCheckBoxHTTPProxyEventShowChunkDetails.Name = "CustomCheckBoxHTTPProxyEventShowChunkDetails";
this.CustomCheckBoxHTTPProxyEventShowChunkDetails.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxHTTPProxyEventShowChunkDetails.Size = new System.Drawing.Size(161, 17);
@@ -852,13 +916,15 @@ private void InitializeComponent()
//
// CustomButtonPDpiApplyChanges
//
+ this.CustomButtonPDpiApplyChanges.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.CustomButtonPDpiApplyChanges.AutoSize = true;
this.CustomButtonPDpiApplyChanges.BorderColor = System.Drawing.Color.Blue;
this.CustomButtonPDpiApplyChanges.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.CustomButtonPDpiApplyChanges.Location = new System.Drawing.Point(272, 220);
+ this.CustomButtonPDpiApplyChanges.Location = new System.Drawing.Point(249, 303);
this.CustomButtonPDpiApplyChanges.Name = "CustomButtonPDpiApplyChanges";
this.CustomButtonPDpiApplyChanges.RoundedCorners = 0;
this.CustomButtonPDpiApplyChanges.SelectionColor = System.Drawing.Color.LightBlue;
- this.CustomButtonPDpiApplyChanges.Size = new System.Drawing.Size(150, 23);
+ this.CustomButtonPDpiApplyChanges.Size = new System.Drawing.Size(157, 27);
this.CustomButtonPDpiApplyChanges.TabIndex = 37;
this.CustomButtonPDpiApplyChanges.Text = "Apply DPI bypass changes";
this.CustomButtonPDpiApplyChanges.UseVisualStyleBackColor = true;
@@ -869,9 +935,9 @@ private void InitializeComponent()
this.CustomNumericUpDownPDpiFragDelay.BackColor = System.Drawing.Color.DimGray;
this.CustomNumericUpDownPDpiFragDelay.BorderColor = System.Drawing.Color.Blue;
this.CustomNumericUpDownPDpiFragDelay.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.CustomNumericUpDownPDpiFragDelay.Location = new System.Drawing.Point(377, 183);
+ this.CustomNumericUpDownPDpiFragDelay.Location = new System.Drawing.Point(363, 218);
this.CustomNumericUpDownPDpiFragDelay.Name = "CustomNumericUpDownPDpiFragDelay";
- this.CustomNumericUpDownPDpiFragDelay.Size = new System.Drawing.Size(45, 23);
+ this.CustomNumericUpDownPDpiFragDelay.Size = new System.Drawing.Size(43, 23);
this.CustomNumericUpDownPDpiFragDelay.TabIndex = 36;
//
// CustomLabelPDpiFragDelay
@@ -882,7 +948,7 @@ private void InitializeComponent()
this.CustomLabelPDpiFragDelay.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelPDpiFragDelay.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelPDpiFragDelay.ForeColor = System.Drawing.Color.White;
- this.CustomLabelPDpiFragDelay.Location = new System.Drawing.Point(250, 185);
+ this.CustomLabelPDpiFragDelay.Location = new System.Drawing.Point(240, 220);
this.CustomLabelPDpiFragDelay.Name = "CustomLabelPDpiFragDelay";
this.CustomLabelPDpiFragDelay.RoundedCorners = 0;
this.CustomLabelPDpiFragDelay.Size = new System.Drawing.Size(121, 17);
@@ -895,7 +961,7 @@ private void InitializeComponent()
this.CustomCheckBoxPDpiDontChunkBigData.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxPDpiDontChunkBigData.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxPDpiDontChunkBigData.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxPDpiDontChunkBigData.Location = new System.Drawing.Point(54, 185);
+ this.CustomCheckBoxPDpiDontChunkBigData.Location = new System.Drawing.Point(50, 220);
this.CustomCheckBoxPDpiDontChunkBigData.Name = "CustomCheckBoxPDpiDontChunkBigData";
this.CustomCheckBoxPDpiDontChunkBigData.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxPDpiDontChunkBigData.Size = new System.Drawing.Size(182, 17);
@@ -909,7 +975,7 @@ private void InitializeComponent()
this.CustomCheckBoxPDpiFragModeRandom.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxPDpiFragModeRandom.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxPDpiFragModeRandom.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxPDpiFragModeRandom.Location = new System.Drawing.Point(298, 150);
+ this.CustomCheckBoxPDpiFragModeRandom.Location = new System.Drawing.Point(285, 180);
this.CustomCheckBoxPDpiFragModeRandom.Name = "CustomCheckBoxPDpiFragModeRandom";
this.CustomCheckBoxPDpiFragModeRandom.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxPDpiFragModeRandom.Size = new System.Drawing.Size(101, 17);
@@ -919,13 +985,15 @@ private void InitializeComponent()
//
// CustomButtonSetProxy
//
+ this.CustomButtonSetProxy.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.CustomButtonSetProxy.AutoSize = true;
this.CustomButtonSetProxy.BorderColor = System.Drawing.Color.Blue;
this.CustomButtonSetProxy.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.CustomButtonSetProxy.Location = new System.Drawing.Point(151, 220);
+ this.CustomButtonSetProxy.Location = new System.Drawing.Point(143, 303);
this.CustomButtonSetProxy.Name = "CustomButtonSetProxy";
this.CustomButtonSetProxy.RoundedCorners = 0;
this.CustomButtonSetProxy.SelectionColor = System.Drawing.Color.LightBlue;
- this.CustomButtonSetProxy.Size = new System.Drawing.Size(75, 23);
+ this.CustomButtonSetProxy.Size = new System.Drawing.Size(71, 27);
this.CustomButtonSetProxy.TabIndex = 32;
this.CustomButtonSetProxy.Text = "Set/Unset";
this.CustomButtonSetProxy.UseVisualStyleBackColor = true;
@@ -936,7 +1004,7 @@ private void InitializeComponent()
this.CustomNumericUpDownPDpiDataLength.BackColor = System.Drawing.Color.DimGray;
this.CustomNumericUpDownPDpiDataLength.BorderColor = System.Drawing.Color.Blue;
this.CustomNumericUpDownPDpiDataLength.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.CustomNumericUpDownPDpiDataLength.Location = new System.Drawing.Point(165, 113);
+ this.CustomNumericUpDownPDpiDataLength.Location = new System.Drawing.Point(159, 138);
this.CustomNumericUpDownPDpiDataLength.Maximum = new decimal(new int[] {
65536,
0,
@@ -948,7 +1016,7 @@ private void InitializeComponent()
0,
0});
this.CustomNumericUpDownPDpiDataLength.Name = "CustomNumericUpDownPDpiDataLength";
- this.CustomNumericUpDownPDpiDataLength.Size = new System.Drawing.Size(55, 23);
+ this.CustomNumericUpDownPDpiDataLength.Size = new System.Drawing.Size(53, 23);
this.CustomNumericUpDownPDpiDataLength.TabIndex = 31;
this.CustomNumericUpDownPDpiDataLength.Value = new decimal(new int[] {
60,
@@ -964,7 +1032,7 @@ private void InitializeComponent()
this.CustomLabelPDpiDpiInfo1.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelPDpiDpiInfo1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelPDpiDpiInfo1.ForeColor = System.Drawing.Color.White;
- this.CustomLabelPDpiDpiInfo1.Location = new System.Drawing.Point(50, 115);
+ this.CustomLabelPDpiDpiInfo1.Location = new System.Drawing.Point(50, 140);
this.CustomLabelPDpiDpiInfo1.Name = "CustomLabelPDpiDpiInfo1";
this.CustomLabelPDpiDpiInfo1.RoundedCorners = 0;
this.CustomLabelPDpiDpiInfo1.Size = new System.Drawing.Size(109, 17);
@@ -976,7 +1044,7 @@ private void InitializeComponent()
this.CustomNumericUpDownPDpiFragmentSize.BackColor = System.Drawing.Color.DimGray;
this.CustomNumericUpDownPDpiFragmentSize.BorderColor = System.Drawing.Color.Blue;
this.CustomNumericUpDownPDpiFragmentSize.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.CustomNumericUpDownPDpiFragmentSize.Location = new System.Drawing.Point(344, 113);
+ this.CustomNumericUpDownPDpiFragmentSize.Location = new System.Drawing.Point(333, 138);
this.CustomNumericUpDownPDpiFragmentSize.Maximum = new decimal(new int[] {
65536,
0,
@@ -988,7 +1056,7 @@ private void InitializeComponent()
0,
0});
this.CustomNumericUpDownPDpiFragmentSize.Name = "CustomNumericUpDownPDpiFragmentSize";
- this.CustomNumericUpDownPDpiFragmentSize.Size = new System.Drawing.Size(55, 23);
+ this.CustomNumericUpDownPDpiFragmentSize.Size = new System.Drawing.Size(53, 23);
this.CustomNumericUpDownPDpiFragmentSize.TabIndex = 28;
this.CustomNumericUpDownPDpiFragmentSize.Value = new decimal(new int[] {
2,
@@ -1004,7 +1072,7 @@ private void InitializeComponent()
this.CustomLabelPDpiDpiInfo2.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelPDpiDpiInfo2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelPDpiDpiInfo2.ForeColor = System.Drawing.Color.White;
- this.CustomLabelPDpiDpiInfo2.Location = new System.Drawing.Point(226, 115);
+ this.CustomLabelPDpiDpiInfo2.Location = new System.Drawing.Point(218, 140);
this.CustomLabelPDpiDpiInfo2.Name = "CustomLabelPDpiDpiInfo2";
this.CustomLabelPDpiDpiInfo2.RoundedCorners = 0;
this.CustomLabelPDpiDpiInfo2.Size = new System.Drawing.Size(112, 17);
@@ -1018,10 +1086,10 @@ private void InitializeComponent()
this.CustomLabelShareSeparator1.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelShareSeparator1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelShareSeparator1.ForeColor = System.Drawing.Color.White;
- this.CustomLabelShareSeparator1.Location = new System.Drawing.Point(20, 80);
+ this.CustomLabelShareSeparator1.Location = new System.Drawing.Point(20, 89);
this.CustomLabelShareSeparator1.Name = "CustomLabelShareSeparator1";
this.CustomLabelShareSeparator1.RoundedCorners = 0;
- this.CustomLabelShareSeparator1.Size = new System.Drawing.Size(640, 1);
+ this.CustomLabelShareSeparator1.Size = new System.Drawing.Size(609, 1);
this.CustomLabelShareSeparator1.TabIndex = 24;
//
// CustomCheckBoxHTTPProxyEventShowRequest
@@ -1030,7 +1098,7 @@ private void InitializeComponent()
this.CustomCheckBoxHTTPProxyEventShowRequest.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxHTTPProxyEventShowRequest.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxHTTPProxyEventShowRequest.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxHTTPProxyEventShowRequest.Location = new System.Drawing.Point(320, 50);
+ this.CustomCheckBoxHTTPProxyEventShowRequest.Location = new System.Drawing.Point(455, 30);
this.CustomCheckBoxHTTPProxyEventShowRequest.Name = "CustomCheckBoxHTTPProxyEventShowRequest";
this.CustomCheckBoxHTTPProxyEventShowRequest.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxHTTPProxyEventShowRequest.Size = new System.Drawing.Size(135, 17);
@@ -1043,7 +1111,7 @@ private void InitializeComponent()
this.CustomNumericUpDownPDpiFragmentChunks.BackColor = System.Drawing.Color.DimGray;
this.CustomNumericUpDownPDpiFragmentChunks.BorderColor = System.Drawing.Color.Blue;
this.CustomNumericUpDownPDpiFragmentChunks.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.CustomNumericUpDownPDpiFragmentChunks.Location = new System.Drawing.Point(220, 148);
+ this.CustomNumericUpDownPDpiFragmentChunks.Location = new System.Drawing.Point(218, 178);
this.CustomNumericUpDownPDpiFragmentChunks.Maximum = new decimal(new int[] {
500,
0,
@@ -1055,7 +1123,7 @@ private void InitializeComponent()
0,
0});
this.CustomNumericUpDownPDpiFragmentChunks.Name = "CustomNumericUpDownPDpiFragmentChunks";
- this.CustomNumericUpDownPDpiFragmentChunks.Size = new System.Drawing.Size(50, 23);
+ this.CustomNumericUpDownPDpiFragmentChunks.Size = new System.Drawing.Size(47, 23);
this.CustomNumericUpDownPDpiFragmentChunks.TabIndex = 19;
this.CustomNumericUpDownPDpiFragmentChunks.Value = new decimal(new int[] {
60,
@@ -1071,7 +1139,7 @@ private void InitializeComponent()
this.CustomLabelPDpiDpiInfo3.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelPDpiDpiInfo3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelPDpiDpiInfo3.ForeColor = System.Drawing.Color.White;
- this.CustomLabelPDpiDpiInfo3.Location = new System.Drawing.Point(50, 150);
+ this.CustomLabelPDpiDpiInfo3.Location = new System.Drawing.Point(50, 180);
this.CustomLabelPDpiDpiInfo3.Name = "CustomLabelPDpiDpiInfo3";
this.CustomLabelPDpiDpiInfo3.RoundedCorners = 0;
this.CustomLabelPDpiDpiInfo3.Size = new System.Drawing.Size(164, 17);
@@ -1086,7 +1154,7 @@ private void InitializeComponent()
this.CustomCheckBoxPDpiEnableDpiBypass.Checked = true;
this.CustomCheckBoxPDpiEnableDpiBypass.CheckState = System.Windows.Forms.CheckState.Checked;
this.CustomCheckBoxPDpiEnableDpiBypass.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxPDpiEnableDpiBypass.Location = new System.Drawing.Point(25, 90);
+ this.CustomCheckBoxPDpiEnableDpiBypass.Location = new System.Drawing.Point(25, 110);
this.CustomCheckBoxPDpiEnableDpiBypass.Name = "CustomCheckBoxPDpiEnableDpiBypass";
this.CustomCheckBoxPDpiEnableDpiBypass.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxPDpiEnableDpiBypass.Size = new System.Drawing.Size(120, 17);
@@ -1096,13 +1164,15 @@ private void InitializeComponent()
//
// CustomButtonShare
//
+ this.CustomButtonShare.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.CustomButtonShare.AutoSize = true;
this.CustomButtonShare.BorderColor = System.Drawing.Color.Blue;
this.CustomButtonShare.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.CustomButtonShare.Location = new System.Drawing.Point(50, 220);
+ this.CustomButtonShare.Location = new System.Drawing.Point(40, 303);
this.CustomButtonShare.Name = "CustomButtonShare";
this.CustomButtonShare.RoundedCorners = 0;
this.CustomButtonShare.SelectionColor = System.Drawing.Color.LightBlue;
- this.CustomButtonShare.Size = new System.Drawing.Size(95, 23);
+ this.CustomButtonShare.Size = new System.Drawing.Size(97, 27);
this.CustomButtonShare.TabIndex = 16;
this.CustomButtonShare.Text = "Enable/Disable";
this.CustomButtonShare.UseVisualStyleBackColor = true;
@@ -1116,7 +1186,7 @@ private void InitializeComponent()
this.CustomLabelHTTPProxyPort.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelHTTPProxyPort.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelHTTPProxyPort.ForeColor = System.Drawing.Color.White;
- this.CustomLabelHTTPProxyPort.Location = new System.Drawing.Point(25, 50);
+ this.CustomLabelHTTPProxyPort.Location = new System.Drawing.Point(25, 55);
this.CustomLabelHTTPProxyPort.Name = "CustomLabelHTTPProxyPort";
this.CustomLabelHTTPProxyPort.RoundedCorners = 0;
this.CustomLabelHTTPProxyPort.Size = new System.Drawing.Size(101, 17);
@@ -1144,7 +1214,7 @@ private void InitializeComponent()
this.CustomNumericUpDownHTTPProxyPort.BackColor = System.Drawing.Color.DimGray;
this.CustomNumericUpDownHTTPProxyPort.BorderColor = System.Drawing.Color.Blue;
this.CustomNumericUpDownHTTPProxyPort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.CustomNumericUpDownHTTPProxyPort.Location = new System.Drawing.Point(132, 48);
+ this.CustomNumericUpDownHTTPProxyPort.Location = new System.Drawing.Point(130, 53);
this.CustomNumericUpDownHTTPProxyPort.Maximum = new decimal(new int[] {
65535,
0,
@@ -1156,7 +1226,7 @@ private void InitializeComponent()
0,
0});
this.CustomNumericUpDownHTTPProxyPort.Name = "CustomNumericUpDownHTTPProxyPort";
- this.CustomNumericUpDownHTTPProxyPort.Size = new System.Drawing.Size(55, 23);
+ this.CustomNumericUpDownHTTPProxyPort.Size = new System.Drawing.Size(53, 23);
this.CustomNumericUpDownHTTPProxyPort.TabIndex = 12;
this.CustomNumericUpDownHTTPProxyPort.Value = new decimal(new int[] {
8080,
@@ -1171,7 +1241,7 @@ private void InitializeComponent()
this.TabPageDPI.Location = new System.Drawing.Point(4, 25);
this.TabPageDPI.Name = "TabPageDPI";
this.TabPageDPI.Padding = new System.Windows.Forms.Padding(3);
- this.TabPageDPI.Size = new System.Drawing.Size(678, 249);
+ this.TabPageDPI.Size = new System.Drawing.Size(678, 336);
this.TabPageDPI.TabIndex = 2;
this.TabPageDPI.Tag = 4;
this.TabPageDPI.Text = "5. GoodbyeDPI";
@@ -1187,10 +1257,10 @@ private void InitializeComponent()
this.CustomTabControlDPIBasicAdvanced.Location = new System.Drawing.Point(3, 3);
this.CustomTabControlDPIBasicAdvanced.Name = "CustomTabControlDPIBasicAdvanced";
this.CustomTabControlDPIBasicAdvanced.SelectedIndex = 0;
- this.CustomTabControlDPIBasicAdvanced.Size = new System.Drawing.Size(672, 243);
+ this.CustomTabControlDPIBasicAdvanced.Size = new System.Drawing.Size(672, 330);
this.CustomTabControlDPIBasicAdvanced.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
this.CustomTabControlDPIBasicAdvanced.TabIndex = 13;
- this.CustomTabControlDPIBasicAdvanced.Tag = 0;
+ this.CustomTabControlDPIBasicAdvanced.Tag = 1;
//
// TabPageDPIBasic
//
@@ -1215,7 +1285,7 @@ private void InitializeComponent()
this.TabPageDPIBasic.Location = new System.Drawing.Point(4, 25);
this.TabPageDPIBasic.Name = "TabPageDPIBasic";
this.TabPageDPIBasic.Padding = new System.Windows.Forms.Padding(3);
- this.TabPageDPIBasic.Size = new System.Drawing.Size(664, 214);
+ this.TabPageDPIBasic.Size = new System.Drawing.Size(664, 301);
this.TabPageDPIBasic.TabIndex = 0;
this.TabPageDPIBasic.Tag = 0;
this.TabPageDPIBasic.Text = "Basic";
@@ -1232,7 +1302,7 @@ private void InitializeComponent()
this.CustomLabelInfoDPIModes.Location = new System.Drawing.Point(25, 15);
this.CustomLabelInfoDPIModes.Name = "CustomLabelInfoDPIModes";
this.CustomLabelInfoDPIModes.RoundedCorners = 0;
- this.CustomLabelInfoDPIModes.Size = new System.Drawing.Size(147, 38);
+ this.CustomLabelInfoDPIModes.Size = new System.Drawing.Size(149, 40);
this.CustomLabelInfoDPIModes.TabIndex = 20;
this.CustomLabelInfoDPIModes.Text = "Light: MTN-AST-ASK\r\nMedium: MCI-SHT";
//
@@ -1242,7 +1312,7 @@ private void InitializeComponent()
this.CustomRadioButtonDPIMode6.BorderColor = System.Drawing.Color.Blue;
this.CustomRadioButtonDPIMode6.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonDPIMode6.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonDPIMode6.Location = new System.Drawing.Point(368, 140);
+ this.CustomRadioButtonDPIMode6.Location = new System.Drawing.Point(370, 155);
this.CustomRadioButtonDPIMode6.Name = "CustomRadioButtonDPIMode6";
this.CustomRadioButtonDPIMode6.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomRadioButtonDPIMode6.Size = new System.Drawing.Size(63, 17);
@@ -1256,7 +1326,7 @@ private void InitializeComponent()
this.CustomRadioButtonDPIMode5.BorderColor = System.Drawing.Color.Blue;
this.CustomRadioButtonDPIMode5.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonDPIMode5.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonDPIMode5.Location = new System.Drawing.Point(299, 140);
+ this.CustomRadioButtonDPIMode5.Location = new System.Drawing.Point(301, 155);
this.CustomRadioButtonDPIMode5.Name = "CustomRadioButtonDPIMode5";
this.CustomRadioButtonDPIMode5.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomRadioButtonDPIMode5.Size = new System.Drawing.Size(63, 17);
@@ -1270,7 +1340,7 @@ private void InitializeComponent()
this.CustomRadioButtonDPIMode4.BorderColor = System.Drawing.Color.Blue;
this.CustomRadioButtonDPIMode4.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonDPIMode4.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonDPIMode4.Location = new System.Drawing.Point(230, 140);
+ this.CustomRadioButtonDPIMode4.Location = new System.Drawing.Point(232, 155);
this.CustomRadioButtonDPIMode4.Name = "CustomRadioButtonDPIMode4";
this.CustomRadioButtonDPIMode4.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomRadioButtonDPIMode4.Size = new System.Drawing.Size(63, 17);
@@ -1284,7 +1354,7 @@ private void InitializeComponent()
this.CustomRadioButtonDPIMode3.BorderColor = System.Drawing.Color.Blue;
this.CustomRadioButtonDPIMode3.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonDPIMode3.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonDPIMode3.Location = new System.Drawing.Point(161, 140);
+ this.CustomRadioButtonDPIMode3.Location = new System.Drawing.Point(163, 155);
this.CustomRadioButtonDPIMode3.Name = "CustomRadioButtonDPIMode3";
this.CustomRadioButtonDPIMode3.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomRadioButtonDPIMode3.Size = new System.Drawing.Size(63, 17);
@@ -1300,10 +1370,10 @@ private void InitializeComponent()
this.CustomLabelDPIModesGoodbyeDPI.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelDPIModesGoodbyeDPI.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelDPIModesGoodbyeDPI.ForeColor = System.Drawing.Color.White;
- this.CustomLabelDPIModesGoodbyeDPI.Location = new System.Drawing.Point(25, 120);
+ this.CustomLabelDPIModesGoodbyeDPI.Location = new System.Drawing.Point(25, 130);
this.CustomLabelDPIModesGoodbyeDPI.Name = "CustomLabelDPIModesGoodbyeDPI";
this.CustomLabelDPIModesGoodbyeDPI.RoundedCorners = 0;
- this.CustomLabelDPIModesGoodbyeDPI.Size = new System.Drawing.Size(118, 15);
+ this.CustomLabelDPIModesGoodbyeDPI.Size = new System.Drawing.Size(120, 17);
this.CustomLabelDPIModesGoodbyeDPI.TabIndex = 15;
this.CustomLabelDPIModesGoodbyeDPI.Text = "Goodbye DPI modes:";
//
@@ -1313,7 +1383,7 @@ private void InitializeComponent()
this.CustomRadioButtonDPIMode2.BorderColor = System.Drawing.Color.Blue;
this.CustomRadioButtonDPIMode2.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonDPIMode2.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonDPIMode2.Location = new System.Drawing.Point(92, 140);
+ this.CustomRadioButtonDPIMode2.Location = new System.Drawing.Point(94, 155);
this.CustomRadioButtonDPIMode2.Name = "CustomRadioButtonDPIMode2";
this.CustomRadioButtonDPIMode2.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomRadioButtonDPIMode2.Size = new System.Drawing.Size(63, 17);
@@ -1327,7 +1397,7 @@ private void InitializeComponent()
this.CustomRadioButtonDPIMode1.BorderColor = System.Drawing.Color.Blue;
this.CustomRadioButtonDPIMode1.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonDPIMode1.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonDPIMode1.Location = new System.Drawing.Point(25, 140);
+ this.CustomRadioButtonDPIMode1.Location = new System.Drawing.Point(25, 155);
this.CustomRadioButtonDPIMode1.Name = "CustomRadioButtonDPIMode1";
this.CustomRadioButtonDPIMode1.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomRadioButtonDPIMode1.Size = new System.Drawing.Size(63, 17);
@@ -1337,13 +1407,15 @@ private void InitializeComponent()
//
// CustomButtonDPIBasicDeactivate
//
+ this.CustomButtonDPIBasicDeactivate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.CustomButtonDPIBasicDeactivate.AutoSize = true;
this.CustomButtonDPIBasicDeactivate.BorderColor = System.Drawing.Color.Blue;
this.CustomButtonDPIBasicDeactivate.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.CustomButtonDPIBasicDeactivate.Location = new System.Drawing.Point(166, 185);
+ this.CustomButtonDPIBasicDeactivate.Location = new System.Drawing.Point(172, 268);
this.CustomButtonDPIBasicDeactivate.Name = "CustomButtonDPIBasicDeactivate";
this.CustomButtonDPIBasicDeactivate.RoundedCorners = 0;
this.CustomButtonDPIBasicDeactivate.SelectionColor = System.Drawing.Color.LightBlue;
- this.CustomButtonDPIBasicDeactivate.Size = new System.Drawing.Size(75, 23);
+ this.CustomButtonDPIBasicDeactivate.Size = new System.Drawing.Size(74, 27);
this.CustomButtonDPIBasicDeactivate.TabIndex = 12;
this.CustomButtonDPIBasicDeactivate.Text = "Deactivate";
this.CustomButtonDPIBasicDeactivate.UseVisualStyleBackColor = true;
@@ -1351,13 +1423,15 @@ private void InitializeComponent()
//
// CustomButtonDPIBasicActivate
//
+ this.CustomButtonDPIBasicActivate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.CustomButtonDPIBasicActivate.AutoSize = true;
this.CustomButtonDPIBasicActivate.BorderColor = System.Drawing.Color.Blue;
this.CustomButtonDPIBasicActivate.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.CustomButtonDPIBasicActivate.Location = new System.Drawing.Point(50, 185);
+ this.CustomButtonDPIBasicActivate.Location = new System.Drawing.Point(45, 268);
this.CustomButtonDPIBasicActivate.Name = "CustomButtonDPIBasicActivate";
this.CustomButtonDPIBasicActivate.RoundedCorners = 0;
this.CustomButtonDPIBasicActivate.SelectionColor = System.Drawing.Color.LightBlue;
- this.CustomButtonDPIBasicActivate.Size = new System.Drawing.Size(110, 23);
+ this.CustomButtonDPIBasicActivate.Size = new System.Drawing.Size(121, 27);
this.CustomButtonDPIBasicActivate.TabIndex = 11;
this.CustomButtonDPIBasicActivate.Text = "Activate/Reactivate";
this.CustomButtonDPIBasicActivate.UseVisualStyleBackColor = true;
@@ -1403,7 +1477,7 @@ private void InitializeComponent()
this.TabPageDPIAdvanced.Location = new System.Drawing.Point(4, 25);
this.TabPageDPIAdvanced.Name = "TabPageDPIAdvanced";
this.TabPageDPIAdvanced.Padding = new System.Windows.Forms.Padding(3);
- this.TabPageDPIAdvanced.Size = new System.Drawing.Size(664, 214);
+ this.TabPageDPIAdvanced.Size = new System.Drawing.Size(664, 301);
this.TabPageDPIAdvanced.TabIndex = 1;
this.TabPageDPIAdvanced.Tag = 1;
this.TabPageDPIAdvanced.Text = "Advanced";
@@ -1420,14 +1494,14 @@ private void InitializeComponent()
this.CustomTextBoxDPIAdvAutoTTL.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.CustomTextBoxDPIAdvAutoTTL.ForeColor = System.Drawing.Color.White;
this.CustomTextBoxDPIAdvAutoTTL.HideSelection = true;
- this.CustomTextBoxDPIAdvAutoTTL.Location = new System.Drawing.Point(415, 86);
+ this.CustomTextBoxDPIAdvAutoTTL.Location = new System.Drawing.Point(393, 93);
this.CustomTextBoxDPIAdvAutoTTL.MaxLength = 32767;
this.CustomTextBoxDPIAdvAutoTTL.Multiline = false;
this.CustomTextBoxDPIAdvAutoTTL.Name = "CustomTextBoxDPIAdvAutoTTL";
this.CustomTextBoxDPIAdvAutoTTL.ReadOnly = false;
this.CustomTextBoxDPIAdvAutoTTL.ScrollBars = System.Windows.Forms.ScrollBars.None;
this.CustomTextBoxDPIAdvAutoTTL.ShortcutsEnabled = true;
- this.CustomTextBoxDPIAdvAutoTTL.Size = new System.Drawing.Size(55, 23);
+ this.CustomTextBoxDPIAdvAutoTTL.Size = new System.Drawing.Size(53, 23);
this.CustomTextBoxDPIAdvAutoTTL.TabIndex = 0;
this.CustomTextBoxDPIAdvAutoTTL.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.CustomTextBoxDPIAdvAutoTTL.Texts = "1-4-10";
@@ -1440,7 +1514,7 @@ private void InitializeComponent()
this.CustomNumericUpDownDPIAdvMaxPayload.BackColor = System.Drawing.Color.DimGray;
this.CustomNumericUpDownDPIAdvMaxPayload.BorderColor = System.Drawing.Color.Blue;
this.CustomNumericUpDownDPIAdvMaxPayload.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.CustomNumericUpDownDPIAdvMaxPayload.Location = new System.Drawing.Point(113, 142);
+ this.CustomNumericUpDownDPIAdvMaxPayload.Location = new System.Drawing.Point(106, 153);
this.CustomNumericUpDownDPIAdvMaxPayload.Maximum = new decimal(new int[] {
10000,
0,
@@ -1452,7 +1526,7 @@ private void InitializeComponent()
0,
0});
this.CustomNumericUpDownDPIAdvMaxPayload.Name = "CustomNumericUpDownDPIAdvMaxPayload";
- this.CustomNumericUpDownDPIAdvMaxPayload.Size = new System.Drawing.Size(55, 23);
+ this.CustomNumericUpDownDPIAdvMaxPayload.Size = new System.Drawing.Size(53, 23);
this.CustomNumericUpDownDPIAdvMaxPayload.TabIndex = 36;
this.CustomNumericUpDownDPIAdvMaxPayload.Value = new decimal(new int[] {
1200,
@@ -1465,7 +1539,7 @@ private void InitializeComponent()
this.CustomNumericUpDownDPIAdvMinTTL.BackColor = System.Drawing.Color.DimGray;
this.CustomNumericUpDownDPIAdvMinTTL.BorderColor = System.Drawing.Color.Blue;
this.CustomNumericUpDownDPIAdvMinTTL.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.CustomNumericUpDownDPIAdvMinTTL.Location = new System.Drawing.Point(577, 86);
+ this.CustomNumericUpDownDPIAdvMinTTL.Location = new System.Drawing.Point(539, 93);
this.CustomNumericUpDownDPIAdvMinTTL.Maximum = new decimal(new int[] {
3600,
0,
@@ -1477,7 +1551,7 @@ private void InitializeComponent()
0,
0});
this.CustomNumericUpDownDPIAdvMinTTL.Name = "CustomNumericUpDownDPIAdvMinTTL";
- this.CustomNumericUpDownDPIAdvMinTTL.Size = new System.Drawing.Size(55, 23);
+ this.CustomNumericUpDownDPIAdvMinTTL.Size = new System.Drawing.Size(53, 23);
this.CustomNumericUpDownDPIAdvMinTTL.TabIndex = 35;
this.CustomNumericUpDownDPIAdvMinTTL.Value = new decimal(new int[] {
3,
@@ -1490,7 +1564,7 @@ private void InitializeComponent()
this.CustomNumericUpDownDPIAdvSetTTL.BackColor = System.Drawing.Color.DimGray;
this.CustomNumericUpDownDPIAdvSetTTL.BorderColor = System.Drawing.Color.Blue;
this.CustomNumericUpDownDPIAdvSetTTL.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.CustomNumericUpDownDPIAdvSetTTL.Location = new System.Drawing.Point(241, 86);
+ this.CustomNumericUpDownDPIAdvSetTTL.Location = new System.Drawing.Point(230, 93);
this.CustomNumericUpDownDPIAdvSetTTL.Maximum = new decimal(new int[] {
3600,
0,
@@ -1502,7 +1576,7 @@ private void InitializeComponent()
0,
0});
this.CustomNumericUpDownDPIAdvSetTTL.Name = "CustomNumericUpDownDPIAdvSetTTL";
- this.CustomNumericUpDownDPIAdvSetTTL.Size = new System.Drawing.Size(55, 23);
+ this.CustomNumericUpDownDPIAdvSetTTL.Size = new System.Drawing.Size(53, 23);
this.CustomNumericUpDownDPIAdvSetTTL.TabIndex = 34;
this.CustomNumericUpDownDPIAdvSetTTL.Value = new decimal(new int[] {
1,
@@ -1515,7 +1589,7 @@ private void InitializeComponent()
this.CustomNumericUpDownDPIAdvPort.BackColor = System.Drawing.Color.DimGray;
this.CustomNumericUpDownDPIAdvPort.BorderColor = System.Drawing.Color.Blue;
this.CustomNumericUpDownDPIAdvPort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.CustomNumericUpDownDPIAdvPort.Location = new System.Drawing.Point(397, 58);
+ this.CustomNumericUpDownDPIAdvPort.Location = new System.Drawing.Point(376, 63);
this.CustomNumericUpDownDPIAdvPort.Maximum = new decimal(new int[] {
65535,
0,
@@ -1527,7 +1601,7 @@ private void InitializeComponent()
0,
0});
this.CustomNumericUpDownDPIAdvPort.Name = "CustomNumericUpDownDPIAdvPort";
- this.CustomNumericUpDownDPIAdvPort.Size = new System.Drawing.Size(55, 23);
+ this.CustomNumericUpDownDPIAdvPort.Size = new System.Drawing.Size(53, 23);
this.CustomNumericUpDownDPIAdvPort.TabIndex = 33;
this.CustomNumericUpDownDPIAdvPort.Value = new decimal(new int[] {
80,
@@ -1537,13 +1611,15 @@ private void InitializeComponent()
//
// CustomButtonDPIAdvDeactivate
//
+ this.CustomButtonDPIAdvDeactivate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.CustomButtonDPIAdvDeactivate.AutoSize = true;
this.CustomButtonDPIAdvDeactivate.BorderColor = System.Drawing.Color.Blue;
this.CustomButtonDPIAdvDeactivate.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.CustomButtonDPIAdvDeactivate.Location = new System.Drawing.Point(166, 185);
+ this.CustomButtonDPIAdvDeactivate.Location = new System.Drawing.Point(172, 268);
this.CustomButtonDPIAdvDeactivate.Name = "CustomButtonDPIAdvDeactivate";
this.CustomButtonDPIAdvDeactivate.RoundedCorners = 0;
this.CustomButtonDPIAdvDeactivate.SelectionColor = System.Drawing.Color.LightBlue;
- this.CustomButtonDPIAdvDeactivate.Size = new System.Drawing.Size(75, 23);
+ this.CustomButtonDPIAdvDeactivate.Size = new System.Drawing.Size(74, 27);
this.CustomButtonDPIAdvDeactivate.TabIndex = 32;
this.CustomButtonDPIAdvDeactivate.Text = "Deactivate";
this.CustomButtonDPIAdvDeactivate.UseVisualStyleBackColor = true;
@@ -1551,13 +1627,15 @@ private void InitializeComponent()
//
// CustomButtonDPIAdvActivate
//
+ this.CustomButtonDPIAdvActivate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.CustomButtonDPIAdvActivate.AutoSize = true;
this.CustomButtonDPIAdvActivate.BorderColor = System.Drawing.Color.Blue;
this.CustomButtonDPIAdvActivate.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.CustomButtonDPIAdvActivate.Location = new System.Drawing.Point(50, 185);
+ this.CustomButtonDPIAdvActivate.Location = new System.Drawing.Point(45, 268);
this.CustomButtonDPIAdvActivate.Name = "CustomButtonDPIAdvActivate";
this.CustomButtonDPIAdvActivate.RoundedCorners = 0;
this.CustomButtonDPIAdvActivate.SelectionColor = System.Drawing.Color.LightBlue;
- this.CustomButtonDPIAdvActivate.Size = new System.Drawing.Size(110, 23);
+ this.CustomButtonDPIAdvActivate.Size = new System.Drawing.Size(121, 27);
this.CustomButtonDPIAdvActivate.TabIndex = 31;
this.CustomButtonDPIAdvActivate.Text = "Activate/Reactivate";
this.CustomButtonDPIAdvActivate.UseVisualStyleBackColor = true;
@@ -1567,11 +1645,11 @@ private void InitializeComponent()
//
this.CustomButtonDPIAdvBlacklist.BorderColor = System.Drawing.Color.Blue;
this.CustomButtonDPIAdvBlacklist.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.CustomButtonDPIAdvBlacklist.Location = new System.Drawing.Point(252, 142);
+ this.CustomButtonDPIAdvBlacklist.Location = new System.Drawing.Point(241, 153);
this.CustomButtonDPIAdvBlacklist.Name = "CustomButtonDPIAdvBlacklist";
this.CustomButtonDPIAdvBlacklist.RoundedCorners = 0;
this.CustomButtonDPIAdvBlacklist.SelectionColor = System.Drawing.Color.LightBlue;
- this.CustomButtonDPIAdvBlacklist.Size = new System.Drawing.Size(60, 23);
+ this.CustomButtonDPIAdvBlacklist.Size = new System.Drawing.Size(57, 25);
this.CustomButtonDPIAdvBlacklist.TabIndex = 30;
this.CustomButtonDPIAdvBlacklist.Text = "Edit";
this.CustomButtonDPIAdvBlacklist.UseVisualStyleBackColor = true;
@@ -1583,7 +1661,7 @@ private void InitializeComponent()
this.CustomCheckBoxDPIAdvBlacklist.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvBlacklist.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvBlacklist.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxDPIAdvBlacklist.Location = new System.Drawing.Point(172, 144);
+ this.CustomCheckBoxDPIAdvBlacklist.Location = new System.Drawing.Point(165, 155);
this.CustomCheckBoxDPIAdvBlacklist.Name = "CustomCheckBoxDPIAdvBlacklist";
this.CustomCheckBoxDPIAdvBlacklist.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxDPIAdvBlacklist.Size = new System.Drawing.Size(74, 17);
@@ -1599,7 +1677,7 @@ private void InitializeComponent()
this.CustomCheckBoxDPIAdvMaxPayload.Checked = true;
this.CustomCheckBoxDPIAdvMaxPayload.CheckState = System.Windows.Forms.CheckState.Checked;
this.CustomCheckBoxDPIAdvMaxPayload.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxDPIAdvMaxPayload.Location = new System.Drawing.Point(6, 144);
+ this.CustomCheckBoxDPIAdvMaxPayload.Location = new System.Drawing.Point(5, 155);
this.CustomCheckBoxDPIAdvMaxPayload.Name = "CustomCheckBoxDPIAdvMaxPayload";
this.CustomCheckBoxDPIAdvMaxPayload.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxDPIAdvMaxPayload.Size = new System.Drawing.Size(101, 17);
@@ -1613,7 +1691,7 @@ private void InitializeComponent()
this.CustomCheckBoxDPIAdvReverseFrag.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvReverseFrag.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvReverseFrag.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxDPIAdvReverseFrag.Location = new System.Drawing.Point(504, 116);
+ this.CustomCheckBoxDPIAdvReverseFrag.Location = new System.Drawing.Point(470, 125);
this.CustomCheckBoxDPIAdvReverseFrag.Name = "CustomCheckBoxDPIAdvReverseFrag";
this.CustomCheckBoxDPIAdvReverseFrag.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxDPIAdvReverseFrag.Size = new System.Drawing.Size(96, 17);
@@ -1629,7 +1707,7 @@ private void InitializeComponent()
this.CustomCheckBoxDPIAdvNativeFrag.Checked = true;
this.CustomCheckBoxDPIAdvNativeFrag.CheckState = System.Windows.Forms.CheckState.Checked;
this.CustomCheckBoxDPIAdvNativeFrag.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxDPIAdvNativeFrag.Location = new System.Drawing.Point(338, 116);
+ this.CustomCheckBoxDPIAdvNativeFrag.Location = new System.Drawing.Point(320, 125);
this.CustomCheckBoxDPIAdvNativeFrag.Name = "CustomCheckBoxDPIAdvNativeFrag";
this.CustomCheckBoxDPIAdvNativeFrag.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxDPIAdvNativeFrag.Size = new System.Drawing.Size(90, 17);
@@ -1643,7 +1721,7 @@ private void InitializeComponent()
this.CustomCheckBoxDPIAdvWrongSeq.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvWrongSeq.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvWrongSeq.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxDPIAdvWrongSeq.Location = new System.Drawing.Point(172, 116);
+ this.CustomCheckBoxDPIAdvWrongSeq.Location = new System.Drawing.Point(165, 125);
this.CustomCheckBoxDPIAdvWrongSeq.Name = "CustomCheckBoxDPIAdvWrongSeq";
this.CustomCheckBoxDPIAdvWrongSeq.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxDPIAdvWrongSeq.Size = new System.Drawing.Size(89, 17);
@@ -1657,7 +1735,7 @@ private void InitializeComponent()
this.CustomCheckBoxDPIAdvWrongChksum.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvWrongChksum.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvWrongChksum.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxDPIAdvWrongChksum.Location = new System.Drawing.Point(6, 116);
+ this.CustomCheckBoxDPIAdvWrongChksum.Location = new System.Drawing.Point(5, 125);
this.CustomCheckBoxDPIAdvWrongChksum.Name = "CustomCheckBoxDPIAdvWrongChksum";
this.CustomCheckBoxDPIAdvWrongChksum.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxDPIAdvWrongChksum.Size = new System.Drawing.Size(112, 17);
@@ -1671,7 +1749,7 @@ private void InitializeComponent()
this.CustomCheckBoxDPIAdvMinTTL.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvMinTTL.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvMinTTL.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxDPIAdvMinTTL.Location = new System.Drawing.Point(504, 88);
+ this.CustomCheckBoxDPIAdvMinTTL.Location = new System.Drawing.Point(470, 95);
this.CustomCheckBoxDPIAdvMinTTL.Name = "CustomCheckBoxDPIAdvMinTTL";
this.CustomCheckBoxDPIAdvMinTTL.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxDPIAdvMinTTL.Size = new System.Drawing.Size(67, 17);
@@ -1685,7 +1763,7 @@ private void InitializeComponent()
this.CustomCheckBoxDPIAdvAutoTTL.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvAutoTTL.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvAutoTTL.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxDPIAdvAutoTTL.Location = new System.Drawing.Point(338, 88);
+ this.CustomCheckBoxDPIAdvAutoTTL.Location = new System.Drawing.Point(320, 95);
this.CustomCheckBoxDPIAdvAutoTTL.Name = "CustomCheckBoxDPIAdvAutoTTL";
this.CustomCheckBoxDPIAdvAutoTTL.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxDPIAdvAutoTTL.Size = new System.Drawing.Size(71, 17);
@@ -1699,7 +1777,7 @@ private void InitializeComponent()
this.CustomCheckBoxDPIAdvSetTTL.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvSetTTL.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvSetTTL.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxDPIAdvSetTTL.Location = new System.Drawing.Point(172, 88);
+ this.CustomCheckBoxDPIAdvSetTTL.Location = new System.Drawing.Point(165, 95);
this.CustomCheckBoxDPIAdvSetTTL.Name = "CustomCheckBoxDPIAdvSetTTL";
this.CustomCheckBoxDPIAdvSetTTL.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxDPIAdvSetTTL.Size = new System.Drawing.Size(63, 17);
@@ -1713,7 +1791,7 @@ private void InitializeComponent()
this.CustomCheckBoxDPIAdvAllowNoSNI.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvAllowNoSNI.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvAllowNoSNI.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxDPIAdvAllowNoSNI.Location = new System.Drawing.Point(6, 88);
+ this.CustomCheckBoxDPIAdvAllowNoSNI.Location = new System.Drawing.Point(5, 95);
this.CustomCheckBoxDPIAdvAllowNoSNI.Name = "CustomCheckBoxDPIAdvAllowNoSNI";
this.CustomCheckBoxDPIAdvAllowNoSNI.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxDPIAdvAllowNoSNI.Size = new System.Drawing.Size(98, 17);
@@ -1733,14 +1811,14 @@ private void InitializeComponent()
this.CustomTextBoxDPIAdvIpId.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.CustomTextBoxDPIAdvIpId.ForeColor = System.Drawing.Color.White;
this.CustomTextBoxDPIAdvIpId.HideSelection = true;
- this.CustomTextBoxDPIAdvIpId.Location = new System.Drawing.Point(566, 58);
+ this.CustomTextBoxDPIAdvIpId.Location = new System.Drawing.Point(529, 63);
this.CustomTextBoxDPIAdvIpId.MaxLength = 32767;
this.CustomTextBoxDPIAdvIpId.Multiline = false;
this.CustomTextBoxDPIAdvIpId.Name = "CustomTextBoxDPIAdvIpId";
this.CustomTextBoxDPIAdvIpId.ReadOnly = false;
this.CustomTextBoxDPIAdvIpId.ScrollBars = System.Windows.Forms.ScrollBars.None;
this.CustomTextBoxDPIAdvIpId.ShortcutsEnabled = true;
- this.CustomTextBoxDPIAdvIpId.Size = new System.Drawing.Size(80, 23);
+ this.CustomTextBoxDPIAdvIpId.Size = new System.Drawing.Size(70, 23);
this.CustomTextBoxDPIAdvIpId.TabIndex = 0;
this.CustomTextBoxDPIAdvIpId.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.CustomTextBoxDPIAdvIpId.Texts = "";
@@ -1754,7 +1832,7 @@ private void InitializeComponent()
this.CustomCheckBoxDPIAdvIpId.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvIpId.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvIpId.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxDPIAdvIpId.Location = new System.Drawing.Point(504, 60);
+ this.CustomCheckBoxDPIAdvIpId.Location = new System.Drawing.Point(470, 65);
this.CustomCheckBoxDPIAdvIpId.Name = "CustomCheckBoxDPIAdvIpId";
this.CustomCheckBoxDPIAdvIpId.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxDPIAdvIpId.Size = new System.Drawing.Size(56, 17);
@@ -1768,7 +1846,7 @@ private void InitializeComponent()
this.CustomCheckBoxDPIAdvPort.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvPort.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvPort.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxDPIAdvPort.Location = new System.Drawing.Point(338, 60);
+ this.CustomCheckBoxDPIAdvPort.Location = new System.Drawing.Point(320, 65);
this.CustomCheckBoxDPIAdvPort.Name = "CustomCheckBoxDPIAdvPort";
this.CustomCheckBoxDPIAdvPort.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxDPIAdvPort.Size = new System.Drawing.Size(53, 17);
@@ -1784,7 +1862,7 @@ private void InitializeComponent()
this.CustomCheckBoxDPIAdvW.Checked = true;
this.CustomCheckBoxDPIAdvW.CheckState = System.Windows.Forms.CheckState.Checked;
this.CustomCheckBoxDPIAdvW.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxDPIAdvW.Location = new System.Drawing.Point(172, 60);
+ this.CustomCheckBoxDPIAdvW.Location = new System.Drawing.Point(165, 65);
this.CustomCheckBoxDPIAdvW.Name = "CustomCheckBoxDPIAdvW";
this.CustomCheckBoxDPIAdvW.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxDPIAdvW.Size = new System.Drawing.Size(34, 17);
@@ -1798,7 +1876,7 @@ private void InitializeComponent()
this.CustomCheckBoxDPIAdvA.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvA.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvA.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxDPIAdvA.Location = new System.Drawing.Point(6, 60);
+ this.CustomCheckBoxDPIAdvA.Location = new System.Drawing.Point(5, 65);
this.CustomCheckBoxDPIAdvA.Name = "CustomCheckBoxDPIAdvA";
this.CustomCheckBoxDPIAdvA.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxDPIAdvA.Size = new System.Drawing.Size(32, 17);
@@ -1811,14 +1889,14 @@ private void InitializeComponent()
this.CustomNumericUpDownDPIAdvE.BackColor = System.Drawing.Color.DimGray;
this.CustomNumericUpDownDPIAdvE.BorderColor = System.Drawing.Color.Blue;
this.CustomNumericUpDownDPIAdvE.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.CustomNumericUpDownDPIAdvE.Location = new System.Drawing.Point(542, 30);
+ this.CustomNumericUpDownDPIAdvE.Location = new System.Drawing.Point(506, 33);
this.CustomNumericUpDownDPIAdvE.Maximum = new decimal(new int[] {
70000,
0,
0,
0});
this.CustomNumericUpDownDPIAdvE.Name = "CustomNumericUpDownDPIAdvE";
- this.CustomNumericUpDownDPIAdvE.Size = new System.Drawing.Size(55, 23);
+ this.CustomNumericUpDownDPIAdvE.Size = new System.Drawing.Size(53, 23);
this.CustomNumericUpDownDPIAdvE.TabIndex = 10;
this.CustomNumericUpDownDPIAdvE.Value = new decimal(new int[] {
40,
@@ -1834,7 +1912,7 @@ private void InitializeComponent()
this.CustomCheckBoxDPIAdvE.Checked = true;
this.CustomCheckBoxDPIAdvE.CheckState = System.Windows.Forms.CheckState.Checked;
this.CustomCheckBoxDPIAdvE.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxDPIAdvE.Location = new System.Drawing.Point(504, 32);
+ this.CustomCheckBoxDPIAdvE.Location = new System.Drawing.Point(470, 35);
this.CustomCheckBoxDPIAdvE.Name = "CustomCheckBoxDPIAdvE";
this.CustomCheckBoxDPIAdvE.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxDPIAdvE.Size = new System.Drawing.Size(32, 17);
@@ -1848,7 +1926,7 @@ private void InitializeComponent()
this.CustomCheckBoxDPIAdvN.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvN.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvN.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxDPIAdvN.Location = new System.Drawing.Point(338, 32);
+ this.CustomCheckBoxDPIAdvN.Location = new System.Drawing.Point(320, 35);
this.CustomCheckBoxDPIAdvN.Name = "CustomCheckBoxDPIAdvN";
this.CustomCheckBoxDPIAdvN.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxDPIAdvN.Size = new System.Drawing.Size(32, 17);
@@ -1861,7 +1939,7 @@ private void InitializeComponent()
this.CustomNumericUpDownDPIAdvK.BackColor = System.Drawing.Color.DimGray;
this.CustomNumericUpDownDPIAdvK.BorderColor = System.Drawing.Color.Blue;
this.CustomNumericUpDownDPIAdvK.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.CustomNumericUpDownDPIAdvK.Location = new System.Drawing.Point(210, 30);
+ this.CustomNumericUpDownDPIAdvK.Location = new System.Drawing.Point(201, 33);
this.CustomNumericUpDownDPIAdvK.Maximum = new decimal(new int[] {
10000,
0,
@@ -1873,7 +1951,7 @@ private void InitializeComponent()
0,
0});
this.CustomNumericUpDownDPIAdvK.Name = "CustomNumericUpDownDPIAdvK";
- this.CustomNumericUpDownDPIAdvK.Size = new System.Drawing.Size(55, 23);
+ this.CustomNumericUpDownDPIAdvK.Size = new System.Drawing.Size(53, 23);
this.CustomNumericUpDownDPIAdvK.TabIndex = 7;
this.CustomNumericUpDownDPIAdvK.Value = new decimal(new int[] {
2,
@@ -1887,7 +1965,7 @@ private void InitializeComponent()
this.CustomCheckBoxDPIAdvK.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvK.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvK.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxDPIAdvK.Location = new System.Drawing.Point(172, 32);
+ this.CustomCheckBoxDPIAdvK.Location = new System.Drawing.Point(165, 35);
this.CustomCheckBoxDPIAdvK.Name = "CustomCheckBoxDPIAdvK";
this.CustomCheckBoxDPIAdvK.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxDPIAdvK.Size = new System.Drawing.Size(32, 17);
@@ -1900,14 +1978,14 @@ private void InitializeComponent()
this.CustomNumericUpDownDPIAdvF.BackColor = System.Drawing.Color.DimGray;
this.CustomNumericUpDownDPIAdvF.BorderColor = System.Drawing.Color.Blue;
this.CustomNumericUpDownDPIAdvF.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.CustomNumericUpDownDPIAdvF.Location = new System.Drawing.Point(41, 30);
+ this.CustomNumericUpDownDPIAdvF.Location = new System.Drawing.Point(38, 33);
this.CustomNumericUpDownDPIAdvF.Maximum = new decimal(new int[] {
70000,
0,
0,
0});
this.CustomNumericUpDownDPIAdvF.Name = "CustomNumericUpDownDPIAdvF";
- this.CustomNumericUpDownDPIAdvF.Size = new System.Drawing.Size(55, 23);
+ this.CustomNumericUpDownDPIAdvF.Size = new System.Drawing.Size(53, 23);
this.CustomNumericUpDownDPIAdvF.TabIndex = 5;
this.CustomNumericUpDownDPIAdvF.Value = new decimal(new int[] {
2,
@@ -1921,7 +1999,7 @@ private void InitializeComponent()
this.CustomCheckBoxDPIAdvF.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvF.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxDPIAdvF.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxDPIAdvF.Location = new System.Drawing.Point(6, 32);
+ this.CustomCheckBoxDPIAdvF.Location = new System.Drawing.Point(5, 35);
this.CustomCheckBoxDPIAdvF.Name = "CustomCheckBoxDPIAdvF";
this.CustomCheckBoxDPIAdvF.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxDPIAdvF.Size = new System.Drawing.Size(29, 17);
@@ -1937,7 +2015,7 @@ private void InitializeComponent()
this.CustomCheckBoxDPIAdvM.Checked = true;
this.CustomCheckBoxDPIAdvM.CheckState = System.Windows.Forms.CheckState.Checked;
this.CustomCheckBoxDPIAdvM.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxDPIAdvM.Location = new System.Drawing.Point(504, 4);
+ this.CustomCheckBoxDPIAdvM.Location = new System.Drawing.Point(470, 5);
this.CustomCheckBoxDPIAdvM.Name = "CustomCheckBoxDPIAdvM";
this.CustomCheckBoxDPIAdvM.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxDPIAdvM.Size = new System.Drawing.Size(36, 17);
@@ -1953,7 +2031,7 @@ private void InitializeComponent()
this.CustomCheckBoxDPIAdvS.Checked = true;
this.CustomCheckBoxDPIAdvS.CheckState = System.Windows.Forms.CheckState.Checked;
this.CustomCheckBoxDPIAdvS.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxDPIAdvS.Location = new System.Drawing.Point(338, 4);
+ this.CustomCheckBoxDPIAdvS.Location = new System.Drawing.Point(320, 5);
this.CustomCheckBoxDPIAdvS.Name = "CustomCheckBoxDPIAdvS";
this.CustomCheckBoxDPIAdvS.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxDPIAdvS.Size = new System.Drawing.Size(31, 17);
@@ -1969,7 +2047,7 @@ private void InitializeComponent()
this.CustomCheckBoxDPIAdvR.Checked = true;
this.CustomCheckBoxDPIAdvR.CheckState = System.Windows.Forms.CheckState.Checked;
this.CustomCheckBoxDPIAdvR.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxDPIAdvR.Location = new System.Drawing.Point(172, 4);
+ this.CustomCheckBoxDPIAdvR.Location = new System.Drawing.Point(165, 5);
this.CustomCheckBoxDPIAdvR.Name = "CustomCheckBoxDPIAdvR";
this.CustomCheckBoxDPIAdvR.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxDPIAdvR.Size = new System.Drawing.Size(30, 17);
@@ -1985,7 +2063,7 @@ private void InitializeComponent()
this.CustomCheckBoxDPIAdvP.Checked = true;
this.CustomCheckBoxDPIAdvP.CheckState = System.Windows.Forms.CheckState.Checked;
this.CustomCheckBoxDPIAdvP.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxDPIAdvP.Location = new System.Drawing.Point(6, 4);
+ this.CustomCheckBoxDPIAdvP.Location = new System.Drawing.Point(5, 5);
this.CustomCheckBoxDPIAdvP.Name = "CustomCheckBoxDPIAdvP";
this.CustomCheckBoxDPIAdvP.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxDPIAdvP.Size = new System.Drawing.Size(33, 17);
@@ -2000,7 +2078,7 @@ private void InitializeComponent()
this.TabPageSettings.Location = new System.Drawing.Point(4, 25);
this.TabPageSettings.Name = "TabPageSettings";
this.TabPageSettings.Padding = new System.Windows.Forms.Padding(3);
- this.TabPageSettings.Size = new System.Drawing.Size(692, 284);
+ this.TabPageSettings.Size = new System.Drawing.Size(692, 371);
this.TabPageSettings.TabIndex = 1;
this.TabPageSettings.Tag = 1;
this.TabPageSettings.Text = "Settings";
@@ -2015,6 +2093,7 @@ private void InitializeComponent()
this.CustomTabControlSettings.Controls.Add(this.TabPageSettingsSetUnsetDNS);
this.CustomTabControlSettings.Controls.Add(this.TabPageSettingsCPU);
this.CustomTabControlSettings.Controls.Add(this.TabPageSettingsOthers);
+ this.CustomTabControlSettings.Dock = System.Windows.Forms.DockStyle.Fill;
this.CustomTabControlSettings.HideTabHeader = false;
this.CustomTabControlSettings.ItemSize = new System.Drawing.Size(30, 90);
this.CustomTabControlSettings.Location = new System.Drawing.Point(3, 3);
@@ -2023,10 +2102,10 @@ private void InitializeComponent()
this.CustomTabControlSettings.Name = "CustomTabControlSettings";
this.CustomTabControlSettings.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.CustomTabControlSettings.SelectedIndex = 0;
- this.CustomTabControlSettings.Size = new System.Drawing.Size(688, 278);
+ this.CustomTabControlSettings.Size = new System.Drawing.Size(686, 365);
this.CustomTabControlSettings.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
this.CustomTabControlSettings.TabIndex = 10;
- this.CustomTabControlSettings.Tag = 3;
+ this.CustomTabControlSettings.Tag = 0;
//
// TabPageSettingsWorkingMode
//
@@ -2038,20 +2117,21 @@ private void InitializeComponent()
this.TabPageSettingsWorkingMode.Location = new System.Drawing.Point(94, 4);
this.TabPageSettingsWorkingMode.Name = "TabPageSettingsWorkingMode";
this.TabPageSettingsWorkingMode.Padding = new System.Windows.Forms.Padding(3);
- this.TabPageSettingsWorkingMode.Size = new System.Drawing.Size(590, 270);
+ this.TabPageSettingsWorkingMode.Size = new System.Drawing.Size(588, 357);
this.TabPageSettingsWorkingMode.TabIndex = 0;
this.TabPageSettingsWorkingMode.Tag = 0;
this.TabPageSettingsWorkingMode.Text = "Working mode";
//
// CustomLabelSettingInfoWorkingMode2
//
+ this.CustomLabelSettingInfoWorkingMode2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.CustomLabelSettingInfoWorkingMode2.AutoSize = true;
this.CustomLabelSettingInfoWorkingMode2.BackColor = System.Drawing.Color.DimGray;
this.CustomLabelSettingInfoWorkingMode2.Border = false;
this.CustomLabelSettingInfoWorkingMode2.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelSettingInfoWorkingMode2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelSettingInfoWorkingMode2.ForeColor = System.Drawing.Color.White;
- this.CustomLabelSettingInfoWorkingMode2.Location = new System.Drawing.Point(50, 250);
+ this.CustomLabelSettingInfoWorkingMode2.Location = new System.Drawing.Point(50, 334);
this.CustomLabelSettingInfoWorkingMode2.Name = "CustomLabelSettingInfoWorkingMode2";
this.CustomLabelSettingInfoWorkingMode2.RoundedCorners = 0;
this.CustomLabelSettingInfoWorkingMode2.Size = new System.Drawing.Size(262, 15);
@@ -2064,7 +2144,7 @@ private void InitializeComponent()
this.CustomRadioButtonSettingWorkingModeDNSandDoH.BorderColor = System.Drawing.Color.Blue;
this.CustomRadioButtonSettingWorkingModeDNSandDoH.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonSettingWorkingModeDNSandDoH.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonSettingWorkingModeDNSandDoH.Location = new System.Drawing.Point(50, 130);
+ this.CustomRadioButtonSettingWorkingModeDNSandDoH.Location = new System.Drawing.Point(50, 145);
this.CustomRadioButtonSettingWorkingModeDNSandDoH.Name = "CustomRadioButtonSettingWorkingModeDNSandDoH";
this.CustomRadioButtonSettingWorkingModeDNSandDoH.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomRadioButtonSettingWorkingModeDNSandDoH.Size = new System.Drawing.Size(234, 17);
@@ -2079,7 +2159,7 @@ private void InitializeComponent()
this.CustomRadioButtonSettingWorkingModeDNS.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonSettingWorkingModeDNS.Checked = true;
this.CustomRadioButtonSettingWorkingModeDNS.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonSettingWorkingModeDNS.Location = new System.Drawing.Point(50, 90);
+ this.CustomRadioButtonSettingWorkingModeDNS.Location = new System.Drawing.Point(50, 100);
this.CustomRadioButtonSettingWorkingModeDNS.Name = "CustomRadioButtonSettingWorkingModeDNS";
this.CustomRadioButtonSettingWorkingModeDNS.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomRadioButtonSettingWorkingModeDNS.Size = new System.Drawing.Size(123, 17);
@@ -2097,7 +2177,7 @@ private void InitializeComponent()
this.CustomLabelSettingInfoWorkingMode1.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelSettingInfoWorkingMode1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelSettingInfoWorkingMode1.ForeColor = System.Drawing.Color.White;
- this.CustomLabelSettingInfoWorkingMode1.Location = new System.Drawing.Point(50, 30);
+ this.CustomLabelSettingInfoWorkingMode1.Location = new System.Drawing.Point(50, 35);
this.CustomLabelSettingInfoWorkingMode1.Name = "CustomLabelSettingInfoWorkingMode1";
this.CustomLabelSettingInfoWorkingMode1.RoundedCorners = 0;
this.CustomLabelSettingInfoWorkingMode1.Size = new System.Drawing.Size(394, 30);
@@ -2116,21 +2196,23 @@ private void InitializeComponent()
this.TabPageSettingsCheck.Location = new System.Drawing.Point(94, 4);
this.TabPageSettingsCheck.Name = "TabPageSettingsCheck";
this.TabPageSettingsCheck.Padding = new System.Windows.Forms.Padding(3);
- this.TabPageSettingsCheck.Size = new System.Drawing.Size(590, 270);
+ this.TabPageSettingsCheck.Size = new System.Drawing.Size(588, 357);
this.TabPageSettingsCheck.TabIndex = 3;
this.TabPageSettingsCheck.Tag = 1;
this.TabPageSettingsCheck.Text = "Check";
//
// CustomGroupBoxSettingCheckSDNS
//
+ this.CustomGroupBoxSettingCheckSDNS.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
this.CustomGroupBoxSettingCheckSDNS.BorderColor = System.Drawing.Color.Blue;
this.CustomGroupBoxSettingCheckSDNS.Controls.Add(this.CustomCheckBoxSettingSdnsNoFilter);
this.CustomGroupBoxSettingCheckSDNS.Controls.Add(this.CustomCheckBoxSettingSdnsNoLog);
this.CustomGroupBoxSettingCheckSDNS.Controls.Add(this.CustomCheckBoxSettingSdnsDNSSec);
- this.CustomGroupBoxSettingCheckSDNS.Location = new System.Drawing.Point(4, 100);
+ this.CustomGroupBoxSettingCheckSDNS.Location = new System.Drawing.Point(4, 111);
this.CustomGroupBoxSettingCheckSDNS.Margin = new System.Windows.Forms.Padding(1);
this.CustomGroupBoxSettingCheckSDNS.Name = "CustomGroupBoxSettingCheckSDNS";
- this.CustomGroupBoxSettingCheckSDNS.Size = new System.Drawing.Size(582, 58);
+ this.CustomGroupBoxSettingCheckSDNS.Size = new System.Drawing.Size(580, 65);
this.CustomGroupBoxSettingCheckSDNS.TabIndex = 11;
this.CustomGroupBoxSettingCheckSDNS.TabStop = false;
this.CustomGroupBoxSettingCheckSDNS.Text = "sdns:// servers must have";
@@ -2143,7 +2225,7 @@ private void InitializeComponent()
this.CustomCheckBoxSettingSdnsNoFilter.Checked = true;
this.CustomCheckBoxSettingSdnsNoFilter.CheckState = System.Windows.Forms.CheckState.Checked;
this.CustomCheckBoxSettingSdnsNoFilter.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxSettingSdnsNoFilter.Location = new System.Drawing.Point(440, 25);
+ this.CustomCheckBoxSettingSdnsNoFilter.Location = new System.Drawing.Point(420, 28);
this.CustomCheckBoxSettingSdnsNoFilter.Name = "CustomCheckBoxSettingSdnsNoFilter";
this.CustomCheckBoxSettingSdnsNoFilter.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxSettingSdnsNoFilter.Size = new System.Drawing.Size(67, 17);
@@ -2157,7 +2239,7 @@ private void InitializeComponent()
this.CustomCheckBoxSettingSdnsNoLog.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxSettingSdnsNoLog.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxSettingSdnsNoLog.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxSettingSdnsNoLog.Location = new System.Drawing.Point(240, 25);
+ this.CustomCheckBoxSettingSdnsNoLog.Location = new System.Drawing.Point(230, 28);
this.CustomCheckBoxSettingSdnsNoLog.Name = "CustomCheckBoxSettingSdnsNoLog";
this.CustomCheckBoxSettingSdnsNoLog.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxSettingSdnsNoLog.Size = new System.Drawing.Size(61, 17);
@@ -2171,7 +2253,7 @@ private void InitializeComponent()
this.CustomCheckBoxSettingSdnsDNSSec.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxSettingSdnsDNSSec.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxSettingSdnsDNSSec.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxSettingSdnsDNSSec.Location = new System.Drawing.Point(11, 25);
+ this.CustomCheckBoxSettingSdnsDNSSec.Location = new System.Drawing.Point(15, 28);
this.CustomCheckBoxSettingSdnsDNSSec.Name = "CustomCheckBoxSettingSdnsDNSSec";
this.CustomCheckBoxSettingSdnsDNSSec.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxSettingSdnsDNSSec.Size = new System.Drawing.Size(111, 17);
@@ -2191,14 +2273,14 @@ private void InitializeComponent()
this.CustomTextBoxSettingCheckDPIHost.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.CustomTextBoxSettingCheckDPIHost.ForeColor = System.Drawing.Color.White;
this.CustomTextBoxSettingCheckDPIHost.HideSelection = true;
- this.CustomTextBoxSettingCheckDPIHost.Location = new System.Drawing.Point(280, 58);
+ this.CustomTextBoxSettingCheckDPIHost.Location = new System.Drawing.Point(274, 63);
this.CustomTextBoxSettingCheckDPIHost.MaxLength = 32767;
this.CustomTextBoxSettingCheckDPIHost.Multiline = false;
this.CustomTextBoxSettingCheckDPIHost.Name = "CustomTextBoxSettingCheckDPIHost";
this.CustomTextBoxSettingCheckDPIHost.ReadOnly = false;
this.CustomTextBoxSettingCheckDPIHost.ScrollBars = System.Windows.Forms.ScrollBars.None;
this.CustomTextBoxSettingCheckDPIHost.ShortcutsEnabled = true;
- this.CustomTextBoxSettingCheckDPIHost.Size = new System.Drawing.Size(150, 23);
+ this.CustomTextBoxSettingCheckDPIHost.Size = new System.Drawing.Size(143, 23);
this.CustomTextBoxSettingCheckDPIHost.TabIndex = 0;
this.CustomTextBoxSettingCheckDPIHost.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.CustomTextBoxSettingCheckDPIHost.Texts = "www.youtube.com";
@@ -2214,7 +2296,7 @@ private void InitializeComponent()
this.CustomLabelSettingCheckDPIInfo.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelSettingCheckDPIInfo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelSettingCheckDPIInfo.ForeColor = System.Drawing.Color.White;
- this.CustomLabelSettingCheckDPIInfo.Location = new System.Drawing.Point(15, 60);
+ this.CustomLabelSettingCheckDPIInfo.Location = new System.Drawing.Point(15, 65);
this.CustomLabelSettingCheckDPIInfo.Name = "CustomLabelSettingCheckDPIInfo";
this.CustomLabelSettingCheckDPIInfo.RoundedCorners = 0;
this.CustomLabelSettingCheckDPIInfo.Size = new System.Drawing.Size(257, 15);
@@ -2229,7 +2311,7 @@ private void InitializeComponent()
this.CustomLabelSettingCheckTimeout.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelSettingCheckTimeout.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelSettingCheckTimeout.ForeColor = System.Drawing.Color.White;
- this.CustomLabelSettingCheckTimeout.Location = new System.Drawing.Point(15, 20);
+ this.CustomLabelSettingCheckTimeout.Location = new System.Drawing.Point(15, 25);
this.CustomLabelSettingCheckTimeout.Name = "CustomLabelSettingCheckTimeout";
this.CustomLabelSettingCheckTimeout.RoundedCorners = 0;
this.CustomLabelSettingCheckTimeout.Size = new System.Drawing.Size(142, 15);
@@ -2247,7 +2329,7 @@ private void InitializeComponent()
0,
0,
65536});
- this.CustomNumericUpDownSettingCheckTimeout.Location = new System.Drawing.Point(165, 18);
+ this.CustomNumericUpDownSettingCheckTimeout.Location = new System.Drawing.Point(160, 23);
this.CustomNumericUpDownSettingCheckTimeout.Maximum = new decimal(new int[] {
10,
0,
@@ -2259,7 +2341,7 @@ private void InitializeComponent()
0,
65536});
this.CustomNumericUpDownSettingCheckTimeout.Name = "CustomNumericUpDownSettingCheckTimeout";
- this.CustomNumericUpDownSettingCheckTimeout.Size = new System.Drawing.Size(50, 23);
+ this.CustomNumericUpDownSettingCheckTimeout.Size = new System.Drawing.Size(47, 23);
this.CustomNumericUpDownSettingCheckTimeout.TabIndex = 3;
this.CustomNumericUpDownSettingCheckTimeout.Value = new decimal(new int[] {
5,
@@ -2278,7 +2360,7 @@ private void InitializeComponent()
this.TabPageSettingsConnect.Location = new System.Drawing.Point(94, 4);
this.TabPageSettingsConnect.Name = "TabPageSettingsConnect";
this.TabPageSettingsConnect.Padding = new System.Windows.Forms.Padding(3);
- this.TabPageSettingsConnect.Size = new System.Drawing.Size(590, 270);
+ this.TabPageSettingsConnect.Size = new System.Drawing.Size(588, 357);
this.TabPageSettingsConnect.TabIndex = 4;
this.TabPageSettingsConnect.Tag = 2;
this.TabPageSettingsConnect.Text = "Connect";
@@ -2291,7 +2373,7 @@ private void InitializeComponent()
this.CustomCheckBoxSettingEnableCache.Checked = true;
this.CustomCheckBoxSettingEnableCache.CheckState = System.Windows.Forms.CheckState.Checked;
this.CustomCheckBoxSettingEnableCache.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxSettingEnableCache.Location = new System.Drawing.Point(50, 50);
+ this.CustomCheckBoxSettingEnableCache.Location = new System.Drawing.Point(50, 55);
this.CustomCheckBoxSettingEnableCache.Name = "CustomCheckBoxSettingEnableCache";
this.CustomCheckBoxSettingEnableCache.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxSettingEnableCache.Size = new System.Drawing.Size(119, 17);
@@ -2304,7 +2386,7 @@ private void InitializeComponent()
this.CustomNumericUpDownSettingCamouflagePort.BackColor = System.Drawing.Color.DimGray;
this.CustomNumericUpDownSettingCamouflagePort.BorderColor = System.Drawing.Color.Blue;
this.CustomNumericUpDownSettingCamouflagePort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.CustomNumericUpDownSettingCamouflagePort.Location = new System.Drawing.Point(218, 148);
+ this.CustomNumericUpDownSettingCamouflagePort.Location = new System.Drawing.Point(215, 163);
this.CustomNumericUpDownSettingCamouflagePort.Maximum = new decimal(new int[] {
65535,
0,
@@ -2316,7 +2398,7 @@ private void InitializeComponent()
0,
0});
this.CustomNumericUpDownSettingCamouflagePort.Name = "CustomNumericUpDownSettingCamouflagePort";
- this.CustomNumericUpDownSettingCamouflagePort.Size = new System.Drawing.Size(55, 23);
+ this.CustomNumericUpDownSettingCamouflagePort.Size = new System.Drawing.Size(53, 23);
this.CustomNumericUpDownSettingCamouflagePort.TabIndex = 16;
this.CustomNumericUpDownSettingCamouflagePort.Value = new decimal(new int[] {
5380,
@@ -2332,7 +2414,7 @@ private void InitializeComponent()
this.CustomLabelCheckSettingCamouflagePort.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelCheckSettingCamouflagePort.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelCheckSettingCamouflagePort.ForeColor = System.Drawing.Color.White;
- this.CustomLabelCheckSettingCamouflagePort.Location = new System.Drawing.Point(50, 150);
+ this.CustomLabelCheckSettingCamouflagePort.Location = new System.Drawing.Point(50, 165);
this.CustomLabelCheckSettingCamouflagePort.Name = "CustomLabelCheckSettingCamouflagePort";
this.CustomLabelCheckSettingCamouflagePort.RoundedCorners = 0;
this.CustomLabelCheckSettingCamouflagePort.Size = new System.Drawing.Size(160, 15);
@@ -2344,7 +2426,7 @@ private void InitializeComponent()
this.CustomNumericUpDownSettingMaxServers.BackColor = System.Drawing.Color.DimGray;
this.CustomNumericUpDownSettingMaxServers.BorderColor = System.Drawing.Color.Blue;
this.CustomNumericUpDownSettingMaxServers.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.CustomNumericUpDownSettingMaxServers.Location = new System.Drawing.Point(285, 98);
+ this.CustomNumericUpDownSettingMaxServers.Location = new System.Drawing.Point(275, 108);
this.CustomNumericUpDownSettingMaxServers.Maximum = new decimal(new int[] {
10,
0,
@@ -2356,7 +2438,7 @@ private void InitializeComponent()
0,
0});
this.CustomNumericUpDownSettingMaxServers.Name = "CustomNumericUpDownSettingMaxServers";
- this.CustomNumericUpDownSettingMaxServers.Size = new System.Drawing.Size(50, 23);
+ this.CustomNumericUpDownSettingMaxServers.Size = new System.Drawing.Size(47, 23);
this.CustomNumericUpDownSettingMaxServers.TabIndex = 7;
this.CustomNumericUpDownSettingMaxServers.Value = new decimal(new int[] {
5,
@@ -2372,7 +2454,7 @@ private void InitializeComponent()
this.CustomLabelSettingMaxServers.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelSettingMaxServers.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelSettingMaxServers.ForeColor = System.Drawing.Color.White;
- this.CustomLabelSettingMaxServers.Location = new System.Drawing.Point(50, 100);
+ this.CustomLabelSettingMaxServers.Location = new System.Drawing.Point(50, 110);
this.CustomLabelSettingMaxServers.Name = "CustomLabelSettingMaxServers";
this.CustomLabelSettingMaxServers.RoundedCorners = 0;
this.CustomLabelSettingMaxServers.Size = new System.Drawing.Size(223, 15);
@@ -2391,7 +2473,7 @@ private void InitializeComponent()
this.TabPageSettingsSetUnsetDNS.Location = new System.Drawing.Point(94, 4);
this.TabPageSettingsSetUnsetDNS.Name = "TabPageSettingsSetUnsetDNS";
this.TabPageSettingsSetUnsetDNS.Padding = new System.Windows.Forms.Padding(3);
- this.TabPageSettingsSetUnsetDNS.Size = new System.Drawing.Size(590, 270);
+ this.TabPageSettingsSetUnsetDNS.Size = new System.Drawing.Size(588, 357);
this.TabPageSettingsSetUnsetDNS.TabIndex = 5;
this.TabPageSettingsSetUnsetDNS.Tag = 3;
this.TabPageSettingsSetUnsetDNS.Text = "Set/Unset DNS";
@@ -2408,14 +2490,14 @@ private void InitializeComponent()
this.CustomTextBoxSettingUnsetDns2.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.CustomTextBoxSettingUnsetDns2.ForeColor = System.Drawing.Color.White;
this.CustomTextBoxSettingUnsetDns2.HideSelection = true;
- this.CustomTextBoxSettingUnsetDns2.Location = new System.Drawing.Point(183, 128);
+ this.CustomTextBoxSettingUnsetDns2.Location = new System.Drawing.Point(180, 138);
this.CustomTextBoxSettingUnsetDns2.MaxLength = 32767;
this.CustomTextBoxSettingUnsetDns2.Multiline = false;
this.CustomTextBoxSettingUnsetDns2.Name = "CustomTextBoxSettingUnsetDns2";
this.CustomTextBoxSettingUnsetDns2.ReadOnly = false;
this.CustomTextBoxSettingUnsetDns2.ScrollBars = System.Windows.Forms.ScrollBars.None;
this.CustomTextBoxSettingUnsetDns2.ShortcutsEnabled = true;
- this.CustomTextBoxSettingUnsetDns2.Size = new System.Drawing.Size(100, 23);
+ this.CustomTextBoxSettingUnsetDns2.Size = new System.Drawing.Size(95, 23);
this.CustomTextBoxSettingUnsetDns2.TabIndex = 0;
this.CustomTextBoxSettingUnsetDns2.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.CustomTextBoxSettingUnsetDns2.Texts = "8.8.4.4";
@@ -2435,14 +2517,14 @@ private void InitializeComponent()
this.CustomTextBoxSettingUnsetDns1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.CustomTextBoxSettingUnsetDns1.ForeColor = System.Drawing.Color.White;
this.CustomTextBoxSettingUnsetDns1.HideSelection = true;
- this.CustomTextBoxSettingUnsetDns1.Location = new System.Drawing.Point(183, 93);
+ this.CustomTextBoxSettingUnsetDns1.Location = new System.Drawing.Point(180, 103);
this.CustomTextBoxSettingUnsetDns1.MaxLength = 32767;
this.CustomTextBoxSettingUnsetDns1.Multiline = false;
this.CustomTextBoxSettingUnsetDns1.Name = "CustomTextBoxSettingUnsetDns1";
this.CustomTextBoxSettingUnsetDns1.ReadOnly = false;
this.CustomTextBoxSettingUnsetDns1.ScrollBars = System.Windows.Forms.ScrollBars.None;
this.CustomTextBoxSettingUnsetDns1.ShortcutsEnabled = true;
- this.CustomTextBoxSettingUnsetDns1.Size = new System.Drawing.Size(100, 23);
+ this.CustomTextBoxSettingUnsetDns1.Size = new System.Drawing.Size(95, 23);
this.CustomTextBoxSettingUnsetDns1.TabIndex = 0;
this.CustomTextBoxSettingUnsetDns1.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.CustomTextBoxSettingUnsetDns1.Texts = "8.8.8.8";
@@ -2458,7 +2540,7 @@ private void InitializeComponent()
this.CustomLabelSettingUnsetDns2.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelSettingUnsetDns2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelSettingUnsetDns2.ForeColor = System.Drawing.Color.White;
- this.CustomLabelSettingUnsetDns2.Location = new System.Drawing.Point(110, 130);
+ this.CustomLabelSettingUnsetDns2.Location = new System.Drawing.Point(110, 140);
this.CustomLabelSettingUnsetDns2.Name = "CustomLabelSettingUnsetDns2";
this.CustomLabelSettingUnsetDns2.RoundedCorners = 0;
this.CustomLabelSettingUnsetDns2.Size = new System.Drawing.Size(65, 15);
@@ -2473,7 +2555,7 @@ private void InitializeComponent()
this.CustomLabelSettingUnsetDns1.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelSettingUnsetDns1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelSettingUnsetDns1.ForeColor = System.Drawing.Color.White;
- this.CustomLabelSettingUnsetDns1.Location = new System.Drawing.Point(110, 95);
+ this.CustomLabelSettingUnsetDns1.Location = new System.Drawing.Point(110, 105);
this.CustomLabelSettingUnsetDns1.Name = "CustomLabelSettingUnsetDns1";
this.CustomLabelSettingUnsetDns1.RoundedCorners = 0;
this.CustomLabelSettingUnsetDns1.Size = new System.Drawing.Size(51, 15);
@@ -2487,7 +2569,7 @@ private void InitializeComponent()
this.CustomRadioButtonSettingUnsetDnsToStatic.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonSettingUnsetDnsToStatic.Checked = true;
this.CustomRadioButtonSettingUnsetDnsToStatic.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonSettingUnsetDnsToStatic.Location = new System.Drawing.Point(50, 65);
+ this.CustomRadioButtonSettingUnsetDnsToStatic.Location = new System.Drawing.Point(50, 70);
this.CustomRadioButtonSettingUnsetDnsToStatic.Name = "CustomRadioButtonSettingUnsetDnsToStatic";
this.CustomRadioButtonSettingUnsetDnsToStatic.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomRadioButtonSettingUnsetDnsToStatic.Size = new System.Drawing.Size(131, 17);
@@ -2502,7 +2584,7 @@ private void InitializeComponent()
this.CustomRadioButtonSettingUnsetDnsToDhcp.BorderColor = System.Drawing.Color.Blue;
this.CustomRadioButtonSettingUnsetDnsToDhcp.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonSettingUnsetDnsToDhcp.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonSettingUnsetDnsToDhcp.Location = new System.Drawing.Point(50, 30);
+ this.CustomRadioButtonSettingUnsetDnsToDhcp.Location = new System.Drawing.Point(50, 35);
this.CustomRadioButtonSettingUnsetDnsToDhcp.Name = "CustomRadioButtonSettingUnsetDnsToDhcp";
this.CustomRadioButtonSettingUnsetDnsToDhcp.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomRadioButtonSettingUnsetDnsToDhcp.Size = new System.Drawing.Size(130, 17);
@@ -2522,7 +2604,7 @@ private void InitializeComponent()
this.TabPageSettingsCPU.Location = new System.Drawing.Point(94, 4);
this.TabPageSettingsCPU.Name = "TabPageSettingsCPU";
this.TabPageSettingsCPU.Padding = new System.Windows.Forms.Padding(3);
- this.TabPageSettingsCPU.Size = new System.Drawing.Size(590, 270);
+ this.TabPageSettingsCPU.Size = new System.Drawing.Size(588, 357);
this.TabPageSettingsCPU.TabIndex = 1;
this.TabPageSettingsCPU.Tag = 4;
this.TabPageSettingsCPU.Text = "CPU";
@@ -2533,7 +2615,7 @@ private void InitializeComponent()
this.CustomRadioButtonSettingCPULow.BorderColor = System.Drawing.Color.Blue;
this.CustomRadioButtonSettingCPULow.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonSettingCPULow.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonSettingCPULow.Location = new System.Drawing.Point(50, 170);
+ this.CustomRadioButtonSettingCPULow.Location = new System.Drawing.Point(50, 180);
this.CustomRadioButtonSettingCPULow.Name = "CustomRadioButtonSettingCPULow";
this.CustomRadioButtonSettingCPULow.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomRadioButtonSettingCPULow.Size = new System.Drawing.Size(42, 17);
@@ -2547,7 +2629,7 @@ private void InitializeComponent()
this.CustomRadioButtonSettingCPUBelowNormal.BorderColor = System.Drawing.Color.Blue;
this.CustomRadioButtonSettingCPUBelowNormal.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonSettingCPUBelowNormal.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonSettingCPUBelowNormal.Location = new System.Drawing.Point(50, 145);
+ this.CustomRadioButtonSettingCPUBelowNormal.Location = new System.Drawing.Point(50, 155);
this.CustomRadioButtonSettingCPUBelowNormal.Name = "CustomRadioButtonSettingCPUBelowNormal";
this.CustomRadioButtonSettingCPUBelowNormal.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomRadioButtonSettingCPUBelowNormal.Size = new System.Drawing.Size(95, 17);
@@ -2562,7 +2644,7 @@ private void InitializeComponent()
this.CustomRadioButtonSettingCPUNormal.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonSettingCPUNormal.Checked = true;
this.CustomRadioButtonSettingCPUNormal.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonSettingCPUNormal.Location = new System.Drawing.Point(50, 120);
+ this.CustomRadioButtonSettingCPUNormal.Location = new System.Drawing.Point(50, 130);
this.CustomRadioButtonSettingCPUNormal.Name = "CustomRadioButtonSettingCPUNormal";
this.CustomRadioButtonSettingCPUNormal.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomRadioButtonSettingCPUNormal.Size = new System.Drawing.Size(61, 17);
@@ -2577,7 +2659,7 @@ private void InitializeComponent()
this.CustomRadioButtonSettingCPUAboveNormal.BorderColor = System.Drawing.Color.Blue;
this.CustomRadioButtonSettingCPUAboveNormal.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonSettingCPUAboveNormal.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonSettingCPUAboveNormal.Location = new System.Drawing.Point(50, 95);
+ this.CustomRadioButtonSettingCPUAboveNormal.Location = new System.Drawing.Point(50, 105);
this.CustomRadioButtonSettingCPUAboveNormal.Name = "CustomRadioButtonSettingCPUAboveNormal";
this.CustomRadioButtonSettingCPUAboveNormal.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomRadioButtonSettingCPUAboveNormal.Size = new System.Drawing.Size(97, 17);
@@ -2591,7 +2673,7 @@ private void InitializeComponent()
this.CustomRadioButtonSettingCPUHigh.BorderColor = System.Drawing.Color.Blue;
this.CustomRadioButtonSettingCPUHigh.CheckColor = System.Drawing.Color.Blue;
this.CustomRadioButtonSettingCPUHigh.ForeColor = System.Drawing.Color.White;
- this.CustomRadioButtonSettingCPUHigh.Location = new System.Drawing.Point(50, 70);
+ this.CustomRadioButtonSettingCPUHigh.Location = new System.Drawing.Point(50, 80);
this.CustomRadioButtonSettingCPUHigh.Name = "CustomRadioButtonSettingCPUHigh";
this.CustomRadioButtonSettingCPUHigh.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomRadioButtonSettingCPUHigh.Size = new System.Drawing.Size(47, 17);
@@ -2607,7 +2689,7 @@ private void InitializeComponent()
this.CustomLabelSettingInfoCPU.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelSettingInfoCPU.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelSettingInfoCPU.ForeColor = System.Drawing.Color.White;
- this.CustomLabelSettingInfoCPU.Location = new System.Drawing.Point(50, 30);
+ this.CustomLabelSettingInfoCPU.Location = new System.Drawing.Point(50, 35);
this.CustomLabelSettingInfoCPU.Name = "CustomLabelSettingInfoCPU";
this.CustomLabelSettingInfoCPU.RoundedCorners = 0;
this.CustomLabelSettingInfoCPU.Size = new System.Drawing.Size(132, 15);
@@ -2631,7 +2713,7 @@ private void InitializeComponent()
this.TabPageSettingsOthers.Location = new System.Drawing.Point(94, 4);
this.TabPageSettingsOthers.Name = "TabPageSettingsOthers";
this.TabPageSettingsOthers.Padding = new System.Windows.Forms.Padding(3);
- this.TabPageSettingsOthers.Size = new System.Drawing.Size(590, 270);
+ this.TabPageSettingsOthers.Size = new System.Drawing.Size(588, 357);
this.TabPageSettingsOthers.TabIndex = 2;
this.TabPageSettingsOthers.Tag = 5;
this.TabPageSettingsOthers.Text = "Others";
@@ -2642,7 +2724,7 @@ private void InitializeComponent()
this.CustomNumericUpDownSettingFallbackDnsPort.BorderColor = System.Drawing.Color.Blue;
this.CustomNumericUpDownSettingFallbackDnsPort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.CustomNumericUpDownSettingFallbackDnsPort.Enabled = false;
- this.CustomNumericUpDownSettingFallbackDnsPort.Location = new System.Drawing.Point(410, 63);
+ this.CustomNumericUpDownSettingFallbackDnsPort.Location = new System.Drawing.Point(395, 68);
this.CustomNumericUpDownSettingFallbackDnsPort.Maximum = new decimal(new int[] {
65535,
0,
@@ -2654,7 +2736,7 @@ private void InitializeComponent()
0,
0});
this.CustomNumericUpDownSettingFallbackDnsPort.Name = "CustomNumericUpDownSettingFallbackDnsPort";
- this.CustomNumericUpDownSettingFallbackDnsPort.Size = new System.Drawing.Size(55, 23);
+ this.CustomNumericUpDownSettingFallbackDnsPort.Size = new System.Drawing.Size(53, 23);
this.CustomNumericUpDownSettingFallbackDnsPort.TabIndex = 13;
this.CustomNumericUpDownSettingFallbackDnsPort.Value = new decimal(new int[] {
53,
@@ -2670,7 +2752,7 @@ private void InitializeComponent()
this.CustomLabelSettingFallbackDnsPort.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelSettingFallbackDnsPort.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelSettingFallbackDnsPort.ForeColor = System.Drawing.Color.White;
- this.CustomLabelSettingFallbackDnsPort.Location = new System.Drawing.Point(290, 65);
+ this.CustomLabelSettingFallbackDnsPort.Location = new System.Drawing.Point(275, 70);
this.CustomLabelSettingFallbackDnsPort.Name = "CustomLabelSettingFallbackDnsPort";
this.CustomLabelSettingFallbackDnsPort.RoundedCorners = 0;
this.CustomLabelSettingFallbackDnsPort.Size = new System.Drawing.Size(104, 15);
@@ -2690,14 +2772,14 @@ private void InitializeComponent()
this.CustomTextBoxSettingFallbackDnsIP.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.CustomTextBoxSettingFallbackDnsIP.ForeColor = System.Drawing.Color.White;
this.CustomTextBoxSettingFallbackDnsIP.HideSelection = true;
- this.CustomTextBoxSettingFallbackDnsIP.Location = new System.Drawing.Point(125, 63);
+ this.CustomTextBoxSettingFallbackDnsIP.Location = new System.Drawing.Point(120, 68);
this.CustomTextBoxSettingFallbackDnsIP.MaxLength = 32767;
this.CustomTextBoxSettingFallbackDnsIP.Multiline = false;
this.CustomTextBoxSettingFallbackDnsIP.Name = "CustomTextBoxSettingFallbackDnsIP";
this.CustomTextBoxSettingFallbackDnsIP.ReadOnly = false;
this.CustomTextBoxSettingFallbackDnsIP.ScrollBars = System.Windows.Forms.ScrollBars.None;
this.CustomTextBoxSettingFallbackDnsIP.ShortcutsEnabled = true;
- this.CustomTextBoxSettingFallbackDnsIP.Size = new System.Drawing.Size(100, 23);
+ this.CustomTextBoxSettingFallbackDnsIP.Size = new System.Drawing.Size(95, 23);
this.CustomTextBoxSettingFallbackDnsIP.TabIndex = 0;
this.CustomTextBoxSettingFallbackDnsIP.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.CustomTextBoxSettingFallbackDnsIP.Texts = "8.8.8.8";
@@ -2713,7 +2795,7 @@ private void InitializeComponent()
this.CustomLabelSettingFallbackDnsIP.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelSettingFallbackDnsIP.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelSettingFallbackDnsIP.ForeColor = System.Drawing.Color.White;
- this.CustomLabelSettingFallbackDnsIP.Location = new System.Drawing.Point(15, 65);
+ this.CustomLabelSettingFallbackDnsIP.Location = new System.Drawing.Point(15, 70);
this.CustomLabelSettingFallbackDnsIP.Name = "CustomLabelSettingFallbackDnsIP";
this.CustomLabelSettingFallbackDnsIP.RoundedCorners = 0;
this.CustomLabelSettingFallbackDnsIP.Size = new System.Drawing.Size(92, 15);
@@ -2725,7 +2807,7 @@ private void InitializeComponent()
this.CustomNumericUpDownSettingBootstrapDnsPort.BackColor = System.Drawing.Color.DimGray;
this.CustomNumericUpDownSettingBootstrapDnsPort.BorderColor = System.Drawing.Color.Blue;
this.CustomNumericUpDownSettingBootstrapDnsPort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.CustomNumericUpDownSettingBootstrapDnsPort.Location = new System.Drawing.Point(410, 18);
+ this.CustomNumericUpDownSettingBootstrapDnsPort.Location = new System.Drawing.Point(395, 18);
this.CustomNumericUpDownSettingBootstrapDnsPort.Maximum = new decimal(new int[] {
65535,
0,
@@ -2737,7 +2819,7 @@ private void InitializeComponent()
0,
0});
this.CustomNumericUpDownSettingBootstrapDnsPort.Name = "CustomNumericUpDownSettingBootstrapDnsPort";
- this.CustomNumericUpDownSettingBootstrapDnsPort.Size = new System.Drawing.Size(55, 23);
+ this.CustomNumericUpDownSettingBootstrapDnsPort.Size = new System.Drawing.Size(53, 23);
this.CustomNumericUpDownSettingBootstrapDnsPort.TabIndex = 9;
this.CustomNumericUpDownSettingBootstrapDnsPort.Value = new decimal(new int[] {
53,
@@ -2753,7 +2835,7 @@ private void InitializeComponent()
this.CustomLabelSettingBootstrapDnsPort.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelSettingBootstrapDnsPort.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelSettingBootstrapDnsPort.ForeColor = System.Drawing.Color.White;
- this.CustomLabelSettingBootstrapDnsPort.Location = new System.Drawing.Point(290, 20);
+ this.CustomLabelSettingBootstrapDnsPort.Location = new System.Drawing.Point(275, 20);
this.CustomLabelSettingBootstrapDnsPort.Name = "CustomLabelSettingBootstrapDnsPort";
this.CustomLabelSettingBootstrapDnsPort.RoundedCorners = 0;
this.CustomLabelSettingBootstrapDnsPort.Size = new System.Drawing.Size(112, 15);
@@ -2762,13 +2844,15 @@ private void InitializeComponent()
//
// CustomButtonSettingRestoreDefault
//
+ this.CustomButtonSettingRestoreDefault.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.CustomButtonSettingRestoreDefault.AutoSize = true;
this.CustomButtonSettingRestoreDefault.BorderColor = System.Drawing.Color.Blue;
this.CustomButtonSettingRestoreDefault.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.CustomButtonSettingRestoreDefault.Location = new System.Drawing.Point(40, 235);
+ this.CustomButtonSettingRestoreDefault.Location = new System.Drawing.Point(40, 324);
this.CustomButtonSettingRestoreDefault.Name = "CustomButtonSettingRestoreDefault";
this.CustomButtonSettingRestoreDefault.RoundedCorners = 0;
this.CustomButtonSettingRestoreDefault.SelectionColor = System.Drawing.Color.LightBlue;
- this.CustomButtonSettingRestoreDefault.Size = new System.Drawing.Size(160, 23);
+ this.CustomButtonSettingRestoreDefault.Size = new System.Drawing.Size(171, 27);
this.CustomButtonSettingRestoreDefault.TabIndex = 2;
this.CustomButtonSettingRestoreDefault.Text = "Restore all settings to default";
this.CustomButtonSettingRestoreDefault.UseVisualStyleBackColor = true;
@@ -2780,7 +2864,7 @@ private void InitializeComponent()
this.CustomCheckBoxSettingDisableAudioAlert.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxSettingDisableAudioAlert.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxSettingDisableAudioAlert.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxSettingDisableAudioAlert.Location = new System.Drawing.Point(15, 155);
+ this.CustomCheckBoxSettingDisableAudioAlert.Location = new System.Drawing.Point(15, 170);
this.CustomCheckBoxSettingDisableAudioAlert.Name = "CustomCheckBoxSettingDisableAudioAlert";
this.CustomCheckBoxSettingDisableAudioAlert.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxSettingDisableAudioAlert.Size = new System.Drawing.Size(125, 17);
@@ -2809,7 +2893,7 @@ private void InitializeComponent()
this.CustomCheckBoxSettingDontAskCertificate.BorderColor = System.Drawing.Color.Blue;
this.CustomCheckBoxSettingDontAskCertificate.CheckColor = System.Drawing.Color.Blue;
this.CustomCheckBoxSettingDontAskCertificate.ForeColor = System.Drawing.Color.White;
- this.CustomCheckBoxSettingDontAskCertificate.Location = new System.Drawing.Point(15, 110);
+ this.CustomCheckBoxSettingDontAskCertificate.Location = new System.Drawing.Point(15, 120);
this.CustomCheckBoxSettingDontAskCertificate.Name = "CustomCheckBoxSettingDontAskCertificate";
this.CustomCheckBoxSettingDontAskCertificate.SelectionColor = System.Drawing.Color.LightBlue;
this.CustomCheckBoxSettingDontAskCertificate.Size = new System.Drawing.Size(210, 17);
@@ -2829,14 +2913,14 @@ private void InitializeComponent()
this.CustomTextBoxSettingBootstrapDnsIP.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.CustomTextBoxSettingBootstrapDnsIP.ForeColor = System.Drawing.Color.White;
this.CustomTextBoxSettingBootstrapDnsIP.HideSelection = true;
- this.CustomTextBoxSettingBootstrapDnsIP.Location = new System.Drawing.Point(125, 18);
+ this.CustomTextBoxSettingBootstrapDnsIP.Location = new System.Drawing.Point(120, 18);
this.CustomTextBoxSettingBootstrapDnsIP.MaxLength = 32767;
this.CustomTextBoxSettingBootstrapDnsIP.Multiline = false;
this.CustomTextBoxSettingBootstrapDnsIP.Name = "CustomTextBoxSettingBootstrapDnsIP";
this.CustomTextBoxSettingBootstrapDnsIP.ReadOnly = false;
this.CustomTextBoxSettingBootstrapDnsIP.ScrollBars = System.Windows.Forms.ScrollBars.None;
this.CustomTextBoxSettingBootstrapDnsIP.ShortcutsEnabled = true;
- this.CustomTextBoxSettingBootstrapDnsIP.Size = new System.Drawing.Size(100, 23);
+ this.CustomTextBoxSettingBootstrapDnsIP.Size = new System.Drawing.Size(95, 23);
this.CustomTextBoxSettingBootstrapDnsIP.TabIndex = 0;
this.CustomTextBoxSettingBootstrapDnsIP.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.CustomTextBoxSettingBootstrapDnsIP.Texts = "8.8.8.8";
@@ -2861,7 +2945,7 @@ private void InitializeComponent()
this.TabPageAbout.Location = new System.Drawing.Point(4, 25);
this.TabPageAbout.Name = "TabPageAbout";
this.TabPageAbout.Padding = new System.Windows.Forms.Padding(3);
- this.TabPageAbout.Size = new System.Drawing.Size(692, 284);
+ this.TabPageAbout.Size = new System.Drawing.Size(692, 371);
this.TabPageAbout.TabIndex = 2;
this.TabPageAbout.Tag = 2;
this.TabPageAbout.Text = "About";
@@ -2870,7 +2954,7 @@ private void InitializeComponent()
//
this.LinkLabelStAlidxdydz.AutoSize = true;
this.LinkLabelStAlidxdydz.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
- this.LinkLabelStAlidxdydz.Location = new System.Drawing.Point(485, 153);
+ this.LinkLabelStAlidxdydz.Location = new System.Drawing.Point(461, 174);
this.LinkLabelStAlidxdydz.Name = "LinkLabelStAlidxdydz";
this.LinkLabelStAlidxdydz.Size = new System.Drawing.Size(59, 15);
this.LinkLabelStAlidxdydz.TabIndex = 10;
@@ -2886,7 +2970,7 @@ private void InitializeComponent()
this.CustomLabelAboutSpecialThanks.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelAboutSpecialThanks.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelAboutSpecialThanks.ForeColor = System.Drawing.Color.White;
- this.CustomLabelAboutSpecialThanks.Location = new System.Drawing.Point(470, 120);
+ this.CustomLabelAboutSpecialThanks.Location = new System.Drawing.Point(446, 135);
this.CustomLabelAboutSpecialThanks.Name = "CustomLabelAboutSpecialThanks";
this.CustomLabelAboutSpecialThanks.RoundedCorners = 0;
this.CustomLabelAboutSpecialThanks.Size = new System.Drawing.Size(81, 75);
@@ -2897,7 +2981,7 @@ private void InitializeComponent()
//
this.LinkLabelGoodbyeDPI.AutoSize = true;
this.LinkLabelGoodbyeDPI.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
- this.LinkLabelGoodbyeDPI.Location = new System.Drawing.Point(300, 213);
+ this.LinkLabelGoodbyeDPI.Location = new System.Drawing.Point(285, 230);
this.LinkLabelGoodbyeDPI.Name = "LinkLabelGoodbyeDPI";
this.LinkLabelGoodbyeDPI.Size = new System.Drawing.Size(76, 15);
this.LinkLabelGoodbyeDPI.TabIndex = 6;
@@ -2909,7 +2993,7 @@ private void InitializeComponent()
//
this.LinkLabelDNSCrypt.AutoSize = true;
this.LinkLabelDNSCrypt.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
- this.LinkLabelDNSCrypt.Location = new System.Drawing.Point(300, 193);
+ this.LinkLabelDNSCrypt.Location = new System.Drawing.Point(285, 208);
this.LinkLabelDNSCrypt.Name = "LinkLabelDNSCrypt";
this.LinkLabelDNSCrypt.Size = new System.Drawing.Size(62, 15);
this.LinkLabelDNSCrypt.TabIndex = 5;
@@ -2921,7 +3005,7 @@ private void InitializeComponent()
//
this.LinkLabelDNSProxy.AutoSize = true;
this.LinkLabelDNSProxy.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
- this.LinkLabelDNSProxy.Location = new System.Drawing.Point(300, 173);
+ this.LinkLabelDNSProxy.Location = new System.Drawing.Point(285, 185);
this.LinkLabelDNSProxy.Name = "LinkLabelDNSProxy";
this.LinkLabelDNSProxy.Size = new System.Drawing.Size(160, 15);
this.LinkLabelDNSProxy.TabIndex = 4;
@@ -2933,7 +3017,7 @@ private void InitializeComponent()
//
this.LinkLabelDNSLookup.AutoSize = true;
this.LinkLabelDNSLookup.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
- this.LinkLabelDNSLookup.Location = new System.Drawing.Point(300, 153);
+ this.LinkLabelDNSLookup.Location = new System.Drawing.Point(285, 163);
this.LinkLabelDNSLookup.Name = "LinkLabelDNSLookup";
this.LinkLabelDNSLookup.Size = new System.Drawing.Size(73, 15);
this.LinkLabelDNSLookup.TabIndex = 3;
@@ -2949,7 +3033,7 @@ private void InitializeComponent()
this.CustomLabelAboutUsing.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelAboutUsing.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelAboutUsing.ForeColor = System.Drawing.Color.White;
- this.CustomLabelAboutUsing.Location = new System.Drawing.Point(285, 120);
+ this.CustomLabelAboutUsing.Location = new System.Drawing.Point(270, 135);
this.CustomLabelAboutUsing.Name = "CustomLabelAboutUsing";
this.CustomLabelAboutUsing.RoundedCorners = 0;
this.CustomLabelAboutUsing.Size = new System.Drawing.Size(36, 120);
@@ -2964,7 +3048,7 @@ private void InitializeComponent()
this.CustomLabelAboutVersion.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelAboutVersion.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelAboutVersion.ForeColor = System.Drawing.Color.White;
- this.CustomLabelAboutVersion.Location = new System.Drawing.Point(623, 46);
+ this.CustomLabelAboutVersion.Location = new System.Drawing.Point(600, 51);
this.CustomLabelAboutVersion.Name = "CustomLabelAboutVersion";
this.CustomLabelAboutVersion.RoundedCorners = 0;
this.CustomLabelAboutVersion.Size = new System.Drawing.Size(45, 15);
@@ -2979,7 +3063,7 @@ private void InitializeComponent()
this.CustomLabelAboutThis2.BorderColor = System.Drawing.Color.Blue;
this.CustomLabelAboutThis2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelAboutThis2.ForeColor = System.Drawing.Color.IndianRed;
- this.CustomLabelAboutThis2.Location = new System.Drawing.Point(282, 70);
+ this.CustomLabelAboutThis2.Location = new System.Drawing.Point(267, 75);
this.CustomLabelAboutThis2.Name = "CustomLabelAboutThis2";
this.CustomLabelAboutThis2.RoundedCorners = 0;
this.CustomLabelAboutThis2.Size = new System.Drawing.Size(333, 15);
@@ -2996,7 +3080,7 @@ private void InitializeComponent()
this.CustomLabelAboutThis.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CustomLabelAboutThis.Font = new System.Drawing.Font("Verdana", 19F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
this.CustomLabelAboutThis.ForeColor = System.Drawing.Color.DodgerBlue;
- this.CustomLabelAboutThis.Location = new System.Drawing.Point(250, 30);
+ this.CustomLabelAboutThis.Location = new System.Drawing.Point(235, 33);
this.CustomLabelAboutThis.Name = "CustomLabelAboutThis";
this.CustomLabelAboutThis.RoundedCorners = 0;
this.CustomLabelAboutThis.Size = new System.Drawing.Size(367, 32);
@@ -3007,78 +3091,27 @@ private void InitializeComponent()
// PictureBoxAbout
//
this.PictureBoxAbout.Image = global::SecureDNSClient.Properties.Resources.SecureDNSClient;
- this.PictureBoxAbout.Location = new System.Drawing.Point(60, 30);
+ this.PictureBoxAbout.Location = new System.Drawing.Point(55, 35);
this.PictureBoxAbout.Name = "PictureBoxAbout";
this.PictureBoxAbout.Size = new System.Drawing.Size(128, 128);
this.PictureBoxAbout.TabIndex = 0;
this.PictureBoxAbout.TabStop = false;
//
- // CustomStatusStrip1
- //
- this.CustomStatusStrip1.BackColor = System.Drawing.Color.DimGray;
- this.CustomStatusStrip1.Border = false;
- this.CustomStatusStrip1.BorderColor = System.Drawing.Color.Blue;
- this.CustomStatusStrip1.ForeColor = System.Drawing.Color.White;
- this.CustomStatusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
- this.CustomStatusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.ToolStripStatusLabelDNS,
- this.ToolStripStatusLabelDnsLatency,
- this.ToolStripStatusLabelDoH,
- this.ToolStripStatusLabelDohLatency,
- this.ToolStripStatusLabelSpace,
- this.ToolStripStatusLabelPercent});
- this.CustomStatusStrip1.Location = new System.Drawing.Point(0, 564);
- this.CustomStatusStrip1.Name = "CustomStatusStrip1";
- this.CustomStatusStrip1.SelectionColor = System.Drawing.Color.LightBlue;
- this.CustomStatusStrip1.Size = new System.Drawing.Size(704, 22);
- this.CustomStatusStrip1.TabIndex = 7;
- this.CustomStatusStrip1.Text = "CustomStatusStrip1";
- //
- // ToolStripStatusLabelDNS
- //
- this.ToolStripStatusLabelDNS.AutoSize = false;
- this.ToolStripStatusLabelDNS.Name = "ToolStripStatusLabelDNS";
- this.ToolStripStatusLabelDNS.Size = new System.Drawing.Size(120, 17);
- this.ToolStripStatusLabelDNS.Text = "DNS status: Offline.";
- this.ToolStripStatusLabelDNS.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // ToolStripStatusLabelDnsLatency
- //
- this.ToolStripStatusLabelDnsLatency.AutoSize = false;
- this.ToolStripStatusLabelDnsLatency.Name = "ToolStripStatusLabelDnsLatency";
- this.ToolStripStatusLabelDnsLatency.Size = new System.Drawing.Size(100, 17);
- this.ToolStripStatusLabelDnsLatency.Text = "Latency: -1";
- this.ToolStripStatusLabelDnsLatency.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // ToolStripStatusLabelDoH
- //
- this.ToolStripStatusLabelDoH.AutoSize = false;
- this.ToolStripStatusLabelDoH.Name = "ToolStripStatusLabelDoH";
- this.ToolStripStatusLabelDoH.Size = new System.Drawing.Size(120, 17);
- this.ToolStripStatusLabelDoH.Text = "DoH status: Offline.";
- this.ToolStripStatusLabelDoH.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // ToolStripStatusLabelDohLatency
- //
- this.ToolStripStatusLabelDohLatency.AutoSize = false;
- this.ToolStripStatusLabelDohLatency.Name = "ToolStripStatusLabelDohLatency";
- this.ToolStripStatusLabelDohLatency.Size = new System.Drawing.Size(100, 17);
- this.ToolStripStatusLabelDohLatency.Text = "Latency: -1";
- this.ToolStripStatusLabelDohLatency.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // ToolStripStatusLabelSpace
- //
- this.ToolStripStatusLabelSpace.Name = "ToolStripStatusLabelSpace";
- this.ToolStripStatusLabelSpace.Size = new System.Drawing.Size(194, 17);
- this.ToolStripStatusLabelSpace.Spring = true;
- //
- // ToolStripStatusLabelPercent
- //
- this.ToolStripStatusLabelPercent.AutoSize = false;
- this.ToolStripStatusLabelPercent.Name = "ToolStripStatusLabelPercent";
- this.ToolStripStatusLabelPercent.Size = new System.Drawing.Size(55, 17);
- this.ToolStripStatusLabelPercent.Text = "0%";
- this.ToolStripStatusLabelPercent.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ // CustomButtonToggleLogView
+ //
+ this.CustomButtonToggleLogView.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.CustomButtonToggleLogView.AutoSize = true;
+ this.CustomButtonToggleLogView.BorderColor = System.Drawing.Color.Blue;
+ this.CustomButtonToggleLogView.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.CustomButtonToggleLogView.Location = new System.Drawing.Point(144, 362);
+ this.CustomButtonToggleLogView.Name = "CustomButtonToggleLogView";
+ this.CustomButtonToggleLogView.RoundedCorners = 5;
+ this.CustomButtonToggleLogView.SelectionColor = System.Drawing.Color.LightBlue;
+ this.CustomButtonToggleLogView.Size = new System.Drawing.Size(25, 27);
+ this.CustomButtonToggleLogView.TabIndex = 10;
+ this.CustomButtonToggleLogView.Text = "T";
+ this.CustomButtonToggleLogView.UseVisualStyleBackColor = true;
+ this.CustomButtonToggleLogView.Click += new System.EventHandler(this.CustomButtonToggleLogView_Click);
//
// NotifyIconMain
//
@@ -3101,20 +3134,202 @@ private void InitializeComponent()
// CustomGroupBoxStatus
//
this.CustomGroupBoxStatus.BorderColor = System.Drawing.Color.Blue;
+ this.CustomGroupBoxStatus.Controls.Add(this.CustomRichTextBoxStatusProxyRequests);
+ this.CustomGroupBoxStatus.Controls.Add(this.CustomRichTextBoxStatusLocalDoHLatency);
+ this.CustomGroupBoxStatus.Controls.Add(this.CustomButtonToggleLogView);
+ this.CustomGroupBoxStatus.Controls.Add(this.CustomRichTextBoxStatusLocalDoH);
+ this.CustomGroupBoxStatus.Controls.Add(this.CustomRichTextBoxStatusLocalDnsLatency);
+ this.CustomGroupBoxStatus.Controls.Add(this.CustomRichTextBoxStatusLocalDNS);
this.CustomGroupBoxStatus.Controls.Add(this.CustomRichTextBoxStatusIsProxySet);
this.CustomGroupBoxStatus.Controls.Add(this.CustomRichTextBoxStatusIsSharing);
this.CustomGroupBoxStatus.Controls.Add(this.CustomRichTextBoxStatusIsDNSSet);
this.CustomGroupBoxStatus.Controls.Add(this.CustomRichTextBoxStatusIsDPIActive);
this.CustomGroupBoxStatus.Controls.Add(this.CustomRichTextBoxStatusIsConnected);
this.CustomGroupBoxStatus.Controls.Add(this.CustomRichTextBoxStatusWorkingServers);
- this.CustomGroupBoxStatus.Location = new System.Drawing.Point(1, 315);
+ this.CustomGroupBoxStatus.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.CustomGroupBoxStatus.Location = new System.Drawing.Point(0, 0);
this.CustomGroupBoxStatus.Margin = new System.Windows.Forms.Padding(1);
this.CustomGroupBoxStatus.Name = "CustomGroupBoxStatus";
- this.CustomGroupBoxStatus.Size = new System.Drawing.Size(700, 40);
+ this.CustomGroupBoxStatus.Size = new System.Drawing.Size(180, 400);
this.CustomGroupBoxStatus.TabIndex = 8;
this.CustomGroupBoxStatus.TabStop = false;
this.CustomGroupBoxStatus.Text = "Status";
//
+ // CustomRichTextBoxStatusProxyRequests
+ //
+ this.CustomRichTextBoxStatusProxyRequests.AcceptsTab = false;
+ this.CustomRichTextBoxStatusProxyRequests.AutoWordSelection = false;
+ this.CustomRichTextBoxStatusProxyRequests.BackColor = System.Drawing.Color.DimGray;
+ this.CustomRichTextBoxStatusProxyRequests.Border = false;
+ this.CustomRichTextBoxStatusProxyRequests.BorderColor = System.Drawing.Color.Blue;
+ this.CustomRichTextBoxStatusProxyRequests.BorderSize = 1;
+ this.CustomRichTextBoxStatusProxyRequests.BulletIndent = 0;
+ this.CustomRichTextBoxStatusProxyRequests.Cursor = System.Windows.Forms.Cursors.Default;
+ this.CustomRichTextBoxStatusProxyRequests.DetectUrls = true;
+ this.CustomRichTextBoxStatusProxyRequests.EnableAutoDragDrop = false;
+ this.CustomRichTextBoxStatusProxyRequests.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ this.CustomRichTextBoxStatusProxyRequests.ForeColor = System.Drawing.Color.White;
+ this.CustomRichTextBoxStatusProxyRequests.HideSelection = true;
+ this.CustomRichTextBoxStatusProxyRequests.Location = new System.Drawing.Point(5, 240);
+ this.CustomRichTextBoxStatusProxyRequests.MaxLength = 2147483647;
+ this.CustomRichTextBoxStatusProxyRequests.MinimumSize = new System.Drawing.Size(0, 15);
+ this.CustomRichTextBoxStatusProxyRequests.Multiline = false;
+ this.CustomRichTextBoxStatusProxyRequests.Name = "CustomRichTextBoxStatusProxyRequests";
+ this.CustomRichTextBoxStatusProxyRequests.ReadOnly = true;
+ this.CustomRichTextBoxStatusProxyRequests.RightMargin = 0;
+ this.CustomRichTextBoxStatusProxyRequests.ScrollBars = System.Windows.Forms.ScrollBars.None;
+ this.CustomRichTextBoxStatusProxyRequests.ScrollToBottom = false;
+ this.CustomRichTextBoxStatusProxyRequests.SelectionColor = System.Drawing.Color.White;
+ this.CustomRichTextBoxStatusProxyRequests.SelectionLength = 0;
+ this.CustomRichTextBoxStatusProxyRequests.SelectionStart = 0;
+ this.CustomRichTextBoxStatusProxyRequests.ShortcutsEnabled = true;
+ this.CustomRichTextBoxStatusProxyRequests.Size = new System.Drawing.Size(170, 23);
+ this.CustomRichTextBoxStatusProxyRequests.TabIndex = 0;
+ this.CustomRichTextBoxStatusProxyRequests.Texts = "Proxy Requests 20000 of 20000";
+ this.CustomRichTextBoxStatusProxyRequests.UnderlinedStyle = false;
+ this.CustomRichTextBoxStatusProxyRequests.WordWrap = false;
+ this.CustomRichTextBoxStatusProxyRequests.ZoomFactor = 1F;
+ //
+ // CustomRichTextBoxStatusLocalDoHLatency
+ //
+ this.CustomRichTextBoxStatusLocalDoHLatency.AcceptsTab = false;
+ this.CustomRichTextBoxStatusLocalDoHLatency.AutoWordSelection = false;
+ this.CustomRichTextBoxStatusLocalDoHLatency.BackColor = System.Drawing.Color.DimGray;
+ this.CustomRichTextBoxStatusLocalDoHLatency.Border = false;
+ this.CustomRichTextBoxStatusLocalDoHLatency.BorderColor = System.Drawing.Color.Blue;
+ this.CustomRichTextBoxStatusLocalDoHLatency.BorderSize = 1;
+ this.CustomRichTextBoxStatusLocalDoHLatency.BulletIndent = 0;
+ this.CustomRichTextBoxStatusLocalDoHLatency.Cursor = System.Windows.Forms.Cursors.Default;
+ this.CustomRichTextBoxStatusLocalDoHLatency.DetectUrls = true;
+ this.CustomRichTextBoxStatusLocalDoHLatency.EnableAutoDragDrop = false;
+ this.CustomRichTextBoxStatusLocalDoHLatency.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ this.CustomRichTextBoxStatusLocalDoHLatency.ForeColor = System.Drawing.Color.White;
+ this.CustomRichTextBoxStatusLocalDoHLatency.HideSelection = true;
+ this.CustomRichTextBoxStatusLocalDoHLatency.Location = new System.Drawing.Point(5, 140);
+ this.CustomRichTextBoxStatusLocalDoHLatency.MaxLength = 2147483647;
+ this.CustomRichTextBoxStatusLocalDoHLatency.MinimumSize = new System.Drawing.Size(0, 15);
+ this.CustomRichTextBoxStatusLocalDoHLatency.Multiline = false;
+ this.CustomRichTextBoxStatusLocalDoHLatency.Name = "CustomRichTextBoxStatusLocalDoHLatency";
+ this.CustomRichTextBoxStatusLocalDoHLatency.ReadOnly = true;
+ this.CustomRichTextBoxStatusLocalDoHLatency.RightMargin = 0;
+ this.CustomRichTextBoxStatusLocalDoHLatency.ScrollBars = System.Windows.Forms.ScrollBars.None;
+ this.CustomRichTextBoxStatusLocalDoHLatency.ScrollToBottom = false;
+ this.CustomRichTextBoxStatusLocalDoHLatency.SelectionColor = System.Drawing.Color.White;
+ this.CustomRichTextBoxStatusLocalDoHLatency.SelectionLength = 0;
+ this.CustomRichTextBoxStatusLocalDoHLatency.SelectionStart = 0;
+ this.CustomRichTextBoxStatusLocalDoHLatency.ShortcutsEnabled = true;
+ this.CustomRichTextBoxStatusLocalDoHLatency.Size = new System.Drawing.Size(170, 23);
+ this.CustomRichTextBoxStatusLocalDoHLatency.TabIndex = 0;
+ this.CustomRichTextBoxStatusLocalDoHLatency.Texts = "Local DoH Latency: -1";
+ this.CustomRichTextBoxStatusLocalDoHLatency.UnderlinedStyle = false;
+ this.CustomRichTextBoxStatusLocalDoHLatency.WordWrap = false;
+ this.CustomRichTextBoxStatusLocalDoHLatency.ZoomFactor = 1F;
+ //
+ // CustomRichTextBoxStatusLocalDoH
+ //
+ this.CustomRichTextBoxStatusLocalDoH.AcceptsTab = false;
+ this.CustomRichTextBoxStatusLocalDoH.AutoWordSelection = false;
+ this.CustomRichTextBoxStatusLocalDoH.BackColor = System.Drawing.Color.DimGray;
+ this.CustomRichTextBoxStatusLocalDoH.Border = false;
+ this.CustomRichTextBoxStatusLocalDoH.BorderColor = System.Drawing.Color.Blue;
+ this.CustomRichTextBoxStatusLocalDoH.BorderSize = 1;
+ this.CustomRichTextBoxStatusLocalDoH.BulletIndent = 0;
+ this.CustomRichTextBoxStatusLocalDoH.Cursor = System.Windows.Forms.Cursors.Default;
+ this.CustomRichTextBoxStatusLocalDoH.DetectUrls = true;
+ this.CustomRichTextBoxStatusLocalDoH.EnableAutoDragDrop = false;
+ this.CustomRichTextBoxStatusLocalDoH.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ this.CustomRichTextBoxStatusLocalDoH.ForeColor = System.Drawing.Color.White;
+ this.CustomRichTextBoxStatusLocalDoH.HideSelection = true;
+ this.CustomRichTextBoxStatusLocalDoH.Location = new System.Drawing.Point(5, 115);
+ this.CustomRichTextBoxStatusLocalDoH.MaxLength = 2147483647;
+ this.CustomRichTextBoxStatusLocalDoH.MinimumSize = new System.Drawing.Size(0, 15);
+ this.CustomRichTextBoxStatusLocalDoH.Multiline = false;
+ this.CustomRichTextBoxStatusLocalDoH.Name = "CustomRichTextBoxStatusLocalDoH";
+ this.CustomRichTextBoxStatusLocalDoH.ReadOnly = true;
+ this.CustomRichTextBoxStatusLocalDoH.RightMargin = 0;
+ this.CustomRichTextBoxStatusLocalDoH.ScrollBars = System.Windows.Forms.ScrollBars.None;
+ this.CustomRichTextBoxStatusLocalDoH.ScrollToBottom = false;
+ this.CustomRichTextBoxStatusLocalDoH.SelectionColor = System.Drawing.Color.White;
+ this.CustomRichTextBoxStatusLocalDoH.SelectionLength = 0;
+ this.CustomRichTextBoxStatusLocalDoH.SelectionStart = 0;
+ this.CustomRichTextBoxStatusLocalDoH.ShortcutsEnabled = true;
+ this.CustomRichTextBoxStatusLocalDoH.Size = new System.Drawing.Size(170, 23);
+ this.CustomRichTextBoxStatusLocalDoH.TabIndex = 0;
+ this.CustomRichTextBoxStatusLocalDoH.Texts = "Local DoH: Offline";
+ this.CustomRichTextBoxStatusLocalDoH.UnderlinedStyle = false;
+ this.CustomRichTextBoxStatusLocalDoH.WordWrap = false;
+ this.CustomRichTextBoxStatusLocalDoH.ZoomFactor = 1F;
+ //
+ // CustomRichTextBoxStatusLocalDnsLatency
+ //
+ this.CustomRichTextBoxStatusLocalDnsLatency.AcceptsTab = false;
+ this.CustomRichTextBoxStatusLocalDnsLatency.AutoWordSelection = false;
+ this.CustomRichTextBoxStatusLocalDnsLatency.BackColor = System.Drawing.Color.DimGray;
+ this.CustomRichTextBoxStatusLocalDnsLatency.Border = false;
+ this.CustomRichTextBoxStatusLocalDnsLatency.BorderColor = System.Drawing.Color.Blue;
+ this.CustomRichTextBoxStatusLocalDnsLatency.BorderSize = 1;
+ this.CustomRichTextBoxStatusLocalDnsLatency.BulletIndent = 0;
+ this.CustomRichTextBoxStatusLocalDnsLatency.Cursor = System.Windows.Forms.Cursors.Default;
+ this.CustomRichTextBoxStatusLocalDnsLatency.DetectUrls = true;
+ this.CustomRichTextBoxStatusLocalDnsLatency.EnableAutoDragDrop = false;
+ this.CustomRichTextBoxStatusLocalDnsLatency.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ this.CustomRichTextBoxStatusLocalDnsLatency.ForeColor = System.Drawing.Color.White;
+ this.CustomRichTextBoxStatusLocalDnsLatency.HideSelection = true;
+ this.CustomRichTextBoxStatusLocalDnsLatency.Location = new System.Drawing.Point(5, 90);
+ this.CustomRichTextBoxStatusLocalDnsLatency.MaxLength = 2147483647;
+ this.CustomRichTextBoxStatusLocalDnsLatency.MinimumSize = new System.Drawing.Size(0, 15);
+ this.CustomRichTextBoxStatusLocalDnsLatency.Multiline = false;
+ this.CustomRichTextBoxStatusLocalDnsLatency.Name = "CustomRichTextBoxStatusLocalDnsLatency";
+ this.CustomRichTextBoxStatusLocalDnsLatency.ReadOnly = true;
+ this.CustomRichTextBoxStatusLocalDnsLatency.RightMargin = 0;
+ this.CustomRichTextBoxStatusLocalDnsLatency.ScrollBars = System.Windows.Forms.ScrollBars.None;
+ this.CustomRichTextBoxStatusLocalDnsLatency.ScrollToBottom = false;
+ this.CustomRichTextBoxStatusLocalDnsLatency.SelectionColor = System.Drawing.Color.White;
+ this.CustomRichTextBoxStatusLocalDnsLatency.SelectionLength = 0;
+ this.CustomRichTextBoxStatusLocalDnsLatency.SelectionStart = 0;
+ this.CustomRichTextBoxStatusLocalDnsLatency.ShortcutsEnabled = true;
+ this.CustomRichTextBoxStatusLocalDnsLatency.Size = new System.Drawing.Size(170, 23);
+ this.CustomRichTextBoxStatusLocalDnsLatency.TabIndex = 0;
+ this.CustomRichTextBoxStatusLocalDnsLatency.Texts = "Local DNS Latency: -1";
+ this.CustomRichTextBoxStatusLocalDnsLatency.UnderlinedStyle = false;
+ this.CustomRichTextBoxStatusLocalDnsLatency.WordWrap = false;
+ this.CustomRichTextBoxStatusLocalDnsLatency.ZoomFactor = 1F;
+ //
+ // CustomRichTextBoxStatusLocalDNS
+ //
+ this.CustomRichTextBoxStatusLocalDNS.AcceptsTab = false;
+ this.CustomRichTextBoxStatusLocalDNS.AutoWordSelection = false;
+ this.CustomRichTextBoxStatusLocalDNS.BackColor = System.Drawing.Color.DimGray;
+ this.CustomRichTextBoxStatusLocalDNS.Border = false;
+ this.CustomRichTextBoxStatusLocalDNS.BorderColor = System.Drawing.Color.Blue;
+ this.CustomRichTextBoxStatusLocalDNS.BorderSize = 1;
+ this.CustomRichTextBoxStatusLocalDNS.BulletIndent = 0;
+ this.CustomRichTextBoxStatusLocalDNS.Cursor = System.Windows.Forms.Cursors.Default;
+ this.CustomRichTextBoxStatusLocalDNS.DetectUrls = true;
+ this.CustomRichTextBoxStatusLocalDNS.EnableAutoDragDrop = false;
+ this.CustomRichTextBoxStatusLocalDNS.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ this.CustomRichTextBoxStatusLocalDNS.ForeColor = System.Drawing.Color.White;
+ this.CustomRichTextBoxStatusLocalDNS.HideSelection = true;
+ this.CustomRichTextBoxStatusLocalDNS.Location = new System.Drawing.Point(5, 65);
+ this.CustomRichTextBoxStatusLocalDNS.MaxLength = 2147483647;
+ this.CustomRichTextBoxStatusLocalDNS.MinimumSize = new System.Drawing.Size(0, 15);
+ this.CustomRichTextBoxStatusLocalDNS.Multiline = false;
+ this.CustomRichTextBoxStatusLocalDNS.Name = "CustomRichTextBoxStatusLocalDNS";
+ this.CustomRichTextBoxStatusLocalDNS.ReadOnly = true;
+ this.CustomRichTextBoxStatusLocalDNS.RightMargin = 0;
+ this.CustomRichTextBoxStatusLocalDNS.ScrollBars = System.Windows.Forms.ScrollBars.None;
+ this.CustomRichTextBoxStatusLocalDNS.ScrollToBottom = false;
+ this.CustomRichTextBoxStatusLocalDNS.SelectionColor = System.Drawing.Color.White;
+ this.CustomRichTextBoxStatusLocalDNS.SelectionLength = 0;
+ this.CustomRichTextBoxStatusLocalDNS.SelectionStart = 0;
+ this.CustomRichTextBoxStatusLocalDNS.ShortcutsEnabled = true;
+ this.CustomRichTextBoxStatusLocalDNS.Size = new System.Drawing.Size(170, 23);
+ this.CustomRichTextBoxStatusLocalDNS.TabIndex = 0;
+ this.CustomRichTextBoxStatusLocalDNS.Texts = "Local DNS: Offline";
+ this.CustomRichTextBoxStatusLocalDNS.UnderlinedStyle = false;
+ this.CustomRichTextBoxStatusLocalDNS.WordWrap = false;
+ this.CustomRichTextBoxStatusLocalDNS.ZoomFactor = 1F;
+ //
// CustomRichTextBoxStatusIsProxySet
//
this.CustomRichTextBoxStatusIsProxySet.AcceptsTab = false;
@@ -3130,9 +3345,9 @@ private void InitializeComponent()
this.CustomRichTextBoxStatusIsProxySet.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.CustomRichTextBoxStatusIsProxySet.ForeColor = System.Drawing.Color.White;
this.CustomRichTextBoxStatusIsProxySet.HideSelection = true;
- this.CustomRichTextBoxStatusIsProxySet.Location = new System.Drawing.Point(579, 13);
+ this.CustomRichTextBoxStatusIsProxySet.Location = new System.Drawing.Point(5, 265);
this.CustomRichTextBoxStatusIsProxySet.MaxLength = 2147483647;
- this.CustomRichTextBoxStatusIsProxySet.MinimumSize = new System.Drawing.Size(0, 17);
+ this.CustomRichTextBoxStatusIsProxySet.MinimumSize = new System.Drawing.Size(0, 15);
this.CustomRichTextBoxStatusIsProxySet.Multiline = false;
this.CustomRichTextBoxStatusIsProxySet.Name = "CustomRichTextBoxStatusIsProxySet";
this.CustomRichTextBoxStatusIsProxySet.ReadOnly = true;
@@ -3143,7 +3358,7 @@ private void InitializeComponent()
this.CustomRichTextBoxStatusIsProxySet.SelectionLength = 0;
this.CustomRichTextBoxStatusIsProxySet.SelectionStart = 0;
this.CustomRichTextBoxStatusIsProxySet.ShortcutsEnabled = true;
- this.CustomRichTextBoxStatusIsProxySet.Size = new System.Drawing.Size(95, 23);
+ this.CustomRichTextBoxStatusIsProxySet.Size = new System.Drawing.Size(170, 23);
this.CustomRichTextBoxStatusIsProxySet.TabIndex = 0;
this.CustomRichTextBoxStatusIsProxySet.Texts = "Is Proxy Set: Yes";
this.CustomRichTextBoxStatusIsProxySet.UnderlinedStyle = false;
@@ -3165,9 +3380,9 @@ private void InitializeComponent()
this.CustomRichTextBoxStatusIsSharing.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.CustomRichTextBoxStatusIsSharing.ForeColor = System.Drawing.Color.White;
this.CustomRichTextBoxStatusIsSharing.HideSelection = true;
- this.CustomRichTextBoxStatusIsSharing.Location = new System.Drawing.Point(478, 13);
+ this.CustomRichTextBoxStatusIsSharing.Location = new System.Drawing.Point(5, 215);
this.CustomRichTextBoxStatusIsSharing.MaxLength = 2147483647;
- this.CustomRichTextBoxStatusIsSharing.MinimumSize = new System.Drawing.Size(0, 17);
+ this.CustomRichTextBoxStatusIsSharing.MinimumSize = new System.Drawing.Size(0, 15);
this.CustomRichTextBoxStatusIsSharing.Multiline = false;
this.CustomRichTextBoxStatusIsSharing.Name = "CustomRichTextBoxStatusIsSharing";
this.CustomRichTextBoxStatusIsSharing.ReadOnly = true;
@@ -3178,7 +3393,7 @@ private void InitializeComponent()
this.CustomRichTextBoxStatusIsSharing.SelectionLength = 0;
this.CustomRichTextBoxStatusIsSharing.SelectionStart = 0;
this.CustomRichTextBoxStatusIsSharing.ShortcutsEnabled = true;
- this.CustomRichTextBoxStatusIsSharing.Size = new System.Drawing.Size(85, 23);
+ this.CustomRichTextBoxStatusIsSharing.Size = new System.Drawing.Size(170, 23);
this.CustomRichTextBoxStatusIsSharing.TabIndex = 0;
this.CustomRichTextBoxStatusIsSharing.Texts = "Is Sharing: Yes";
this.CustomRichTextBoxStatusIsSharing.UnderlinedStyle = false;
@@ -3200,9 +3415,9 @@ private void InitializeComponent()
this.CustomRichTextBoxStatusIsDNSSet.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.CustomRichTextBoxStatusIsDNSSet.ForeColor = System.Drawing.Color.White;
this.CustomRichTextBoxStatusIsDNSSet.HideSelection = true;
- this.CustomRichTextBoxStatusIsDNSSet.Location = new System.Drawing.Point(260, 13);
+ this.CustomRichTextBoxStatusIsDNSSet.Location = new System.Drawing.Point(5, 165);
this.CustomRichTextBoxStatusIsDNSSet.MaxLength = 2147483647;
- this.CustomRichTextBoxStatusIsDNSSet.MinimumSize = new System.Drawing.Size(0, 17);
+ this.CustomRichTextBoxStatusIsDNSSet.MinimumSize = new System.Drawing.Size(0, 15);
this.CustomRichTextBoxStatusIsDNSSet.Multiline = false;
this.CustomRichTextBoxStatusIsDNSSet.Name = "CustomRichTextBoxStatusIsDNSSet";
this.CustomRichTextBoxStatusIsDNSSet.ReadOnly = true;
@@ -3213,7 +3428,7 @@ private void InitializeComponent()
this.CustomRichTextBoxStatusIsDNSSet.SelectionLength = 0;
this.CustomRichTextBoxStatusIsDNSSet.SelectionStart = 0;
this.CustomRichTextBoxStatusIsDNSSet.ShortcutsEnabled = true;
- this.CustomRichTextBoxStatusIsDNSSet.Size = new System.Drawing.Size(90, 23);
+ this.CustomRichTextBoxStatusIsDNSSet.Size = new System.Drawing.Size(170, 23);
this.CustomRichTextBoxStatusIsDNSSet.TabIndex = 0;
this.CustomRichTextBoxStatusIsDNSSet.Texts = "Is DNS Set: Yes";
this.CustomRichTextBoxStatusIsDNSSet.UnderlinedStyle = false;
@@ -3235,9 +3450,9 @@ private void InitializeComponent()
this.CustomRichTextBoxStatusIsDPIActive.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.CustomRichTextBoxStatusIsDPIActive.ForeColor = System.Drawing.Color.White;
this.CustomRichTextBoxStatusIsDPIActive.HideSelection = true;
- this.CustomRichTextBoxStatusIsDPIActive.Location = new System.Drawing.Point(365, 13);
+ this.CustomRichTextBoxStatusIsDPIActive.Location = new System.Drawing.Point(5, 190);
this.CustomRichTextBoxStatusIsDPIActive.MaxLength = 2147483647;
- this.CustomRichTextBoxStatusIsDPIActive.MinimumSize = new System.Drawing.Size(0, 17);
+ this.CustomRichTextBoxStatusIsDPIActive.MinimumSize = new System.Drawing.Size(0, 15);
this.CustomRichTextBoxStatusIsDPIActive.Multiline = false;
this.CustomRichTextBoxStatusIsDPIActive.Name = "CustomRichTextBoxStatusIsDPIActive";
this.CustomRichTextBoxStatusIsDPIActive.ReadOnly = true;
@@ -3248,7 +3463,7 @@ private void InitializeComponent()
this.CustomRichTextBoxStatusIsDPIActive.SelectionLength = 0;
this.CustomRichTextBoxStatusIsDPIActive.SelectionStart = 0;
this.CustomRichTextBoxStatusIsDPIActive.ShortcutsEnabled = true;
- this.CustomRichTextBoxStatusIsDPIActive.Size = new System.Drawing.Size(100, 23);
+ this.CustomRichTextBoxStatusIsDPIActive.Size = new System.Drawing.Size(170, 23);
this.CustomRichTextBoxStatusIsDPIActive.TabIndex = 0;
this.CustomRichTextBoxStatusIsDPIActive.Texts = "Is DPI Active: Yes";
this.CustomRichTextBoxStatusIsDPIActive.UnderlinedStyle = false;
@@ -3270,9 +3485,9 @@ private void InitializeComponent()
this.CustomRichTextBoxStatusIsConnected.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.CustomRichTextBoxStatusIsConnected.ForeColor = System.Drawing.Color.White;
this.CustomRichTextBoxStatusIsConnected.HideSelection = true;
- this.CustomRichTextBoxStatusIsConnected.Location = new System.Drawing.Point(144, 13);
+ this.CustomRichTextBoxStatusIsConnected.Location = new System.Drawing.Point(5, 40);
this.CustomRichTextBoxStatusIsConnected.MaxLength = 2147483647;
- this.CustomRichTextBoxStatusIsConnected.MinimumSize = new System.Drawing.Size(0, 17);
+ this.CustomRichTextBoxStatusIsConnected.MinimumSize = new System.Drawing.Size(0, 15);
this.CustomRichTextBoxStatusIsConnected.Multiline = false;
this.CustomRichTextBoxStatusIsConnected.Name = "CustomRichTextBoxStatusIsConnected";
this.CustomRichTextBoxStatusIsConnected.ReadOnly = true;
@@ -3283,7 +3498,7 @@ private void InitializeComponent()
this.CustomRichTextBoxStatusIsConnected.SelectionLength = 0;
this.CustomRichTextBoxStatusIsConnected.SelectionStart = 0;
this.CustomRichTextBoxStatusIsConnected.ShortcutsEnabled = true;
- this.CustomRichTextBoxStatusIsConnected.Size = new System.Drawing.Size(100, 23);
+ this.CustomRichTextBoxStatusIsConnected.Size = new System.Drawing.Size(170, 23);
this.CustomRichTextBoxStatusIsConnected.TabIndex = 0;
this.CustomRichTextBoxStatusIsConnected.Texts = "Is Connected: Yes";
this.CustomRichTextBoxStatusIsConnected.UnderlinedStyle = false;
@@ -3305,9 +3520,9 @@ private void InitializeComponent()
this.CustomRichTextBoxStatusWorkingServers.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.CustomRichTextBoxStatusWorkingServers.ForeColor = System.Drawing.Color.White;
this.CustomRichTextBoxStatusWorkingServers.HideSelection = true;
- this.CustomRichTextBoxStatusWorkingServers.Location = new System.Drawing.Point(15, 13);
+ this.CustomRichTextBoxStatusWorkingServers.Location = new System.Drawing.Point(5, 15);
this.CustomRichTextBoxStatusWorkingServers.MaxLength = 2147483647;
- this.CustomRichTextBoxStatusWorkingServers.MinimumSize = new System.Drawing.Size(0, 17);
+ this.CustomRichTextBoxStatusWorkingServers.MinimumSize = new System.Drawing.Size(0, 15);
this.CustomRichTextBoxStatusWorkingServers.Multiline = false;
this.CustomRichTextBoxStatusWorkingServers.Name = "CustomRichTextBoxStatusWorkingServers";
this.CustomRichTextBoxStatusWorkingServers.ReadOnly = true;
@@ -3318,29 +3533,64 @@ private void InitializeComponent()
this.CustomRichTextBoxStatusWorkingServers.SelectionLength = 0;
this.CustomRichTextBoxStatusWorkingServers.SelectionStart = 0;
this.CustomRichTextBoxStatusWorkingServers.ShortcutsEnabled = true;
- this.CustomRichTextBoxStatusWorkingServers.Size = new System.Drawing.Size(125, 23);
+ this.CustomRichTextBoxStatusWorkingServers.Size = new System.Drawing.Size(170, 23);
this.CustomRichTextBoxStatusWorkingServers.TabIndex = 0;
this.CustomRichTextBoxStatusWorkingServers.Texts = "Working Servers: 0000";
this.CustomRichTextBoxStatusWorkingServers.UnderlinedStyle = false;
this.CustomRichTextBoxStatusWorkingServers.WordWrap = false;
this.CustomRichTextBoxStatusWorkingServers.ZoomFactor = 1F;
//
+ // SplitContainerMain
+ //
+ this.SplitContainerMain.Cursor = System.Windows.Forms.Cursors.Default;
+ this.SplitContainerMain.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.SplitContainerMain.IsSplitterFixed = true;
+ this.SplitContainerMain.Location = new System.Drawing.Point(0, 0);
+ this.SplitContainerMain.Name = "SplitContainerMain";
+ this.SplitContainerMain.Orientation = System.Windows.Forms.Orientation.Horizontal;
+ //
+ // SplitContainerMain.Panel1
+ //
+ this.SplitContainerMain.Panel1.Controls.Add(this.SplitContainerTop);
+ //
+ // SplitContainerMain.Panel2
+ //
+ this.SplitContainerMain.Panel2.Controls.Add(this.CustomGroupBoxLog);
+ this.SplitContainerMain.Size = new System.Drawing.Size(884, 581);
+ this.SplitContainerMain.SplitterDistance = 400;
+ this.SplitContainerMain.TabIndex = 9;
+ //
+ // SplitContainerTop
+ //
+ this.SplitContainerTop.Cursor = System.Windows.Forms.Cursors.Default;
+ this.SplitContainerTop.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.SplitContainerTop.IsSplitterFixed = true;
+ this.SplitContainerTop.Location = new System.Drawing.Point(0, 0);
+ this.SplitContainerTop.Name = "SplitContainerTop";
+ //
+ // SplitContainerTop.Panel1
+ //
+ this.SplitContainerTop.Panel1.Controls.Add(this.CustomTabControlMain);
+ //
+ // SplitContainerTop.Panel2
+ //
+ this.SplitContainerTop.Panel2.Controls.Add(this.CustomGroupBoxStatus);
+ this.SplitContainerTop.Size = new System.Drawing.Size(884, 400);
+ this.SplitContainerTop.SplitterDistance = 700;
+ this.SplitContainerTop.TabIndex = 0;
+ //
// FormMain
//
this.AcceptButton = this.CustomButtonCheck;
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(704, 586);
- this.Controls.Add(this.CustomGroupBoxStatus);
- this.Controls.Add(this.CustomStatusStrip1);
- this.Controls.Add(this.CustomTabControlMain);
- this.Controls.Add(this.CustomGroupBoxLog);
+ this.ClientSize = new System.Drawing.Size(884, 581);
+ this.Controls.Add(this.SplitContainerMain);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
- this.MaximumSize = new System.Drawing.Size(720, 625);
- this.MinimizeBox = false;
- this.MinimumSize = new System.Drawing.Size(720, 625);
+ this.MaximumSize = new System.Drawing.Size(900, 620);
+ this.MinimumSize = new System.Drawing.Size(900, 435);
this.Name = "FormMain";
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
this.Text = "SecureDNSClient";
@@ -3353,10 +3603,12 @@ private void InitializeComponent()
this.TabPageCheck.ResumeLayout(false);
this.TabPageCheck.PerformLayout();
this.TabPageConnect.ResumeLayout(false);
+ this.TabPageConnect.PerformLayout();
this.TabPageSetDNS.ResumeLayout(false);
this.TabPageSetDNS.PerformLayout();
this.TabPageShare.ResumeLayout(false);
this.TabPageShare.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.CustomNumericUpDownHTTPProxyHandleRequests)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.CustomNumericUpDownPDpiFragDelay)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.CustomNumericUpDownPDpiDataLength)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.CustomNumericUpDownPDpiFragmentSize)).EndInit();
@@ -3367,6 +3619,7 @@ private void InitializeComponent()
this.TabPageDPIBasic.ResumeLayout(false);
this.TabPageDPIBasic.PerformLayout();
this.TabPageDPIAdvanced.ResumeLayout(false);
+ this.TabPageDPIAdvanced.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.CustomNumericUpDownDPIAdvMaxPayload)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.CustomNumericUpDownDPIAdvMinTTL)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.CustomNumericUpDownDPIAdvSetTTL)).EndInit();
@@ -3397,11 +3650,17 @@ private void InitializeComponent()
this.TabPageAbout.ResumeLayout(false);
this.TabPageAbout.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.PictureBoxAbout)).EndInit();
- this.CustomStatusStrip1.ResumeLayout(false);
- this.CustomStatusStrip1.PerformLayout();
this.CustomGroupBoxStatus.ResumeLayout(false);
+ this.CustomGroupBoxStatus.PerformLayout();
+ this.SplitContainerMain.Panel1.ResumeLayout(false);
+ this.SplitContainerMain.Panel2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.SplitContainerMain)).EndInit();
+ this.SplitContainerMain.ResumeLayout(false);
+ this.SplitContainerTop.Panel1.ResumeLayout(false);
+ this.SplitContainerTop.Panel2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.SplitContainerTop)).EndInit();
+ this.SplitContainerTop.ResumeLayout(false);
this.ResumeLayout(false);
- this.PerformLayout();
}
@@ -3417,7 +3676,6 @@ private void InitializeComponent()
private CustomControls.CustomTabControl CustomTabControlMain;
private TabPage TabPageSecureDNS;
private TabPage TabPageSettings;
- private CustomControls.CustomStatusStrip CustomStatusStrip1;
private CustomControls.CustomLabel CustomLabelDPIModes;
private CustomControls.CustomRadioButton CustomRadioButtonDPIModeLight;
private CustomControls.CustomRadioButton CustomRadioButtonDPIModeMedium;
@@ -3427,11 +3685,7 @@ private void InitializeComponent()
private CustomControls.CustomComboBox CustomComboBoxNICs;
private CustomControls.CustomLabel CustomLabelSetDNSInfo;
private CustomControls.CustomButton CustomButtonSetDNS;
- private ToolStripStatusLabel ToolStripStatusLabelDNS;
- private ToolStripStatusLabel ToolStripStatusLabelDoH;
private CustomControls.CustomCheckBox CustomCheckBoxInsecure;
- private ToolStripStatusLabel ToolStripStatusLabelSpace;
- private ToolStripStatusLabel ToolStripStatusLabelPercent;
private CustomControls.CustomTextBox CustomTextBoxHTTPProxy;
private CustomControls.CustomLabel CustomLabelSSLFragmentSize;
private TabPage TabPageAbout;
@@ -3569,8 +3823,6 @@ private void InitializeComponent()
private CustomControls.CustomLabel CustomLabelPDpiDpiInfo1;
private CustomControls.CustomButton CustomButtonSetProxy;
private CustomControls.CustomRichTextBox CustomRichTextBoxStatusIsProxySet;
- private ToolStripStatusLabel ToolStripStatusLabelDnsLatency;
- private ToolStripStatusLabel ToolStripStatusLabelDohLatency;
private CustomControls.CustomCheckBox CustomCheckBoxPDpiFragModeRandom;
private CustomControls.CustomCheckBox CustomCheckBoxPDpiDontChunkBigData;
private CustomControls.CustomLabel CustomLabelPDpiFragDelay;
@@ -3584,5 +3836,15 @@ private void InitializeComponent()
private CustomControls.CustomTextBox CustomTextBoxSettingUnsetDns1;
private CustomControls.CustomButton CustomButtonPDpiApplyChanges;
private CustomControls.CustomCheckBox CustomCheckBoxHTTPProxyEventShowChunkDetails;
+ private CustomControls.CustomRichTextBox CustomRichTextBoxStatusLocalDoHLatency;
+ private CustomControls.CustomRichTextBox CustomRichTextBoxStatusLocalDoH;
+ private CustomControls.CustomRichTextBox CustomRichTextBoxStatusLocalDnsLatency;
+ private CustomControls.CustomRichTextBox CustomRichTextBoxStatusLocalDNS;
+ private CustomControls.CustomLabel CustomLabelCheckPercent;
+ private CustomControls.CustomRichTextBox CustomRichTextBoxStatusProxyRequests;
+ private CustomControls.CustomNumericUpDown CustomNumericUpDownHTTPProxyHandleRequests;
+ private CustomControls.CustomLabel CustomLabelHTTPProxyHandleRequests;
+ private SplitContainer SplitContainerMain;
+ private SplitContainer SplitContainerTop;
}
}
\ No newline at end of file
diff --git a/SecureDNSClient/Forms/FormMain.cs b/SecureDNSClient/Forms/FormMain.cs
index 3881528..b059f4b 100644
--- a/SecureDNSClient/Forms/FormMain.cs
+++ b/SecureDNSClient/Forms/FormMain.cs
@@ -41,7 +41,10 @@ public partial class FormMain : Form
public static HTTPProxyServer.DPIBypassProgram DPIBypassProgram { get; private set; } = new();
private bool AudioAlertOnline = true;
private bool AudioAlertOffline = false;
- private readonly Stopwatch CheckDPIWorksStopWatch = new();
+ private bool AudioAlertRequestsExceeded = false;
+ private readonly Stopwatch StopWatchCheckDPIWorks = new();
+ private readonly Stopwatch StopWatchShowRequests = new();
+ private readonly Stopwatch StopWatchShowChunkDetails = new();
private string TheDll = string.Empty;
private readonly string NL = Environment.NewLine;
private readonly int LogHeight;
@@ -62,7 +65,7 @@ public partial class FormMain : Form
public FormMain()
{
InitializeComponent();
- CustomStatusStrip1.SizingGrip = false;
+ //CustomStatusStrip1.SizingGrip = false;
// Set Min Size for Toggle Log View
MinimumSize = new Size(Width, Height - CustomGroupBoxLog.Height);
@@ -193,6 +196,7 @@ private void DefaultSettings()
// Share
CustomNumericUpDownHTTPProxyPort.Value = (decimal)8080;
+ CustomNumericUpDownHTTPProxyHandleRequests.Value = (decimal)2000;
CustomCheckBoxHTTPProxyEventShowRequest.Checked = false;
CustomCheckBoxHTTPProxyEventShowChunkDetails.Checked = false;
CustomCheckBoxPDpiEnableDpiBypass.Checked = true;
@@ -315,8 +319,9 @@ private void FixScreenDPI(Form form)
{
using Graphics g = form.CreateGraphics();
- int x1 = 90; int x2 = 120;
- int y1 = 21; int y2 = 207;
+ int x1 = 120; int y1 = 21;
+ int splitMainD = SplitContainerMain.SplitterDistance;
+ int splitTopD = SplitContainerTop.SplitterDistance;
if (form.AutoScaleDimensions == form.CurrentAutoScaleDimensions)
{
@@ -325,22 +330,26 @@ private void FixScreenDPI(Form form)
// 144 = 150%
if (g.DpiX == 120) // 125%
{
- setSize(x1 + 15, y1 + 10, x2 + 30, y2 + ((25 * y2) / 100));
+ setSize(x1 + 35, y1 + 10, splitMainD, splitTopD + 100);
}
else if (g.DpiX == 144) // 150%
{
- setSize(x1 + 65, y1 + 20, x2 + 60, y2 + ((50 * y2) / 100));
+ setSize(x1 + 80, y1 + 20, splitMainD, splitTopD + 450);
}
-
- void setSize(int x1, int y1, int x2, int y2)
+
+ void setSize(int x1, int y1, int splitMainD, int splitTopD)
{
+ CustomTabControlMain.SizeMode = TabSizeMode.Fixed;
CustomTabControlMain.ItemSize = new Size(x1, y1);
+ CustomTabControlSecureDNS.SizeMode = TabSizeMode.Fixed;
CustomTabControlSecureDNS.ItemSize = new Size(x1, y1);
+ CustomTabControlDPIBasicAdvanced.SizeMode = TabSizeMode.Fixed;
CustomTabControlDPIBasicAdvanced.ItemSize = new Size(x1, y1);
+ CustomTabControlSettings.SizeMode = TabSizeMode.Fixed;
CustomTabControlSettings.ItemSize = new Size(y1 + 9, x1);
- CustomGroupBoxLog.Height = y2;
- ToolStripStatusLabelDNS.Width = x2;
- ToolStripStatusLabelDoH.Width = x2;
+
+ SplitContainerMain.SplitterDistance = splitMainD;
+ SplitContainerTop.SplitterDistance = splitTopD;
}
}
}
@@ -549,10 +558,29 @@ private void UpdateStatusShort()
CustomButtonSetDNS.Enabled = true;
// Live Status
- ToolStripStatusLabelDNS.Text = IsDNSConnected ? "DNS status: Online." : "DNS status: Offline.";
- ToolStripStatusLabelDnsLatency.Text = $"Latency: {LocalDnsLatency}";
- ToolStripStatusLabelDoH.Text = IsDoHConnected ? "DoH status: Online." : "DoH status: Offline.";
- ToolStripStatusLabelDohLatency.Text = $"Latency: {LocalDohLatency}";
+ string statusLocalDNS = IsDNSConnected ? "Online" : "Offline";
+ Color colorStatusLocalDNS = IsDNSConnected ? Color.MediumSeaGreen : Color.IndianRed;
+ CustomRichTextBoxStatusLocalDNS.ResetText();
+ CustomRichTextBoxStatusLocalDNS.AppendText("Local DNS: ", ForeColor);
+ CustomRichTextBoxStatusLocalDNS.AppendText(statusLocalDNS, colorStatusLocalDNS);
+
+ string statusLocalDnsLatency = LocalDnsLatency != -1 ? $"{LocalDnsLatency}" : "-1";
+ Color colorStatusLocalDnsLatency = LocalDnsLatency != -1 ? Color.MediumSeaGreen : Color.IndianRed;
+ CustomRichTextBoxStatusLocalDnsLatency.ResetText();
+ CustomRichTextBoxStatusLocalDnsLatency.AppendText("Local DNS Latency: ", ForeColor);
+ CustomRichTextBoxStatusLocalDnsLatency.AppendText(statusLocalDnsLatency, colorStatusLocalDnsLatency);
+
+ string statusLocalDoH = IsDoHConnected ? "Online" : "Offline";
+ Color colorStatusLocalDoH = IsDoHConnected ? Color.MediumSeaGreen : Color.IndianRed;
+ CustomRichTextBoxStatusLocalDoH.ResetText();
+ CustomRichTextBoxStatusLocalDoH.AppendText("Local DoH: ", ForeColor);
+ CustomRichTextBoxStatusLocalDoH.AppendText(statusLocalDoH, colorStatusLocalDoH);
+
+ string statusLocalDoHLatency = LocalDohLatency != -1 ? $"{LocalDohLatency}" : "-1";
+ Color colorStatusLocalDoHLatency = LocalDohLatency != -1 ? Color.MediumSeaGreen : Color.IndianRed;
+ CustomRichTextBoxStatusLocalDoHLatency.ResetText();
+ CustomRichTextBoxStatusLocalDoHLatency.AppendText("Local DoH Latency: ", ForeColor);
+ CustomRichTextBoxStatusLocalDoHLatency.AppendText(statusLocalDoHLatency, colorStatusLocalDoHLatency);
if (!CustomCheckBoxSettingDisableAudioAlert.Checked && !IsCheckingStarted)
PlayAudioAlert();
@@ -601,6 +629,18 @@ private void UpdateStatus()
this.InvokeIt(() => CustomRichTextBoxStatusIsSharing.AppendText("Is Sharing: ", ForeColor));
this.InvokeIt(() => CustomRichTextBoxStatusIsSharing.AppendText(textSharing, colorSharing));
+ // Update Status ProxyRequests
+ string textProxyRequests = "0 of 0";
+ Color colorProxyRequests = Color.MediumSeaGreen;
+ if (HTTPProxy != null)
+ {
+ textProxyRequests = $"{HTTPProxy.ActiveRequests} of {HTTPProxy.MaxRequests}";
+ colorProxyRequests = HTTPProxy.ActiveRequests < HTTPProxy.MaxRequests ? Color.MediumSeaGreen : Color.IndianRed;
+ }
+ this.InvokeIt(() => CustomRichTextBoxStatusProxyRequests.ResetText());
+ this.InvokeIt(() => CustomRichTextBoxStatusProxyRequests.AppendText("Proxy Requests ", ForeColor));
+ this.InvokeIt(() => CustomRichTextBoxStatusProxyRequests.AppendText(textProxyRequests, colorProxyRequests));
+
// Update Status IsProxySet
string textProxySet = IsProxySet ? "Yes" : "No";
Color colorProxySet = IsProxySet ? Color.MediumSeaGreen : Color.IndianRed;
@@ -620,6 +660,7 @@ private void PlayAudioAlert()
{
SoundPlayer soundPlayer = new(Audio.Resource1.DNS_Online);
soundPlayer.PlaySync();
+ soundPlayer.Stop();
soundPlayer.Dispose();
});
}
@@ -641,6 +682,7 @@ private void PlayAudioAlert()
Task.Delay(1000).Wait();
SoundPlayer soundPlayer = new(Audio.Resource1.DNS_Offline);
soundPlayer.PlaySync();
+ soundPlayer.Stop();
soundPlayer.Dispose();
Task.Delay(5000).Wait();
});
@@ -648,6 +690,24 @@ private void PlayAudioAlert()
if (softEtherPID != -1)
ProcessManager.ResumeProcess(softEtherPID);
}
+
+ if (HTTPProxy != null)
+ {
+ if (HTTPProxy.IsRunning && (HTTPProxy.ActiveRequests >= HTTPProxy.MaxRequests) && !AudioAlertRequestsExceeded)
+ {
+ AudioAlertRequestsExceeded = true;
+ Task.Run(() =>
+ {
+ SoundPlayer soundPlayer = new(Audio.Resource1.Warning_Handle_Requests_Exceeded);
+ soundPlayer.PlaySync();
+ soundPlayer.Stop();
+ soundPlayer.Dispose();
+ });
+ }
+
+ if (HTTPProxy.ActiveRequests < HTTPProxy.MaxRequests - 5)
+ AudioAlertRequestsExceeded = false;
+ }
}
private void FlushDNS()
@@ -1016,7 +1076,7 @@ private async Task CheckServers()
// Percentage
int persent = n * 100 / dnsCount;
- this.InvokeIt(() => ToolStripStatusLabelPercent.Text = persent.ToString() + "%");
+ this.InvokeIt(() => CustomLabelCheckPercent.Text = persent.ToString() + "%");
string dns = dnsList[n].Trim();
@@ -1142,7 +1202,7 @@ void writeStatusToLog()
}
// Percentage (100%)
- this.InvokeIt(() => ToolStripStatusLabelPercent.Text = "100%");
+ this.InvokeIt(() => CustomLabelCheckPercent.Text = "100%");
// Return if there is no working server
if (!WorkingDnsList.Any())
@@ -2124,7 +2184,10 @@ private void Share()
ApplyPDpiChanges();
- HTTPProxy.Start(IPAddress.Any, SettingsWindow.GetHTTPProxyPort(CustomNumericUpDownHTTPProxyPort), 100);
+ // Get number of handle requests
+ int handleReq = int.Parse(CustomNumericUpDownHTTPProxyHandleRequests.Value.ToString());
+
+ HTTPProxy.Start(IPAddress.Any, SettingsWindow.GetHTTPProxyPort(CustomNumericUpDownHTTPProxyPort), handleReq);
Task.Delay(500).Wait();
// Delete error log on > 1MB
@@ -2149,20 +2212,35 @@ void HTTPProxy_OnRequestReceived(object? sender, EventArgs e)
{
if (CustomCheckBoxHTTPProxyEventShowRequest.Checked)
{
- req += NL; // Adding an additional line break.
- this.InvokeIt(() => CustomRichTextBoxLog.AppendText(req, Color.Gray));
+ if (!StopWatchShowRequests.IsRunning) StopWatchShowRequests.Start();
+ if (StopWatchShowRequests.ElapsedMilliseconds > 20)
+ {
+ req += NL; // Adding an additional line break.
+ this.InvokeIt(() => CustomRichTextBoxLog.AppendText(req, Color.Gray));
+
+ StopWatchShowRequests.Stop();
+ StopWatchShowRequests.Reset();
+ }
}
}
}
+ // Proxy Event Chunk Details
void HTTPProxy_OnChunkDetailsReceived(object? sender, EventArgs e)
{
if (sender is string msg)
{
if (CustomCheckBoxHTTPProxyEventShowChunkDetails.Checked)
{
- msg += NL; // Adding an additional line break.
- this.InvokeIt(() => CustomRichTextBoxLog.AppendText(msg, Color.Gray));
+ if (!StopWatchShowChunkDetails.IsRunning) StopWatchShowChunkDetails.Start();
+ if (StopWatchShowChunkDetails.ElapsedMilliseconds > 500)
+ {
+ msg += NL; // Adding an additional line break.
+ this.InvokeIt(() => CustomRichTextBoxLog.AppendText(msg, Color.Gray));
+
+ StopWatchShowChunkDetails.Stop();
+ StopWatchShowChunkDetails.Reset();
+ }
}
}
}
@@ -2735,13 +2813,13 @@ private async Task CheckDPIWorks(string host, int timeoutSec = 30) //Default tim
if (string.IsNullOrWhiteSpace(host)) return;
// If user changing DPI mode fast, return.
- if (CheckDPIWorksStopWatch.IsRunning)
+ if (StopWatchCheckDPIWorks.IsRunning)
return;
Task.Delay(1000).Wait();
// Start StopWatch
- CheckDPIWorksStopWatch.Start();
+ StopWatchCheckDPIWorks.Start();
// Write start DPI checking to log
string msgDPI = $"Checking DPI Bypass ({host})...{NL}";
@@ -2795,7 +2873,7 @@ private async Task CheckDPIWorks(string host, int timeoutSec = 30) //Default tim
void msgSuccess()
{
// Write Success to log
- var elapsedTime = Math.Round((double)CheckDPIWorksStopWatch.ElapsedMilliseconds / 1000);
+ var elapsedTime = Math.Round((double)StopWatchCheckDPIWorks.ElapsedMilliseconds / 1000);
string msgDPI1 = $"DPI Check: ";
string msgDPI2 = $"Successfully opened {host} in {elapsedTime} seconds.{NL}";
this.InvokeIt(() => CustomRichTextBoxLog.AppendText(msgDPI1, Color.LightGray));
@@ -2813,8 +2891,8 @@ void msgFailed(HttpResponseMessage r)
r.Dispose();
}
- CheckDPIWorksStopWatch.Stop();
- CheckDPIWorksStopWatch.Reset();
+ StopWatchCheckDPIWorks.Stop();
+ StopWatchCheckDPIWorks.Reset();
}
catch (Exception ex)
{
@@ -2823,8 +2901,8 @@ void msgFailed(HttpResponseMessage r)
string msgDPI2 = $"{ex.Message}{NL}";
this.InvokeIt(() => CustomRichTextBoxLog.AppendText(msgDPI1, Color.LightGray));
this.InvokeIt(() => CustomRichTextBoxLog.AppendText(msgDPI2, Color.IndianRed));
- CheckDPIWorksStopWatch.Stop();
- CheckDPIWorksStopWatch.Reset();
+ StopWatchCheckDPIWorks.Stop();
+ StopWatchCheckDPIWorks.Reset();
}
}
else
@@ -2834,8 +2912,8 @@ void msgFailed(HttpResponseMessage r)
string msgDPI2 = $"Activate DPI to check.{NL}";
this.InvokeIt(() => CustomRichTextBoxLog.AppendText(msgDPI1, Color.LightGray));
this.InvokeIt(() => CustomRichTextBoxLog.AppendText(msgDPI2, Color.IndianRed));
- CheckDPIWorksStopWatch.Stop();
- CheckDPIWorksStopWatch.Reset();
+ StopWatchCheckDPIWorks.Stop();
+ StopWatchCheckDPIWorks.Reset();
}
}
else
@@ -2845,8 +2923,8 @@ void msgFailed(HttpResponseMessage r)
string msgDPI2 = $"Set DNS to check.{NL}";
this.InvokeIt(() => CustomRichTextBoxLog.AppendText(msgDPI1, Color.LightGray));
this.InvokeIt(() => CustomRichTextBoxLog.AppendText(msgDPI2, Color.IndianRed));
- CheckDPIWorksStopWatch.Stop();
- CheckDPIWorksStopWatch.Reset();
+ StopWatchCheckDPIWorks.Stop();
+ StopWatchCheckDPIWorks.Reset();
}
}
@@ -2854,19 +2932,25 @@ void msgFailed(HttpResponseMessage r)
private void CustomButtonToggleLogView_Click(object sender, EventArgs e)
{
+ int logHeight = LogHeight;
+
if (CustomGroupBoxLog.Visible)
{
SuspendLayout();
CustomGroupBoxLog.Visible = false;
- Size = new(Width, Height - LogHeight);
+ SplitContainerMain.Panel2Collapsed = true;
+ SplitContainerMain.Panel2.Hide();
+ Size = new(Width, Height - logHeight);
ResumeLayout();
Invalidate();
}
else
{
SuspendLayout();
- Size = new(Width, Height + LogHeight);
+ Size = new(Width, Height + logHeight);
CustomGroupBoxLog.Visible = true;
+ SplitContainerMain.Panel2Collapsed = false;
+ SplitContainerMain.Panel2.Show();
ResumeLayout();
Invalidate();
}
diff --git a/SecureDNSClient/Forms/FormMain.resx b/SecureDNSClient/Forms/FormMain.resx
index 77bdeb1..1fc9d68 100644
--- a/SecureDNSClient/Forms/FormMain.resx
+++ b/SecureDNSClient/Forms/FormMain.resx
@@ -57,9 +57,6 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 17, 17
-
176, 17
diff --git a/SecureDNSClient/MsmhTools/HTTPProxyServer/Common.cs b/SecureDNSClient/MsmhTools/HTTPProxyServer/Common.cs
index 3a732be..57b8cf5 100644
--- a/SecureDNSClient/MsmhTools/HTTPProxyServer/Common.cs
+++ b/SecureDNSClient/MsmhTools/HTTPProxyServer/Common.cs
@@ -15,9 +15,6 @@ internal static byte[] AppendBytes(byte[] orig, byte[] append)
return ret;
}
-
-
-
///
/// Fully read a stream into a byte array.
///
@@ -77,6 +74,20 @@ public static Dictionary AddToDict(string key, string? val, Dict
}
}
+ public static bool IsWin7()
+ {
+ bool result = false;
+ OperatingSystem os = Environment.OSVersion;
+ Version vs = os.Version;
+
+ if (os.Platform == PlatformID.Win32NT)
+ {
+ if (vs.Minor == 1 && vs.Major == 6)
+ result = true;
+ }
+
+ return result;
+ }
}
}
diff --git a/SecureDNSClient/MsmhTools/HTTPProxyServer/HTTPProxyServer.cs b/SecureDNSClient/MsmhTools/HTTPProxyServer/HTTPProxyServer.cs
index cb74563..ea87c5e 100644
--- a/SecureDNSClient/MsmhTools/HTTPProxyServer/HTTPProxyServer.cs
+++ b/SecureDNSClient/MsmhTools/HTTPProxyServer/HTTPProxyServer.cs
@@ -43,14 +43,14 @@ public void Set(DPIBypass.Mode mode, int firstPartOfDataLength, int fragmentSize
}
}
- private static ProxySettings _Settings = new();
+ internal static ProxySettings _Settings = new();
private static TunnelManager? _TunnelManager;
private static TcpListener? _TcpListener;
private static CancellationTokenSource? _CancelTokenSource;
private static CancellationToken _CancelToken;
- private static int _ActiveThreads = 0;
+ internal static int _ActiveThreads = 0;
public bool IsRunning = false;
private static bool Cancel = false;
@@ -63,9 +63,14 @@ public void Set(DPIBypass.Mode mode, int firstPartOfDataLength, int fragmentSize
public event EventHandler? OnChunkDetailsReceived;
private static readonly EventWaitHandle Terminator = new(false, EventResetMode.ManualReset);
+ private List BlackList = new();
+
public HTTPProxyServer()
{
-
+ // Captive Portal
+ BlackList.Add("ipv6.msftconnecttest.com:80");
+ BlackList.Add("detectportal.firefox.com:80");
+ BlackList.Add("gstatic.com:80");
}
public void Start(IPAddress ipAddress, int port, int maxThreads)
@@ -108,15 +113,17 @@ public void Stop()
Tunnel.Cancel = true;
_TcpListener.Stop();
- //if (_TunnelManager != null)
- //{
- // var t = _TunnelManager.GetFull().ToList();
- // for (int n = 0; n < t.Count; n++)
- // {
- // var kvp = t[n];
- // _TunnelManager.Remove(kvp.Key);
- // }
- //}
+ if (_TunnelManager != null)
+ {
+ var t = _TunnelManager.GetFull().ToList();
+ Debug.WriteLine(t.Count);
+ for (int n = 0; n < t.Count; n++)
+ {
+ var kvp = t[n];
+ if (_TunnelManager.Active(kvp.Key))
+ _TunnelManager.Remove(kvp.Key);
+ }
+ }
IsRunning = _TcpListener.Server.IsBound;
Goodbye();
@@ -133,13 +140,21 @@ public bool IsDpiActive
get => BypassProgram.DPIBypassMode != DPIBypass.Mode.Disable;
}
+ public int ActiveRequests
+ {
+ get => _ActiveThreads;
+ }
+
+ public int MaxRequests
+ {
+ get => _Settings != null ? _Settings.MaxThreads : 0;
+ }
+
public Dictionary GetCurrentConnectTunnels()
{
return _TunnelManager != null ? _TunnelManager.GetMetadata() : new Dictionary();
}
- #region Setup-Methods
-
private void Welcome()
{
// Event
@@ -156,10 +171,6 @@ private void Goodbye()
OnDebugInfoReceived?.Invoke(msgEvent, EventArgs.Empty);
}
- #endregion
-
- #region Connection-Handler
-
private void AcceptConnections()
{
if (Cancel) return;
@@ -197,13 +208,12 @@ private void AcceptConnections()
}
}
}
-
+
private async Task ProcessConnection(TcpClient client)
{
if (Cancel) return;
int connectionId = Environment.CurrentManagedThreadId;
- _ActiveThreads++;
Debug.WriteLine($"Active Requests: {_ActiveThreads}");
try
@@ -212,15 +222,18 @@ private async Task ProcessConnection(TcpClient client)
if (_ActiveThreads >= _Settings.MaxThreads)
{
// Event
- string msgEventErr = $"AcceptConnections connection count {_ActiveThreads} exceeds configured max {_Settings.MaxThreads}, waiting";
+ string msgEventErr = $"AcceptConnections connection count {_ActiveThreads} exceeds configured max {_Settings.MaxThreads}.";
OnErrorOccurred?.Invoke(msgEventErr, EventArgs.Empty);
- while (_ActiveThreads >= _Settings.MaxThreads)
- {
- Task.Delay(100).Wait();
- }
+ // Kill em
+ client.Dispose();
+ Debug.WriteLine($"Active Requests2: {_ActiveThreads}");
+ Task.Delay(100).Wait();
+ return;
}
+ _ActiveThreads++;
+
IPEndPoint? clientIpEndpoint = client.Client.RemoteEndPoint as IPEndPoint;
IPEndPoint? serverIpEndpoint = client.Client.LocalEndPoint as IPEndPoint;
@@ -248,6 +261,23 @@ private async Task ProcessConnection(TcpClient client)
req.DestIp = serverIp;
req.DestPort = serverPort;
+ // Block Black List
+ for (int n = 0; n < BlackList.Count; n++)
+ {
+ string website = BlackList[n];
+ string destWebsite = $"{req.DestHostname}:{req.DestHostPort}";
+ if (destWebsite == website)
+ {
+ // Event
+ string msgEvent = $"Black list: {req.FullUrl}, request denied.";
+ OnDebugInfoReceived?.Invoke(msgEvent, EventArgs.Empty);
+
+ client.Close();
+ _ActiveThreads--;
+ return;
+ }
+ }
+
// Event
OnRequestReceived?.Invoke($"{req.DestHostname}:{req.DestHostPort}", EventArgs.Empty);
@@ -552,6 +582,5 @@ async Task sendRestResponse(RestResponse resp, NetworkStream ns)
}
}
- #endregion
}
}
diff --git a/SecureDNSClient/MsmhTools/HTTPProxyServer/HttpMethod.cs b/SecureDNSClient/MsmhTools/HTTPProxyServer/HttpMethod.cs
index 655cf84..1705ee0 100644
--- a/SecureDNSClient/MsmhTools/HTTPProxyServer/HttpMethod.cs
+++ b/SecureDNSClient/MsmhTools/HTTPProxyServer/HttpMethod.cs
@@ -25,6 +25,30 @@ public enum HttpMethod
[EnumMember(Value = "OPTIONS")]
OPTIONS,
[EnumMember(Value = "TRACE")]
- TRACE
+ TRACE,
+ [EnumMember(Value = "UNKNOWN")]
+ UNKNOWN
+ }
+
+ public static class GetHttpMethod
+ {
+ public static HttpMethod Parse(string method)
+ {
+ method = method.Trim().ToLower();
+ var httpMethod = method switch
+ {
+ "get" => HttpMethod.GET,
+ "head" => HttpMethod.HEAD,
+ "put" => HttpMethod.PUT,
+ "post" => HttpMethod.POST,
+ "delete" => HttpMethod.DELETE,
+ "patch" => HttpMethod.PATCH,
+ "connect" => HttpMethod.CONNECT,
+ "options" => HttpMethod.OPTIONS,
+ "trace" => HttpMethod.TRACE,
+ _ => HttpMethod.UNKNOWN,
+ };
+ return httpMethod;
+ }
}
}
diff --git a/SecureDNSClient/MsmhTools/HTTPProxyServer/Request.cs b/SecureDNSClient/MsmhTools/HTTPProxyServer/Request.cs
index ccddeaf..5476946 100644
--- a/SecureDNSClient/MsmhTools/HTTPProxyServer/Request.cs
+++ b/SecureDNSClient/MsmhTools/HTTPProxyServer/Request.cs
@@ -327,7 +327,7 @@ public Request(HttpListenerContext ctx, bool readStreamFully)
{
tempKey = WebUtility.UrlDecode(tempKey);
QuerystringEntries = Common.AddToDict(tempKey, null, QuerystringEntries);
- }
+ }
}
if (inVal == 1)
@@ -383,9 +383,9 @@ public Request(HttpListenerContext ctx, bool readStreamFully)
gzip = xferEncodingHeader.ToLower().Contains("gzip");
deflate = xferEncodingHeader.ToLower().Contains("deflate");
}
-
- if (chunkedXfer
- && Method != HttpMethod.GET
+
+ if (chunkedXfer
+ && Method != HttpMethod.GET
&& Method != HttpMethod.HEAD)
{
Stream bodyStream = ctx.Request.InputStream;
@@ -417,7 +417,7 @@ public Request(HttpListenerContext ctx, bool readStreamFully)
Data = new byte[ContentLength];
Buffer.BlockCopy(decodedData, 0, Data, 0, decodedData.Length);
}
- }
+ }
}
else if (ContentLength > 0)
{
@@ -426,7 +426,7 @@ public Request(HttpListenerContext ctx, bool readStreamFully)
if (Method != HttpMethod.GET && Method != HttpMethod.HEAD)
{
try
- {
+ {
Data = new byte[ContentLength];
Stream bodyStream = ctx.Request.InputStream;
Data = Common.StreamToBytes(bodyStream);
@@ -440,7 +440,7 @@ public Request(HttpListenerContext ctx, bool readStreamFully)
else
{
Data = null;
- DataStream = ctx.Request.InputStream;
+ DataStream = ctx.Request.InputStream;
}
}
}
@@ -623,7 +623,7 @@ public static Request FromBytes(byte[] bytes)
if (bytes.Length < 4) throw new ArgumentException("Too few bytes supplied to form a valid HTTP request.");
bool endOfHeader = false;
- byte[] headerBytes = new byte[1];
+ byte[] headerBytes = new byte[1];
Request ret = new();
@@ -1094,8 +1094,9 @@ private static Request BuildHeaders(byte[] bytes)
// First-Line
string[] requestLine = headers[i].Trim().Trim('\0').Split(' ');
if (requestLine.Length < 3) throw new ArgumentException("Request line does not contain at least three parts (method, raw URL, protocol/version).");
-
- ret.Method = (HttpMethod)Enum.Parse(typeof(HttpMethod), requestLine[0], true);
+
+ // (HttpMethod)Enum.Parse(typeof(HttpMethod), requestLine[0], true);
+ ret.Method = GetHttpMethod.Parse(requestLine[0]);
ret.FullUrl = requestLine[1];
ret.ProtocolVersion = requestLine[2];
ret.RawUrlWithQuery = ret.FullUrl;
@@ -1127,7 +1128,7 @@ private static Request BuildHeaders(byte[] bytes)
throw new Exception("Unable to parse destination hostname and port.");
}
}
- }
+ }
}
}
else
@@ -1176,7 +1177,7 @@ private static Request BuildHeaders(byte[] bytes)
List ret = new();
foreach (char c in rawUrlWithoutQuery)
- {
+ {
if ((position == 0) &&
(string.Compare(tempString, "") == 0) &&
(c == '/'))
@@ -1227,7 +1228,7 @@ private static Request BuildHeaders(byte[] bytes)
if (string.IsNullOrEmpty(query)) return null;
Dictionary ret = new();
-
+
int inKey = 1;
int inVal = 0;
int position = 0;
@@ -1271,7 +1272,7 @@ private static Request BuildHeaders(byte[] bytes)
continue;
}
}
-
+
if (inVal == 1)
{
if (!string.IsNullOrEmpty(tempVal)) tempVal = WebUtility.UrlEncode(tempVal);
diff --git a/SecureDNSClient/MsmhTools/HTTPProxyServer/RestRequest.cs b/SecureDNSClient/MsmhTools/HTTPProxyServer/RestRequest.cs
index dd4aeb4..97f0302 100644
--- a/SecureDNSClient/MsmhTools/HTTPProxyServer/RestRequest.cs
+++ b/SecureDNSClient/MsmhTools/HTTPProxyServer/RestRequest.cs
@@ -12,6 +12,40 @@
namespace MsmhTools.HTTPProxyServer
{
+ ///
+ /// Authorization header options.
+ ///
+ public class AuthorizationHeader
+ {
+ ///
+ /// The username to use in the authorization header, if any.
+ ///
+ public string? User = null;
+
+ ///
+ /// The password to use in the authorization header, if any.
+ ///
+ public string? Password = null;
+
+ ///
+ /// The bearer token to use in the authorization header, if any.
+ ///
+ public string? BearerToken = null;
+
+ ///
+ /// Enable to encode credentials in the authorization header.
+ ///
+ public bool EncodeCredentials = true;
+
+ ///
+ /// Instantiate the object.
+ ///
+ public AuthorizationHeader()
+ {
+
+ }
+ }
+
///
/// RESTful HTTP request to be sent to a server.
///
@@ -33,6 +67,25 @@ public class RestRequest
///
public HttpMethod Method = HttpMethod.GET;
+
+ private AuthorizationHeader _Authorization = new();
+
+ ///
+ /// Authorization header parameters.
+ ///
+ public AuthorizationHeader Authorization
+ {
+ get
+ {
+ return _Authorization;
+ }
+ set
+ {
+ if (value == null) _Authorization = new AuthorizationHeader();
+ else _Authorization = value;
+ }
+ }
+
///
/// Ignore certificate errors such as expired certificates, self-signed certificates, or those that cannot be validated.
///
@@ -244,7 +297,7 @@ public RestRequest(
/// The number of bytes to read from the input stream.
/// Stream containing the data you wish to send to the server (does not work with GET requests).
/// RestResponse.
- public RestResponse? Send(long contentLength, Stream stream)
+ public RestResponse? Send(long contentLength, Stream? stream)
{
return SendInternal(contentLength, stream);
}
@@ -448,6 +501,29 @@ public RestRequest(
}
}
+ // Add-Auth-Info
+ if (!string.IsNullOrEmpty(_Authorization.User))
+ {
+ if (_Authorization.EncodeCredentials)
+ {
+ Logger?.Invoke(_Header + "adding encoded credentials for user " + _Authorization.User);
+
+ string authInfo = _Authorization.User + ":" + _Authorization.Password;
+ authInfo = Convert.ToBase64String(Encoding.Default.GetBytes(authInfo));
+ client.Headers.Add("Authorization", "Basic " + authInfo);
+ }
+ else
+ {
+ Logger?.Invoke(_Header + "adding plaintext credentials for user " + _Authorization.User);
+ client.Headers.Add("Authorization", "Basic " + _Authorization.User + ":" + _Authorization.Password);
+ }
+ }
+ else if (!string.IsNullOrEmpty(_Authorization.BearerToken))
+ {
+ Logger?.Invoke(_Header + "adding authorization bearer token " + _Authorization.BearerToken);
+ client.Headers.Add("Authorization", "Bearer " + _Authorization.BearerToken);
+ }
+
// Write-Request-Body-Data
if (Method != HttpMethod.GET && Method != HttpMethod.HEAD)
{
diff --git a/SecureDNSClient/MsmhTools/HTTPProxyServer/Tunnel.cs b/SecureDNSClient/MsmhTools/HTTPProxyServer/Tunnel.cs
index 7135356..0e7f3c3 100644
--- a/SecureDNSClient/MsmhTools/HTTPProxyServer/Tunnel.cs
+++ b/SecureDNSClient/MsmhTools/HTTPProxyServer/Tunnel.cs
@@ -614,6 +614,7 @@ private void ServerSend(byte[] data)
private void Send(byte[] data, Socket? socket)
{
if (Cancel) return;
+ if (HTTPProxyServer._ActiveThreads >= HTTPProxyServer._Settings.MaxThreads) return;
if (socket != null)
{
HTTPProxyServer.DPIBypassProgram bp = HTTPProxyServer.BypassProgram;
diff --git a/SecureDNSClient/Properties/PublishProfiles/FolderProfile.pubxml.user b/SecureDNSClient/Properties/PublishProfiles/FolderProfile.pubxml.user
index f0993aa..4454e58 100644
--- a/SecureDNSClient/Properties/PublishProfiles/FolderProfile.pubxml.user
+++ b/SecureDNSClient/Properties/PublishProfiles/FolderProfile.pubxml.user
@@ -4,6 +4,6 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
-->
- True|2023-05-30T13:28:01.2450123Z;True|2023-05-29T20:36:32.5291896+04:30;True|2023-05-29T20:18:12.2031439+04:30;True|2023-05-29T19:44:46.0704739+04:30;True|2023-05-27T17:25:56.0498058+04:30;True|2023-05-27T14:50:19.0862471+04:30;True|2023-05-26T00:33:02.8133052+04:30;True|2023-05-26T00:22:55.5762345+04:30;True|2023-05-19T21:55:55.2053137+04:30;True|2023-05-04T21:14:13.1959990+04:30;True|2023-05-03T18:38:41.0925495+04:30;True|2023-05-03T18:22:56.1278337+04:30;True|2023-04-07T19:23:03.7575436+04:30;True|2023-04-07T19:01:53.8374192+04:30;True|2023-04-07T18:56:48.3465035+04:30;True|2023-02-23T19:42:36.6931238+03:30;True|2023-02-21T23:02:29.4417103+03:30;True|2023-02-21T22:58:29.4403662+03:30;True|2023-02-21T22:48:24.4128535+03:30;True|2023-02-21T22:27:17.9388815+03:30;True|2023-02-20T17:48:08.6532315+03:30;True|2023-02-16T01:42:22.8837631+03:30;True|2023-02-16T01:39:16.7954793+03:30;True|2023-02-15T21:24:18.8085514+03:30;True|2023-02-15T21:18:04.1969211+03:30;True|2023-02-15T21:15:01.3739223+03:30;True|2023-02-08T06:22:33.0414550+03:30;True|2023-02-08T05:20:18.9270105+03:30;True|2023-02-08T05:15:17.5374116+03:30;True|2023-02-08T05:03:44.0882459+03:30;True|2023-02-08T04:53:40.5516012+03:30;True|2023-02-08T02:23:19.0633758+03:30;
+ True|2023-06-02T12:45:42.7452611Z;True|2023-05-30T17:58:01.2450123+04:30;True|2023-05-29T20:36:32.5291896+04:30;True|2023-05-29T20:18:12.2031439+04:30;True|2023-05-29T19:44:46.0704739+04:30;True|2023-05-27T17:25:56.0498058+04:30;True|2023-05-27T14:50:19.0862471+04:30;True|2023-05-26T00:33:02.8133052+04:30;True|2023-05-26T00:22:55.5762345+04:30;True|2023-05-19T21:55:55.2053137+04:30;True|2023-05-04T21:14:13.1959990+04:30;True|2023-05-03T18:38:41.0925495+04:30;True|2023-05-03T18:22:56.1278337+04:30;True|2023-04-07T19:23:03.7575436+04:30;True|2023-04-07T19:01:53.8374192+04:30;True|2023-04-07T18:56:48.3465035+04:30;True|2023-02-23T19:42:36.6931238+03:30;True|2023-02-21T23:02:29.4417103+03:30;True|2023-02-21T22:58:29.4403662+03:30;True|2023-02-21T22:48:24.4128535+03:30;True|2023-02-21T22:27:17.9388815+03:30;True|2023-02-20T17:48:08.6532315+03:30;True|2023-02-16T01:42:22.8837631+03:30;True|2023-02-16T01:39:16.7954793+03:30;True|2023-02-15T21:24:18.8085514+03:30;True|2023-02-15T21:18:04.1969211+03:30;True|2023-02-15T21:15:01.3739223+03:30;True|2023-02-08T06:22:33.0414550+03:30;True|2023-02-08T05:20:18.9270105+03:30;True|2023-02-08T05:15:17.5374116+03:30;True|2023-02-08T05:03:44.0882459+03:30;True|2023-02-08T04:53:40.5516012+03:30;True|2023-02-08T02:23:19.0633758+03:30;
\ No newline at end of file
diff --git a/SecureDNSClient/SecureDNSClient.csproj b/SecureDNSClient/SecureDNSClient.csproj
index 0769b97..0a2ac9b 100644
--- a/SecureDNSClient/SecureDNSClient.csproj
+++ b/SecureDNSClient/SecureDNSClient.csproj
@@ -9,7 +9,7 @@
app.manifest
MSasanMH
SDC - Secure DNS Client
- $(VersionPrefix)2.1.3
+ $(VersionPrefix)2.1.4
SecureDNSClient.png
SecureDNSClientMulti.ico
diff --git a/SecureDNSClientPortable/Properties/PublishProfiles/FolderProfile.pubxml.user b/SecureDNSClientPortable/Properties/PublishProfiles/FolderProfile.pubxml.user
index 5e4446a..af8170c 100644
--- a/SecureDNSClientPortable/Properties/PublishProfiles/FolderProfile.pubxml.user
+++ b/SecureDNSClientPortable/Properties/PublishProfiles/FolderProfile.pubxml.user
@@ -4,6 +4,6 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
-->
- True|2023-05-30T13:27:19.0001069Z;True|2023-05-29T20:17:44.2223328+04:30;True|2023-05-29T19:43:15.8911213+04:30;True|2023-05-27T17:25:27.9631407+04:30;True|2023-05-27T14:50:40.9938592+04:30;True|2023-05-26T00:22:04.4226759+04:30;True|2023-05-19T21:55:03.6988953+04:30;True|2023-05-04T21:13:44.0531282+04:30;True|2023-05-03T18:20:58.6158351+04:30;True|2023-04-07T19:22:18.1443242+04:30;True|2023-04-07T19:01:23.1687551+04:30;True|2023-04-07T18:56:25.8534493+04:30;True|2023-02-23T19:42:03.7111255+03:30;True|2023-02-21T22:26:35.4429594+03:30;True|2023-02-20T17:47:25.0792312+03:30;True|2023-02-16T01:42:37.6467629+03:30;True|2023-02-15T22:16:38.0474815+03:30;True|2023-02-15T21:50:25.4952184+03:30;True|2023-02-15T21:49:01.8562159+03:30;
+ True|2023-06-02T12:44:48.5208600Z;True|2023-05-30T17:57:19.0001069+04:30;True|2023-05-29T20:17:44.2223328+04:30;True|2023-05-29T19:43:15.8911213+04:30;True|2023-05-27T17:25:27.9631407+04:30;True|2023-05-27T14:50:40.9938592+04:30;True|2023-05-26T00:22:04.4226759+04:30;True|2023-05-19T21:55:03.6988953+04:30;True|2023-05-04T21:13:44.0531282+04:30;True|2023-05-03T18:20:58.6158351+04:30;True|2023-04-07T19:22:18.1443242+04:30;True|2023-04-07T19:01:23.1687551+04:30;True|2023-04-07T18:56:25.8534493+04:30;True|2023-02-23T19:42:03.7111255+03:30;True|2023-02-21T22:26:35.4429594+03:30;True|2023-02-20T17:47:25.0792312+03:30;True|2023-02-16T01:42:37.6467629+03:30;True|2023-02-15T22:16:38.0474815+03:30;True|2023-02-15T21:50:25.4952184+03:30;True|2023-02-15T21:49:01.8562159+03:30;
\ No newline at end of file
diff --git a/SecureDNSClientPortable/SecureDNSClientPortable.csproj b/SecureDNSClientPortable/SecureDNSClientPortable.csproj
index 5a4b2f8..38f4c25 100644
--- a/SecureDNSClientPortable/SecureDNSClientPortable.csproj
+++ b/SecureDNSClientPortable/SecureDNSClientPortable.csproj
@@ -7,7 +7,7 @@
true
enable
SecureDNSClientMulti.ico
- $(VersionPrefix)2.1.3
+ $(VersionPrefix)2.1.4
MSasanMH
app.manifest