public bool PlaceBet(int amount, int dog) { if (Cash > amount && amount != 0) { MyBet = new Bet { Bettor = this }; MyBet.Amount = amount; MyBet.Dog = dog; Cash -= amount; UpdateLabels(); return true; } return false; }
public void ClearBet() { MyBet = null; UpdateLabels(); }