< Back
Page 11 of 11
This chapter is from the book
Workshop
Quiz
-
What type of Visual Basic project creates a standard Windows program?
-
What window is used to change the attributes (location, size, and so on) of a form or control in the IDE?
-
How do you access the default event (code) of a control?
-
What property of a picture box do you set to display an image?
-
What is the default event for a button control?
Answers
- Windows Forms Application
- The Properties window
- Double-click the control in the designer
- The Image property
- The Click event
Exercises
- 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.)
- Create a new project with a new form. Create two buttons on the form, one above the other. Next, change their position so that they appear next to each other.
< Back
Page 11 of 11