日期:2014-05-18 浏览次数:20992 次
string path = ofd.FileName; this.pictureBox1.Image = Image.FromFile(path); ------解决方案--------------------
string path = ofd.FileName; //获取选中文件的路径 this.pictureBox1.Image = Image.FromFile(path); //设置图片来源