Exemplo n.º 1
0
        public override void ScanData(Epos2BarcodeScanner scannerObj, string scanData)
        {
            string CR = "\n";

            if (controller.textScanner.Text.Length != 0)
            {
                controller.textScanner.Text = controller.textScanner.Text + CR;
            }
            controller.textScanner.Text = controller.textScanner.Text + scanData;

            controller.scrollText();
        }
Exemplo n.º 2
0
        public bool initializeObject()
        {
            if (barcodeScanner_ != null)
            {
                finalizeObject();
            }

            barcodeScanner_ = new Epos2BarcodeScanner();              //[[Epos2BarcodeScanner alloc] init];
            if (barcodeScanner_ == null)
            {
                ShowMsg.showErrorEpos(Epos2ErrorStatus.ErrMemory, "Init");
                return(false);
            }

            barcodeScanner_.SetScanEventDelegate(new Epos2Scan(this));

            return(true);
        }
Exemplo n.º 3
0
        //	UIBackgroundTaskIdentifier bgTask;

        public ViewController(IntPtr handle) : base(handle)
        {
            barcodeScanner_ = null;
        }