Timer won't tick

前端 未结 7 1743
一整个雨季
一整个雨季 2020-12-10 03:31

I have a Windows.Forms.Timer in my code, that I am executing 3 times. However, the timer isn\'t calling the tick function at all.

private int co         


        
相关标签:
7条回答
  • 2020-12-10 03:59

    If you use some delays smaller than the interval inside the timer, the system.timer will execute other thread and you have to deal with a double thread running at the same time. Apply an InvokeRequired to control the flow.

    0 讨论(0)
提交回复
热议问题