title: form goes in background
body: <p>I have a form, and doing showdialog on that. It is like msg box. I am doing something like </p>
  
  <pre><code>    msgBox = new MsgBox();
      if (msgBox.InvokeRequired)
      {
        msgBox.Invoke(new ShowMsg(ShowMessage));
      }
      else
      {
        ShowMessage();
      }
  </code></pre>
  
  <p>in show message i am doing Show Dialog. But the form goes in background of main form some times. please help on this.</p>