Lab 8
comp 125-609, Goldwasser
Tuesday, October 26, 1999
Purpose: Using Graphics in Picture Boxes
In today's lab, we will draw some pictures using the graphics methods
available in a picture box. First, we will lead you step by step
through the creation of a picture of a truck. Secondly, you will
design a picture of a house on your own.
Truck
To begin, place a LARGE picture box (picOut) and a command button
(cmdShow) on the form. All the code will be placed under the cmdShow_Click:
Everything described below should be written in code NOT in the
properties window.
House
Save your first program somewhere and start a second program from
scratch. Use these techniques to design a house. Be as detailed and
creative as time allows. Landscaping is optional.
This lab is due before leaving class today. When you have completed
the program, please call me over to your computer to run your program.