📄 mainform.designer.cs
字号:
namespace CSharpDevice
{
partial class MainForm
{
/// <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.tabMain = new System.Windows.Forms.TabControl();
this.tabGPRS = new System.Windows.Forms.TabPage();
this.btnGPRSDisconnect = new System.Windows.Forms.Button();
this.textGPRSProcess = new System.Windows.Forms.TextBox();
this.btnGPRSConnect = new System.Windows.Forms.Button();
this.textAPN = new System.Windows.Forms.TextBox();
this.tabWLAN = new System.Windows.Forms.TabPage();
this.textWLANProcess = new System.Windows.Forms.TextBox();
this.btnWLANDisconnect = new System.Windows.Forms.Button();
this.btnWLANConnect = new System.Windows.Forms.Button();
this.tabBarcode = new System.Windows.Forms.TabPage();
this.textBCProcess = new System.Windows.Forms.TextBox();
this.btnBCStop = new System.Windows.Forms.Button();
this.btnBCStart = new System.Windows.Forms.Button();
this.textBarcode = new System.Windows.Forms.TextBox();
this.tabCOM = new System.Windows.Forms.TabPage();
this.textCOMProcess = new System.Windows.Forms.TextBox();
this.btnCOMStart = new System.Windows.Forms.Button();
this.cmbCOMPort = new System.Windows.Forms.ComboBox();
this.textCOMData = new System.Windows.Forms.TextBox();
this.Port = new System.IO.Ports.SerialPort(this.components);
this.textRead = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.tabMain.SuspendLayout();
this.tabGPRS.SuspendLayout();
this.tabWLAN.SuspendLayout();
this.tabBarcode.SuspendLayout();
this.tabCOM.SuspendLayout();
this.SuspendLayout();
//
// tabMain
//
this.tabMain.Controls.Add(this.tabGPRS);
this.tabMain.Controls.Add(this.tabWLAN);
this.tabMain.Controls.Add(this.tabBarcode);
this.tabMain.Controls.Add(this.tabCOM);
this.tabMain.Location = new System.Drawing.Point(3, 3);
this.tabMain.Name = "tabMain";
this.tabMain.SelectedIndex = 0;
this.tabMain.Size = new System.Drawing.Size(228, 259);
this.tabMain.TabIndex = 0;
//
// tabGPRS
//
this.tabGPRS.Controls.Add(this.btnGPRSDisconnect);
this.tabGPRS.Controls.Add(this.textGPRSProcess);
this.tabGPRS.Controls.Add(this.btnGPRSConnect);
this.tabGPRS.Controls.Add(this.textAPN);
this.tabGPRS.Location = new System.Drawing.Point(4, 25);
this.tabGPRS.Name = "tabGPRS";
this.tabGPRS.Size = new System.Drawing.Size(220, 230);
this.tabGPRS.Text = "GPRS";
//
// btnGPRSDisconnect
//
this.btnGPRSDisconnect.Location = new System.Drawing.Point(124, 34);
this.btnGPRSDisconnect.Name = "btnGPRSDisconnect";
this.btnGPRSDisconnect.Size = new System.Drawing.Size(93, 20);
this.btnGPRSDisconnect.TabIndex = 3;
this.btnGPRSDisconnect.Text = "Disconnect";
this.btnGPRSDisconnect.Click += new System.EventHandler(this.btnGPRSDisconnect_Click);
//
// textGPRSProcess
//
this.textGPRSProcess.Location = new System.Drawing.Point(4, 61);
this.textGPRSProcess.Multiline = true;
this.textGPRSProcess.Name = "textGPRSProcess";
this.textGPRSProcess.Size = new System.Drawing.Size(213, 166);
this.textGPRSProcess.TabIndex = 2;
//
// btnGPRSConnect
//
this.btnGPRSConnect.Location = new System.Drawing.Point(4, 34);
this.btnGPRSConnect.Name = "btnGPRSConnect";
this.btnGPRSConnect.Size = new System.Drawing.Size(93, 20);
this.btnGPRSConnect.TabIndex = 1;
this.btnGPRSConnect.Text = "Connect";
this.btnGPRSConnect.Click += new System.EventHandler(this.btnGPRSConnect_Click);
//
// textAPN
//
this.textAPN.Location = new System.Drawing.Point(4, 4);
this.textAPN.Name = "textAPN";
this.textAPN.Size = new System.Drawing.Size(213, 23);
this.textAPN.TabIndex = 0;
//
// tabWLAN
//
this.tabWLAN.Controls.Add(this.textWLANProcess);
this.tabWLAN.Controls.Add(this.btnWLANDisconnect);
this.tabWLAN.Controls.Add(this.btnWLANConnect);
this.tabWLAN.Location = new System.Drawing.Point(4, 25);
this.tabWLAN.Name = "tabWLAN";
this.tabWLAN.Size = new System.Drawing.Size(220, 230);
this.tabWLAN.Text = "WLAN";
//
// textWLANProcess
//
this.textWLANProcess.Location = new System.Drawing.Point(4, 31);
this.textWLANProcess.Multiline = true;
this.textWLANProcess.Name = "textWLANProcess";
this.textWLANProcess.Size = new System.Drawing.Size(213, 196);
this.textWLANProcess.TabIndex = 2;
//
// btnWLANDisconnect
//
this.btnWLANDisconnect.Location = new System.Drawing.Point(123, 4);
this.btnWLANDisconnect.Name = "btnWLANDisconnect";
this.btnWLANDisconnect.Size = new System.Drawing.Size(94, 20);
this.btnWLANDisconnect.TabIndex = 1;
this.btnWLANDisconnect.Text = "Disconnect";
this.btnWLANDisconnect.Click += new System.EventHandler(this.btnWLANDisconnect_Click);
//
// btnWLANConnect
//
this.btnWLANConnect.Location = new System.Drawing.Point(4, 4);
this.btnWLANConnect.Name = "btnWLANConnect";
this.btnWLANConnect.Size = new System.Drawing.Size(94, 20);
this.btnWLANConnect.TabIndex = 0;
this.btnWLANConnect.Text = "Connect";
this.btnWLANConnect.Click += new System.EventHandler(this.btnWLANConnect_Click);
//
// tabBarcode
//
this.tabBarcode.Controls.Add(this.textBCProcess);
this.tabBarcode.Controls.Add(this.btnBCStop);
this.tabBarcode.Controls.Add(this.btnBCStart);
this.tabBarcode.Controls.Add(this.textBarcode);
this.tabBarcode.Location = new System.Drawing.Point(4, 25);
this.tabBarcode.Name = "tabBarcode";
this.tabBarcode.Size = new System.Drawing.Size(220, 230);
this.tabBarcode.Text = "Barcode";
//
// textBCProcess
//
this.textBCProcess.Location = new System.Drawing.Point(4, 60);
this.textBCProcess.Multiline = true;
this.textBCProcess.Name = "textBCProcess";
this.textBCProcess.Size = new System.Drawing.Size(213, 167);
this.textBCProcess.TabIndex = 4;
//
// btnBCStop
//
this.btnBCStop.Location = new System.Drawing.Point(123, 33);
this.btnBCStop.Name = "btnBCStop";
this.btnBCStop.Size = new System.Drawing.Size(94, 20);
this.btnBCStop.TabIndex = 3;
this.btnBCStop.Text = "Stop";
this.btnBCStop.Click += new System.EventHandler(this.btnBCStop_Click);
//
// btnBCStart
//
this.btnBCStart.Location = new System.Drawing.Point(4, 33);
this.btnBCStart.Name = "btnBCStart";
this.btnBCStart.Size = new System.Drawing.Size(94, 20);
this.btnBCStart.TabIndex = 2;
this.btnBCStart.Text = "Start";
this.btnBCStart.Click += new System.EventHandler(this.btnBCStart_Click);
//
// textBarcode
//
this.textBarcode.Location = new System.Drawing.Point(4, 4);
this.textBarcode.Name = "textBarcode";
this.textBarcode.Size = new System.Drawing.Size(213, 23);
this.textBarcode.TabIndex = 0;
this.textBarcode.KeyUp += new System.Windows.Forms.KeyEventHandler(this.MainForm_KeyUp);
this.textBarcode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.MainForm_KeyDown);
//
// tabCOM
//
this.tabCOM.Controls.Add(this.label2);
this.tabCOM.Controls.Add(this.label1);
this.tabCOM.Controls.Add(this.textRead);
this.tabCOM.Controls.Add(this.textCOMData);
this.tabCOM.Controls.Add(this.textCOMProcess);
this.tabCOM.Controls.Add(this.btnCOMStart);
this.tabCOM.Controls.Add(this.cmbCOMPort);
this.tabCOM.Location = new System.Drawing.Point(4, 25);
this.tabCOM.Name = "tabCOM";
this.tabCOM.Size = new System.Drawing.Size(220, 230);
this.tabCOM.Text = "COMPort";
//
// textCOMProcess
//
this.textCOMProcess.Location = new System.Drawing.Point(110, 4);
this.textCOMProcess.Name = "textCOMProcess";
this.textCOMProcess.Size = new System.Drawing.Size(105, 23);
this.textCOMProcess.TabIndex = 2;
//
// btnCOMStart
//
this.btnCOMStart.Location = new System.Drawing.Point(4, 83);
this.btnCOMStart.Name = "btnCOMStart";
this.btnCOMStart.Size = new System.Drawing.Size(100, 20);
this.btnCOMStart.TabIndex = 1;
this.btnCOMStart.Text = "Send";
this.btnCOMStart.Click += new System.EventHandler(this.btnCOMStart_Click);
//
// cmbCOMPort
//
this.cmbCOMPort.Location = new System.Drawing.Point(4, 4);
this.cmbCOMPort.Name = "cmbCOMPort";
this.cmbCOMPort.Size = new System.Drawing.Size(100, 23);
this.cmbCOMPort.TabIndex = 0;
this.cmbCOMPort.SelectedValueChanged += new System.EventHandler(this.cmbCOMPort_SelectedIndexChanged);
//
// textCOMData
//
this.textCOMData.Location = new System.Drawing.Point(4, 54);
this.textCOMData.Name = "textCOMData";
this.textCOMData.Size = new System.Drawing.Size(211, 23);
this.textCOMData.TabIndex = 3;
//
// Port
//
this.Port.DataReceived += new System.IO.Ports.SerialDataReceivedEventHandler(this.Port_DataReceived);
//
// textRead
//
this.textRead.Location = new System.Drawing.Point(4, 124);
this.textRead.Multiline = true;
this.textRead.Name = "textRead";
this.textRead.Size = new System.Drawing.Size(211, 103);
this.textRead.TabIndex = 4;
//
// label1
//
this.label1.Location = new System.Drawing.Point(4, 36);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(211, 15);
this.label1.Text = "Send Data:";
//
// label2
//
this.label2.Location = new System.Drawing.Point(4, 106);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(211, 15);
this.label2.Text = "Receive Data:";
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(236, 265);
this.Controls.Add(this.tabMain);
this.Name = "MainForm";
this.Text = "<<Demo Application>>";
this.Closed += new System.EventHandler(this.MainForm_Closed);
this.tabMain.ResumeLayout(false);
this.tabGPRS.ResumeLayout(false);
this.tabWLAN.ResumeLayout(false);
this.tabBarcode.ResumeLayout(false);
this.tabCOM.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.TabControl tabMain;
private System.Windows.Forms.TabPage tabGPRS;
private System.Windows.Forms.TabPage tabWLAN;
private System.Windows.Forms.TabPage tabBarcode;
private System.Windows.Forms.Button btnGPRSDisconnect;
private System.Windows.Forms.TextBox textGPRSProcess;
private System.Windows.Forms.Button btnGPRSConnect;
private System.Windows.Forms.TextBox textAPN;
private System.Windows.Forms.TabPage tabCOM;
private System.Windows.Forms.Button btnWLANDisconnect;
private System.Windows.Forms.Button btnWLANConnect;
private System.Windows.Forms.TextBox textWLANProcess;
private System.Windows.Forms.TextBox textBCProcess;
private System.Windows.Forms.Button btnBCStop;
private System.Windows.Forms.Button btnBCStart;
private System.Windows.Forms.TextBox textBarcode;
private System.Windows.Forms.ComboBox cmbCOMPort;
private System.Windows.Forms.TextBox textCOMProcess;
private System.Windows.Forms.Button btnCOMStart;
private System.Windows.Forms.TextBox textCOMData;
private System.IO.Ports.SerialPort Port;
private System.Windows.Forms.TextBox textRead;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -