title: C# New form never gains focus
body: <p>I have been trying to write a small app with its own option windows. When I try to launch the window I can never seem to set focus on the new form. This is not a mdi form, but merely a new form that I create when a user selects an option from the menu. It should be noted that Form.Show is return false, which means that the new form is never receiving focus.</p>
  
  <p>I have tried multiple methods for loading the form and all have failed:</p>
  
  <p><strong>From Calling Form:</strong></p>
  
  <pre><code>ServerForm SF = new ServerForm(ref DataLoader, false);
  SF.Show();
  SF.Focus();
  // Fails
  </code></pre>
  
  <p><strong>Inside the form itself:</strong></p>
  
  <pre><code>this.Show();
  this.BringToFront();
  this.Activate();
  this.TopMost = true;
  // Fails
  </code></pre>
  
  <p><strong>Setting Form to selectable:</strong></p>
  
  <pre><code>this.SetStyle(System.Windows.Forms.ControlStyles.Selectable, true);
  ...
  ServerForm SF = new ServerForm(ref DataLoader, false);
  SF.Show();
  SF.Focus();
  // Fails
  </code></pre>
  
  <p><strong>Using Old API:</strong></p>
  
  <pre><code>[System.Runtime.InteropServices.DllImport("user32.dll")]
  private static extern int ShowWindow(IntPtr handle, int nCmdShow);    
  ServerForm SF = new ServerForm(ref DataLoader, false);
  ShowWindow(SF.Handle, 3);
  SF.Show();
  SF.Focus();
  // Fails
  </code></pre>
  
  <p><strong>Passing in Parent</strong></p>
  
  <pre><code>ServerForm SF = new ServerForm(ref DataLoader, false);
  SF.Show(this);
  SF.Focus();
  // Fails
  </code></pre>
  
  <p>In all of these cases the form will show up, but the form that spawned still will have focus over the new form. This happens even when I disable the old form before I create the new form.</p>
  
  <p>Any suggestions?</p>