This program is in Visual C# create an application that saves employee information. Main form: 1. List box of employee names 2. Provide an option
This program is in Visual C#
create an application that saves employee information.
Main form:
1. List box of employee names
2. Provide an option to sort the names in the list box by either first or last name and display in appropriate format. ( or , )
3. When selecting a name from the list box display their phone number (as ###-###-####)
4. When selecting a name from the list box display their email address
5. Provide a New Employee button that goes to a second form to add new employee data
6. On exit save all data to a file
7. On startup reload any existing data
Second Form :
1. Provide a single text box for the employee name supporting entry as either: a. b. ,
2. Provide a text box to allow the phone number to be entered as either a. (###)###-#### b. ###-###-#### c. ##########
3. Verify email address is in valid format a. Contains one or more alphanumeric characters before the @ character b. Contains 2 or more alphabetic tokens after the @ separated by a . character.
4. Provide Save option to add the new employee and close the second form
5. Provide Cancel option to close the second form without adding the employee
The form must contain:
1) Ignore white space for name and phone number entry
2) Do NOT allow duplicate names to be added
3)Provide error messages for invalid input
Step by Step Solution
There are 3 Steps involved in it
Step: 1
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started