Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PictureBox with Imagelist in C#

Status
Not open for further replies.

yfbf

Programmer
Oct 2, 2004
24
BE
Hi,

I create an ImageList with some BMP file and create a PictureBox.

I would like to know how can I do for selecting an image from my list and put it on the Picturebox.

Best Regrads
 
I don't believe that there is a way to have the ImageList control interact with a PictureBox. When I use a PictureBox, I have to assign the picture by using the Image property in the Form designer and then locating an image file on my hard drive.

This is true even if I already have the very same image file loaded into an ImageList control.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top