如何退出 WP7 中的应用程序? [英] How to exit from the application in WP7?
本文介绍了如何退出 WP7 中的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想通过单击按钮从应用程序页面退出应用程序.请指导我这样做.提前致谢.
I want to quit the application from the Application page, on click of a button. Please guide me to do so. Thanks in advance.
推荐答案
没有办法从代码中关闭 Silverlight 应用程序,但是你会在我链接的页面下发现一个小漏洞.
There is no way to close a Silverlight Application from code, but you will find a small loophole in this under the page i linked in.
如果是 XNA 那么你可以调用 Game.Exit()
If it is an XNA then you can Call Game.Exit()
这篇关于如何退出 WP7 中的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文