112 lines
4.4 KiB
C#
112 lines
4.4 KiB
C#
namespace 测试串口收发
|
||
{
|
||
partial class Form1
|
||
{
|
||
/// <summary>
|
||
/// 必需的设计器变量。
|
||
/// </summary>
|
||
private System.ComponentModel.IContainer components = null;
|
||
|
||
/// <summary>
|
||
/// 清理所有正在使用的资源。
|
||
/// </summary>
|
||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||
protected override void Dispose(bool disposing)
|
||
{
|
||
if (disposing && (components != null))
|
||
{
|
||
components.Dispose();
|
||
}
|
||
base.Dispose(disposing);
|
||
}
|
||
|
||
#region Windows 窗体设计器生成的代码
|
||
|
||
/// <summary>
|
||
/// 设计器支持所需的方法 - 不要修改
|
||
/// 使用代码编辑器修改此方法的内容。
|
||
/// </summary>
|
||
private void InitializeComponent()
|
||
{
|
||
this.textBox1 = 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.textBox2 = new System.Windows.Forms.TextBox();
|
||
this.SuspendLayout();
|
||
//
|
||
// textBox1
|
||
//
|
||
this.textBox1.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.textBox1.Location = new System.Drawing.Point(34, 30);
|
||
this.textBox1.Name = "textBox1";
|
||
this.textBox1.Size = new System.Drawing.Size(226, 34);
|
||
this.textBox1.TabIndex = 0;
|
||
//
|
||
// button1
|
||
//
|
||
this.button1.Location = new System.Drawing.Point(275, 24);
|
||
this.button1.Name = "button1";
|
||
this.button1.Size = new System.Drawing.Size(146, 33);
|
||
this.button1.TabIndex = 1;
|
||
this.button1.Text = "开始读取";
|
||
this.button1.UseVisualStyleBackColor = true;
|
||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||
//
|
||
// button2
|
||
//
|
||
this.button2.Location = new System.Drawing.Point(275, 72);
|
||
this.button2.Name = "button2";
|
||
this.button2.Size = new System.Drawing.Size(146, 33);
|
||
this.button2.TabIndex = 2;
|
||
this.button2.Text = "停止读取";
|
||
this.button2.UseVisualStyleBackColor = true;
|
||
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||
//
|
||
// button3
|
||
//
|
||
this.button3.Location = new System.Drawing.Point(275, 111);
|
||
this.button3.Name = "button3";
|
||
this.button3.Size = new System.Drawing.Size(146, 33);
|
||
this.button3.TabIndex = 3;
|
||
this.button3.Text = "打开串口";
|
||
this.button3.UseVisualStyleBackColor = true;
|
||
this.button3.Click += new System.EventHandler(this.button3_Click);
|
||
//
|
||
// textBox2
|
||
//
|
||
this.textBox2.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.textBox2.Location = new System.Drawing.Point(34, 72);
|
||
this.textBox2.Name = "textBox2";
|
||
this.textBox2.Size = new System.Drawing.Size(226, 34);
|
||
this.textBox2.TabIndex = 4;
|
||
//
|
||
// Form1
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.ClientSize = new System.Drawing.Size(1902, 1015);
|
||
this.Controls.Add(this.textBox2);
|
||
this.Controls.Add(this.button3);
|
||
this.Controls.Add(this.button2);
|
||
this.Controls.Add(this.button1);
|
||
this.Controls.Add(this.textBox1);
|
||
this.Name = "Form1";
|
||
this.ShowInTaskbar = false;
|
||
this.Text = "Form1";
|
||
this.ResumeLayout(false);
|
||
this.PerformLayout();
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
private System.Windows.Forms.TextBox textBox1;
|
||
private System.Windows.Forms.Button button1;
|
||
private System.Windows.Forms.Button button2;
|
||
private System.Windows.Forms.Button button3;
|
||
private System.Windows.Forms.TextBox textBox2;
|
||
}
|
||
}
|
||
|