Пример #1
0
        private static void OnMetadataKeyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            FieldPresenter control = (FieldPresenter)d;

            control.Reload(control.Model);
        }
Пример #2
0
        private static void OnModelChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            FieldPresenter control = (FieldPresenter)d;

            control.OnModelChanged((Movie)e.OldValue, (Movie)e.NewValue);
        }