Exemple #1
0
 private void ProcessTransactionButton_Click(object sender, EventArgs e)
 {
     try
     {
         _customer.CashWithdrawal(CashWithdrawalAmount.Value);
         Hide();
         OnSuccessfulTransaction(this, EventArgs.Empty);
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.StackTrace);
     }
 }