关于Windows窗体中的计时器。 [英] Regarding timer in windows form.

查看:365
本文介绍了关于Windows窗体中的计时器。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我希望Windows事件中的计时器一旦被事件触发就会运行多长时间。因为我开发了一个必须连续运行的应用程序,直到用户停止它。一旦开始,它很可能永远不会停止。那么定时器每天24小时和365天连续运行......?

Hi all,

I wanted to how long the timers in windows form run once they are triggered by an event. Since i have developed an app which has to run continuously, until user stops it. Most likely it should never stop once started. So will the timers run continuously for 24hrs a day & 365 days...?

推荐答案

不,没有时间溢出​​这样的事情。它将继续使用无限数量的活动。







请参阅我的评论这个答案。你无法做你想做的事。

请看我过去的答案以获得更好的想法:带定时器的轮询数据库 [ ^ ]。



-SA
No, there is no such thing as "time overflow". It will continue to work with unlimited number of events.



Please see my comments to this answer. You cannot do what you are trying to do.
Please see my past answer to get a better idea: Polling Database with Timer[^].

—SA


这篇关于关于Windows窗体中的计时器。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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