简体   繁体   中英

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM