public void ClickedOnCard(CardControl card)
 {
     ContextModel.ReplaceCard(_targetCard.ContextModel, card.ContextModel);
     _targetCard.CardBorder.BorderBrush = Brushes.Gray;
     this.Visibility = Visibility.Collapsed;
 }
 internal void PickCardFor(CardControl cardControl)
 {
     this.Visibility = Visibility.Visible;
     _targetCard     = cardControl;
     _targetCard.CardBorder.BorderBrush = Brushes.Black;
 }
Example #3
0
 public void ClickedOnCard(CardControl card)
 {
     TheCardPicker.PickCardFor(card);
 }