Best way to store icons

P

Pete

What is the best way to store icons so that they can be
used easily when required and can be updated without too
many hastles?

With Microsoft's ImageList control the icons are returned
as Drawing.Image objects but I require them to be a
Drawing.Icon object. This can be achieved by converting
the Drawing.Image object to a Drawing.Icon object
everytime an icon is required but this seems inefficent
considering the picture originated as an icon in the
first place.

The other alternative I've tried is to embed the icon as
a resource but my workspace becomes too cluttered (re:
Solution Explorer).

Does anybody have any suggestions? I don't want the
icons to be sitting as files where they are readily
visible by the user - I would prefer that they are
embedded somehow.
 
A

Armin Zingler

Pete said:
What is the best way to store icons so that they can be
used easily when required and can be updated without too
many hastles?

With Microsoft's ImageList control the icons are returned
as Drawing.Image objects but I require them to be a
Drawing.Icon object. This can be achieved by converting
the Drawing.Image object to a Drawing.Icon object
everytime an icon is required but this seems inefficent
considering the picture originated as an icon in the
first place.

The other alternative I've tried is to embed the icon as
a resource but my workspace becomes too cluttered (re:
Solution Explorer).

You could create a folder in solution explorer and store the icon files
there.
 

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