Create a Windows Forms application. Use the following names for the project and solution, respectively: States Capitals

Question:

Create a Windows Forms application. Use the following names for the project and solution, respectively: States Capitals Project and States Capitals Solution. Save the application in the VB2017\Chap04 folder. Change the form file’s name to Main Form.vb. Change the form’s name to frmMain. Add five radio buttons, two labels, and two buttons to the form. One of the buttons should be an Exit button; the other should be a Display button. Each radio button’s Text property should contain the name of a different state; choose any five state names. The Display button should display (in one of the labels) the name of the capital associated with the selected state name. Code the button’s Click event procedure using the If…Then…Else statement. Be sure to code each radio button’s CheckedChanged procedure. Save the solution and then start and test the application.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: