| 1. |
Create a new blank solution and call it
Mechanics Solution. |
| 2. |
Create a new project and call it Mechanics
Project. |
| 3. |
Assign the filename Mechanics Form.vb to
the form file object. |
| 4. |
Assign the name MechForm to the Windows
Form object. |
| 5. |
The Windows Form object's title bar should
say IMA. Set the appropriate property. |
| 6. |
The Windows Form object should be centered
on the screen when it first appears. Set the appropriate property. |
| 7. |
Add a label control to the form.
Change the label control's name to CompanyLabel. |
| 8. |
The label control should stretch to fit its
current contents. Set the appropriate property. |
| 9. |
The label control should display the text
"International Mechanics Association" (without the quotation
marks). Set the appropriate property. |
| 10. |
Display the label control's text in italics
using the Tahoma font. Change the size of the text to 12 points. |
| 11. |
The label control should be located 16
pixels from the top of the form. |
| 12. |
Center the label control horizontally on
the form. |
| 13. |
Add a button control to the form.
Change the button control's name to ExitButton. |
| .14. |
The button control should display the text
"Exit" (without the quotation marks). Set the
appropriate property. |
| 15. |
Display the button control's text using the
Tahoma font. Change the size of the text to 12 points. |
| 16. |
The button control should be located 200
pixels from the left border of the form, and 240 pixels from the top of
the form. |
| 17. |
Open the Code editor window. Enter
the Me.Close method in the ExitButton's Click event procedure. |
| 18. |
Display the Mechanics Project Properties
Pages dialog box. Open the Common Properties folder, then click
General. Use the Assembly name textbox to change the executable
file's name to IMA. Change the startup form to MechForm. |
| 19. |
Save the solution. Start the
application, then use the Exit button to stop the application. |
| 20. |
Close the Output window, then close the
solution. |