user15399144
user15399144

Reputation:

WinForms Show image from Bitmap

Is there a way to open/show an image of a bitmap without saving it? Or maybe is there any junk location where I can save it to and open it from there?

Upvotes: 0

Views: 476

Answers (2)

turaltahmazli
turaltahmazli

Reputation: 345

Go picture box properties. Click Image property > Project resource file > Import > Choose an image > Ok.

enter image description here

Now you can access the picture like this Image image = Properties.Resources.Math_Wallpaper;

Upvotes: 0

Funny Bunny
Funny Bunny

Reputation: 124

pictureBox.Image = bitmapvalue;

thats it :)

Upvotes: 1

Related Questions