Open Visual Basic and create a new Project. Select Windows Form New Project window. You will save this project in your Cs 3 folder and name it as: yourlastname-firstname-SelectionVBProgram. See below for more information on how to create this project.
Create a form with two labels, one textbox, and one button, similar to the sample form below. We use the textbox control to receive input.
Here are the properties of the form and each control:
Form: change the title of the form to: Selection Homework - your name
Label1, Text: Enter a value for IntNumber
Name: lblIntNumber
Label2, Text: Display IntNumber
BorderStyle: Fixed 3D
AutoSize: False
Textbox, Name: txtEnterIntNumber
Button, Text: Compute
Name: btnCompute
Double-click on the Compute Button; declare a variable called intNumber as Integer, then type the below code. Run the program and test it for intNumber values of 50, 500, and 1000. For each test, the result should be: 100, 500, and 3000 respectively.
If intNumber <= 100 Then
intNumber = intNumber * 2
ElseIf intNumber > 500 Then
intNumber = intNumber * 3
End If
To receive credit for this assignment, create a zip file and name it Yourlastname-HW8.ZIP. Copy yourlastname-firstname-SelectionVBProgram folder into this zip file. Submit the zip file in Assignment 8. Only ONE file, please.