Workshop
Quiz
What type of Visual Basic project creates a standard Windows program?
Windows Application project
What window is used to change the attributes (location, size, and so on) of a form or control?
Properties window
How do you access the default event (code) of a control?
Double-click the control
What property of a picture box do you set to display an image?
The Image property
What is the default event for a button control?
Click event
Exercise
Change your Picture Viewer program so that the user can also locate and select GIF files. (Hint: change the Filter property of the OpenFileDialog control.)
Alter the form in your Picture Viewer project so that the buttons are side by side in the lower-right corner of the form, rather than vertically aligned in the upper-right corner.