Run timer functions in Form

Copper Contributor

I created a form (System.Windows.Forms.Form) and add 2 timer objects in it.

Timer1 interval is set to 1 second for displaying a clock on the form.

Timer2 fires a function that varies in execution time from 0.3 to 2 seconds so I set the interval to 2 seconds.

When running, the clock second display stops Intermittently because of Timer2 function running.


Is it possible to run Timer2 function in parallel with the form so Timer1 clock will not be affected?




0 Replies