A-8 Programmer’s Manual
public Form1()
{
// Required for Windows Form Designer support
InitializeComponent();
// TODO: Add any constructor code after InitializeComponent
// call
}
/// <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.lblScanEnterData = new System.Windows.Forms.Label();
this.txtUPC = new System.Windows.Forms.TextBox();
this.btnEnter = new System.Windows.Forms.Button();
this.btnClear = new System.Windows.Forms.Button();
// lblScanEnterData
this.lblScanEnterData.Location = new
System.Drawing.Point(16, 16);
this.lblScanEnterData.Size = new System.Drawing.Size(136,
24);
this.lblScanEnterData.Text = "Scan/Enter Barcode:";
// txtUPC
this.txtUPC.Location = new System.Drawing.Point(24, 40);
this.txtUPC.MaxLength = 12;
this.txtUPC.Size = new System.Drawing.Size(168, 22);
this.txtUPC.Text = "";
this.txtUPC.KeyDown += new
System.Windows.Forms.KeyEventHandler(this.txtData_KeyDown);