Question
Please demonstrate how to design this form using Visual Studio 2022. The form should be designed to use the .NET framework. Please provide the form
Please demonstrate how to design this form using Visual Studio 2022. The form should be designed to use the .NET framework. Please provide the form layout code in your answer that will load a form that looks like the one below.
Form Setup
Design the screen to look like the one below.
Update the backcolor to the color of your choice.
Use appropriate naming conventions for controls and variables.
Lock the controls on the form.
The count text box must be set to read only and the user should not be able to tab to the text box.
Include shortcuts and access keys for each menu item (such as Ctrl-X for Exit, Ctrl-A for Ascending, etc.)
File Menu
When the file menu is pressed the Exit submenu is displayed
When the user clicks on the Exit menu, the application closes
Edit Menu
When the user clicks on the Edit menu, the following menus are presented: Create File, Add Member, Delete Member
When the user clicks on Create file, the user will be presented with an input box to enter a name of a file. An if statement is utilized to make sure a name is entered. If successful the program creates a blank file and displays the blank file in the textbox. The count is updated.
When the user clicks on the Add Member, the user will be presented with an input box to enter a new member name. Use an if statement to make sure the name is not null. If successful, the application appends the name to the current file that is loaded. The listbox is refreshed with the new file along with the count being updated.
When the user clicks on the Delete Member, the application will verify with an if statement if a name is selected in the listbox. If a name is not selected the user is presented with an error message and the program quits. If a name is selected, the name is removed from the file and the listbox is refreshed with the new file along with the count being updated.
Sort Menu
When the user clicks on the Sort menu, the Ascending and Descending menu are displayed.
When the user clicks the Ascending menu or Descending menu, the user sorts the array in ascending or descending order based on what the user selects. The user is not to sort using the listbox property sort.
Assignment 5 IstMembers Count Assignment5 IstMembers Count
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
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