public Person(string name, int Cash, Label MyLabel, RadioButton guyButton) { Name = name; this.Cash = Cash; this.MyLabel = MyLabel; MyRadioButton = guyButton; MyBet = null; }
public bool SetBet(int Amount, int horse) { MyBet = new Gamble(Amount, horse, this); UpdateLabels(); if (MyBet.Amount == 0) { MyRadioButton.Enabled = false; } return(false); }
public void UnSetBet() { MyBet = null; }