Difference between System.Timers.Timer and System.Windows.Forms.Timer?
Hey, I'm wondering what exactly is the difference System.Timers.Timer and System.Windows.Forms.Timer???
Kind Regards
Re: Difference between System.Timers.Timer and System.Windows.Forms.Timer?
Re: Difference between System.Timers.Timer and System.Windows.Forms.Timer?
Thanks, I read some of it, doesn't appear to be anything relevant to me, interesting to know the Windows.Forms.Timer is only accurate to 55ms though o_O
Kind Regards
Re: Difference between System.Timers.Timer and System.Windows.Forms.Timer?
The main point to note is that the WinForms Timer is single-threaded, i.e. it raises its Tick events on the UI thread, where the Timers.Timer raises its Elapsed events on a thread pool thread by default. As such, the WinForms Timer is good for just updating the UI or quick calculations but anything that will take time is best done with a Timers.Timer.
Re: Difference between System.Timers.Timer and System.Windows.Forms.Timer?
I see, thanks a lot jm.
Kind Regards