title: Lock a winforms control
body: <p>I need to ensure that, once the execution hits a method, the control received by this method is not changed by another thread.
  Basically, I thought in something like this:</p>
  
  <pre><code>private void doSomeWork(Control control) {
      lock (control) {
          // do some stuff with the control...
      }
  }
  </code></pre>
  
  <p>Is this a bad idea?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>Actually, what I'm trying to do, is to ensure that the control will not disposed by another thread while I execute some of the control's methods (which, by the way, will be executed via reflection). </p>