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");
}
}