CS 230 Fall 2006

Assignment 1 –Simple GUI  

100 points

 

Assigned: 09/06/2006

Due: 09/13/2006 at the start of class

 

Pre-Lab (Do Before Lab):  Bring materials – a way to save a copy for you and a copy to turn in. Plan out tasks, objects, and events needed for program.

 

Main Assignment:

Imagine that you are writing a very basic program for a small child.  Imagine that they will have buttons for “Red”, “Yellow”, and “Green”, plus an “Exit” and a “Clear” button. The color buttons should cause the corresponding word to be displayed on the screen, with the corresponding color as the background color for the word. The clear button should leave no word showing and a white background. The Exit button should exit the application. 

 

Hand in:

 

Miscellaneous:

MAKE SURE YOUR PROGRAM WORKS!  

 

The control where you place the words will be easier to find and click on etc if you turn the AutoSize property to false and size it yourself.

 

Put YOUR NAME, and e-mail address in comments at the beginning of the program. Comments are indicated with a single quote (everything after the single quote is only for humans)

 

This program is not designed to be anywhere near as complicated as the color game application in the book.