Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use Visual Studios 19 program which will be used to record the hours for three different mission projects.The program will calculate the number of hours

Use Visual Studios 19 program which will be used to record the hours for three different mission projects.The program will calculate the number of hours based off of the number of people and the hours entered.The program will display how many remaining hours the mission needs to be successful and the total number of hours.

1.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.Design your screen to include all of the requirements below.An example of one design is found below.You can be creative.

c.Update the backcolor to the color of your choice.

d.Use appropriate naming conventions for controls and variables.

e.Tab Control must flow in order and not go to the total textbox

f.All buttons have access keys

g.Lock the controls on the form.

h.Choose 3 missions of your choice for camp and create a radio button for each.You must enter three missions of your choice:

i.Mission 1

ii.Mission 2

iii.Mission 3

i.Each mission will have a total number of hours required to complete the mission.These values are of your choice.

2.Code

a.Use 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.You must utilize a case statement to determine the hours needed for the mission

3.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.

b.Store the amounts entered by the user in variables and use these variables in the formula.

c.Determine the number of hours required for the mission selected.You must show you can use a case statement for this decision. Save the number of hours required in one variable.Do not need a variable for each of the hours required.

d.Calculate the remaining hours needed through the calculation below:

((number of people) * (number of hours)) - hours required for mission

e.If the remaining hours is < 0 then present a message box stating the hour requirement has been filled.The label for the hours remaining should be set to 0.

f.If the remaining hours is > 0 then the label for the hours remaining should be displayed.

g.The Total hours entered is displayed in the appropriate label.

4.Close Button

a.The application quits when the button is pressed

5.Clear Button

a.The text boxes are cleared

b.The labels are cleared

c.The radio buttons are cleared

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to Wireless and Mobile Systems

Authors: Dharma P. Agrawal, Qing An Zeng

4th edition

1305087135, 978-1305087132, 9781305259621, 1305259629, 9781305537910 , 978-130508713

More Books

Students also viewed these Programming questions

Question

It initiates and regulates cell division?

Answered: 1 week ago

Question

It contains chromatin fibres?

Answered: 1 week ago

Question

Chromatin fibres is made up of DNA AND........?

Answered: 1 week ago

Question

The structure of DNA was first discovered by.........

Answered: 1 week ago

Question

The three components of a nucleotide are....... and........?

Answered: 1 week ago