📄 form1.designer.cs
字号:
namespace HexCommPort
{
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.components = new System.ComponentModel.Container();
this.button1 = new System.Windows.Forms.Button();
this.tsend = new System.Windows.Forms.TextBox();
this.drev = new System.Windows.Forms.TextBox();
this.mycomm = new System.IO.Ports.SerialPort(this.components);
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(471, 147);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 0;
this.button1.Text = "发送";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// tsend
//
this.tsend.Location = new System.Drawing.Point(198, 3);
this.tsend.Multiline = true;
this.tsend.Name = "tsend";
this.tsend.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.tsend.Size = new System.Drawing.Size(628, 138);
this.tsend.TabIndex = 1;
//
// drev
//
this.drev.Location = new System.Drawing.Point(198, 202);
this.drev.Multiline = true;
this.drev.Name = "drev";
this.drev.ReadOnly = true;
this.drev.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.drev.Size = new System.Drawing.Size(628, 135);
this.drev.TabIndex = 1;
//
// mycomm
//
this.mycomm.DataReceived += new System.IO.Ports.SerialDataReceivedEventHandler(this.mycomm_DataReceived);
//
// button2
//
this.button2.Location = new System.Drawing.Point(458, 343);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 23);
this.button2.TabIndex = 0;
this.button2.Text = "清空接收";
this.button2.UseVisualStyleBackColor = true;
//
// button3
//
this.button3.Location = new System.Drawing.Point(36, 40);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(75, 23);
this.button3.TabIndex = 0;
this.button3.Text = "打开串口";
this.button3.UseVisualStyleBackColor = true;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(832, 367);
this.Controls.Add(this.drev);
this.Controls.Add(this.tsend);
this.Controls.Add(this.button2);
this.Controls.Add(this.button3);
this.Controls.Add(this.button1);
this.Name = "Form1";
this.Text = "COMM1 16进制收发";
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button button1;
private System.Windows.Forms.TextBox tsend;
private System.Windows.Forms.TextBox drev;
private System.IO.Ports.SerialPort mycomm;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -