title: Main thread locking up in C#
body: <p>I am faced with a problem. I am clicking a button that is calling several methods, although the main thread is locking up, so I created an instance of my class (which is <code>Form1</code>) e.g. <code>Form1Object</code> and then the button called the methods as so: <code>Form1Object.Check1</code> and so on.</p>
  
  <p>Although the thread still locked up (i.e. the GUI became unresponsive for a period) Is there anyway of getting around this, any examples would be greatly appreciated.</p>
  
  <p>The code in question is below:</p>
  
  <pre><code>private void StartChecks_Click(object sender, EventArgs e)
  {
      Form1 Form1Object = new Form1();
      Form1Object.InitChecks();
  }
  
  public void InitChecks()
  {
      Check1();
      Check2();
      Check3();
      Check4();
      Check5();
      Check6();
      Check7();
  }      
  </code></pre>