title: How to start a BackgroundWorker on a specific time?
body: <p>I am having a problem in running a backgroundworker on a given specific time. </p>
  
  <p>My code runs the backgoundworker in only one second.</p>
  
  <p>I want to increase the Interval time in my background.</p>
  
  <p>I am using this line of code to run a background in a button click Event:</p>
  
  <pre><code>private void button1_Click(object sender, EventArgs e)
  {
      backgroundWorker1.RunWorkerAsync();
  }
  </code></pre>
  
  <p>Then in <code>backgroundWorker1_DoWork</code>:</p>
  
  <pre><code>private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
  {
      backgroundWorker1.CancelAsync();
  }
  </code></pre>
  
  <p>At last in <code>backgroundWorker1_RunWorkCompleted</code>:</p>
  
  <pre><code>private void backgroundWorker1_RunWorkerCompleted(object sender,RunWorkerCompletedEventArgs e)
  {
      backgroundWorker1.RunWorkerAsync();
  }
  </code></pre>
  
  <p>I want to run the background continuously but for every 5 seconds or more than 5.</p>
  
  <p>There would be a great appreciation if someone could help me,</p>
  
  <p>Thanks in advance.</p>