Windows Forms Transition
-
I'm sure this is easy but I can't seem to find the answer. I want to close a form and open another without using Form1.Hide() and Form2.Show(). I want the first form to totaly close and the next form to be opened not as a child. Thanks
You can't close the form that your app starts on. If you do, you're entire app will quit. What you do in your Form1 Load event is create a Form2, like a splash screen, show it, complete all your initialization, and at the end of the Form1 Load event, destroy Form2. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
You can't close the form that your app starts on. If you do, you're entire app will quit. What you do in your Form1 Load event is create a Form2, like a splash screen, show it, complete all your initialization, and at the end of the Form1 Load event, destroy Form2. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome