/// <summary> /// Save button event of the form. Adds the player name to the game. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void MyPlayerForm_BtnAddPlayer(object sender, EventArgs e) { myPlayerForm.AddPlayer(playerList, player1); myPlayerForm.AddPlayer(playerList, player2); myGameForm.setPlayers(playerList); myPlayerForm.ShowPlayButton(); }