How to Load An Image In A PictureBox In C# ?
-
I have an empty picturebox and I want to load an image without using properties menu. I add that image in my project with "add an existing item" now I don't know how I can load this image.and I want to make my program portable so I dont want to use full file address to load that image.
-
Answer:
it is as simple as: pictureBox1.Image = Properties.Resources.image1;
M2M at Yahoo! Answers Visit the source
Related Q & A:
- How To Load An Activity In A fragment?Best solution by Stack Overflow
- how to display .pgm image on a JFrame?Best solution by Stack Overflow
- How to upload the image to a server in Android PhoneGap?Best solution by Stack Overflow
- How to add an image to a button?Best solution by Stack Overflow
- How to load an image to an applet?Best solution by stackoverflow.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.