Esempio n. 1
0
        public void UpdateLabels()
        {
            if (bet == null)
            {
                statusLabel.Text = String.Format("{0} has not placed any bets", Name);
            }

            else
            {
                statusLabel.Text = bet.GetDescription();
            }
            if (Cash == 0)
            {
                busted                = true;
                statusLabel.Text      = String.Format("BUSTED!");
                statusLabel.ForeColor = System.Drawing.Color.Red;
            }
            MaximumBet.Text = String.Format("Maximum Bet: ${0}", Cash);
        }
Esempio n. 2
0
 public void UpdateLabels()
 {
     MyRadioButton.Text = Name + " has " + Cash + " bucks";
     MyLabel.Text       = MyBet.GetDescription();
 }