View Single Post
Old May 11th, 2006, 12:40 PM   #3
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
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
Booooze is offline   Reply With Quote