📄 ssnetworkcontrol.cs
字号:
this.ctlConnectionType.Location = new System.Drawing.Point(6, 80);
this.ctlConnectionType.Name = "ctlConnectionType";
this.ctlConnectionType.Size = new Size(0x59, 12);
this.ctlConnectionType.TabIndex = 0;
this.ctlConnectionType.Text = "当前连接的类型";
this.ctlExamine.AutoArrangementX = true;
this.ctlExamine.AutoSizeToImage = false;
this.ctlExamine.BackColor = Color.Transparent;
this.ctlExamine.BackgroundImage = (Image) manager.GetObject("ctlExamine.BackgroundImage");
this.ctlExamine.BackgroundImageDisable = (Image) manager.GetObject("ctlExamine.BackgroundImageDisable");
this.ctlExamine.BackgroundImageDown = (Image) manager.GetObject("ctlExamine.BackgroundImageDown");
this.ctlExamine.BackgroundImageHover = (Image) manager.GetObject("ctlExamine.BackgroundImageHover");
this.ctlExamine.ChangeSkin = false;
this.ctlExamine.Location = new System.Drawing.Point(0x12a, 0x4c);
this.ctlExamine.Name = "ctlExamine";
this.ctlExamine.Size = new Size(0x5f, 0x15);
this.ctlExamine.TabIndex = 0;
this.ctlExamine.Text = "网络情况诊断";
this.ctlExamine.set_UseVisualStyleBackColor(false);
this.ctlExamine.Click += new EventHandler(this.ctlExamine_Click);
this.chkConnLog.set_AutoSize(true);
this.chkConnLog.Location = new System.Drawing.Point(6, 0x4f);
this.chkConnLog.Name = "chkConnLog";
this.chkConnLog.Size = new Size(120, 0x10);
this.chkConnLog.TabIndex = 0;
this.chkConnLog.Text = "保存网络连接日志";
this.chkConnLog.set_UseVisualStyleBackColor(true);
this.chkConnLog.Visible = false;
this.pbConnStatus.set_ErrorImage(null);
this.pbConnStatus.set_InitialImage(null);
this.pbConnStatus.Location = new System.Drawing.Point(0x33, 0x12);
this.pbConnStatus.Name = "pbConnStatus";
this.pbConnStatus.Size = new Size(0x12b, 0x3b);
this.pbConnStatus.TabIndex = 2;
this.pbConnStatus.TabStop = false;
this.gbNetworkConfig.Controls.Add(this.label4);
this.gbNetworkConfig.Controls.Add(this.label1);
this.gbNetworkConfig.Controls.Add(this.ctlHttpProxyType);
this.gbNetworkConfig.Controls.Add(label);
this.gbNetworkConfig.Controls.Add(this.chkUseSocks);
this.gbNetworkConfig.Controls.Add(this.chkUseDirect);
this.gbNetworkConfig.Controls.Add(this.chkUseHttpProxy);
this.gbNetworkConfig.Controls.Add(this.lbHttpProxyPort);
this.gbNetworkConfig.Controls.Add(this.lbSocksPort);
this.gbNetworkConfig.Controls.Add(this.txtHttpProxyPort);
this.gbNetworkConfig.Controls.Add(this.btnTestHttpProxy);
this.gbNetworkConfig.Controls.Add(this.txtHttpProxyPassword);
this.gbNetworkConfig.Controls.Add(this.lbHttpPassword);
this.gbNetworkConfig.Controls.Add(this.txtHttpProxyUserName);
this.gbNetworkConfig.Controls.Add(this.lbHttpUser);
this.gbNetworkConfig.Controls.Add(this.txtHttpProxyServerAdress);
this.gbNetworkConfig.Controls.Add(this.lbHttpProxyServer);
this.gbNetworkConfig.Controls.Add(this.btnTestSocks);
this.gbNetworkConfig.Controls.Add(this.txtSocksPassword);
this.gbNetworkConfig.Controls.Add(this.lbSocksPassword);
this.gbNetworkConfig.Controls.Add(this.txtSocksUserName);
this.gbNetworkConfig.Controls.Add(this.lbSocksUser);
this.gbNetworkConfig.Controls.Add(this.txtSockServerAddress);
this.gbNetworkConfig.Controls.Add(this.txtSocksPort);
this.gbNetworkConfig.Controls.Add(this.lbSocksServer);
this.gbNetworkConfig.Controls.Add(this.btnTestTcp);
this.gbNetworkConfig.Controls.Add(this.lbDirectly);
this.gbNetworkConfig.Controls.Add(this.ctlPromptHttpSetting);
this.gbNetworkConfig.Location = new System.Drawing.Point(3, 0x76);
this.gbNetworkConfig.Name = "gbNetworkConfig";
this.gbNetworkConfig.Size = new Size(0x19e, 0xd4);
this.gbNetworkConfig.TabIndex = 1;
this.gbNetworkConfig.TabStop = false;
this.gbNetworkConfig.Text = "网络连接设置";
this.label4.set_AutoSize(true);
this.label4.Location = new System.Drawing.Point(20, 0x44);
this.label4.Name = "label4";
this.label4.Size = new Size(0x35, 12);
this.label4.TabIndex = 15;
this.label4.Text = "HTTP代理";
this.label1.set_AutoSize(true);
this.label1.Location = new System.Drawing.Point(20, 0x12);
this.label1.Name = "label1";
this.label1.Size = new Size(0x35, 12);
this.label1.TabIndex = 14;
this.label1.Text = "直接连接";
this.ctlHttpProxyType.BackColor = Color.White;
this.ctlHttpProxyType.DropDownStyle = ComboBoxStyle.DropDownList;
this.ctlHttpProxyType.EmptyTextTip = "";
this.ctlHttpProxyType.EmptyTextTipColor = Color.DarkGray;
this.ctlHttpProxyType.set_FormattingEnabled(true);
this.ctlHttpProxyType.Location = new System.Drawing.Point(0x61, 0x41);
this.ctlHttpProxyType.Name = "ctlHttpProxyType";
this.ctlHttpProxyType.Size = new Size(0x6f, 20);
this.ctlHttpProxyType.TabIndex = 1;
this.ctlHttpProxyType.SelectedIndexChanged += new EventHandler(this.ctlHttpProxyType_SelectedIndexChanged);
this.ctlHttpProxyType.add_DropDownClosed(new EventHandler(this.ctlHttpProxyType_DropDownClosed));
this.ctlHttpProxyType.DropDown += new EventHandler(this.ctlHttpProxyType_DropDown);
this.chkUseSocks.set_AutoSize(true);
this.chkUseSocks.Location = new System.Drawing.Point(11, 0xef);
this.chkUseSocks.Name = "chkUseSocks";
this.chkUseSocks.Size = new Size(0x54, 0x10);
this.chkUseSocks.TabIndex = 2;
this.chkUseSocks.Text = "SOCKS 代理";
this.chkUseSocks.set_UseVisualStyleBackColor(true);
this.chkUseSocks.Visible = false;
this.chkUseSocks.CheckedChanged += new EventHandler(this.chkSocks_CheckedChanged);
this.chkUseDirect.set_AutoSize(true);
this.chkUseDirect.Checked = true;
this.chkUseDirect.CheckState = CheckState.Checked;
this.chkUseDirect.Location = new System.Drawing.Point(8, 0x11);
this.chkUseDirect.Name = "chkUseDirect";
this.chkUseDirect.Size = new Size(0x48, 0x10);
this.chkUseDirect.TabIndex = 0;
this.chkUseDirect.Text = "直接连接";
this.chkUseDirect.set_UseVisualStyleBackColor(true);
this.chkUseDirect.Visible = false;
this.chkUseDirect.CheckedChanged += new EventHandler(this.chkUseTcp_CheckedChanged);
this.chkUseHttpProxy.set_AutoSize(true);
this.chkUseHttpProxy.Checked = true;
this.chkUseHttpProxy.CheckState = CheckState.Checked;
this.chkUseHttpProxy.Location = new System.Drawing.Point(9, 0x42);
this.chkUseHttpProxy.Name = "chkUseHttpProxy";
this.chkUseHttpProxy.Size = new Size(0x4e, 0x10);
this.chkUseHttpProxy.TabIndex = 2;
this.chkUseHttpProxy.Text = "HTTP 代理";
this.chkUseHttpProxy.set_UseVisualStyleBackColor(true);
this.chkUseHttpProxy.Visible = false;
this.chkUseHttpProxy.CheckedChanged += new EventHandler(this.chkHttpProxy_CheckedChanged);
this.lbHttpProxyPort.set_AutoSize(true);
this.lbHttpProxyPort.BorderColor = Color.Empty;
this.lbHttpProxyPort.ButtonBorderStyle = ButtonBorderStyle.None;
this.lbHttpProxyPort.Location = new System.Drawing.Point(0xf3, 0x7f);
this.lbHttpProxyPort.Name = "lbHttpProxyPort";
this.lbHttpProxyPort.Size = new Size(0x23, 12);
this.lbHttpProxyPort.TabIndex = 3;
this.lbHttpProxyPort.Text = "端口:";
this.lbSocksPort.set_AutoSize(true);
this.lbSocksPort.BorderColor = Color.Empty;
this.lbSocksPort.ButtonBorderStyle = ButtonBorderStyle.None;
this.lbSocksPort.Location = new System.Drawing.Point(0xe7, 0x107);
this.lbSocksPort.Name = "lbSocksPort";
this.lbSocksPort.Size = new Size(0x23, 12);
this.lbSocksPort.TabIndex = 6;
this.lbSocksPort.Text = "端口:";
this.lbSocksPort.Visible = false;
this.txtHttpProxyPort.BackColor = Color.White;
this.txtHttpProxyPort.BorderStyle = BorderStyle.FixedSingle;
this.txtHttpProxyPort.EmptyTextTip = "";
this.txtHttpProxyPort.EmptyTextTipColor = Color.DarkGray;
this.txtHttpProxyPort.Location = new System.Drawing.Point(280, 0x7b);
this.txtHttpProxyPort.MaxLength = 5;
this.txtHttpProxyPort.Name = "txtHttpProxyPort";
this.txtHttpProxyPort.Size = new Size(0x49, 0x15);
this.txtHttpProxyPort.TabIndex = 3;
this.txtHttpProxyPort.Text = "80";
this.txtHttpProxyPort.Leave += new EventHandler(this.txtHttpProxyPort_Leave);
this.btnTestHttpProxy.AutoArrangementX = true;
this.btnTestHttpProxy.AutoSizeToImage = false;
this.btnTestHttpProxy.BackColor = Color.Transparent;
this.btnTestHttpProxy.BackgroundImage = (Image) manager.GetObject("btnTestHttpProxy.BackgroundImage");
this.btnTestHttpProxy.BackgroundImageDisable = (Image) manager.GetObject("btnTestHttpProxy.BackgroundImageDisable");
this.btnTestHttpProxy.BackgroundImageDown = (Image) manager.GetObject("btnTestHttpProxy.BackgroundImageDown");
this.btnTestHttpProxy.BackgroundImageHover = (Image) manager.GetObject("btnTestHttpProxy.BackgroundImageHover");
this.btnTestHttpProxy.ChangeSkin = false;
this.btnTestHttpProxy.Enabled = false;
this.btnTestHttpProxy.Location = new System.Drawing.Point(0xf5, 0xb9);
this.btnTestHttpProxy.Name = "btnTestHttpProxy";
this.btnTestHttpProxy.Size = new Size(0x35, 0x15);
this.btnTestHttpProxy.TabIndex = 6;
this.btnTestHttpProxy.Text = "测试";
this.btnTestHttpProxy.set_UseVisualStyleBackColor(false);
this.btnTestHttpProxy.Click += new EventHandler(this.btnTestHttpProxy_Click);
this.txtHttpProxyPassword.BackColor = Color.White;
this.txtHttpProxyPassword.BorderStyle = BorderStyle.FixedSingle;
this.txtHttpProxyPassword.EmptyTextTip = "";
this.txtHttpProxyPassword.EmptyTextTipColor = Color.DarkGray;
this.txtHttpProxyPassword.Location = new System.Drawing.Point(0x4f, 0xb9);
this.txtHttpProxyPassword.MaxLength = 50;
this.txtHttpProxyPassword.Name = "txtHttpProxyPassword";
this.txtHttpProxyPassword.Size = new Size(0x99, 0x15);
this.txtHttpProxyPassword.TabIndex = 5;
this.txtHttpProxyPassword.set_UseSystemPasswordChar(true);
this.lbHttpPassword.set_AutoSize(true);
this.lbHttpPassword.BorderColor = Color.Empty;
this.lbHttpPassword.ButtonBorderStyle = ButtonBorderStyle.None;
this.lbHttpPassword.Location = new System.Drawing.Point(0x1b, 0xbc);
this.lbHttpPassword.Name = "lbHttpPassword";
this.lbHttpPassword.Size = new Size(0x2f, 12);
this.lbHttpPassword.TabIndex = 10;
this.lbHttpPassword.Text = "密 码:";
this.txtHttpProxyUserName.BackColor = Color.White;
this.txtHttpProxyUserName.BorderStyle = BorderStyle.FixedSingle;
this.txtHttpProxyUserName.EmptyTextTip = "";
this.txtHttpProxyUserName.EmptyTextTipColor = Color.DarkGray;
this.txtHttpProxyUserName.Location = new System.Drawing.Point(0x4f, 0x9a);
this.txtHttpProxyUserName.MaxLength = 50;
this.txtHttpProxyUserName.Name = "txtHttpProxyUserName";
this.txtHttpProxyUserName.Size = new Size(0x99, 0x15);
this.txtHttpProxyUserName.TabIndex = 4;
this.lbHttpUser.set_AutoSize(true);
this.lbHttpUser.BorderColor = Color.Empty;
this.lbHttpUser.ButtonBorderStyle = ButtonBorderStyle.None;
this.lbHttpUser.Location = new System.Drawing.Point(0x1b, 0x9d);
this.lbHttpUser.Name = "lbHttpUser";
this.lbHttpUser.Size = new Size(0x2f, 12);
this.lbHttpUser.TabIndex = 11;
this.lbHttpUser.Text = "用户名:";
this.txtHttpProxyServerAdress.BackColor = Color.White;
this.txtHttpProxyServerAdress.BorderStyle = BorderStyle.FixedSingle;
this.txtHttpProxyServerAdress.EmptyTextTip = "";
this.txtHttpProxyServerAdress.EmptyTextTipColor = Color.DarkGray;
this.txtHttpProxyServerAdress.Location = new System.Drawing.Point(0x4f, 0x7b);
this.txtHttpProxyServerAdress.MaxLength = 0xff;
this.txtHttpProxyServerAdress.Name = "txtHttpProxyServerAdress";
this.txtHttpProxyServerAdress.Size = new Size(0x99, 0x15);
this.txtHttpProxyServerAdress.TabIndex = 2;
this.txtHttpProxyServerAdress.Leave += new EventHandler(this.txtHttpProxyServerAdress_Leave);
this.txtHttpProxyServerAdress.TextChanged += new EventHandler(this.txtHttpProxyServerAdress_TextChanged);
this.lbHttpProxyServer.set_AutoSize(true);
this.lbHttpProxyServer.BorderColor = Color.Empty;
this.lbHttpProxyServer.ButtonBorderStyle = ButtonBorderStyle.None;
this.lbHttpProxyServer.Location = new System.Drawing.Point(0x1b, 0x7f);
this.lbHttpProxyServer.Name = "lbHttpProxyServer";
this.lbHttpProxyServer.Size = new Size(0x2f, 12);
this.lbHttpProxyServer.TabIndex = 13;
this.lbHttpProxyServer.Text = "服务器:";
this.btnTestSocks.AutoArrangementX = true;
this.btnTestSocks.AutoSizeToImage = false;
this.btnTestSocks.BackColor = Color.Transparent;
this.btnTestSocks.BackgroundImageDisable = null;
this.btnTestSocks.BackgroundImageDown = null;
this.btnTestSocks.BackgroundImageHover = null;
this.btnTestSocks.ChangeSkin = true;
this.btnTestSocks.Enabled = false;
this.btnTestSocks.Location = new System.Drawing.Point(0x10c, 0x12e);
this.btnTestSocks.Name = "btnTestSocks";
this.btnTestSocks.Size = new Size(0x4b, 0x15);
this.btnTestSocks.TabIndex = 7;
this.btnTestSocks.Text = "测试...";
this.btnTestSocks.set_UseVisualStyleBackColor(false);
this.btnTestSocks.Visible = false;
this.btnTestSocks.Click += new EventHandler(this.btnTestSocks_Click);
this.txtSocksPassword.BackColor = Color.White;
this.txtSocksPassword.BorderStyle = BorderStyle.FixedSingle;
this.txtSocksPassword.EmptyTextTip = "";
this.txtSocksPassword.EmptyTextTipColor = Color.DarkGray;
this.txtSocksPassword.Location = new System.Drawing.Point(0x48, 0x12e);
this.txtSocksPassword.MaxLength = 50;
this.txtSocksPassword.Name = "txtSocksPassword";
this.txtSocksPassword.Size = new Size(0x99, 0x15);
this.txtSocksPassword.TabIndex = 6;
this.txtSocksPassword.set_UseSystemPasswordChar(true);
this.txtSocksPassword.Visible = false;
this.lbSocksPassword.set_AutoSize(true);
this.lbSocksPassword.BorderColor = Color.Empty;
this.lbSocksPassword.ButtonBorderStyle = ButtonBorderStyle.None;
this.lbSocksPassword.Location = new System.Drawing.Point(20, 0x12f);
this.lbSocksPassword.Name = "lbSocksPassword";
this.lbSocksPassword.Size = new Size(0x2f, 12);
this.lbSocksPassword.TabIndex = 10;
this.lbSocksPassword.Text = "密 码:";
this.lbSocksPassword.Visible = false;
this.txtSocksUserName.BackColor = Color.White;
this.txtSocksUserName.BorderStyle = BorderStyle.FixedSingle;
this.txtSocksUserName.EmptyTextTip = "";
this.txtSocksUserName.EmptyTextTipColor = Color.DarkGray;
this.txtSocksUserName.Location = new System.Drawing.Point(0x48, 0x119);
this.txtSocksUserName.MaxLength = 50;
this.txtSocksUserName.Name = "txtSocksUserName";
this.txtSocksUserName.Size = new Size(0x99, 0x15);
this.txtSocksUserName.TabIndex = 5;
this.txtSocksUserName.Visible = false;
this.lbSocksUser.set_AutoSize(true);
this.lbSocksUser.BorderColor = Color.Empty;
this.lbSocksUser.ButtonBorderStyle = ButtonBorderStyle.None;
this.lbSocksUser.Location = new System.Drawing.Point(20, 0x11b);
this.lbSocksUser.Name = "lbSocksUser";
this.lbSocksUser.Size = new Size(0x2f, 12);
this.lbSocksUser.TabIndex = 8;
this.lbSocksUser.Text = "用户名:";
this.lbSocksUser.Visible = false;
this.txtSockServerAddress.BackColor = Color.White;
this.txtSockServerAddress.BorderStyle = BorderStyle.FixedSingle;
this.txtSockServerAddress.EmptyTextTip = "";
this.txtSockServerAddress.EmptyTextTipColor = Color.DarkGray;
this.txtSockServerAddress.Location = new System.Drawing.Point(0x48, 0x105);
this.txtSockServerAddress.MaxLength = 0xff;
this.txtSockServerAddress.Name = "txtSockServerAddress";
this.txtSockServerAddress.Size = new Size(0x99, 0x15);
this.txtSockServerAddress.TabIndex = 3;
this.txtSockServerAddress.Visible = false;
this.txtSockServerAddress.Leave += new EventHandler(this.txtSockServerAddress_Leave);
this.txtSockServerAddress.TextChanged += new EventHandler(this.txtSockServerAddress_TextChanged);
this.txtSocksPort.BackColor = Color.White;
this.txtSocksPort.BorderStyle = BorderStyle.FixedSingle;
this.txtSocksPort.EmptyTextTip = "";
this.txtSocksPort.EmptyTextTipColor = Color.DarkGray;
this.txtSocksPort.Location = new System.Drawing.Point(0x10c, 0x105);
this.txtSocksPort.MaxLength = 5;
this.txtSocksPort.Name = "txtSocksPort";
this.txtSocksPort.Size = new Size(0x49, 0x15);
this.txtSocksPort.TabIndex = 4;
this.txtSocksPort.Text = "1080";
this.txtSocksPort.Visible = false;
this.txtSocksPort.Leave += new EventHandler(this.txtSocksPort_Leave);
this.lbSocksServer.set_AutoSize(true);
this.lbSocksServer.BorderColor = Color.Empty;
this.lbSocksServer.ButtonBorderStyle = ButtonBorderStyle.None;
this.lbSocksServer.Location = new System.Drawing.Point(20, 0x108);
this.lbSocksServer.Name = "lbSocksServer";
this.lbSocksServer.Size = new Size(0x2f, 12);
this.lbSocksServer.TabIndex = 4;
this.lbSocksServer.Text = "服务器:";
this.lbSocksServer.Visible = false;
this.btnTestTcp.AutoArrangementX = true;
this.btnTestTcp.AutoSizeToImage = false;
this.btnTestTcp.BackColor = Color.Transparent;
this.btnTestTcp.BackgroundImage = (Image) manager.GetObject("btnTestTcp.BackgroundImage");
this.btnTestTcp.BackgroundImageDisable = (Image) manager.GetObject("btnTestTcp.BackgroundImageDisable");
this.btnTestTcp.BackgroundImageDown = (Image) manager.GetObject("btnTestTcp.BackgroundImageDown");
this.btnTestTcp.BackgroundImageHover = (Image) manager.GetObject("btnTestTcp.BackgroundImageHover");
this.btnTestTcp.ChangeSkin = false;
this.btnTestTcp.Location = new System.Drawing.Point(0x12a, 0x24);
this.btnTestTcp.Name = "btnTestTcp";
this.btnTestTcp.Size = new Size(0x35, 0x15);
this.btnTestTcp.TabIndex = 0;
this.btnTestTcp.Text = "测试";
this.btnTestTcp.set_UseVisualStyleBackColor(false);
this.btnTestTcp.Click += new EventHandler(this.btnTestDirect_Click);
this.lbDirectly.BorderColor = Color.Empty;
this.lbDirectly.ButtonBorderStyle = ButtonBorderStyle.None;
this.lbDirectly.Location = new System.Drawing.Point(0x18, 0x24);
this.lbDirectly.Name = "lbDirectly";
this.lbDirectly.Size = new Size(0xeb, 0x1c);
this.lbDirectly.TabIndex = 1;
this.lbDirectly.Text = "直接连接到服务器,不使用代理。 在网络情况允许时,这是最稳定的连接方式。";
this.ctlPromptHttpSetting.BorderColor = Color.Empty;
this.ctlPromptHttpSetting.ButtonBorderStyle = ButtonBorderStyle.None;
this.ctlPromptHttpSetting.Location = new System.Drawing.Point(0x19, 90);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -