Friday, October 9, 2009

Show picture in PictureBox dynamically / programatically

With those two lines you can dinamically / programmatically show an image in PictureBox

We need form with PictureBox control on it and one picture somewhere on the file system :


Bitmap bbb =new Bitmap(Image.FromFile("C:\\Code392.bmp"));
pictureBox3.Image = bbb;

0 comments:

Post a Comment

Locations of visitors to this page