Question: This assignment has to be coded in Visual Basic.Net Framework Instructions 1 . Form Setup a . You must save your project using your initials
This assignment has to be coded in Visual Basic.Net Framework
Instructions
Form Setup
a You must save your project using your initials in the name This is required and the project will not be accepted otherwise.
b Create a comment section at the beginning of the code with the name of the assignment, purpose of the assignment, and your name. This is required for the assignment to be accepted.
c Create a comment section after your name to include: I will not use code that was never covered in class or in our textbook. If you do you must be able to explain your code when the professor asks. Using code outside of the resources provided can be flagged and reported as an academic integrity violation if there is any suspicion of copyingcheating This is required for the assignment to be accepted.
d Design your screen to include all of the requirements below. An example of one design is found below. You can be creative.
e Update the backcolor to the color of your choice.
f Use appropriate naming conventions for controls and variables.
g Tab Control must flow in order and not go to the listbox.
h All buttons have access keys
i Lock the controls on the form.
j You must enter three serving options in the combobox. For example, breakfast, lunch, and dinner.
k Each serving time will have a cost associated to each individual meal served at that time. These values are of your choice.
Code
a Remove any subs that are not utilized by the program
b You must utilize a case statement to determine the cost to serve the meal chosen, and the decision must be in a function. The function will return the cost to serve an individual meal.
c You must create a sub to display the names of the volunteers.
Calculate 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. Do not forget to verify the combo box. Do not forget to stop the code if there is an error.
b Clear the list box before the information is written to it
c Store the amounts entered by the user in variables and use these variables in the formula.
d Determine the cost of each meal for the time selected. See the function section below.
e Based on the number of people, if they serve more than ten people, provide a discount of This will give you the final total cost. Display if the user is getting a discount. Do not do this decision twice.
f Call a sub to display the volunteers
g The listbox will display the information as seen in the example below:
i When they are serving
ii Cost per person
iii. Display if the discount was noted.
iv Total cost
v How many people are volunteering
vi Names of volunteers
h Make sure all spacing is accurate, and you have proper punctuation.
Cost function
a Determine the cost of each meal depending on the serving time selection. You must show you can use a case statement for this decision.
b Return the cost of each meal.
Hours Met Sub
a A loop is created to receive the names of the people, through an input box, who are going to participate in the mission.
b The loop must be a for loop and will cycle through the number of people serving. The names entered will be displayed.
c You must pass the value of volunteers to the sub.
Close Button
a The application quits when the button is pressed
Clear Button
a The text boxes are cleared
b The combo box is cleared
c The listbox is cleared
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
