Question
Please help with a project in Visual Studio 2022 using Windows Form Apps (.NET Framework). The application is going to create an array to store
Please help with a project in Visual Studio 2022 using Windows Form Apps (.NET Framework). The application is going to create an array to store 4 different areas of missions. The user is going to enter a name, the number of hours, select a mission, and the information will be displayed and the the totals for the number of hours will be displayed. The totals for the number of hours will be a running total.
Please provide the text of the application code. Please provide text of the form design code that (i.e.
INSTRUCTIONS
1. Form Setup a. Design your screen to look like the one below. b. Update the backcolor to the color of your choice. c. Use appropriate naming conventions for controls and variables.
i. Txt for textbox ii. Lbl for label iii. Frm for form iv. Lst for listbox
d. Tab Control must flow in order from number of hours, lstmissions, Hours, Close. e. All buttons have access keys f. Lock the controls on your form. g. The list box to display the donations must be cleared before written to. h. The amounts will be stored in labels with borders.
2. Code a. Create a comment section at the beginning of the code with the name of the assignment, purpose of the assignment, and your name. Comments must be throughout each sub of the application. b. Remove any subs that are not utilized by the program c. A string array will be created to hold the 5 types of mission entry points.
3. Form Load a. Clear the donation listbox b. Load the mission list array into the listbox c. Display the current Date for the donations d. Display your name
4. Add Donation Button a. The information that was entered should be checked to make sure there are values entered. If the user entry contains null values, the user should be so advised, and the user should be directed to the text box that contains the error. Make sure your error messages are meaningful. b. A static one-dimensional array to hold 4 values is created to hold the number of hours. c. Add the number of hours value into the array in the appropriate place holder based on the selected index d. Display all hour totals in the corresponding labels e. Utilize an input box to get the name from the user. f. Call a function to return back just the last name g. Display the name and the amount donated in the listbox which displays a running total of the amounts entered. h. After the display, clear the selected index of the donation listbox, and amount text box. i. Make sure all spacing is accurate
5. Proper Order Function a. Receives the name b. Uses the substring method to parse out the last name c. Returns the last name
6. Close Button a. The application quits when the button is pressed
Mission Hours Assignment 4 Mission Hours Mission 3 6 Masion 4 CloseStep 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