Exemple #1
0
        protected virtual void OnBeginRotate(object sender, BeginRotateEventArgs e)
        {
            BeginRotateEventHandler handler = (BeginRotateEventHandler)this.Events[BeginRotateEventKey];

            if (handler != null)
            {
                handler(sender, e);
            }
        }
Exemple #2
0
        protected virtual void OnBeginRotate(object sender, BeginRotateEventArgs e)
        {
            BeginRotateEventHandler rotateEventHandler = (BeginRotateEventHandler)this.Events[RadRotatorItem.BeginRotateEventKey];

            if (rotateEventHandler == null)
            {
                return;
            }
            rotateEventHandler(sender, e);
        }