在RPi2上打开多个窗口/窗体/应用程序IoT Core [英] Open more then one window/form/app IoT Core on RPi2

查看:111
本文介绍了在RPi2上打开多个窗口/窗体/应用程序IoT Core的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我即将创建一个在我的RPi2上运行的项目。

我会喜欢能够通过按下按钮在多个窗口或应用程序之间切换。

我是当我制作一个标准的Windows Form程序时工作正常,但我没有在Win10 IoT Core中做同样的工作。

还有其他人注意到了吗?


如果是这样的话请给我一个提示或一些例子如何做?


祝你好运


Erik






 

解决方案

我没有尝试过你自己描述的内容但想要抛出一些想法。


由于您可以在RPi2上运行多个应用程序,Y你可以设置"默认启动应用程序"作为从中启动其他应用程序的中央应用程序。然后,当启动的辅助应用程序关闭时,"默认启动应用程序"将被关闭。然后
自动显示。


你还提到了应用程序的多个Windows。我找到的替代方案是使用"页面导航"。看到这个:

https://msdn.microsoft的.com / EN-US /库/窗/应用/ XAML / Hh771188.aspx


I'm about to create a project to be running on my RPi2.
I would like to be able to swap between several windows or applications by push a Button.
I'ts working perfect when I make a standard Windows Form program but I haven't managed to do the same in Win10 IoT Core.
Have some one else noticed the same?

If so please give me a hint or some examples how to do it?

Best regards

Erik


 

解决方案

I haven't tried doing what you describe myself but wanted to throw out a couple of ideas.

Since you can have multiple apps running on the RPi2, You could setup the "default startup app" as a central app to launch the other apps from. Then when the secondary app that was started is closed, the "default startup app" would then auto display.

You also mentioned multiple Windows for the app. The alternative that I have found is to use "Page Navigation" see this: https://msdn.microsoft.com/en-us/library/windows/apps/xaml/Hh771188.aspx


这篇关于在RPi2上打开多个窗口/窗体/应用程序IoT Core的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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