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