OpenFileDialog fd = new OpenFileDialog(); fd.Filter="jpg file (*.jpg)|*.jpg"; if (fd.ShowDialog() == DialogResult.OK) { string sd = fd.FileName.ToString(); pictureBox1.Image = sd; }
string sim=opf.filename.tostring(); pictureBox.imagelocation= sim
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)