Click here to Skip to main content
15,895,423 members
Articles / Programming Languages / C#

Controlling a Barcode Reader with POS for .NET

Rate me:
Please Sign up or sign in to vote.
4.75/5 (16 votes)
31 Aug 2009CPOL8 min read 259.9K   18.5K   180  
Controlling a Barcode Reader with POS for .NET
namespace GestiFe
{
    partial class ScannerLab1
    {
        /// <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.btnActivateDevice = new System.Windows.Forms.Button();
            this.label1 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.txtScanDataLabel = new System.Windows.Forms.TextBox();
            this.txtScanDataType = new System.Windows.Forms.TextBox();
            this.txtEventHistory = new System.Windows.Forms.TextBox();
            this.lstDevices = new System.Windows.Forms.ListBox();
            this.devicesBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.label4 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.cboDevices = new System.Windows.Forms.ComboBox();
            this.bsDevices = new System.Windows.Forms.BindingSource(this.components);
            ((System.ComponentModel.ISupportInitialize)(this.devicesBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.bsDevices)).BeginInit();
            this.SuspendLayout();
            // 
            // btnActivateDevice
            // 
            this.btnActivateDevice.Location = new System.Drawing.Point(570, 407);
            this.btnActivateDevice.Name = "btnActivateDevice";
            this.btnActivateDevice.Size = new System.Drawing.Size(75, 23);
            this.btnActivateDevice.TabIndex = 0;
            this.btnActivateDevice.Text = "Activate";
            this.btnActivateDevice.UseVisualStyleBackColor = true;
            this.btnActivateDevice.Click += new System.EventHandler(this.btnActivateDevice_Click);
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(12, 76);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(84, 13);
            this.label1.TabIndex = 1;
            this.label1.Text = "Scan Data Label";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(12, 116);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(83, 13);
            this.label2.TabIndex = 2;
            this.label2.Text = "Scan Data Type";
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(12, 156);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(72, 13);
            this.label3.TabIndex = 3;
            this.label3.Text = "Event History";
            // 
            // txtScanDataLabel
            // 
            this.txtScanDataLabel.Location = new System.Drawing.Point(12, 92);
            this.txtScanDataLabel.Name = "txtScanDataLabel";
            this.txtScanDataLabel.ReadOnly = true;
            this.txtScanDataLabel.Size = new System.Drawing.Size(290, 21);
            this.txtScanDataLabel.TabIndex = 4;
            // 
            // txtScanDataType
            // 
            this.txtScanDataType.Location = new System.Drawing.Point(12, 132);
            this.txtScanDataType.Name = "txtScanDataType";
            this.txtScanDataType.ReadOnly = true;
            this.txtScanDataType.Size = new System.Drawing.Size(290, 21);
            this.txtScanDataType.TabIndex = 5;
            // 
            // txtEventHistory
            // 
            this.txtEventHistory.Location = new System.Drawing.Point(12, 172);
            this.txtEventHistory.Multiline = true;
            this.txtEventHistory.Name = "txtEventHistory";
            this.txtEventHistory.ReadOnly = true;
            this.txtEventHistory.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
            this.txtEventHistory.Size = new System.Drawing.Size(290, 221);
            this.txtEventHistory.TabIndex = 6;
            // 
            // lstDevices
            // 
            this.lstDevices.DataSource = this.devicesBindingSource;
            this.lstDevices.FormattingEnabled = true;
            this.lstDevices.Location = new System.Drawing.Point(344, 51);
            this.lstDevices.Name = "lstDevices";
            this.lstDevices.Size = new System.Drawing.Size(301, 342);
            this.lstDevices.TabIndex = 7;
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(341, 28);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(69, 13);
            this.label4.TabIndex = 8;
            this.label4.Text = "<dispositivi>";
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(12, 28);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(88, 13);
            this.label5.TabIndex = 9;
            this.label5.Text = "Elenco Dispositivi";
            // 
            // cboDevices
            // 
            this.cboDevices.DataSource = this.bsDevices;
            this.cboDevices.FormattingEnabled = true;
            this.cboDevices.Location = new System.Drawing.Point(12, 51);
            this.cboDevices.Name = "cboDevices";
            this.cboDevices.Size = new System.Drawing.Size(290, 21);
            this.cboDevices.TabIndex = 10;
            // 
            // ScannerLab1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(657, 442);
            this.Controls.Add(this.cboDevices);
            this.Controls.Add(this.label5);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.lstDevices);
            this.Controls.Add(this.txtEventHistory);
            this.Controls.Add(this.txtScanDataType);
            this.Controls.Add(this.txtScanDataLabel);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.btnActivateDevice);
            this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Name = "ScannerLab1";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Scanner Lab 1";
            this.Load += new System.EventHandler(this.ScannerLab1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.devicesBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.bsDevices)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.Button btnActivateDevice;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.TextBox txtScanDataLabel;
        private System.Windows.Forms.TextBox txtScanDataType;
        private System.Windows.Forms.TextBox txtEventHistory;
        private System.Windows.Forms.ListBox lstDevices;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.BindingSource devicesBindingSource;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.ComboBox cboDevices;
        private System.Windows.Forms.BindingSource bsDevices;
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions