📄 form1.designer.cs
字号:
namespace RS232
{
partial class fclsRS232Tester
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.txtIn = new System.Windows.Forms.TextBox();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.stsStatus = new System.Windows.Forms.ToolStripStatusLabel();
this.btnSend = new System.Windows.Forms.Button();
this.txtOut = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.port = new System.IO.Ports.SerialPort(this.components);
this.cmbComSelect = new System.Windows.Forms.ComboBox();
this.label3 = new System.Windows.Forms.Label();
this.btnClear = new System.Windows.Forms.Button();
this.statusStrip1.SuspendLayout();
this.SuspendLayout();
//
// txtIn
//
this.txtIn.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtIn.Location = new System.Drawing.Point(95, 12);
this.txtIn.Multiline = true;
this.txtIn.Name = "txtIn";
this.txtIn.Size = new System.Drawing.Size(185, 66);
this.txtIn.TabIndex = 0;
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.stsStatus});
this.statusStrip1.Location = new System.Drawing.Point(0, 151);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(289, 22);
this.statusStrip1.TabIndex = 1;
this.statusStrip1.Text = "statusStrip1";
//
// stsStatus
//
this.stsStatus.Name = "stsStatus";
this.stsStatus.Size = new System.Drawing.Size(91, 17);
this.stsStatus.Text = "Select serial port!";
//
// btnSend
//
this.btnSend.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnSend.Location = new System.Drawing.Point(235, 112);
this.btnSend.Name = "btnSend";
this.btnSend.Size = new System.Drawing.Size(45, 20);
this.btnSend.TabIndex = 2;
this.btnSend.Text = "Send";
this.btnSend.UseVisualStyleBackColor = true;
this.btnSend.Click += new System.EventHandler(this.btnSend_Click);
//
// txtOut
//
this.txtOut.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtOut.Location = new System.Drawing.Point(95, 112);
this.txtOut.Name = "txtOut";
this.txtOut.Size = new System.Drawing.Size(134, 20);
this.txtOut.TabIndex = 3;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(80, 13);
this.label1.TabIndex = 4;
this.label1.Text = "Received data:";
//
// label2
//
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(9, 112);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(59, 13);
this.label2.TabIndex = 5;
this.label2.Text = "Send data:";
//
// port
//
this.port.PortName = "X";
this.port.DataReceived += new System.IO.Ports.SerialDataReceivedEventHandler(this.port_DataReceived_1);
//
// cmbComSelect
//
this.cmbComSelect.FormattingEnabled = true;
this.cmbComSelect.Location = new System.Drawing.Point(15, 57);
this.cmbComSelect.Name = "cmbComSelect";
this.cmbComSelect.Size = new System.Drawing.Size(56, 21);
this.cmbComSelect.Sorted = true;
this.cmbComSelect.TabIndex = 9;
this.cmbComSelect.SelectionChangeCommitted += new System.EventHandler(this.cmbComSelect_SelectionChangeCommitted);
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(12, 41);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(67, 13);
this.label3.TabIndex = 10;
this.label3.Text = "Select COM:";
//
// btnClear
//
this.btnClear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnClear.Location = new System.Drawing.Point(235, 84);
this.btnClear.Name = "btnClear";
this.btnClear.Size = new System.Drawing.Size(45, 20);
this.btnClear.TabIndex = 11;
this.btnClear.Text = "Clear";
this.btnClear.UseVisualStyleBackColor = true;
this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
//
// fclsRS232Tester
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(289, 173);
this.Controls.Add(this.btnClear);
this.Controls.Add(this.label3);
this.Controls.Add(this.cmbComSelect);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.txtOut);
this.Controls.Add(this.btnSend);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.txtIn);
this.MinimumSize = new System.Drawing.Size(200, 200);
this.Name = "fclsRS232Tester";
this.Text = "RS232 tester";
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.TextBox txtIn;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripStatusLabel stsStatus;
private System.Windows.Forms.Button btnSend;
private System.Windows.Forms.TextBox txtOut;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.IO.Ports.SerialPort port;
private System.Windows.Forms.ComboBox cmbComSelect;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Button btnClear;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -