title: How to continue executing code after calling ShowDialog()
body: <p>the Form.ShowDialog() method causes the code to be halted until the newly called form is closed. I need the code to continue running after the ShowDialog() method is called. I googled and read about using backgroundworker? But that is the first time i have heard of that and never used it before.</p>
  
  <pre><code>Form2 form2this = new Form2();
  form2this.ShowDialog();
  MessageBox.Show("Something");
  </code></pre>
  
  <p>This code gets executed after clicking a button, how can i still call ShowDialog to prevent the user from interacting with the main form but still allowing the main form to continue with its work?</p>
  
  <p>Sorry if its been discussed but everything i found seems extremely difficult to perform such a simple task. I am actually surprised its not included in the SHowDialog method. for instance ShowDialog().Continue would be cool.</p>