[英]How to show a message when app is launched
如何在启动应用程序(用于Windows Phone 7)时显示消息或xaml页面,并且该消息应仅显示一次(即,该消息在下次启动应用程序时不可见?有人可以帮助我吗?这个。感谢您的辛勤工作!
Have a look at this, http://www.jimmycollins.org/blog/?p=366 看看这个, http://www.jimmycollins.org/blog/?p = 366
It allows you to check if first run before a page is displayed so you have the option to display a different page. 它允许您检查在页面显示之前是否首次运行,因此您可以选择显示不同的页面。 In your case you will display the same page but you could pass an indication to the main page or put similar first run logic in your main page.
在您的情况下,您将显示相同的页面,但您可以将指示传递到主页面或在主页面中放置类似的首次运行逻辑。
If you add a version to settings you can check for first run after update as well. 如果您将一个版本添加到设置,您也可以检查更新后的首次运行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.