示例#1
0
        protected AnimationItem CreateAnimation(string title)
        {
            var animation = new AnimationItem(title);

            _animations.Add(animation);

            return(animation);
        }
示例#2
0
 public AnimationsViewModel()
 {
     RotateAnimation     = CreateAnimation("Rotate Animation");
     ColorAnimation      = CreateAnimation("Color Animation");
     PointAnimation      = CreateAnimation("Point Animation");
     DimensionsAnimation = CreateAnimation("Dimensions Animation");
     StoryboardAnimation = CreateAnimation("Storyboard Animation");
     PointFrameAnimation = CreateAnimation("Point Frame Animation");
     ScannerAnimation    = CreateAnimation("Scanner Animation");
     PulseAnimation      = CreateAnimation("Pulse Animation");
     IndicatorAnimation  = CreateAnimation("Indicator Animation");
 }