Esempio n. 1
0
 private void InMainMenu_Click(object sender, EventArgs e)
 {
     game.Hide();
     Hide();
     Game.Level = 0;
     Program.LevelsToPlay.Clear();
     foreach (var level in Program.AllLevels)
     {
         Program.LevelsToPlay.Enqueue(level);
     }
     mainMenu.Show();
 }
Esempio n. 2
0
 private void Back_Click(object sender, EventArgs e)
 {
     mainMenu.Show();
     Hide();
 }
Esempio n. 3
0
 private void InMainMenu_Click(object sender, EventArgs e)
 {
     Hide();
     mainMenu.Show();
 }