protected virtual void OnAnimationStarted(AnimationStatusEventArgs e)
        {
            if (e.Object != null)
            {
                int num = (int)e.Object.OnAnimationStarted(this);
            }
            AnimationStartedEventHandler animationStarted = this.AnimationStarted;

            if (animationStarted == null)
            {
                return;
            }
            animationStarted((object)this, e);
        }
示例#2
0
 public static void RemoveAnimationStartedHandler(DependencyObject d, AnimationStartedEventHandler handler)
 {
     (d as UIElement)?.RemoveHandler(AnimationStartedEvent, handler);
 }