Get an Icon from an ImageList

G

Guest

I can store icon images into an ImageList. Easy.

Then I want to set the StatusBarPanel.Icon from one of the image in the
ImageList.

That sounds easy but I get "Cannot implicitly convert type
'System.Drawing.Image' to 'System.Drawing.Icon'".

So, how do I convert the Image to an Icon ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top