Linking to files instead of embedding resources

  • Thread starter Thread starter pekspro
  • Start date Start date
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
 
You can build the imagelist runtime using the method ImageList.Images.Add.
That way you can add bitmaps created from files.

HTH, Jakob.
 
Back
Top