Homework Questions? Ask a Tutor for Answers ASAP
Add a file menu with Open and Save options to allow the user to specify which client file to open or the file to which the current data will be saved. Each record in the file will contain client's first name, last name, age, height, start weight, goal weight, and time to train in weeks to reach the goal. The maximum number of clients in a given file is 20, so you will have to modify your code appropriately (lab 4's limit was 10). Once data from any file is loaded, it may be displayed in the listbox, additional clients added or current clients removed. A warning message should appear when the 20th client has been entered to let the trainer know that his client roster is full. The data are written to a new or current file only if File-Save is selected. Use exception handling to prevent the program crashing due to unexpected file handling problems.
Do you have the solution for the last weeks code you dif for me?
it is due in 7 hrs
Its in c sharp . Thanks