public bool PlaceBet(int BetAmount, int DogToWin, string dogName) { if (Cash >= BetAmount) { MyBet = new Bet(BetAmount, DogToWin, this); MyLabel.Text = MyBet.Description(dogName); return(true); } else { this.MyLabel.Text = this.Name + " got not enough bucks to bet!"; return(false); } }
public void UpdateLabels() { MyLabel.Text = MyBet.Description(); MyRadioButton.Text = Name + " has $" + Cash; }