private void btnLoadGame_Click(object sender, EventArgs e) { PlayGame gp = new PlayGame(0, 0, 0, 0, 0, true, 0); gp.setCaller(this); gp.Show(); this.Hide(); }
private void startGame(int min_width, int max_width, int min_height, int max_height, int num_enemies, int gold) { lblErrorMessage.Text = ""; PlayGame gp = new PlayGame(min_width, max_width, min_height, max_height, num_enemies, false, gold); gp.setCaller(this); gp.Show(); this.Hide(); }