title: How to get access to the Main Thread
body: <p>Is there a way to get a reference to the Main UI thread in Windows Forms from another worker thread?</p>
  
  <p>Something like this:</p>
  
  <pre><code>public void FormLoad()//we are in Main UI Thread
      {
          Thread backThread = new Thread(DoWork);
          backThread.Start();
  
      }
      public void DoWork()
      {
          //get Main Thread instance
          //do some work
      }
  </code></pre>
  
  <p>UPDATE</p>
  
  <p>I`m interested if there is some static property or class to get reference to main thread like Thread.CurrentThread for getting current thread.</p>