问题描述
我想设置一个倒计时。也许它会倒数10秒到0秒。在事件发生后是否有任何可能的方法来设置它,它将一直开始计数10,9,8,7,6 ..然后当它达到0秒时,它会停止?
不知何故,我确实用C#格式搜索了这样的代码,但它在C#窗口手机7中没有用。因为引用++无法找到。不确定是否是我的错。请帮忙!
Let say I want to set a countdown. Maybe it will countdown 10secs to 0 secs. Is there any possible ways to set it after an event happen, it will start counting 10, 9, 8,7, 6 .. all the way.. then when it hit 0 seconds, it will stop?
Somehow, i did search for such codes in C# form, but it didn't work in C# window phone 7.. because of the reference ++ can't be found. Not so sure whether is it my fault. Please help out!
推荐答案
http://social.msdn.microsoft.com/Forums/en-US/windowsphone7series/threads
http://social.msdn.microsoft.com/Forums/en-US/wpf/线程
无论如何,可能没有必要检查那些论坛......你能否发布你遇到问题的代码,也许我们可以帮助你;弄清楚问题。
Anyway, it might not be necessary to check those forums just yet ... could you post the code that you're having problems with and maybe we can help you figure out the problem.
这篇关于C#,Window Phone 7,Silverlight,如何在xaml.cs文件中设置倒计时。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!