📄 gen2form.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using Symbol.RFID;
namespace CS_RFIDSample2
{
/// <summary>
/// Summary description for Gen2Form.
/// </summary>
public class Gen2Form : System.Windows.Forms.Form
{
private Reader theReader;
private System.Windows.Forms.Label labelSelectFlag;
private System.Windows.Forms.Label labelSessionID;
private System.Windows.Forms.Label labelStartQ;
private System.Windows.Forms.Label labelAccessPwd;
private System.Windows.Forms.Label labelKillPwd;
private System.Windows.Forms.Button buttonOK;
private System.Windows.Forms.ComboBox comboBoxSelectFlag;
private System.Windows.Forms.ComboBox comboBoxSessionID;
private System.Windows.Forms.ComboBox comboBoxTarget;
private System.Windows.Forms.NumericUpDown numericUpDownStartQ;
private System.Windows.Forms.TextBox textBoxAccessPwd;
private System.Windows.Forms.TextBox textBoxKillPwd;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label labelSelMemoryBank;
private System.Windows.Forms.Label labelMemoryBank;
private System.Windows.Forms.ComboBox comboBoxSelectMemoryBank;
private System.Windows.Forms.ComboBox comboBoxMemoryBank;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label labelTarget;
public Gen2Form(Reader r)
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
theReader = r;
this.buttonOK.Focus();
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
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.labelSelectFlag = new System.Windows.Forms.Label();
this.labelSessionID = new System.Windows.Forms.Label();
this.labelTarget = new System.Windows.Forms.Label();
this.labelStartQ = new System.Windows.Forms.Label();
this.labelAccessPwd = new System.Windows.Forms.Label();
this.labelKillPwd = new System.Windows.Forms.Label();
this.buttonOK = new System.Windows.Forms.Button();
this.comboBoxSelectFlag = new System.Windows.Forms.ComboBox();
this.comboBoxSessionID = new System.Windows.Forms.ComboBox();
this.comboBoxTarget = new System.Windows.Forms.ComboBox();
this.numericUpDownStartQ = new System.Windows.Forms.NumericUpDown();
this.textBoxAccessPwd = new System.Windows.Forms.TextBox();
this.textBoxKillPwd = new System.Windows.Forms.TextBox();
this.labelSelMemoryBank = new System.Windows.Forms.Label();
this.labelMemoryBank = new System.Windows.Forms.Label();
this.comboBoxSelectMemoryBank = new System.Windows.Forms.ComboBox();
this.comboBoxMemoryBank = new System.Windows.Forms.ComboBox();
this.panel1 = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// labelSelectFlag
//
this.labelSelectFlag.Location = new System.Drawing.Point(8, 56);
this.labelSelectFlag.Name = "labelSelectFlag";
this.labelSelectFlag.Size = new System.Drawing.Size(100, 20);
this.labelSelectFlag.Text = "SelectFlag";
//
// labelSessionID
//
this.labelSessionID.Location = new System.Drawing.Point(8, 80);
this.labelSessionID.Name = "labelSessionID";
this.labelSessionID.Size = new System.Drawing.Size(72, 20);
this.labelSessionID.Text = "SessionID";
//
// labelTarget
//
this.labelTarget.Location = new System.Drawing.Point(8, 104);
this.labelTarget.Name = "labelTarget";
this.labelTarget.Size = new System.Drawing.Size(72, 20);
this.labelTarget.Text = "Target";
//
// labelStartQ
//
this.labelStartQ.Location = new System.Drawing.Point(8, 128);
this.labelStartQ.Name = "labelStartQ";
this.labelStartQ.Size = new System.Drawing.Size(64, 20);
this.labelStartQ.Text = "StartQ";
//
// labelAccessPwd
//
this.labelAccessPwd.Location = new System.Drawing.Point(8, 32);
this.labelAccessPwd.Name = "labelAccessPwd";
this.labelAccessPwd.Size = new System.Drawing.Size(72, 20);
this.labelAccessPwd.Text = "Access Pwd";
//
// labelKillPwd
//
this.labelKillPwd.Location = new System.Drawing.Point(8, 56);
this.labelKillPwd.Name = "labelKillPwd";
this.labelKillPwd.Size = new System.Drawing.Size(64, 20);
this.labelKillPwd.Text = "Kill Pwd";
//
// buttonOK
//
this.buttonOK.Location = new System.Drawing.Point(80, 248);
this.buttonOK.Name = "buttonOK";
this.buttonOK.Size = new System.Drawing.Size(72, 20);
this.buttonOK.TabIndex = 0;
this.buttonOK.Text = "OK";
this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click);
this.buttonOK.KeyDown += new System.Windows.Forms.KeyEventHandler(this.buttonOK_KeyDown);
//
// comboBoxSelectFlag
//
this.comboBoxSelectFlag.Location = new System.Drawing.Point(128, 56);
this.comboBoxSelectFlag.Name = "comboBoxSelectFlag";
this.comboBoxSelectFlag.Size = new System.Drawing.Size(88, 23);
this.comboBoxSelectFlag.TabIndex = 1;
//
// comboBoxSessionID
//
this.comboBoxSessionID.Location = new System.Drawing.Point(128, 80);
this.comboBoxSessionID.Name = "comboBoxSessionID";
this.comboBoxSessionID.Size = new System.Drawing.Size(88, 23);
this.comboBoxSessionID.TabIndex = 2;
//
// comboBoxTarget
//
this.comboBoxTarget.Location = new System.Drawing.Point(128, 104);
this.comboBoxTarget.Name = "comboBoxTarget";
this.comboBoxTarget.Size = new System.Drawing.Size(88, 23);
this.comboBoxTarget.TabIndex = 3;
//
// numericUpDownStartQ
//
this.numericUpDownStartQ.Location = new System.Drawing.Point(128, 128);
this.numericUpDownStartQ.Maximum = new decimal(new int[] {
15,
0,
0,
0});
this.numericUpDownStartQ.Name = "numericUpDownStartQ";
this.numericUpDownStartQ.Size = new System.Drawing.Size(88, 24);
this.numericUpDownStartQ.TabIndex = 4;
//
// textBoxAccessPwd
//
this.textBoxAccessPwd.Location = new System.Drawing.Point(136, 32);
this.textBoxAccessPwd.Name = "textBoxAccessPwd";
this.textBoxAccessPwd.Size = new System.Drawing.Size(88, 23);
this.textBoxAccessPwd.TabIndex = 2;
//
// textBoxKillPwd
//
this.textBoxKillPwd.Location = new System.Drawing.Point(136, 56);
this.textBoxKillPwd.Name = "textBoxKillPwd";
this.textBoxKillPwd.Size = new System.Drawing.Size(88, 23);
this.textBoxKillPwd.TabIndex = 3;
//
// labelSelMemoryBank
//
this.labelSelMemoryBank.Location = new System.Drawing.Point(8, 32);
this.labelSelMemoryBank.Name = "labelSelMemoryBank";
this.labelSelMemoryBank.Size = new System.Drawing.Size(128, 20);
this.labelSelMemoryBank.Text = "Select Memory Bank";
//
// labelMemoryBank
//
this.labelMemoryBank.Location = new System.Drawing.Point(8, 8);
this.labelMemoryBank.Name = "labelMemoryBank";
this.labelMemoryBank.Size = new System.Drawing.Size(100, 20);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -