Multi-line event handlers, color assignment

This assignment tests your ability to write programs with assignment statements in multiple instruction event handlers.

Write a program that does the same thing as this greeting program

Note that when the program first executes, the "Warm colors" button has focus and the greeting is black. When your program is exactly the same as mine, print a screen shot and listing of the event handlers.

My warm colors are red and pink and my cool colors are blue and aqua.

Hint: Code the event handler for the exit button first since that may suggest to you the way to change the color of the form.


Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.