/************ * Animate! */ private void playIt(int start = 0) { AnimationWindow animationWindow = new AnimationWindow(); animationWindow.Closed += animationWindow_Closed; animationWindow.Show(); animationWindow.animate(slides, start, album.Soundtrack); }
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); } }