title: Cross-thread operation not valid using timer and 2 buttons
body: <p>i got this problem...</p>
  
  <p>What would be a good solution for this?</p>
  
  <pre><code> private void button1_Click(object sender, EventArgs e)
      {
          aTimer.Enabled = true;
          button1.Enabled = false;
  
      }
  
      private void button2_Click(object sender, EventArgs e)
      {
          aTimer.Enabled = false;
      }
  
      private void timer_is_working(object source, ElapsedEventArgs e)
      {
          aTimer.Enabled = false;
          button1.Enabled = true;
      }
  </code></pre>
  
  <p>Thanks!
  Kind regards
  Daniel Ruescher</p>