📄 form1.cs
字号:
this.button2.Location = new System.Drawing.Point(8, 56);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(48, 24);
this.button2.TabIndex = 6;
this.button2.Text = "加入";
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// groupBox3
//
this.groupBox3.Controls.Add(this.SqlB);
this.groupBox3.Controls.Add(this.OledbB);
this.groupBox3.Location = new System.Drawing.Point(8, 280);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(152, 64);
this.groupBox3.TabIndex = 0;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "Radio Test";
//
// SqlB
//
this.SqlB.Location = new System.Drawing.Point(8, 32);
this.SqlB.Name = "SqlB";
this.SqlB.Size = new System.Drawing.Size(96, 24);
this.SqlB.TabIndex = 3;
this.SqlB.Text = "Sql供应程序";
this.SqlB.CheckedChanged += new System.EventHandler(this.SqlB_CheckedChanged);
//
// OledbB
//
this.OledbB.Location = new System.Drawing.Point(8, 16);
this.OledbB.Name = "OledbB";
this.OledbB.TabIndex = 2;
this.OledbB.Text = "Oledb供应程序";
this.OledbB.CheckedChanged += new System.EventHandler(this.OledbB_CheckedChanged);
//
// groupBox4
//
this.groupBox4.Controls.Add(this.chkDisableShow);
this.groupBox4.Controls.Add(this.chkDisableMax);
this.groupBox4.Location = new System.Drawing.Point(168, 48);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(128, 80);
this.groupBox4.TabIndex = 1;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "checkbox test";
//
// chkDisableShow
//
this.chkDisableShow.Location = new System.Drawing.Point(8, 48);
this.chkDisableShow.Name = "chkDisableShow";
this.chkDisableShow.Size = new System.Drawing.Size(112, 20);
this.chkDisableShow.TabIndex = 5;
this.chkDisableShow.Text = "在任务栏中显示";
this.chkDisableShow.CheckedChanged += new System.EventHandler(this.chkDisableShow_CheckedChanged);
//
// chkDisableMax
//
this.chkDisableMax.Location = new System.Drawing.Point(8, 24);
this.chkDisableMax.Name = "chkDisableMax";
this.chkDisableMax.TabIndex = 4;
this.chkDisableMax.Text = "允许最大化";
this.chkDisableMax.CheckedChanged += new System.EventHandler(this.chkDisableMax_CheckedChanged);
//
// mainMenu1
//
this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.menuFile,
this.menuEdit,
this.menuAbout});
//
// menuFile
//
this.menuFile.Index = 0;
this.menuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.menuItem2});
this.menuFile.Text = "&File";
//
// menuItem2
//
this.menuItem2.Index = 0;
this.menuItem2.Text = "E&xit";
this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
//
// menuEdit
//
this.menuEdit.Index = 1;
this.menuEdit.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.menuItem5,
this.menuItem6,
this.menuItem7,
this.menuItem8,
this.menuItem10,
this.menuItem9});
this.menuEdit.Text = "&Edit";
//
// menuItem5
//
this.menuItem5.Index = 0;
this.menuItem5.Text = "Copy";
//
// menuItem6
//
this.menuItem6.Index = 1;
this.menuItem6.Text = "Paste";
//
// menuItem7
//
this.menuItem7.Index = 2;
this.menuItem7.Text = "Cut";
//
// menuItem8
//
this.menuItem8.Index = 3;
this.menuItem8.Text = "Delete";
//
// menuItem10
//
this.menuItem10.Index = 4;
this.menuItem10.Text = "-";
//
// menuItem9
//
this.menuItem9.Index = 5;
this.menuItem9.Text = "I don\'t know";
//
// menuAbout
//
this.menuAbout.Index = 2;
this.menuAbout.Text = "&About";
//
// textBox2
//
this.textBox2.AcceptsReturn = true;
this.textBox2.AcceptsTab = true;
this.textBox2.Location = new System.Drawing.Point(8, 64);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(40, 21);
this.textBox2.TabIndex = 13;
this.textBox2.Text = "输入";
this.toolTip1.SetToolTip(this.textBox2, "输入1-10之间的正整数");
//
// button4
//
this.button4.Location = new System.Drawing.Point(52, 64);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(24, 24);
this.button4.TabIndex = 10;
this.button4.Text = "加";
this.toolTip1.SetToolTip(this.button4, "将编辑框中的文字加入到列表框中");
this.button4.Click += new System.EventHandler(this.button4_Click);
//
// pictureBox1
//
this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(340, 200);
this.pictureBox1.TabIndex = 9;
this.pictureBox1.TabStop = false;
this.toolTip1.SetToolTip(this.pictureBox1, "按这里可以选择打开图片");
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
//
// trackBar1
//
this.trackBar1.Location = new System.Drawing.Point(8, 24);
this.trackBar1.Name = "trackBar1";
this.trackBar1.Size = new System.Drawing.Size(128, 42);
this.trackBar1.TabIndex = 0;
this.toolTip1.SetToolTip(this.trackBar1, "背景颜色");
this.trackBar1.Scroll += new System.EventHandler(this.trackBar1_Scroll);
//
// linkLabel1
//
this.linkLabel1.LinkArea = new System.Windows.Forms.LinkArea(2, 18);
this.linkLabel1.Location = new System.Drawing.Point(168, 136);
this.linkLabel1.Name = "linkLabel1";
this.linkLabel1.Size = new System.Drawing.Size(128, 16);
this.linkLabel1.TabIndex = 4;
this.linkLabel1.TabStop = true;
this.linkLabel1.Text = "我:mcao_sut@163.com";
this.toolTip1.SetToolTip(this.linkLabel1, "打开学校网页");
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
//
// StopProcessBar
//
this.StopProcessBar.ForeColor = System.Drawing.Color.MediumSeaGreen;
this.StopProcessBar.Location = new System.Drawing.Point(8, 72);
this.StopProcessBar.Name = "StopProcessBar";
this.StopProcessBar.Size = new System.Drawing.Size(48, 16);
this.StopProcessBar.TabIndex = 6;
this.StopProcessBar.Text = "停止";
this.toolTip1.SetToolTip(this.StopProcessBar, "暂停进度条");
this.StopProcessBar.Click += new System.EventHandler(this.StopProcessBar_Click);
//
// statusBar1
//
this.statusBar1.Location = new System.Drawing.Point(0, 353);
this.statusBar1.Name = "statusBar1";
this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
this.statusBarPanel1,
this.statusBarPanel2});
this.statusBar1.ShowPanels = true;
this.statusBar1.Size = new System.Drawing.Size(592, 24);
this.statusBar1.TabIndex = 2;
//
// statusBarPanel1
//
this.statusBarPanel1.BorderStyle = System.Windows.Forms.StatusBarPanelBorderStyle.Raised;
this.statusBarPanel1.Text = "你可以使用的状态栏";
this.statusBarPanel1.ToolTipText = "鼠标位置";
this.statusBarPanel1.Width = 200;
//
// statusBarPanel2
//
this.statusBarPanel2.Alignment = System.Windows.Forms.HorizontalAlignment.Right;
this.statusBarPanel2.Text = "当前时间";
this.statusBarPanel2.ToolTipText = "当前时间";
this.statusBarPanel2.Width = 200;
//
// toolBar1
//
this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
this.toolBarFileExit,
this.toolBarAbout});
this.toolBar1.DropDownArrows = true;
this.toolBar1.ImageList = this.imageList1;
this.toolBar1.Location = new System.Drawing.Point(0, 0);
this.toolBar1.Name = "toolBar1";
this.toolBar1.ShowToolTips = true;
this.toolBar1.Size = new System.Drawing.Size(592, 41);
this.toolBar1.TabIndex = 3;
this.toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
//
// toolBarFileExit
//
this.toolBarFileExit.ImageIndex = 0;
this.toolBarFileExit.Text = "Exit";
this.toolBarFileExit.ToolTipText = "Exit The App";
//
// toolBarAbout
//
this.toolBarAbout.ImageIndex = 1;
this.toolBarAbout.Text = "About";
this.toolBarAbout.ToolTipText = "About";
//
// imageList1
//
this.imageList1.ImageSize = new System.Drawing.Size(16, 16);
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
//
// groupBox5
//
this.groupBox5.Controls.Add(this.checkedListBox1);
this.groupBox5.Controls.Add(this.textBox2);
this.groupBox5.Controls.Add(this.button4);
this.groupBox5.Controls.Add(this.button5);
this.groupBox5.Controls.Add(this.button6);
this.groupBox5.Location = new System.Drawing.Point(304, 48);
this.groupBox5.Name = "groupBox5";
this.groupBox5.Size = new System.Drawing.Size(144, 96);
this.groupBox5.TabIndex = 5;
this.groupBox5.TabStop = false;
this.groupBox5.Text = "Checkedlistbox test";
//
// checkedListBox1
//
this.checkedListBox1.Location = new System.Drawing.Point(8, 17);
this.checkedListBox1.Name = "checkedListBox1";
this.checkedListBox1.Size = new System.Drawing.Size(128, 36);
this.checkedListBox1.TabIndex = 0;
//
// button5
//
this.button5.Location = new System.Drawing.Point(77, 64);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(24, 24);
this.button5.TabIndex = 12;
this.button5.Text = "删";
this.button5.Click += new System.EventHandler(this.button5_Click);
//
// button6
//
this.button6.Location = new System.Drawing.Point(102, 64);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(38, 24);
this.button6.TabIndex = 11;
this.button6.Text = "结果";
this.button6.Click += new System.EventHandler(this.button6_Click);
//
// tabControl1
//
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Location = new System.Drawing.Point(168, 152);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(120, 72);
this.tabControl1.TabIndex = 6;
this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged);
//
// tabPage1
//
this.tabPage1.Location = new System.Drawing.Point(4, 21);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Size = new System.Drawing.Size(112, 47);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "属性";
//
// tabPage2
//
this.tabPage2.Location = new System.Drawing.Point(4, 21);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Size = new System.Drawing.Size(112, 47);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "外观";
//
// dateTimePicker1
//
this.dateTimePicker1.Location = new System.Drawing.Point(8, 24);
this.dateTimePicker1.Name = "dateTimePicker1";
this.dateTimePicker1.Size = new System.Drawing.Size(96, 21);
this.dateTimePicker1.TabIndex = 7;
this.dateTimePicker1.ValueChanged += new System.EventHandler(this.dateTimePicker1_ValueChanged);
//
// groupBox6
//
this.groupBox6.Controls.Add(this.dateTimePicker1);
this.groupBox6.Location = new System.Drawing.Point(160, 232);
this.groupBox6.Name = "groupBox6";
this.groupBox6.Size = new System.Drawing.Size(136, 56);
this.groupBox6.TabIndex = 8;
this.groupBox6.TabStop = false;
this.groupBox6.Text = "Date and Time Test";
//
// groupBox7
//
this.groupBox7.Controls.Add(this.hScrollBar1);
this.groupBox7.Controls.Add(this.trackBar1);
this.groupBox7.Location = new System.Drawing.Point(304, 152);
this.groupBox7.Name = "groupBox7";
this.groupBox7.Size = new System.Drawing.Size(144, 96);
this.groupBox7.TabIndex = 10;
this.groupBox7.TabStop = false;
this.groupBox7.Text = "Test Trackbar";
//
// hScrollBar1
//
this.hScrollBar1.Location = new System.Drawing.Point(16, 64);
this.hScrollBar1.Name = "hScrollBar1";
this.hScrollBar1.Size = new System.Drawing.Size(120, 24);
this.hScrollBar1.TabIndex = 1;
//
// timer1
//
this.timer1.Enabled = true;
this.timer1.Interval = 1000;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// groupBox8
//
this.groupBox8.Controls.Add(this.treeView1);
this.groupBox8.Location = new System.Drawing.Point(304, 256);
this.groupBox8.Name = "groupBox8";
this.groupBox8.Size = new System.Drawing.Size(144, 88);
this.groupBox8.TabIndex = 11;
this.groupBox8.TabStop = false;
this.groupBox8.Text = "TreeView Test";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -