Question: Refer to the Cash Register Question from Chapter 9(Programming Challenge 9, Page 827). This assignment is a combination of Programming Challenges 7 9( Pages 826

Refer to the Cash Register Question from Chapter 9(Programming Challenge 9, Page 827). This assignment is a combination of Programming Challenges 7 9( Pages 826 827) You are to design an application that will include a form that will offer the choices to add, update or display Inventory items. Note the change: The text book only asks you to add and display to the Inventory collection).You can display the choices as either menu options or buttons on the form. If the user wishes to Update, he can modify values of any property except the InvNumber property. If the user wishes to display or update existing inventory items, he should enter the InvNumber that can be used to pull existing data. If that particular InvNumber does not exist in the collection, the user should be notified that the InvNumber does not exist. You are to read from and write to text files in the assignment. When you run the application, the collection of Inventory objects should be populated using the text file. You are to create a text file named Inventory.txt that will initially have data for 5 Inventory items. Data stored in the text file should be meaningful. Read the data from the text file into the collection and then use the form to add new items to the collection, update or display existing items. You will also include on the form the choice to save the existing contents from the collection to the Inventory.txt file. Also include a check to see that if a form is closed or exited from (in other words, if the user closes the form and tries to exit without clicking on the Exit button or Exit menu option), the program will check to see if any new changes have been made to the Collection since the last save and if so, save the changes to the text file before the form is closed or exited from. You are to design the form independently and make sure that the interface is as user friendly as possible. Please help me on this homework. Thank you in advance.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!