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); }
public void UpdateLabels() { MyRadioButton.Text = Name + " has " + Cash + " bucks"; MyLabel.Text = MyBet.GetDescription(); }