Need Advice - Using images with C# WinForms VS.NET Project
Posted: Tue Jan 05, 2010 4:35 pm
I made the first form, and it has the background and a couple of small images placed on the form. Made the second form and so on. Am having a couple of forms by now, just the GUI so far.
Now this questions arises from a bad experience I had in Java. I saved all of my images in a folder somewhere at PC and referenced the images from there. Later, I deleted that image folder and thought the images would still be okay in the project. But it was all empty in the project.
In VS.NET here, how should I use images? Where should I place them? Inside the project? And should I use resources to manage the images or how exactly? Some explanation would be really helpful as am just starting off.
So that I am sure where ever I move the project and whatever I do, i won't lose the images inside the project.
For now I've made a folder namely images, inside the project and directly referencing it.
Thank you.
Now this questions arises from a bad experience I had in Java. I saved all of my images in a folder somewhere at PC and referenced the images from there. Later, I deleted that image folder and thought the images would still be okay in the project. But it was all empty in the project.
In VS.NET here, how should I use images? Where should I place them? Inside the project? And should I use resources to manage the images or how exactly? Some explanation would be really helpful as am just starting off.
So that I am sure where ever I move the project and whatever I do, i won't lose the images inside the project.
For now I've made a folder namely images, inside the project and directly referencing it.
Thank you.