title: Hide form at launch
body: <p>I have a program which only needs a NotifyIcon to work as intended. So I've been trying to get the main form to hide when the program starts.</p>
  
  <p>In frmMain_Load, I tried both</p>
  
  <pre><code>this.Hide();
  this.Visible = false;
  </code></pre>
  
  <p>without success.</p>
  
  <p>They work in other methods, like in the NotifyIcon_MouseClick-method, but I want it to hide at Load.</p>
  
  <p>I saw in another question here at SO where Matias suggested this:</p>
  
  <pre><code>BeginInvoke(new MethodInvoker(delegate
  {
      Hide();
  }));
  </code></pre>
  
  <p>This works, but when I launch the program I can see the form flashing real fast. It's better than nothing, but I wonder if there is any better solution to this.</p>
  
  <p>Thanks.</p>