OpenFileDialog does not browse the folders under .NET CF

余生颓废 提交于 2019-12-02 07:32:13

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/1132163/openfiledialog-does-not-browse-the-folders-under-net-cf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!