如何创建计时器可以在Winform C#中启动,暂停和停止 [英] How to create timer can start, pause, stop in Winform C#

查看:837
本文介绍了如何创建计时器可以在Winform C#中启动,暂停和停止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我想创建一个计时器来调用具有时间跨度的控件事件.
例如:计时器开始,在5s控制事件之后将被调用,在8s控制事件之后将再次被调用...我们可以启动,暂停和停止它.时间跨度是动态的.怎么做?感谢

Hi all, i want to creating a timer to call event of control with time span is given.
Such as : timer begin, after 5s event of control will be call , after 8s event of control will be call again...and we can start, pause & stop it. Time span is dynamically. how to make it? Thanks

推荐答案

查看

这篇关于如何创建计时器可以在Winform C#中启动,暂停和停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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