Пример #1
0
        static void CashDrawer_OnOpened(object sender, EventArgs e)
        {
            CashDrawer.OnOpened -= new EventHandler(CashDrawer_OnOpened);

            s_initializeHandler(POSDeviceTypes.CashDrawer, true);

            s_initializeHandler(POSDeviceTypes.LineDisplay, false);
            LineDisplay           = new POSLineDisplay();
            LineDisplay.OnOpened += new EventHandler(LineDisplay_OnOpened);
            LineDisplay.Open();
        }
Пример #2
0
        /// <summary>
        /// Initialize w/o keyboard
        /// </summary>
        public static void Initialize()
        {
            CashDrawer = new POSCashDrawer();
            CashDrawer.Open();

            LineDisplay = new POSLineDisplay();
            LineDisplay.Open();

            Printer = new POSPrinter();
            Printer.Open();

            SignPad = new POSSignPad();
        }