title: Access GUI and method of engaged a lot of time
body: <p>It's a Windows Form Application</p>
  
  <p>And kind of code:</p>
  
  <pre><code>public bool Simulation(string param1, bool param2)
          {
              //code1
              do
              {
                  bool success = reader.Launch();
                  //code2
              } while (!success);
          }
  </code></pre>
  
  <p><code>Launch()</code> method takes a long time but I have to wait in this place ("<code>code2</code>") at the same time having access to the GUI. Now <code>Launch()</code> is blocking this access.</p>
  
  <p>How can I do this?</p>