how to work timer in background
<p>i can run timer but it is hanging , when i run background i need timer to be run in background.
can anyone say me how to run timer in background.
My timer code is</p>

<pre><code>        btnIntraday.Enabled = false;
        btnStartBackfill.Enabled = false;
        btnStop.Enabled = true;

        if (btnIntraday.Text == "Intraday")
        {
            timerIntraday.Interval = 5000;
            timerIntraday.Enabled = true;
            btnIntraday.Text = "Updating..";
        }
        else if (btnIntraday.Text == "Updating..")
        {
            timerIntraday.Enabled = false;
            btnIntraday.Text = "Intraday";
        }
</code></pre>

<p>and my background code is </p>

<pre><code>        btnIntraday.Enabled = false;
        btnStartBackfill.Enabled = false;
        btnStop.Enabled = true;

        txtInterval.Text = ddTimeInterval.Value.ToString();
        int inter = (int.Parse(txtInterval.Text)) * multiplyingFactorBackfill;

        try
        {
            bgBackfillDCX.RunWorkerAsync();
        }
        catch (Exception ex)
        {

        }    
</code></pre>

<p>can anyone please say me how to run timer in background.
Thanks in advance.</p>
