Add an image to an imageList from a ressource

  • Thread starter Thread starter Guillaume Charhon
  • Start date Start date
G

Guillaume Charhon

Hi,

I want to add an image in an imageList.
I use the VS designer to create my imageList. When I try to add an image
to it, VS open the Windows Explorer... and I want to use an image in my
ressource file.
I used the ressource designer to add the image...

Thank you for your help.
 
Thank you!

and I find how to load a ressource image :

Image image = Properties.Resources.araignee;
imageList1.Images.Add(image);

Bye!


PlatinumBay a écrit :
 
Back
Top