comeonbabe_
2017-06-03 16:04大哥大姐们都过来看看啊,一个小问题啊
oFD.Filter = "图像|*.jpg;*.gif;*.png";
if (oFD.ShowDialog() == System.Windows.Forms.DialogResult.OK)
pictureBox1.Load(oFD.FileName);
System.IO.DirectoryInfo topDir = System.IO.Directory.GetParent(oFD.FileName);//获取所在文件夹
FileInfo[] fil = topDir.GetFiles();
foreach (FileInfo f in fil)
imglist.Add(f);
这里面fileinfo【】里面到底装的是啥元素,我想用picturebox把他load出来应该怎么做
- 点赞
- 回答
- 收藏
- 复制链接分享
1条回答
为你推荐
- xUtils与if语句的问题
- android-studio
- android
- 开发语言
- 1个回答
- 各位大哥 、大姐 请教 Java 的小问题1-1
- it技术
- 互联网问答
- IT行业问题
- 计算机技术
- 编程语言问答
- 0个回答
- XmlRpc调用,如何返回一个对象给client?
- python
- 0个回答
- 关于read by other session跟cr request retry的问题
- 数据库
- oracle
- 0个回答
- 拜托各位大叔大姐,以及哥哥弟弟妹妹,牛人!关于数据库的问题
- sqlserver
- 数据库
- 0个回答
换一换