Example #1
0
        private void CheckPlayerTurn_Tick(object sender, EventArgs e)
        {
            Player player = client.CheckPlayerTurn(currentRoundAction, CurrentGame);

            if (player != null)
            {
                StatusMessage.Text    = String.Format("Player {0} is now selecting.", player.Name);
                StatusMessage.Visible = true;
            }
            else
            {
                StatusMessage.Visible = false;
            }
        }