private void button3_Click(object sender, EventArgs e) { ShootTheBox newGame = new ShootTheBox(sf, p); newGame.ShowDialog(); this.Close(); }
public EndOfGame(ShootTheBox ff, Player p) { InitializeComponent(); f = ff; this.p = p; score.Text = p.score1.ToString(); playerName.Text = p.Name; }