WP7 +的后台进程

编程入门 行业动态 更新时间:2024-10-22 14:24:56
本文介绍了WP7 +的后台进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我试图在后台运行我的秒表。当屏幕被锁定或应用程序被推到后台时,我需要它来继续计数/处理。我知道调度任务在后台运行,但他们对处理信息没有任何作用,因为我知道这是。谢谢你的任何想法。

Im trying to run my stopwatch in the background. When the screen is locked or the app is pushed to the background, I need it to keep counting/processing. Im aware that the scheduledtasks run in the background, but they do nothing for processing info as far as I know. Thanks for any ideas.

推荐答案

你需要用秒表做什么? (...将如何使用?)

What do you need to do with the stopwatch? (...how will it be used?)

如果您只需要跟踪已用时间,您可以保存开始时间的记录并从当前时间减去你想要显示经过的时间。

If you just need to keep track of the elapsed time you could save a record of the start time and subtract that from the current time when you want to show the elapsed time.

更多推荐

WP7 +的后台进程

本文发布于:2023-11-27 03:15:45,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1636341.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:后台   进程

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!