Question: Create a project using C# using Visual studio. In this project Create a structure called Transaction. Typically, a transaction includes the following data: Transaction Date,
Create a project using C# using Visual studio. In this project Create a structure called Transaction. Typically, a transaction includes the following data: Transaction Date, Transaction Type, Transaction Amount, Payee, and Check Number. Therefore, your Transaction structure should have the following data members:
TransactionDate,
TransactionType,
TransactionAmount,
Payee, and
CheckNumber.
Include a ToString method that returns the transaction date, type of transaction, and transaction amount as a concatenated string, similar to the following:
Deposit $
Create a form with the following:
An array based on the Transaction structure with elements.
A decimal variable to hold the account balance.
Controls for entering data about each transaction.
A listbox showing all transactions. When the user clicks on an item in the list box, information about that transaction should be displayed in the
appropriate controls.
Include a label for displaying the account balance. Notify the user if the account is Overdrawn either by color, label, or messagebox
A button to add a new transaction, display information in the listbox, and update the account balance label.
A button to clear controls for entering a new transaction.
A button to exit the application.
Include the following validation:
The transaction amount must be a positive number.
The transaction date must be readable as a date.
Each transaction must have a transaction type specified deposit service fee, withdrawal
If a transaction is a withdrawal, an entry for payee is required.
Zip your project folder and files and upload the zip file and your planning document to Canvas.
EXTRA CREDIT points
Add a button to remove a transaction from the listbox and the array; make sure to display the revised account balance.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
