/// <summary>
        /// Creates and immediately runs a transition on the property passed in.
        /// </summary>
        /// <param name="target">The target.</param>
        /// <param name="strPropertyName">Name of the string property.</param>
        /// <param name="destinationValue">The destination value.</param>
        /// <param name="transitionMethod">The transition method.</param>
        public static void run(object target, string strPropertyName, object destinationValue, ITransitionType transitionMethod)
        {
            ZeroitPrideAnim t = new ZeroitPrideAnim(transitionMethod);

            t.add(target, strPropertyName, destinationValue);
            t.run();
        }
        /// <summary>
        /// Starts the animation.
        /// </summary>
        public void Activate()
        {
            int x       = TransitionTime;
            int flashes = No_Of_Flashes;

            switch (_Transtion)
            {
            case TransitionType.Accelaration:
                ZeroitPrideAnim accelerate = new ZeroitPrideAnim(new TransitionType_Acceleration(x));
                accelerate.add(_Target, _Position.ToString(), _destination);
                accelerate.run();
                break;

            case TransitionType.Bounce:
                ZeroitPrideAnim bounce = new ZeroitPrideAnim(new TransitionType_Bounce(x));
                bounce.add(_Target, _Position.ToString(), _destination);
                bounce.run();
                break;

            case TransitionType.CriticalDamping:
                ZeroitPrideAnim criticalDumping = new ZeroitPrideAnim(new TransitionType_CriticalDamping(x));
                criticalDumping.add(_Target, _Position.ToString(), _destination);
                criticalDumping.run();
                break;

            case TransitionType.Deceleration:
                ZeroitPrideAnim deceleration = new ZeroitPrideAnim(new TransitionType_Deceleration(x));
                deceleration.add(_Target, _Position.ToString(), _destination);
                deceleration.run();
                break;

            case TransitionType.EaseInEaseOut:
                ZeroitPrideAnim easeInEaseOut = new ZeroitPrideAnim(new TransitionType_EaseInEaseOut(x));
                easeInEaseOut.add(_Target, _Position.ToString(), _destination);
                easeInEaseOut.run();
                break;

            case TransitionType.Flash:
                ZeroitPrideAnim flash = new ZeroitPrideAnim(new TransitionType_Flash(flashes, x));
                flash.add(_Target, _Position.ToString(), _destination);
                flash.run();
                break;

            case TransitionType.Linear:
                ZeroitPrideAnim linear = new ZeroitPrideAnim(new TransitionType_Linear(x));
                linear.add(_Target, _Position.ToString(), _destination);
                linear.run();
                break;

            case TransitionType.ThrowAndCatch:
                ZeroitPrideAnim throwAndCatch = new ZeroitPrideAnim(new TransitionType_ThrowAndCatch(x));
                throwAndCatch.add(_Target, _Position.ToString(), _destination);
                throwAndCatch.run();
                break;

            case TransitionType.Zeroit:
                ZeroitPrideAnim zeroit = new ZeroitPrideAnim(new TransitionType_Zeroit(x));
                zeroit.add(_Target, _Position.ToString(), _destination);
                zeroit.run();
                break;

            case TransitionType.LinearTween:
                ZeroitPrideAnim lintween = new ZeroitPrideAnim(new TransitionType_LinearTween(x, _d, _c, _b));
                lintween.add(_Target, _Position.ToString(), _destination);
                lintween.run();
                break;

            case TransitionType.EaseInQuad:
                ZeroitPrideAnim easeInQuad = new ZeroitPrideAnim(new TransitionType_LinearTween(x, _d, _c, _b));
                easeInQuad.add(_Target, _Position.ToString(), _destination);
                easeInQuad.run();
                break;

            default:
                break;
            }
        }