Windows Mobile上拦截最小化事件(紧凑框架)
我想在 C# 中拦截 Windows Mobile 6.1 应用程序的最小化/最大化事件。有没有一种简单的方法可以实现这一目标。 (一段代码作为例子就很好了)。 我需要知道用户何时使用我的应用程序或应用程序在后台运行。
I want to intercept minimize/maximize events for a windows mobile 6.1 application in c#. Is there a simple way to achieve this. (A piece of code as an example would be great).
I need to know when the user plays with my application or the application runs in background.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没有任何测试,我会说:看一下 Form.Activated 和 Form.Deactivated 事件:
来自 C# 文档:
Without any testing I'd say: take a look at the Form.Activated and Form.Deactivated events:
From the C# Documentation: