This lesson uses an array of filenames to dynamically show a picture of a flower.
Start Visual Studio.NET and start a new Windows application called Flowers.
Add the following controls to the form:
A ComboBox: Name: CboFlowers
A PictureBox: Name: PicFlower, SizeMode: AutoSize
Add the code: flowers (Change the code to the folder where your pictures are stored.
At run time, the user selects a flower in the combo
box and the flower appears in the picture box.
Flowers: daisy. lily, orchid, rose, tulip,violet.