Пример #1
0
        private static void CardTypeValuePropertyChanged(BindableObject bindable, object oldValue, object newValue)
        {
            var thisItem = (DeckOfCardsXF <R>)bindable;

            thisItem.MainObject !.CardTypeValue = (EnumCardTypeList)newValue;
        }
Пример #2
0
        private static void WhichTypePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            var thisItem = (CardGraphicsWPF)sender;

            thisItem.MainObject !.WhichType = (EnumCardTypeList)e.NewValue;
        }
Пример #3
0
        private static void WhichTypePropertyChanged(BindableObject bindable, object oldValue, object newValue)
        {
            var thisItem = (CardGraphicsXF)bindable;

            thisItem.MainObject !.WhichType = (EnumCardTypeList)newValue;
        }
Пример #4
0
        private static void CardTypeValuePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            var thisItem = (DeckOfCardsWPF <R>)sender;

            thisItem.MainObject !.CardTypeValue = (EnumCardTypeList)e.NewValue;
        }