I wanted to hide the main window of my app on startup, so I put this in the constructor:
this.Hide();
This doesn\'t hide my form though. It
Just override the OnVisibleChanged method and change the visibility of the form in there, something like this:
protected override void OnVisibleChanged(EventArgs e) { base.OnVisibleChanged(e); this.Visible = false; }
And that's it! Simple and clean.