如何退出Silverlight WP7应用程序? [英] How can i exit my Silverlight WP7 application?

查看:92
本文介绍了如何退出Silverlight WP7应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在WP7上创建一个Silverlight应用程序,但是我找不到任何退出我的应用程序的代码(比如以前版本的windows phone中的application.exit)。有没有办法退出应用程序而不仅仅是使用硬件后退按钮?

Hi, i am creating a Silverlight app on WP7, but i cant find any code to exit my application (like application.exit in previous versions of windows phone) . Is there any way to exit the application other than just using the hardware back button?




谢谢,Manu < br>

Thanks, Manu

推荐答案

我没有看到任何允许基于Silverlight的Windows Phone应用程序自行终止的应用程序,虽然我已经看到一些以编程方式将应用程序导航回超出它的第一页以使其终止。 

I've not seen any application that will allow a Silverlight based Windows Phone application to terminate itself, though I have seen some programmatically have the application to navigate back beyond it's first page to make it terminate. 


这篇关于如何退出Silverlight WP7应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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