Ejemplo n.º 1
0
        public static WinAnimation Start(Window window, Area target, int duration, Curve curve)
        {
            var animation = new WinAnimation(window, target, duration, curve);

            animation.Start();
            return(animation);
        }
Ejemplo n.º 2
0
        public static WinAnimation Start(Window window, Area start, Area end, int duration, Curve curve)
        {
            var animation = new WinAnimation(window, end, duration, curve);

            animation.StartArea = start;
            animation.Start();
            return(animation);
        }