예제 #1
0
        /************
         *  Animate!
         */

        private void playIt(int start = 0)
        {
            AnimationWindow animationWindow = new AnimationWindow();

            animationWindow.Closed += animationWindow_Closed;
            animationWindow.Show();
            animationWindow.animate(slides, start, album.Soundtrack);
        }
예제 #2
0
 private void playSlideClick(object sender, RoutedEventArgs e)
 {
     if (album.Valid())
     {
         Slides oneSlide = new Slides();
         oneSlide.Add(currentSlide);
         AnimationWindow animationWindow = new AnimationWindow();
         animationWindow.Show();
         animationWindow.animate(oneSlide);
     }
 }