Exemplo n.º 1
0
 private void BetEventCollectionChanged(BetViewModel sender, IEnumerable <BetEventModel> events)
 {
     if (sender == SelectedItem)
     {
         UpdateEventsState(events);
     }
 }
Exemplo n.º 2
0
        private BaseBetViewModel CreateExpressBet()
        {
            var bet = new BetViewModel(DataService, AccountIdentService, ProcessingService, UserMessageService);

            bet.EventCollectionChanged += BetEventCollectionChanged;
            return(bet);
        }