Quote:
|
Originally Posted by Ooble
You can't hide frmMain until it's shown. this.Show() is called by default at the beginning of the Load function, and I don't believe you can change this.
I would suggest starting your program with a neutral class (Visual Studio 2005 actually does this by default - you get a Program class, which runs your main form), which shows frmMain only when necessary.
|
Ok, I think I might have been exploring with that a bit earlier. I beleive it's the app.config file if I remember correctly. I'll try it out and post back. Thanks Ooble.
[EDIT] not app.config, It's program.cs