Threading.Timer vs. Forms.Timer

Posted by Jekke on Stack Overflow See other posts from Stack Overflow or by Jekke
Published on 2009-01-06T22:21:16Z Indexed on 2010/03/30 15:33 UTC
Read the original article Hit count: 702

Filed under:
|
|
|

The short form of this question: When, if ever, is it appropriate to use the Forms.Timer in a multithreaded WinForms application?

More specifically, I am architecting an application that uses multiple System.Threading.Timers to launch processes asynchronously, check queues containing the results of those asynchronous processes, and update the statistics to be shown by the application's main form.

In an application like that, is it appropriate to use a Forms.Timer to actually check the application statistics and draw them to the main form or would that just throw a wrench into the application's smooth running?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about .net-2.0