Two functional methods
Deposit – increase the balance
Withdraw –decrease the balance
Button create account
• Create an anonymous account using the default constructor
• Create account another using the parameterized constructor
• Handle the exception
• Display a message that the objects have been created using a messagebox
Button Transact
• Make deposits and withdrawals from both accounts. Try to withdraw amount greater than balance
Comments
Leave a comment