Linking to files instead of embedding resources

P

pekspro

If I create an ImageList in a form (with Visual Studio), and add some
images to it the images will be embedded in the resx-file. Could I link
to the image files instead? Embedding files makes it harder to update
the resources sense I must add the images again. If I could "link" to
which files to use it would be easier.

PEK
 
G

Guest

You can build the imagelist runtime using the method ImageList.Images.Add.
That way you can add bitmaps created from files.

HTH, Jakob.
 

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