Ejemplo n.º 1
0
        private void button3_Click(object sender, EventArgs e)
        {
            ShootTheBox newGame = new ShootTheBox(sf, p);

            newGame.ShowDialog();
            this.Close();
        }
Ejemplo n.º 2
0
 public EndOfGame(ShootTheBox ff, Player p)
 {
     InitializeComponent();
     f               = ff;
     this.p          = p;
     score.Text      = p.score1.ToString();
     playerName.Text = p.Name;
 }