private void Init()
 {
     for (int i = SUIT_LENGTH - 1; i >= 0; i--)
     {
         ClubsSource.Add(new CheckableCardModel((RangeCardRank)i, RangeCardSuit.Clubs));
         DiamondsSource.Add(new CheckableCardModel((RangeCardRank)i, RangeCardSuit.Diamonds));
         HeartsSource.Add(new CheckableCardModel((RangeCardRank)i, RangeCardSuit.Hearts));
         SpadesSource.Add(new CheckableCardModel((RangeCardRank)i, RangeCardSuit.Spades));
     }
 }
Exemple #2
0
 private void Init()
 {
     for (var i = suitLength - 1; i >= 0; i--)
     {
         ClubsSource.Add(new CheckableCardModel((RangeCardRank)i, RangeCardSuit.Clubs));
         DiamondsSource.Add(new CheckableCardModel((RangeCardRank)i, RangeCardSuit.Diamonds));
         HeartsSource.Add(new CheckableCardModel((RangeCardRank)i, RangeCardSuit.Hearts));
         SpadesSource.Add(new CheckableCardModel((RangeCardRank)i, RangeCardSuit.Spades));
     }
 }