Free Web Hosting by Netfirms
Web Hosting by Netfirms | Free Domain Names by Netfirms

 

Home ] Up ]


 

Faces Program

 

1. Create a solution and project with the name Faces.
2. Design the GUI according to the GUI standards.

 

3. Right-click the images below and save it to your computer.
         

 

4. Your interface should have three picture boxes (containing the images above), a button and two Timer controls.  (Remember that Timer controls do not display on the GUI.)
5. Name the Timer controls as DisplayTimer and HideTimer.  The interval property should be set to 500 milliseconds for each of the timer controls.
6. The DisplayTimer's Enabled property should be set to True and the HideTimer's Enabled property should be set to False.
7. Create a form-level custom collection (hint:  use Private).
8. Assign the picture box controls to the collection in the Form's Load Event procedure.
9. Code the DisplayTimer's Tick event so that it displays the three faces every 500 milliseconds.  When the first face appears, the second face should appear 500 milliseconds later, and the third face should appear 500 milliseconds after the second face appeared.
10. When the three faces have appeared on the form, the Tick event should disable the DisplayTimer control and enable the HideTimer control.
11. Code the HideTimer's Tick event so that it hides one of the three faces, starting with the last face and ending with the first face.
12. When the faces are hidden, the Tick event should disable the HideTimer control and enable the DisplayTimer control.
13. Code the ExitButton.
14. Save the solution and start the program.  The faces should appear, one after the other and then disappear one at a time.

 


All content on this site is free for private use only  |  Contributions are encouraged  |  Thank you to Netfirms for the free hosting  |  If copyright content is published here or links to certain content violates some right/law, contact the Webmaster to have it removed immediately.

 

Site launched: October 2005  |  Updated: July 20, 2006  |  Link exchange  |  Site map  |  Contact us