示例#1
0
        public override State handleLeft3BTNClick()
        {
            State nextStep = this;

            aTimer.Stop();

            if (session)
            {
                nextStep = new ChooseAcctToDepositState(mainForm, language);
            }
            else
            {
                theCardReader.ejectCard();
            }
            return(nextStep);
        }
        public override State handleLeft1BTNClick()
        {
            State nextStep = this;

            if (session)
            {
                nextStep = new ChooseAcctToDepositState(mainForm, language);
                //Require animation (Eject money)

                //Empty cash array
                selectedCash = CashSelectorState.cash = null;
            }
            else
            {
                theCardReader.ejectCard();
            }

            return(nextStep);
        }