Ejemplo n.º 1
0
 private void button3_Click(object sender, EventArgs e)
 {
     if (Main_Game.exitGame() == false)
     {
         Form1 MainMenu = new Form1();
         MainMenu.Show();
         this.Close();
         Main.Close();
     }
 }
Ejemplo n.º 2
0
 private void startNewGame(string gameType)
 {
     if (gameType == "Custom")
     {
         Main_Game NewGameForm = new Main_Game(textBox1.Text, dateTimePicker1.Value.Date);
         NewGameForm.Show();
     }
     else
     {
         Main_Game NewGameForm = new Main_Game(textBox3.Text);
         NewGameForm.Show();
     }
     this.Close();
 }
Ejemplo n.º 3
0
 public bankReg(Game CurrentGame, Main_Game GameForm)
 {
     InitializeComponent();
     currentGame = CurrentGame;
     gameForm    = GameForm;
 }
Ejemplo n.º 4
0
 public Game_Menu(Game CurrentGame, int previousTimerSpeed, Main_Game main)
 {
     InitializeComponent();
     GameATM = CurrentGame;
     Main    = main;
 }