Win10 IoT与OpenFileDialog的Raspberry Pi2 DLL参考 [英] Win10 IoT with Raspberry Pi2 DLL reference of OpenFileDialog

查看:76
本文介绍了Win10 IoT与OpenFileDialog的Raspberry Pi2 DLL参考的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,有什么问题。我首先使用Win 10运行系统,然后使用"Hello world"测试了第一个应用程序。

Hello, any problems. I get runnig the system at first with Win 10, and I tested the first app with "Hello world".

不,我想要使用文件进行测试,我可以使用RPI2打开目录或文件。但是:我不能使用"OpenFileDialog"。因为我不知道我必须在应用程序中引用哪个程序集(我使用C#)。

No I want to do a test with files, where I can open directories or files with the RPI2. But: I can't use the "OpenFileDialog" because I don't know which Assembly I have to reference in the app (I use C#).

有人可以帮助我吗?

oema von MSDN

oema von MSDN

推荐答案

它应该是"Windows.Storage.Pickers" .FileOpenPicker"但是有一个小问题。即使在IoT上也存在FileOpenPicker,它的行为也有所不同。它不会显示文件打开对话框,但会立即返回null。

It should be "Windows.Storage.Pickers.FileOpenPicker" but there's a tiny problem. Even tho FileOpenPicker exists on IoT as well, it behaves a bit differently. It doesn't show a file open dialogue, but immediately returns null.

截至目前,看起来在Windows IoT Core上没有对话框可以打开文件...

As of now, it looks like there's no dialogue for file opening on Windows IoT Core...


这篇关于Win10 IoT与OpenFileDialog的Raspberry Pi2 DLL参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆