protected void Start(Control control, TransitionType transitionType, int duration, AnimationAction actionHandler, AnimationFinishedEvaluator evaluatorHandler) { this.targetControl = control; this.transitionType = transitionType; this.actionHandler = actionHandler; this.evaluatorHandler = evaluatorHandler; this.counter = 0; this.startTime = 0; this.targetTime = duration; this.timer = DelayedCall.Start(new DelayedCall.Callback(this.DoAnimation), duration); }
protected void Start(Control control, TransitionType transitionType, int duration, AnimationAction actionHandler, AnimationFinishedEvaluator evaluatorHandler) { this.targetControl = control; this.transitionType = transitionType; this.actionHandler = actionHandler; this.evaluatorHandler = evaluatorHandler; this.counter = 0; this.startTime = 0; this.targetTime = duration; timer = DelayedCall.Start(DoAnimation, duration); }
/// <summary> /// Start animation. /// </summary> /// <param name="control">Control to use.</param> /// <param name="transitionType">TransitionType instance.</param> /// <param name="duration">Duration time in milliseconds.</param> /// <param name="actionHandler">AnimationAction delegate.</param> /// <param name="evaluatorHandler">AnimationFinishedEvaluator delegate.</param> protected void Start(Control control, TransitionType transitionType, int duration, AnimationAction actionHandler, AnimationFinishedEvaluator evaluatorHandler) { this._targetControl = control; this.TransitionType = transitionType; this._actionHandler = actionHandler; this._evaluatorHandler = evaluatorHandler; this.Counter = 0; this.StartTime = 0; this.TargetTime = duration; this._timer = DelayedCall.Start(this.DoAnimation, duration); }
protected void Start(Control control, TransitionType transitionTypee, int duration, AnimationAction actionHandlerr, AnimationFinishedEvaluator evaluatorHandlerr) { targetControl = control; transitionType = transitionTypee; actionHandler = actionHandlerr; evaluatorHandler = evaluatorHandlerr; counter = 0; startTime = 0; targetTime = duration; timer = DelayedCall.Start(DoAnimation, duration); }