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(); }