This Microsoft Developer CONSTANTS, ARRAYS AND ENUMERATIONS exercise is provided to allow potential course delegates to assess their suitability for the Wise Owl VISUAL C# 2005 WINDOWS FORMS course only, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.
A full answer to this exercise is provided as part of the training course!
| 1) | Download the files needed to start this exercise: exercise-648.zip (and click here if you experience any problems unzipping this file after downloading it). |
| 2) | Create a new form called frmResourceUse with one label at the top and one PictureBox control beneath it: |
Initially neither the label nor the picture is set
|
|
| 3) | Use the images in the folder above to create 3 resources:
|
| 4) | Attach code to the form's load event to set:
|
| 5) | Test that this works! |
An example of what you might see when you load your form
|
|
| 6) | Close down any open forms. |
Thank you for showing an interest in this Visual C# 2005 Windows Forms training course! As mentioned above, full answers to this and other exercises are provided on the course. On all Wise Owl scheduled courses delegates can take away these model answers (together with their own efforts!) on a free USB stick.
Recommended sites: C# corner | Computer tutorials | Training classes