Question: (Please help! I'm not sure how to do this!) In Microsoft Visual Studio 2019, start a new project named CalculateLetterGrade . Be sure to store
(Please help! I'm not sure how to do this!)
- In Microsoft Visual Studio 2019, start a new project named CalculateLetterGrade. Be sure to store the solution in its own directory.
- Add the labels, text boxes, and buttons to the form as shown above. Then, set the properties of these controls as follows:
Default name Property Setting
label1 Text &Number grade: TextAlign MiddleLeft TabIndex 0
label2 Text Letter grade: TextAlign MiddleLeft
textBox1 Name txtNumberGrade TabIndex 1
textBox2 Name txtLetterGrade ReadOnly True TabStop False
button1 Name btnCalculate Text &Calculate TabIndex 2
button2 Name btnExit Text E&xit TabIndex 3
- Now, set the properties of the form as follows:
Default name Property Setting
Form1 Text Calculate Letter Grade AcceptButton btnCalculate CancelButton btnExit StartPosition CenterScreen
- Use the Form Designer to adjust the size and position of the controls and the size of the form so they look as shown above.
- Rename the form to frmCalculateGrade. When you are asked if you want to rename any references to the form, click the Yes button.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
