OpenFileDialog 不浏览 .NET CF 下的文件夹
我有一个 WinMo 应用程序,我想从存储卡中打开一个文件。 该文件不在根目录中,而是在文件夹结构中。 我认为 OpenFileDialog 可以像在常规 .NET 下一样实现这一目的。 但它不提供我浏览文件夹的功能。 我看起来真的很蹩脚。 或者我只是非常愚蠢?
I have an WinMo app and I would like to open a file from the storage card. The file is NOT in the root but within the folder structure. I thought OpenFileDialog would do the trick just as it does under regular .NET. But it does not offer me to navigate over the folders. I looks really lame. Or am I just outstandingly stupid?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
CF中的OFD,说白了,很烂。 它只能浏览几个选定的文件夹,作为开发人员,您无法控制它们的内容。 要浏览所有文件夹,您需要滚动您自己的对话框或获取第三方。
The OFD in the CF, to put it bluntly, sucks. It has the ability to only browse a few select folders, and as a developer you have no control over what they are. To browse all folders you need to either roll your own dialog or get a third-party one.