Show selected pics by a gui form run time...
This blog show you how to show a picture on a gui form at run time..... selection
Create a gui from take a picturebox and a button
tyep this code in the button_click event...___:
OpenFileDialog od = new OpenFileDialog();
DialogResult dr = od.ShowDialog();
if (dr == DialogResult.OK)
{
filename = od.FileName.ToString();
Bitmap bmp = new Bitmap(filename);
pictureBox1.Image = bmp;
}
else
{
MessageBox.Show("not selected");
}
}


Raj KumarTOP 100Posted Apr 19, 2009, 2:30 PM EDT
use line break to show in a good way