如何强制停牌地铁应用的 [英] How do I Force suspension of Metro app

查看:125
本文介绍了如何强制停牌地铁应用的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何强制应用程序挂起(不关机,只是暂停),然后强行恢复它自己的时候,我们没有使用Visual Studio的/调试?

How do we force an app to Suspend (NOT shutdown, just suspend) and then force-resume it ourselves when we are NOT using visual studio/debugging?

推荐答案

在下面的Visual Studio 2012上运行,你可以在调试器工具栏上启用调试位置。这将允许您选择三种操作中的一个,暂停,恢复和暂停和关闭。

When running under Visual Studio 2012, you can enable the Debug Location on the debugger toolbar. This will allow you to select one of the three operations, "suspend", "resume", and "suspend and shutdown".

不好意思,刚才注意到你所要求的非VS解决方案。您可以通过拖动应用程序下暂停您的应用程序。将光标移动到页面的顶部,直到你看到一只手。单击并按住,并拉下暂停您的应用程序。它需要几秒钟之前,该应用程序实际上进入暂停模式。如果你想要做的事情越早,你可以使用可视性变化首先触发某些动作,比如节省宝贵的东西。

[edited] Sorry, just noticed that you are asking for non VS solution. You can suspend your app by dragging the app down. Move your cursor to the top of the page until you see a hand. Click and hold it and pull down to suspend your app. It takes a few seconds before the app actually enter suspend mode. If you want to do things sooner, you can use visibility change to toggle certain action first, like saving critical stuff.

这篇关于如何强制停牌地铁应用的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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