📄 副本 proxysetting.cs
字号:
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
namespace gowk.forms
{
/// <summary>
/// ProxySetting 的摘要说明。
/// </summary>
public class ProxySetting : gowk.controls.GPanel
{
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private gowk.controls.GComboBox gComboBox3;
private gowk.controls.GComboBox gComboBox1;
private gowk.controls.GTextBox gTextBox1;
private gowk.controls.GTextBox gTextBox2;
private gowk.controls.GTextBox gTextBox3;
private gowk.controls.GButton gButton1;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public ProxySetting()
{
// 该调用是 Windows.Forms 窗体设计器所必需的。
InitializeComponent();
this.LostFocus+=new EventHandler(ProxySetting_LostFocus);
// TODO: 在 InitializeComponent 调用后添加任何初始化
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器
/// 修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.gComboBox3 = new gowk.controls.GComboBox();
this.gComboBox1 = new gowk.controls.GComboBox();
this.gTextBox1 = new gowk.controls.GTextBox();
this.gTextBox2 = new gowk.controls.GTextBox();
this.gTextBox3 = new gowk.controls.GTextBox();
this.gButton1 = new gowk.controls.GButton();
this.SuspendLayout();
//
// label1
//
this.label1.Location = new System.Drawing.Point(6, 8);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(56, 23);
this.label1.TabIndex = 0;
this.label1.Text = "网络设置";
//
// label2
//
this.label2.Location = new System.Drawing.Point(22, 37);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(48, 23);
this.label2.TabIndex = 2;
this.label2.Text = "类型";
//
// label3
//
this.label3.Location = new System.Drawing.Point(22, 60);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(48, 23);
this.label3.TabIndex = 3;
this.label3.Text = "地址";
//
// label4
//
this.label4.Location = new System.Drawing.Point(22, 89);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(48, 23);
this.label4.TabIndex = 6;
this.label4.Text = "端口";
//
// label5
//
this.label5.Location = new System.Drawing.Point(22, 115);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(32, 16);
this.label5.TabIndex = 7;
this.label5.Text = "用户";
//
// label6
//
this.label6.Location = new System.Drawing.Point(22, 141);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(48, 23);
this.label6.TabIndex = 8;
this.label6.Text = "密码";
//
// gComboBox3
//
this.gComboBox3.BackColor = System.Drawing.SystemColors.Window;
this.gComboBox3.DockPadding.All = 3;
this.gComboBox3.GBorderStyle = gowk.controls.GBorderStyle.Solid;
this.gComboBox3.IsRound = false;
this.gComboBox3.Location = new System.Drawing.Point(62, 29);
this.gComboBox3.MaxDropDownItems = 5;
this.gComboBox3.Name = "gComboBox3";
this.gComboBox3.SelectedIndex = -1;
this.gComboBox3.SelectedItem = null;
this.gComboBox3.Size = new System.Drawing.Size(100, 24);
this.gComboBox3.TabIndex = 9;
//
// gComboBox1
//
this.gComboBox1.BackColor = System.Drawing.SystemColors.Window;
this.gComboBox1.DockPadding.All = 3;
this.gComboBox1.GBorderStyle = gowk.controls.GBorderStyle.Solid;
this.gComboBox1.IsRound = false;
this.gComboBox1.Location = new System.Drawing.Point(62, 55);
this.gComboBox1.MaxDropDownItems = 5;
this.gComboBox1.Name = "gComboBox1";
this.gComboBox1.SelectedIndex = -1;
this.gComboBox1.SelectedItem = null;
this.gComboBox1.Size = new System.Drawing.Size(100, 24);
this.gComboBox1.TabIndex = 10;
//
// gTextBox1
//
this.gTextBox1.BackColor = System.Drawing.SystemColors.Window;
this.gTextBox1.DockPadding.All = 3;
this.gTextBox1.GBorderStyle = gowk.controls.GBorderStyle.Solid;
this.gTextBox1.IsRound = false;
this.gTextBox1.Location = new System.Drawing.Point(62, 81);
this.gTextBox1.Name = "gTextBox1";
this.gTextBox1.Size = new System.Drawing.Size(100, 24);
this.gTextBox1.TabIndex = 11;
//
// gTextBox2
//
this.gTextBox2.BackColor = System.Drawing.SystemColors.Window;
this.gTextBox2.DockPadding.All = 3;
this.gTextBox2.GBorderStyle = gowk.controls.GBorderStyle.Solid;
this.gTextBox2.IsRound = false;
this.gTextBox2.Location = new System.Drawing.Point(62, 107);
this.gTextBox2.Name = "gTextBox2";
this.gTextBox2.Size = new System.Drawing.Size(100, 24);
this.gTextBox2.TabIndex = 12;
//
// gTextBox3
//
this.gTextBox3.BackColor = System.Drawing.SystemColors.Window;
this.gTextBox3.DockPadding.All = 3;
this.gTextBox3.GBorderStyle = gowk.controls.GBorderStyle.Solid;
this.gTextBox3.IsRound = false;
this.gTextBox3.Location = new System.Drawing.Point(62, 133);
this.gTextBox3.Name = "gTextBox3";
this.gTextBox3.Size = new System.Drawing.Size(100, 24);
this.gTextBox3.TabIndex = 13;
//
// gButton1
//
this.gButton1.GBorderStyle = gowk.controls.GBorderStyle.Solid;
this.gButton1.IsRound = true;
this.gButton1.Location = new System.Drawing.Point(22, 160);
this.gButton1.Name = "gButton1";
this.gButton1.Size = new System.Drawing.Size(64, 24);
this.gButton1.TabIndex = 14;
//
// ProxySetting
//
this.Controls.Add(this.gButton1);
this.Controls.Add(this.gTextBox3);
this.Controls.Add(this.gTextBox2);
this.Controls.Add(this.gTextBox1);
this.Controls.Add(this.gComboBox1);
this.Controls.Add(this.gComboBox3);
this.Controls.Add(this.label6);
this.Controls.Add(this.label5);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Name = "ProxySetting";
this.Size = new System.Drawing.Size(168, 192);
this.ResumeLayout(false);
}
#endregion
private void ProxySetting_LostFocus(object sender, EventArgs e)
{
this.Hide();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -