private void btnCreatePlayer_Click(object sender, EventArgs e)
        {
            HangmanGamer currentGamer = new HangmanGamer(txtNewPlayerName.Text);
            frmHangman   playHangman  = new frmHangman(currentGamer);

            this.Hide();
            playHangman.Show();
        }
Beispiel #2
0
 public frmHangman(HangmanGamer gamer)
 {
     InitializeComponent();
     currentGamer = gamer;
 }