Esempio n. 1
0
        public ThankYouCard(RootObject ob)
        {
            Debug.Log("CashmaticApp", "Initializing thank you card");
            InitializeComponent();

            TransactionLogic.RequestBill(ob);
            TransactionLogic.ExternalCheckout(ob);

            _thankyouTimer = Global.thankYouTimer;

            _thankyouPrint          = new System.Timers.Timer();
            _thankyouPrint.Elapsed += new ElapsedEventHandler(RedirectToTicketScan);
            _thankyouPrint.Interval = _thankyouTimer; // 1000 ms => 1 second
            _thankyouPrint.Enabled  = true;
        }