I have some picture box controls created, and on the project, a resource folder. From this resource folder, the picture box controls have a default image. How can I modify, ON-RUNTIME, the image of a picture box control?
What I've done so far is this:
PictureBox photo1 = new PictureBox();
photo1.Image = Image.FromFile(@"path");
But, the problem I've encountered, is, If I would set up the path of the picture box control, It should be the same for all users that will use my application, on different machines.
How can I do to select the images directly from my resource folder?