📄 form1.designer.cs
字号:
namespace CSharpDemo
{
partial class FormMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.MainMenu mainMenu1;
/// <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.mainMenu1 = new System.Windows.Forms.MainMenu();
this.textBoxCoord = new System.Windows.Forms.TextBox();
this.lstPorts = new System.Windows.Forms.ListBox();
this.btnClose = new System.Windows.Forms.Button();
this.textBoxOut = new System.Windows.Forms.TextBox();
this.btnOpen = new System.Windows.Forms.Button();
this.textBoxParams = new System.Windows.Forms.TextBox();
this.btnExit = new System.Windows.Forms.Button();
this.lstBaud = new System.Windows.Forms.ListBox();
this.Label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.pBox = new System.Windows.Forms.Panel();
this.cmpGpsReceiver = new ZylGPSReceiverMobile.GPSReceiver(this.components);
this.btnDetect = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// textBoxCoord
//
this.textBoxCoord.Location = new System.Drawing.Point(13, 61);
this.textBoxCoord.Name = "textBoxCoord";
this.textBoxCoord.Size = new System.Drawing.Size(219, 21);
this.textBoxCoord.TabIndex = 9;
//
// lstPorts
//
this.lstPorts.Items.Add("COM1");
this.lstPorts.Items.Add("COM2");
this.lstPorts.Items.Add("COM3");
this.lstPorts.Items.Add("COM4");
this.lstPorts.Items.Add("COM5");
this.lstPorts.Items.Add("COM6");
this.lstPorts.Items.Add("COM7");
this.lstPorts.Items.Add("COM8");
this.lstPorts.Items.Add("COM9");
this.lstPorts.Items.Add("COM10");
this.lstPorts.Items.Add("COM11");
this.lstPorts.Items.Add("COM12");
this.lstPorts.Location = new System.Drawing.Point(81, 25);
this.lstPorts.Name = "lstPorts";
this.lstPorts.Size = new System.Drawing.Size(68, 30);
this.lstPorts.TabIndex = 8;
//
// btnClose
//
this.btnClose.Location = new System.Drawing.Point(13, 35);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(62, 20);
this.btnClose.TabIndex = 7;
this.btnClose.Text = "Close";
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
//
// textBoxOut
//
this.textBoxOut.AcceptsReturn = true;
this.textBoxOut.Location = new System.Drawing.Point(12, 111);
this.textBoxOut.Multiline = true;
this.textBoxOut.Name = "textBoxOut";
this.textBoxOut.ReadOnly = true;
this.textBoxOut.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.textBoxOut.Size = new System.Drawing.Size(219, 43);
this.textBoxOut.TabIndex = 6;
//
// btnOpen
//
this.btnOpen.Location = new System.Drawing.Point(12, 7);
this.btnOpen.Name = "btnOpen";
this.btnOpen.Size = new System.Drawing.Size(63, 18);
this.btnOpen.TabIndex = 5;
this.btnOpen.Text = "Open";
this.btnOpen.Click += new System.EventHandler(this.btnOpen_Click);
//
// textBoxParams
//
this.textBoxParams.Location = new System.Drawing.Point(12, 85);
this.textBoxParams.Name = "textBoxParams";
this.textBoxParams.Size = new System.Drawing.Size(219, 21);
this.textBoxParams.TabIndex = 10;
//
// btnExit
//
this.btnExit.Location = new System.Drawing.Point(13, 186);
this.btnExit.Name = "btnExit";
this.btnExit.Size = new System.Drawing.Size(72, 20);
this.btnExit.TabIndex = 11;
this.btnExit.Text = "Exit";
this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
//
// lstBaud
//
this.lstBaud.Items.Add("110");
this.lstBaud.Items.Add("300");
this.lstBaud.Items.Add("600");
this.lstBaud.Items.Add("1200");
this.lstBaud.Items.Add("2400");
this.lstBaud.Items.Add("4800");
this.lstBaud.Items.Add("9600");
this.lstBaud.Items.Add("14400");
this.lstBaud.Items.Add("19200");
this.lstBaud.Items.Add("38400");
this.lstBaud.Items.Add("56000");
this.lstBaud.Items.Add("57600");
this.lstBaud.Items.Add("115200");
this.lstBaud.Items.Add("128000");
this.lstBaud.Items.Add("256000");
this.lstBaud.Location = new System.Drawing.Point(157, 25);
this.lstBaud.Name = "lstBaud";
this.lstBaud.Size = new System.Drawing.Size(75, 30);
this.lstBaud.TabIndex = 18;
//
// Label2
//
this.Label2.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
this.Label2.Location = new System.Drawing.Point(157, 7);
this.Label2.Name = "Label2";
this.Label2.Size = new System.Drawing.Size(75, 15);
this.Label2.Text = "Baud Rate:";
//
// label1
//
this.label1.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
this.label1.Location = new System.Drawing.Point(81, 7);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(68, 15);
this.label1.Text = "Port:";
//
// pBox
//
this.pBox.Location = new System.Drawing.Point(125, 159);
this.pBox.Name = "pBox";
this.pBox.Size = new System.Drawing.Size(106, 106);
this.pBox.Paint += new System.Windows.Forms.PaintEventHandler(this.pBox_Paint);
//
// cmpGpsReceiver
//
this.cmpGpsReceiver.BaudRate = ZylGPSReceiverMobile.SerialBaudRate.br004800;
this.cmpGpsReceiver.DataWidth = ZylGPSReceiverMobile.SerialDataWidth.dw8Bits;
this.cmpGpsReceiver.EnableDTROnOpen = true;
this.cmpGpsReceiver.EnableRTSOnOpen = true;
this.cmpGpsReceiver.FlowControl = System.IO.Ports.Handshake.None;
this.cmpGpsReceiver.ForceCheckSum = true;
this.cmpGpsReceiver.ParityBits = System.IO.Ports.Parity.None;
this.cmpGpsReceiver.Port = ZylGPSReceiverMobile.SerialCommPort.COM02;
this.cmpGpsReceiver.ReadIntervalTimeout = -1;
this.cmpGpsReceiver.StopBits = System.IO.Ports.StopBits.One;
this.cmpGpsReceiver.WriteIntervalTimeout = -1;
this.cmpGpsReceiver.Received += new ZylGPSReceiverMobile.DataEventHandler(this.cmpGpsReceiver_Received);
this.cmpGpsReceiver.Connected += new ZylGPSReceiverMobile.ConnectionEventHandler(this.cmpGpsReceiver_Connected);
this.cmpGpsReceiver.SatellitesReceived += new ZylGPSReceiverMobile.SatellitesEventHandler(this.cmpGpsReceiver_SatellitesReceived);
this.cmpGpsReceiver.Disconnected += new ZylGPSReceiverMobile.ConnectionEventHandler(this.cmpGpsReceiver_Disconnected);
//
// btnDetect
//
this.btnDetect.Location = new System.Drawing.Point(13, 161);
this.btnDetect.Name = "btnDetect";
this.btnDetect.Size = new System.Drawing.Size(72, 20);
this.btnDetect.TabIndex = 19;
this.btnDetect.Text = "Detect";
this.btnDetect.Click += new System.EventHandler(this.btnDetect_Click);
//
// FormMain
//
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.btnDetect);
this.Controls.Add(this.pBox);
this.Controls.Add(this.label1);
this.Controls.Add(this.Label2);
this.Controls.Add(this.lstBaud);
this.Controls.Add(this.btnExit);
this.Controls.Add(this.textBoxParams);
this.Controls.Add(this.textBoxCoord);
this.Controls.Add(this.lstPorts);
this.Controls.Add(this.btnClose);
this.Controls.Add(this.textBoxOut);
this.Controls.Add(this.btnOpen);
this.Menu = this.mainMenu1;
this.Name = "FormMain";
this.Text = "ZylGPSReceiver Mobile";
this.Closed += new System.EventHandler(this.FormMain_Closed);
this.Load += new System.EventHandler(this.FormMain_Load);
this.ResumeLayout(false);
}
#endregion
private ZylGPSReceiverMobile.GPSReceiver cmpGpsReceiver;
private System.Windows.Forms.TextBox textBoxCoord;
private System.Windows.Forms.ListBox lstPorts;
private System.Windows.Forms.Button btnClose;
private System.Windows.Forms.TextBox textBoxOut;
private System.Windows.Forms.Button btnOpen;
private System.Windows.Forms.TextBox textBoxParams;
private System.Windows.Forms.Button btnExit;
internal System.Windows.Forms.ListBox lstBaud;
internal System.Windows.Forms.Label Label2;
internal System.Windows.Forms.Label label1;
private System.Windows.Forms.Panel pBox;
private System.Windows.Forms.Button btnDetect;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -