Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C#: HOMEWORK This exercise takes the checking account project and applies classes. Your project will use a single form. Prepare planning documents that describe the

C#: HOMEWORK

image text in transcribed

This exercise takes the checking account project and applies classes. Your project will use a single form. Prepare planning documents that describe the work to be performed. Zip your project folder and files and upload the zip file and your planning document to Canvas Create a class called Transaction. The class should have the following read/write properties: TransactionDate, TransactionType, TransactionAmount, Payee, and CheckNumber. Include a ToString method to display account information. Include the following validation in your class: A transaction must have at least a transaction date, a transaction amount, and a transaction type The transaction amount should be tested to make sure it is a positive number. Use a static function to provide this test. Each transaction must have a transaction type specified as deposit, service fee, or withdrawal The value of Payee defaults to "Deposit" if the TransactionType is deposit; and defaults to "Service Fee" if it is a service fee. If a transaction is a withdrawal, an entry must be made in the payee textbox and stored in the Payee propcriy. Create a form with the following: A variable to manage the Account Balance. Radio buttons, labels and textboxes for entering data about each transaction (radio buttons for transaction type) 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 textboxes and option buttons. Include a label for displaying the account balance. Notify the user if the account balance is less than zero (either by color, label, or messagebox) A button to add a new transaction to the listbox and update the account balance label A button to remove a transaction from the listbox and display the revised account balance. A button to clear textboxes and radio buttons for entering new transaction details. A button to exit the application. Extra Credit (5 points) Create a class to store and access the account balance. Include a read-only property for the Balance, and a method to modify the 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

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions

Question

decide what data to gather and when;

Answered: 1 week ago

Question

What is database?

Answered: 1 week ago

Question

What are Mergers ?

Answered: 1 week ago