| 1. |
Create a solution and project with the name Weather. |
| 2. |
Design the interface according to the GUI standards and
add the following controls: |
| 2.1 |
Add five radio buttons and name them:
CloudRadioButton, RainRadioButton, SunRadioButton, LightningRadioButton
and SnowRadioButton. |
| 2.2 |
Add six picture boxes, name them:
DisplayPictureBox, CloudPictureBox, RainPictureBox, SunPictureBox,
LightningPictureBox and SnowPictureBox |
| 2.3 |
Add a button and name it ExitButton |
| 3. |
Five picture boxes should each contain a picture.
Below are the images. Right-click an image and save it to your
computer. |
|
 |
| 4. |
Create a collection for the five radio
buttons. |
| 5. |
Create a collection for the five picture
boxes containing pictures. Do not include the DisplayPictureBox in
the collection. |
| 6. |
Set the Visibility property for picture
boxes to False, except for the DisplayPictureBox |
| 7. |
Write code that will display the
appropriate image in the DisplayPictureBox when a radio button is
selected, e.g. when the CloudRadioButton is selected, display the image
of the CloudPictureBox in the DisplayPictureBox. |
| 8. |
Code the ExitButton. |
| 9. |
Save your project and then test it. |