I am having trouble making a Windows Form Application. I want to proceed to a second form while closing the first (Going from Main menu to Level 1) but I cant seem to figure out why after the 2nd form loads, both forms close out.
Here is the code I have on the Main Menu Form
private void btnContinue_Click( object sender, EventArgs e )
{
Level1 Frm = new Level1 ( );
Frm.Show ( );
this.Close ( );
}
Note, Even after I tried
Frm.ShowDialog();
instead of Frm.Show, the result was not what I wanted.
Thank you in advance for the responses