📄 gpssoftware.designer.cs
字号:
namespace GpsSerialPortProgram
{
partial class GpsSoftware
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.MainMenu mainMenu1;
/// <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.mainMenu1 = new System.Windows.Forms.MainMenu();
this.menuItem1 = new System.Windows.Forms.MenuItem();
this.scanPort = new System.Windows.Forms.MenuItem();
this.open = new System.Windows.Forms.MenuItem();
this.close = new System.Windows.Forms.MenuItem();
this.exit = new System.Windows.Forms.MenuItem();
this.portSelections = new System.Windows.Forms.ComboBox();
this.rateSelections = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.gpsInfo = new System.Windows.Forms.TextBox();
this.read = new System.Windows.Forms.MenuItem();
this.SuspendLayout();
//
// mainMenu1
//
this.mainMenu1.MenuItems.Add(this.menuItem1);
this.mainMenu1.MenuItems.Add(this.exit);
//
// menuItem1
//
this.menuItem1.MenuItems.Add(this.scanPort);
this.menuItem1.MenuItems.Add(this.open);
this.menuItem1.MenuItems.Add(this.close);
this.menuItem1.MenuItems.Add(this.read);
this.menuItem1.Text = "GPS选项";
//
// scanPort
//
this.scanPort.Text = "扫描串口";
this.scanPort.Click += new System.EventHandler(this.scanPort_Click);
//
// open
//
this.open.Text = "打开GPS";
this.open.Click += new System.EventHandler(this.open_Click);
//
// close
//
this.close.Text = "关闭GPS";
this.close.Click += new System.EventHandler(this.close_Click);
//
// exit
//
this.exit.Text = "退出";
this.exit.Click += new System.EventHandler(this.exit_Click);
//
// portSelections
//
this.portSelections.Items.Add("COM1:");
this.portSelections.Items.Add("COM2:");
this.portSelections.Items.Add("COM3:");
this.portSelections.Items.Add("COM4:");
this.portSelections.Items.Add("COM5:");
this.portSelections.Items.Add("COM6:");
this.portSelections.Items.Add("COM7:");
this.portSelections.Items.Add("COM8:");
this.portSelections.Items.Add("COM9:");
this.portSelections.Items.Add("COM10:");
this.portSelections.Items.Add("");
this.portSelections.Location = new System.Drawing.Point(13, 37);
this.portSelections.Name = "portSelections";
this.portSelections.Size = new System.Drawing.Size(100, 22);
this.portSelections.TabIndex = 2;
//
// rateSelections
//
this.rateSelections.Items.Add("4800");
this.rateSelections.Items.Add("9600");
this.rateSelections.Items.Add("19200");
this.rateSelections.Items.Add("38400");
this.rateSelections.Items.Add("57600");
this.rateSelections.Items.Add("115200");
this.rateSelections.Location = new System.Drawing.Point(128, 37);
this.rateSelections.Name = "rateSelections";
this.rateSelections.Size = new System.Drawing.Size(100, 22);
this.rateSelections.TabIndex = 3;
//
// label1
//
this.label1.Location = new System.Drawing.Point(13, 14);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(100, 20);
this.label1.Text = "端口:";
//
// label2
//
this.label2.Location = new System.Drawing.Point(128, 14);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(100, 20);
this.label2.Text = "速率:";
//
// gpsInfo
//
this.gpsInfo.Location = new System.Drawing.Point(13, 76);
this.gpsInfo.Multiline = true;
this.gpsInfo.Name = "gpsInfo";
this.gpsInfo.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.gpsInfo.Size = new System.Drawing.Size(215, 173);
this.gpsInfo.TabIndex = 6;
//
// read
//
this.read.Text = "读取数据";
this.read.Click += new System.EventHandler(this.read_Click);
//
// GpsSoftware
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(240, 268);
this.Controls.Add(this.gpsInfo);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.rateSelections);
this.Controls.Add(this.portSelections);
this.Menu = this.mainMenu1;
this.Name = "GpsSoftware";
this.Text = "GPS";
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.MenuItem menuItem1;
private System.Windows.Forms.MenuItem scanPort;
private System.Windows.Forms.MenuItem open;
private System.Windows.Forms.MenuItem close;
private System.Windows.Forms.MenuItem exit;
private System.Windows.Forms.ComboBox portSelections;
private System.Windows.Forms.ComboBox rateSelections;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox gpsInfo;
private System.Windows.Forms.MenuItem read;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -