//Button to redirect user to Slideshow Window. private void BtnSlideShow_Click(object sender, RoutedEventArgs e) { var pictureSlideShow = new PictureSlideShow(); this.Close(); pictureSlideShow.Show(); }