need a better solution to use images in application

  • Thread starter Thread starter Dayne
  • Start date Start date
D

Dayne

Hi Everyone!

Currently, I am writing an application that uses a lot of bitmaps. I would
load a image by specifying "a path" on my hard drive. I would however like a
better solution --- don't like the fact that the images are exposed so
publicly. Any ideas?

Dayne
 
Dayne said:
Currently, I am writing an application that uses a lot of bitmaps. I would
load a image by specifying "a path" on my hard drive. I would however like a
better solution --- don't like the fact that the images are exposed so
publicly. Any ideas?

Embed the images in your executable (set the build type to "Embedded
Resource" and either use ResourceManageer or
Assembly.GetManifestResourceStream to load them.
 
Back
Top