📄 fcomset.designer.cs
字号:
namespace MySerial
{
partial class FComSet
{
/// <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.lbl_ComID = new System.Windows.Forms.Label();
this.lbl_BaudRate = new System.Windows.Forms.Label();
this.lbl_Parity = new System.Windows.Forms.Label();
this.lbl_DataBits = new System.Windows.Forms.Label();
this.lbl_StopBits = new System.Windows.Forms.Label();
this.btn_OK = new System.Windows.Forms.Button();
this.cbb_ComID = new System.Windows.Forms.ComboBox();
this.cbb_Parity = new System.Windows.Forms.ComboBox();
this.cbb_BaudRate = new System.Windows.Forms.ComboBox();
this.cbb_DataBits = new System.Windows.Forms.ComboBox();
this.cbb_StopBits = new System.Windows.Forms.ComboBox();
this.btn_Cancel = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// lbl_ComID
//
this.lbl_ComID.AutoSize = true;
this.lbl_ComID.Location = new System.Drawing.Point(21, 50);
this.lbl_ComID.Name = "lbl_ComID";
this.lbl_ComID.Size = new System.Drawing.Size(29, 12);
this.lbl_ComID.TabIndex = 7;
this.lbl_ComID.Text = "串口";
//
// lbl_BaudRate
//
this.lbl_BaudRate.AutoSize = true;
this.lbl_BaudRate.Location = new System.Drawing.Point(21, 86);
this.lbl_BaudRate.Name = "lbl_BaudRate";
this.lbl_BaudRate.Size = new System.Drawing.Size(41, 12);
this.lbl_BaudRate.TabIndex = 8;
this.lbl_BaudRate.Text = "波特率";
//
// lbl_Parity
//
this.lbl_Parity.AutoSize = true;
this.lbl_Parity.Location = new System.Drawing.Point(21, 119);
this.lbl_Parity.Name = "lbl_Parity";
this.lbl_Parity.Size = new System.Drawing.Size(41, 12);
this.lbl_Parity.TabIndex = 9;
this.lbl_Parity.Text = "校验位";
//
// lbl_DataBits
//
this.lbl_DataBits.AutoSize = true;
this.lbl_DataBits.Location = new System.Drawing.Point(21, 155);
this.lbl_DataBits.Name = "lbl_DataBits";
this.lbl_DataBits.Size = new System.Drawing.Size(41, 12);
this.lbl_DataBits.TabIndex = 10;
this.lbl_DataBits.Text = "数据位";
//
// lbl_StopBits
//
this.lbl_StopBits.AutoSize = true;
this.lbl_StopBits.Location = new System.Drawing.Point(21, 190);
this.lbl_StopBits.Name = "lbl_StopBits";
this.lbl_StopBits.Size = new System.Drawing.Size(41, 12);
this.lbl_StopBits.TabIndex = 11;
this.lbl_StopBits.Text = "停止位";
//
// btn_OK
//
this.btn_OK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.btn_OK.Location = new System.Drawing.Point(23, 236);
this.btn_OK.Name = "btn_OK";
this.btn_OK.Size = new System.Drawing.Size(75, 23);
this.btn_OK.TabIndex = 5;
this.btn_OK.Text = "确定";
this.btn_OK.UseVisualStyleBackColor = true;
this.btn_OK.Click += new System.EventHandler(this.btn_OK_Click);
//
// cbb_ComID
//
this.cbb_ComID.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbb_ComID.FormattingEnabled = true;
this.cbb_ComID.Items.AddRange(new object[] {
"COM1",
"COM2",
"COM3",
"COM4"});
this.cbb_ComID.Location = new System.Drawing.Point(85, 42);
this.cbb_ComID.Name = "cbb_ComID";
this.cbb_ComID.Size = new System.Drawing.Size(171, 20);
this.cbb_ComID.TabIndex = 0;
//
// cbb_Parity
//
this.cbb_Parity.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbb_Parity.FormattingEnabled = true;
this.cbb_Parity.Items.AddRange(new object[] {
"None",
"Odd",
"Even",
"Mark",
"Space"});
this.cbb_Parity.Location = new System.Drawing.Point(85, 111);
this.cbb_Parity.Name = "cbb_Parity";
this.cbb_Parity.Size = new System.Drawing.Size(171, 20);
this.cbb_Parity.TabIndex = 2;
//
// cbb_BaudRate
//
this.cbb_BaudRate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbb_BaudRate.FormattingEnabled = true;
this.cbb_BaudRate.Items.AddRange(new object[] {
"300",
"600",
"1200",
"2400",
"4800",
"9600",
"19200",
"38400",
"43000",
"56000",
"57600",
"115200"});
this.cbb_BaudRate.Location = new System.Drawing.Point(85, 78);
this.cbb_BaudRate.Name = "cbb_BaudRate";
this.cbb_BaudRate.Size = new System.Drawing.Size(171, 20);
this.cbb_BaudRate.TabIndex = 1;
//
// cbb_DataBits
//
this.cbb_DataBits.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbb_DataBits.FormattingEnabled = true;
this.cbb_DataBits.Items.AddRange(new object[] {
"8",
"7",
"6"});
this.cbb_DataBits.Location = new System.Drawing.Point(85, 147);
this.cbb_DataBits.Name = "cbb_DataBits";
this.cbb_DataBits.Size = new System.Drawing.Size(171, 20);
this.cbb_DataBits.TabIndex = 3;
//
// cbb_StopBits
//
this.cbb_StopBits.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbb_StopBits.FormattingEnabled = true;
this.cbb_StopBits.Items.AddRange(new object[] {
"1",
"1.5",
"2"});
this.cbb_StopBits.Location = new System.Drawing.Point(85, 182);
this.cbb_StopBits.Name = "cbb_StopBits";
this.cbb_StopBits.Size = new System.Drawing.Size(171, 20);
this.cbb_StopBits.TabIndex = 4;
//
// btn_Cancel
//
this.btn_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btn_Cancel.Location = new System.Drawing.Point(181, 236);
this.btn_Cancel.Name = "btn_Cancel";
this.btn_Cancel.Size = new System.Drawing.Size(75, 23);
this.btn_Cancel.TabIndex = 6;
this.btn_Cancel.Text = "取消";
this.btn_Cancel.UseVisualStyleBackColor = true;
this.btn_Cancel.Click += new System.EventHandler(this.btn_Cancel_Click);
//
// FComSet
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(284, 304);
this.Controls.Add(this.btn_Cancel);
this.Controls.Add(this.cbb_StopBits);
this.Controls.Add(this.cbb_DataBits);
this.Controls.Add(this.cbb_BaudRate);
this.Controls.Add(this.cbb_Parity);
this.Controls.Add(this.cbb_ComID);
this.Controls.Add(this.btn_OK);
this.Controls.Add(this.lbl_StopBits);
this.Controls.Add(this.lbl_DataBits);
this.Controls.Add(this.lbl_Parity);
this.Controls.Add(this.lbl_BaudRate);
this.Controls.Add(this.lbl_ComID);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "FComSet";
this.Text = "串口设置";
this.Load += new System.EventHandler(this.FComSet_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label lbl_ComID;
private System.Windows.Forms.Label lbl_BaudRate;
private System.Windows.Forms.Label lbl_Parity;
private System.Windows.Forms.Label lbl_DataBits;
private System.Windows.Forms.Label lbl_StopBits;
public System.Windows.Forms.ComboBox cbb_ComID;
public System.Windows.Forms.ComboBox cbb_Parity;
public System.Windows.Forms.ComboBox cbb_BaudRate;
public System.Windows.Forms.ComboBox cbb_DataBits;
public System.Windows.Forms.ComboBox cbb_StopBits;
private System.Windows.Forms.Button btn_OK;
private System.Windows.Forms.Button btn_Cancel;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -