Question: In C# Windows Form App 1. Create a program named WritePatientRecords that allows a doctors staff to enter data about patients and saves the data
In C# Windows Form App
1. Create a program named WritePatientRecords that allows a doctors staff to enter data about patients and saves the data to a file. Create a patient class that contains fields for an ID number, patient first name and last name, address, city, state, zip, phone number, and balance due at the doctors office.
2. Create a program named ReadPatientRecords that reads the file created in Exercise 4a and displays each patients data on the screen.
3. Create a program named FindPatientRecords that prompts the user for an ID number, reads the file created in a of this exercise, and displays data for the specified record.
4. Create a program named FindPatientRecords2 that prompts the user for a minimum balance due, reads the file created in Exercise 4.1, and displays all the records containing a balance greater than or equal to the entered value.
| Patient Class Create a patient class that contains fields for an ID number, patient first name and last name, address, city, state, zip, phone number, and balance due. |
| Forms Use multiple forms for this project and a menu strip. The first form should have an image and label. It should have a menu strip with the following options: Patient Records top level with New Patient, Search by ID on the second level. Billing top level with Balance >= ???, and Total on the second level. Then have Exit as a top level menu item. |
| New Patient The New Patient menu should display another form with all the fields needed to gather information for a new patient. It should also have a Save button and a Cancel button. Using the patient class, create a patient object using all the data entered on the form, then write the data to an external file when the user clicks save. This can be a simple sequential file. If the user clicks Cancel simply close the form and go back to main form. |
| Search patiant records by ID The Search by ID menu item should display a pop-up box that ask the user for an ID number. It should then search the file and if it finds the record, display another form with enough fields to display all the information about that patient or you could use the same form you created to input a new patient. If it does not find the record then it should display a pop-up box that states that the record was not found. |
| Search billing information The Balance >= ??? menu item should display a pop-up box that ask the user to enter a dollar amount. It should then search the file for all the patients who have a balance due that is equal to or greater than the number entered by the user. It should display all the records that were found that meet the criteria on another form that contains a listBox to display the records. This form should also have a Close button that when clicked closes the form and returns to the main form. |
| Total owed by all The Total owed by all menu item should simply add up the amount owed on all records and display this amount in a pop-up box. |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
