Visual Studio Windows form image files
Posted on 2006-05-01
I am building a Windows form in visual studio 2005, which includes several small bitmap files that are loaded into a PictureBox in various scenarios.
What is the best way to load these images (and if necessary delete them) into the project,
so that the project does not have to reference any files outside of the project folders.
Is the correct approach to save the bitmap files into a new sub-folder of the main folder and then load them by clicking on the image property and and loading them into the project resource/local resource file.
In short I want to be able to cleanly load/unload bitmap files so that they are part of the project and not connected to anything outside of it.
Thank you in advance…..