出错信息:
0000\Root\Picture 045.jpg
Path does not exist.
Please verify the correct path was given.
========================================
项目急用,谢谢大伙
0000\Root\Picture 045.jpg
Path does not exist.
Please verify the correct path was given.
========================================
项目急用,谢谢大伙
OpenFileDialog openPic = new OpenFileDialog();
openPic.FileName = "Select Image Files";
openPic.Filter = "All Image Formats (*.bmp;*.jpg;*.jpeg;*.gif;*.png;*.tif)|*.bmp;*.jpg;*.jpeg;*.gif;*.png;*.tif|All Files (*.*)|*.*";
openPic.Multiselect = true;
if (openPic.ShowDialog() == DialogResult.OK) //选两个以上的文件时,这步已经出错
{
..............
}
加断点看一下OpenFileDialog 返回的路径看看~~