Close one form and open another...
Posted on 2009-04-08
Application C# Windows Form Application
I have an application where an initial form opens up. This form offers the user a couple of different options, each option is supposed to open a form and close the originating form.
I have tried creating an instance of the second form in program.cs then opening it, and closing the initial form, but when I do the entire application ends.
I do not want an MDI setup - basically I want the program to end when the last form closes, not when the first form closes. I am having difficulties.