BalloonsPop.GraphicUserInterface.EventEngine.SetPlayerNameInContext C# (CSharp) Method

SetPlayerNameInContext() public method

Sets the player name in the context when it is changed in the view.
public SetPlayerNameInContext ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        public void SetPlayerNameInContext(object sender, EventArgs e)
        {
            this.Context.PlayerName = (sender as TextBox).Text;
        }