Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Struggling here, any input on how to approach this, its for C# A transaction includes the following values: Transaction Date, Transaction Type, Transaction Amount, Payee,

Struggling here, any input on how to approach this, its for C#

image text in transcribed

A transaction includes the following values: Transaction Date, Transaction Type, Transaction Amount, Payee, and Check Number. 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. Create a structure called Transaction. The 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: "07/02/2003 Deposit $500.00". Create a form with the following: An array based on the Transaction structure with 20 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. . EXTRA CREDIT (5 points) Add a button to remove a transaction from the listbox and the array; make sure to display the revised account balance. A transaction includes the following values: Transaction Date, Transaction Type, Transaction Amount, Payee, and Check Number. 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. Create a structure called Transaction. The 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: "07/02/2003 Deposit $500.00". Create a form with the following: An array based on the Transaction structure with 20 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. . EXTRA CREDIT (5 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced Database Systems

Authors: Carlo Zaniolo, Stefano Ceri, Christos Faloutsos, Richard T. Snodgrass, V.S. Subrahmanian, Roberto Zicari

1st Edition

155860443X, 978-1558604438

More Books

Students also viewed these Databases questions