CustomerManager
-
X
ChooseFile
SaveToFile
Remove
Figure 1 - Required form.
The form is designed as shown in figure above.
(1 point) When the user clicks on the "ChooseFile" button, open an OpenFileDialog box to allow the user to select a file on the hard drive. Assume that the selected file is a text file whose format similar to the customers.txt file provided in the Given Materials.
(1 point) The name and path to the selected file need to be displayed on a read -only TextBox as shown in Figure 2 below.
(1 point) Please read the information about all the customers in the selected file and display it on
the form as shown in the image below. Note that information about each customer is written on
one line of the file, including attributes such as id, name, gender, and date of birth. Please refer to
the provided customers.txt file for a better understanding.
(1 point) The application needs to allow the user to select one or mo re customer from the list.When the user clicks on the "Remove" button. the selected customer should be removed from