Ejemplo n.º 1
0
        protected virtual void OnAnimating(AnimationEventArgs e)
        {
            AnimationEventHandler animationEventHandler = (AnimationEventHandler)this.Events[AnimationEngine.AnimatingEventKey];

            if (animationEventHandler == null)
            {
                return;
            }
            animationEventHandler((object)this, e);
        }
Ejemplo n.º 2
0
        protected virtual void OnAnimating(AnimationEventArgs e)
        {
            AnimationEventHandler handler1 =
                (AnimationEventHandler)base.Events[AnimationEngine.AnimatingEventKey];

            if (handler1 != null)
            {
                handler1(this, e);
            }
        }