Ejemplo n.º 1
0
        protected override void OnClosing(CancelEventArgs e)
        {
            FullScreenHandle.StopFullScreen(this);

            if (this.barReader != null)
            {
                this.barReader.Dispose();
                this.barReader = null;
            }
            base.OnClosing(e);
        }
Ejemplo n.º 2
0
        //  private Intermec.DataCollection.CSymbology symb = null;
        //  private Intermec.DataCollection.BarcodeReader barReader = null;

        public BaseForm()
        {
            InitializeComponent();

            FullScreenHandle.StartFullScreen(this);

            //create a instance of CSymbology object
            //if (this.symb == null)
            //{
            //    this.symb = new CSymbology("AllScanners");
            //    this.symb.EnableAll();

            //    //use symbology exception
            //    this.symb.EnableSymbologyExceptions(true);
            //}

            //if (this.barReader == null)
            //{
            //    this.barReader = new Intermec.DataCollection.BarcodeReader();
            //    this.SuspendLayout();
            //}
        }