Exemplo n.º 1
0
 public BalanceInquiry(string userAccountNumber,
    BankDatabase atmBankDatabase)
     : base(userAccountNumber,atmBankDatabase)
 {
 }
Exemplo n.º 2
0
 public Deposit(string userAccountNumber,BankDatabase atmBankDatabase,
    DepositSlot atmDepositSlot)
     : base(userAccountNumber,atmBankDatabase)
 {
     depositSlot = atmDepositSlot;
 }
Exemplo n.º 3
0
 public Withdrawal(string currentAcccount, BankDatabase BD_, CashDispenser _cashDespenser)
     : base(currentAcccount,BD_)
 {
     cashDispenser = _cashDespenser;
 }
Exemplo n.º 4
0
        public void WorkFlowInit(object sender,EventArgs e)
        {
            currentAccountNumber = "";
            tryPIN = "";
            oldPIN = "";
            newPIN = "";

            cashDispenser = new CashDispenser();
            depositSlot = new DepositSlot();
            BD = new BankDatabase("BankDatabase.xml");
        }
Exemplo n.º 5
0
 public Transaction(string userAccountNumber, BankDatabase atmBankDatabase)
 {
     accountNumber = userAccountNumber;
     bankDatabase = atmBankDatabase;
 }