|
-
Jun 27th, 2008, 01:14 AM
#1
Thread Starter
Frenzied Member
[2005] How to get Images from Resource
i have 18 images in the resource named as img1,img2,img3.....img18. And also i have an listbox with 18 items.
so what i want is
when the first item of the listbox is selected then img1 should be loaded in the picturebox and similarly the if 2nd item is selected then img2 must be loaded and so on for all the 18 images
is there an any other way instead of using multiple if statements?
Plz help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|