title: C# Hide() on startup, without ShowInTaskbar to false
body: <p>I am trying to make an application with hotkeys and an option to startup in the taskbar tray.</p>
  
  <p>Now the problem is, that using <code>this.Hide()</code> in the load event, won't have any effect. I can add <code>this.ShowInTaskbar = false</code>, but after I set it on true again, to show the window, it disables my hotkey out of itself.</p>
  
  <p>Is there an other way to hide my form on startup, or to prevent my hotkey from unregistering?</p>
  
  <p>My code to hide the form:</p>
  
  <pre><code>private void frmMain_Load(object sender, EventArgs e)
  {
      if (StartBG())
      {
          this.Hide();
          this.ShowInTaskbar = false;
          notifyIcon.Visible = true;
          notifyIcon.ShowBalloonTip(3000, "Kore screenshots", "The application is started and will run on the background.", ToolTipIcon.Info);
      }
  }
  </code></pre>
  
  <p>After the code above, the hotkey still works,</p>
  
  <pre><code>private void showform()
  {
      this.Show();
      this.ShowInTaskbar = true;
      notifyIcon.Visible = false;
      this.WindowState = FormWindowState.Normal;
  }
  </code></pre>
  
  <p>After this code, the hotkey is disabled.</p>