📄 form1.designer.cs
字号:
namespace SerialComm
{
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();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.btOpen = new System.Windows.Forms.Button();
this.gpPortSet = new System.Windows.Forms.GroupBox();
this.label5 = new System.Windows.Forms.Label();
this.btClose = new System.Windows.Forms.Button();
this.lbComStat = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.comPort = new System.Windows.Forms.Label();
this.cmStopBit = new System.Windows.Forms.ComboBox();
this.cmParity = new System.Windows.Forms.ComboBox();
this.cmDataBit = new System.Windows.Forms.ComboBox();
this.cmBaudRate = new System.Windows.Forms.ComboBox();
this.cmPort = new System.Windows.Forms.ComboBox();
this.gpRec = new System.Windows.Forms.GroupBox();
this.cbAutoClr = new System.Windows.Forms.CheckBox();
this.lbHexData = new System.Windows.Forms.Label();
this.btClrRec = new System.Windows.Forms.Button();
this.rtbRecStr = new System.Windows.Forms.RichTextBox();
this.label1 = new System.Windows.Forms.Label();
this.rtbRecHex = new System.Windows.Forms.RichTextBox();
this.tbSByte2 = new System.Windows.Forms.TextBox();
this.tbUInt32 = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.tbInt16R = new System.Windows.Forms.TextBox();
this.tbSByte4 = new System.Windows.Forms.TextBox();
this.tbByte3 = new System.Windows.Forms.TextBox();
this.tbByte1 = new System.Windows.Forms.TextBox();
this.tbByte4 = new System.Windows.Forms.TextBox();
this.tbUInt16L = new System.Windows.Forms.TextBox();
this.tbInt32 = new System.Windows.Forms.TextBox();
this.tbByte2 = new System.Windows.Forms.TextBox();
this.tbUInt16R = new System.Windows.Forms.TextBox();
this.tbInt16L = new System.Windows.Forms.TextBox();
this.tbSByte1 = new System.Windows.Forms.TextBox();
this.gpBigLit = new System.Windows.Forms.GroupBox();
this.rdBig = new System.Windows.Forms.RadioButton();
this.rdLit = new System.Windows.Forms.RadioButton();
this.tbSByte3 = new System.Windows.Forms.TextBox();
this.gpSend = new System.Windows.Forms.GroupBox();
this.label13 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.tbTimeStr = new System.Windows.Forms.TextBox();
this.cbTimeStr = new System.Windows.Forms.CheckBox();
this.tbTimeHex = new System.Windows.Forms.TextBox();
this.cbTimeHex = new System.Windows.Forms.CheckBox();
this.gpDefFrm = new System.Windows.Forms.GroupBox();
this.rdAdd = new System.Windows.Forms.RadioButton();
this.label7 = new System.Windows.Forms.Label();
this.tbStart = new System.Windows.Forms.TextBox();
this.label8 = new System.Windows.Forms.Label();
this.tbEnd = new System.Windows.Forms.TextBox();
this.rdXor = new System.Windows.Forms.RadioButton();
this.cbDefFrm = new System.Windows.Forms.CheckBox();
this.tbSendStr = new System.Windows.Forms.TextBox();
this.tbHex = new System.Windows.Forms.TextBox();
this.tbDec = new System.Windows.Forms.TextBox();
this.label10 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.btClrSend = new System.Windows.Forms.Button();
this.btCmd5 = new System.Windows.Forms.Button();
this.tbCmd5 = new System.Windows.Forms.TextBox();
this.btCmd4 = new System.Windows.Forms.Button();
this.tbCmd4 = new System.Windows.Forms.TextBox();
this.btCmd3 = new System.Windows.Forms.Button();
this.tbCmd3 = new System.Windows.Forms.TextBox();
this.btCmd2 = new System.Windows.Forms.Button();
this.tbCmd2 = new System.Windows.Forms.TextBox();
this.btCmd1 = new System.Windows.Forms.Button();
this.tbCmd1 = new System.Windows.Forms.TextBox();
this.btSend = new System.Windows.Forms.Button();
this.btQuit = new System.Windows.Forms.Button();
this.sComm = new System.IO.Ports.SerialPort(this.components);
this.TimeHex = new System.Windows.Forms.Timer(this.components);
this.TimeStr = new System.Windows.Forms.Timer(this.components);
this.label11 = new System.Windows.Forms.Label();
this.label14 = new System.Windows.Forms.Label();
this.gpPortSet.SuspendLayout();
this.gpRec.SuspendLayout();
this.gpBigLit.SuspendLayout();
this.gpSend.SuspendLayout();
this.gpDefFrm.SuspendLayout();
this.SuspendLayout();
//
// btOpen
//
this.btOpen.Location = new System.Drawing.Point(409, 30);
this.btOpen.Name = "btOpen";
this.btOpen.Size = new System.Drawing.Size(75, 23);
this.btOpen.TabIndex = 1;
this.btOpen.Text = "打开端口";
this.btOpen.UseVisualStyleBackColor = true;
this.btOpen.Click += new System.EventHandler(this.btOpen_Click);
//
// gpPortSet
//
this.gpPortSet.Controls.Add(this.label5);
this.gpPortSet.Controls.Add(this.btClose);
this.gpPortSet.Controls.Add(this.btOpen);
this.gpPortSet.Controls.Add(this.lbComStat);
this.gpPortSet.Controls.Add(this.label4);
this.gpPortSet.Controls.Add(this.label3);
this.gpPortSet.Controls.Add(this.label2);
this.gpPortSet.Controls.Add(this.comPort);
this.gpPortSet.Controls.Add(this.cmStopBit);
this.gpPortSet.Controls.Add(this.cmParity);
this.gpPortSet.Controls.Add(this.cmDataBit);
this.gpPortSet.Controls.Add(this.cmBaudRate);
this.gpPortSet.Controls.Add(this.cmPort);
this.gpPortSet.Location = new System.Drawing.Point(12, 509);
this.gpPortSet.Name = "gpPortSet";
this.gpPortSet.Size = new System.Drawing.Size(591, 60);
this.gpPortSet.TabIndex = 0;
this.gpPortSet.TabStop = false;
this.gpPortSet.Text = "端口设置";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(241, 14);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(41, 12);
this.label5.TabIndex = 1;
this.label5.Text = "校验位";
//
// btClose
//
this.btClose.Location = new System.Drawing.Point(494, 29);
this.btClose.Name = "btClose";
this.btClose.Size = new System.Drawing.Size(75, 23);
this.btClose.TabIndex = 1;
this.btClose.Text = "关闭端口";
this.btClose.UseVisualStyleBackColor = true;
this.btClose.Click += new System.EventHandler(this.btClose_Click);
//
// lbComStat
//
this.lbComStat.AutoSize = true;
this.lbComStat.Location = new System.Drawing.Point(407, 14);
this.lbComStat.Name = "lbComStat";
this.lbComStat.Size = new System.Drawing.Size(167, 12);
this.lbComStat.TabIndex = 1;
this.lbComStat.Text = " ";
this.lbComStat.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(323, 14);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(41, 12);
this.label4.TabIndex = 1;
this.label4.Text = "停止位";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(162, 14);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(41, 12);
this.label3.TabIndex = 1;
this.label3.Text = "数据位";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(83, 14);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(41, 12);
this.label2.TabIndex = 1;
this.label2.Text = "波特率";
//
// comPort
//
this.comPort.AutoSize = true;
this.comPort.Location = new System.Drawing.Point(9, 14);
this.comPort.Name = "comPort";
this.comPort.Size = new System.Drawing.Size(41, 12);
this.comPort.TabIndex = 1;
this.comPort.Text = "端口号";
//
// cmStopBit
//
this.cmStopBit.FormattingEnabled = true;
this.cmStopBit.Items.AddRange(new object[] {
"One",
"Two",
"OnePointFive"});
this.cmStopBit.Location = new System.Drawing.Point(325, 32);
this.cmStopBit.Name = "cmStopBit";
this.cmStopBit.Size = new System.Drawing.Size(60, 20);
this.cmStopBit.TabIndex = 0;
this.cmStopBit.Text = "One";
this.cmStopBit.SelectedIndexChanged += new System.EventHandler(this.cmStopBit_SelectedIndexChanged);
//
// cmParity
//
this.cmParity.FormattingEnabled = true;
this.cmParity.Items.AddRange(new object[] {
"None",
"Odd",
"Even",
"Mark",
"Space"});
this.cmParity.Location = new System.Drawing.Point(243, 32);
this.cmParity.Name = "cmParity";
this.cmParity.Size = new System.Drawing.Size(60, 20);
this.cmParity.TabIndex = 0;
this.cmParity.Text = "None";
this.cmParity.SelectedIndexChanged += new System.EventHandler(this.cmParity_SelectedIndexChanged);
//
// cmDataBit
//
this.cmDataBit.FormattingEnabled = true;
this.cmDataBit.Items.AddRange(new object[] {
"5",
"6",
"7",
"8"});
this.cmDataBit.Location = new System.Drawing.Point(164, 32);
this.cmDataBit.Name = "cmDataBit";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -