cmarchiol Posted August 8, 2006 Posted August 8, 2006 Is it possible load (via code) windows icons into an ImageList? Christian Quote
Leaders snarfblam Posted August 8, 2006 Leaders Posted August 8, 2006 You could create a new Icon object (there is a constructor that accepts a filename). I'm not sure whether an ImageList will accept and Icon object as an image, but if not, you can call the Icon.ToBitmap method, which will turn it into a Bitmap object, at which point you can add it into the ImageList via the Add method. Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.