Example #1
0
 private void game4_Click(object sender, EventArgs e)
 {
     this.Visible = false;
     gameStart    = new Level5Game(3);
     gameStart.Show();
     this.gameStart.FormClosed += new FormClosedEventHandler(exit_Click);
 }
Example #2
0
 private void goNextBtn_Click(object sender, EventArgs e)
 {
     this.Visible = false;
     if (level == 5)
     {
         this.lv5game = new Level5Game(gameNum);
         lv5game.Show();
         this.lv5game.FormClosed += new FormClosedEventHandler(exit_Click);
     }
 }