📄 form1.designer.cs
字号:
this.tabPage1.Controls.Add(this.comboBox2);
this.tabPage1.Controls.Add(this.comboBox1);
this.tabPage1.Controls.Add(this.label4);
this.tabPage1.Controls.Add(this.label3);
this.tabPage1.Controls.Add(this.label2);
this.tabPage1.Controls.Add(this.label1);
this.tabPage1.Controls.Add(this.label5);
this.tabPage1.Location = new System.Drawing.Point(0, 0);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Size = new System.Drawing.Size(240, 268);
this.tabPage1.Text = "串口设置";
//
// button3
//
this.button3.Location = new System.Drawing.Point(76, 165);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(84, 27);
this.button3.TabIndex = 6;
this.button3.Text = "打开串口";
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// comboBox5
//
this.comboBox5.Items.Add("1");
this.comboBox5.Items.Add("2");
this.comboBox5.Location = new System.Drawing.Point(76, 137);
this.comboBox5.Name = "comboBox5";
this.comboBox5.Size = new System.Drawing.Size(85, 22);
this.comboBox5.TabIndex = 1;
this.comboBox5.SelectedIndexChanged += new System.EventHandler(this.comboBox5_SelectedIndexChanged);
//
// comboBox4
//
this.comboBox4.Items.Add("8");
this.comboBox4.Items.Add("7");
this.comboBox4.Location = new System.Drawing.Point(76, 109);
this.comboBox4.Name = "comboBox4";
this.comboBox4.Size = new System.Drawing.Size(85, 22);
this.comboBox4.TabIndex = 1;
this.comboBox4.SelectedIndexChanged += new System.EventHandler(this.comboBox4_SelectedIndexChanged);
//
// comboBox3
//
this.comboBox3.Items.Add("NONE");
this.comboBox3.Items.Add("ODD");
this.comboBox3.Items.Add("EVEN");
this.comboBox3.Location = new System.Drawing.Point(76, 81);
this.comboBox3.Name = "comboBox3";
this.comboBox3.Size = new System.Drawing.Size(85, 22);
this.comboBox3.TabIndex = 1;
this.comboBox3.SelectedIndexChanged += new System.EventHandler(this.comboBox3_SelectedIndexChanged);
//
// comboBox2
//
this.comboBox2.Items.Add("1200");
this.comboBox2.Items.Add("2400");
this.comboBox2.Items.Add("4800");
this.comboBox2.Items.Add("9600");
this.comboBox2.Items.Add("19200");
this.comboBox2.Items.Add("115200");
this.comboBox2.Location = new System.Drawing.Point(76, 53);
this.comboBox2.Name = "comboBox2";
this.comboBox2.Size = new System.Drawing.Size(85, 22);
this.comboBox2.TabIndex = 1;
this.comboBox2.SelectedIndexChanged += new System.EventHandler(this.comboBox2_SelectedIndexChanged);
//
// comboBox1
//
this.comboBox1.Items.Add("COM1");
this.comboBox1.Items.Add("COM2");
this.comboBox1.Items.Add("COM3");
this.comboBox1.Items.Add("COM4");
this.comboBox1.Items.Add("COM5");
this.comboBox1.Items.Add("COM6");
this.comboBox1.Items.Add("COM7");
this.comboBox1.Items.Add("COM8");
this.comboBox1.Items.Add("COM9");
this.comboBox1.Location = new System.Drawing.Point(76, 25);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(85, 22);
this.comboBox1.TabIndex = 1;
this.comboBox1.Tag = "1";
this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
//
// label4
//
this.label4.Location = new System.Drawing.Point(22, 142);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(60, 17);
this.label4.Text = "停止位:";
//
// label3
//
this.label3.Location = new System.Drawing.Point(22, 114);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(60, 17);
this.label3.Text = "数据位:";
//
// label2
//
this.label2.Location = new System.Drawing.Point(22, 58);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(60, 17);
this.label2.Text = "波特率:";
//
// label1
//
this.label1.Location = new System.Drawing.Point(22, 30);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(60, 17);
this.label1.Text = "串口:";
//
// label5
//
this.label5.Location = new System.Drawing.Point(22, 86);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(60, 17);
this.label5.Text = "校验位:";
//
// tabControl1
//
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Dock = System.Windows.Forms.DockStyle.None;
this.tabControl1.Location = new System.Drawing.Point(0, 0);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(240, 291);
this.tabControl1.TabIndex = 0;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(240, 294);
this.Controls.Add(this.tabControl1);
this.Name = "Form1";
this.Text = "串口调试1.0";
this.tabPage2.ResumeLayout(false);
this.panel2.ResumeLayout(false);
this.panel1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.tabControl1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.IO.Ports.SerialPort serialPort1;
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.TabPage tabPage2;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.CheckBox checkBox3;
private System.Windows.Forms.CheckBox checkBox2;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.CheckBox checkBox1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Splitter splitter1;
private System.Windows.Forms.TabPage tabPage1;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.ComboBox comboBox5;
private System.Windows.Forms.ComboBox comboBox4;
private System.Windows.Forms.ComboBox comboBox3;
private System.Windows.Forms.ComboBox comboBox2;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TabControl tabControl1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -