Run timer in background thread
<p>Im looking for a way to use a System.Windows.Forms.Timer within a backgrounder thread. I cam having a lot of trouble getting it to start and stop within the background thread. This is what i am doing:</p>

<pre><code>private System.Windows.Forms.Timer chkTimer = new System.Windows.Forms.Timer();
</code></pre>

<p>Then in the backgroundworker_dowork method i have this:</p>

<pre><code>     chkTimer.Interval = 2000;
     chkTimer.Tick += new EventHandler(chkTimer_Tick);
     chkTimer.Start();
</code></pre>

<p>In the Tick method i have the timer related code but it will not run for some reason. If i declare the above in the ui thread, it works. Can someoine please help me start the timer within the background thread? I do not want to use System.Timers so please dont suggest that</p>

<p>Thanks</p>
