📄 trans_net_form.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace test007
{
/// <summary>
/// trans_net_Form 的摘要说明。
/// </summary>
public class trans_net_Form : System.Windows.Forms.Form
{
private System.Windows.Forms.TreeView treeView1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.TextBox textBox3;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.Button button6;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public trans_net_Form()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.treeView1 = new System.Windows.Forms.TreeView();
this.label1 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.textBox2 = new System.Windows.Forms.TextBox();
this.textBox3 = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.button5 = new System.Windows.Forms.Button();
this.button6 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// treeView1
//
this.treeView1.ImageIndex = -1;
this.treeView1.Location = new System.Drawing.Point(8, 16);
this.treeView1.Name = "treeView1";
this.treeView1.SelectedImageIndex = -1;
this.treeView1.Size = new System.Drawing.Size(272, 392);
this.treeView1.TabIndex = 0;
//
// label1
//
this.label1.Location = new System.Drawing.Point(320, 56);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(96, 24);
this.label1.TabIndex = 1;
this.label1.Text = "防噶";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(336, 96);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(160, 21);
this.textBox1.TabIndex = 2;
this.textBox1.Text = "";
//
// label2
//
this.label2.Location = new System.Drawing.Point(320, 152);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(96, 24);
this.label2.TabIndex = 3;
this.label2.Text = "防噶";
//
// label3
//
this.label3.Location = new System.Drawing.Point(320, 264);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(96, 24);
this.label3.TabIndex = 4;
this.label3.Text = "防噶";
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(336, 200);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(160, 21);
this.textBox2.TabIndex = 5;
this.textBox2.Text = "";
//
// textBox3
//
this.textBox3.Location = new System.Drawing.Point(336, 320);
this.textBox3.Name = "textBox3";
this.textBox3.Size = new System.Drawing.Size(160, 21);
this.textBox3.TabIndex = 6;
this.textBox3.Text = "";
//
// button1
//
this.button1.Location = new System.Drawing.Point(560, 40);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(136, 32);
this.button1.TabIndex = 7;
this.button1.Text = "增加为第一级";
//
// button2
//
this.button2.Location = new System.Drawing.Point(560, 96);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(136, 32);
this.button2.TabIndex = 8;
this.button2.Text = "增加为本级别";
//
// button3
//
this.button3.Location = new System.Drawing.Point(560, 160);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(136, 32);
this.button3.TabIndex = 9;
this.button3.Text = "增加为子级别";
//
// button4
//
this.button4.Location = new System.Drawing.Point(560, 224);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(136, 32);
this.button4.TabIndex = 10;
this.button4.Text = "保存修改";
//
// button5
//
this.button5.Location = new System.Drawing.Point(560, 288);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(136, 32);
this.button5.TabIndex = 11;
this.button5.Text = "删除";
//
// button6
//
this.button6.Location = new System.Drawing.Point(560, 352);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(136, 32);
this.button6.TabIndex = 12;
this.button6.Text = "退出";
//
// trans_net_Form
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(744, 429);
this.Controls.AddRange(new System.Windows.Forms.Control[] {
this.button6,
this.button5,
this.button4,
this.button3,
this.button2,
this.button1,
this.textBox3,
this.textBox2,
this.label3,
this.label2,
this.textBox1,
this.label1,
this.treeView1});
this.Name = "trans_net_Form";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "trans_net_Form";
this.ResumeLayout(false);
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -