예제 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            string successMsg = $"Your withdraw is succesful, your account balance is {CustomerDetails.Balance}";

            WithdrawalC.Withdraw(WithdrawField, CustomerDetails.accountNum, CustomerDetails.Balance, CustomerDetails.AccType, successMsg);
        }
예제 #2
0
 public static void Transfer(TextBox amount, string debitAccnumber, int receiversbalance, int sendersbalance, string acctype, string receiversAccnumber, string message)
 {
     WithdrawalC.Withdraw(amount, debitAccnumber, sendersbalance, acctype, message);
     DepositC.Deposit(amount, receiversAccnumber, receiversbalance, message);
 }