System.IO.Path.GetFileName(openFileDialog1.FileName);//得到文件名
System.IO.Path.GetDirectoryName(openFileDialog1.FileName);//得到路径