private void fullscrnVidBtn_Click(object sender, RoutedEventArgs e)
        {
            myMediaElement.Pause();
            double        timeIn   = myMediaElement.Position.TotalMilliseconds;
            double        maxTime  = DurationSlider.Maximum;
            double        volumeIn = volumeSlider.Value;
            double        speedIn  = speedRatioSlider.Value;
            FullscreenVid v        = new FullscreenVid(currentImg, isPlaying, timeIn, volumeIn, speedIn, maxTime, mediaOpened);

            v.Show();
            isPlaying = false;
        }
 private void setFullVid()
 {
     myMediaElement.Pause();
     double timeIn = myMediaElement.Position.TotalMilliseconds;
     double maxTime = DurationSlider.Maximum;
     double volumeIn = volumeSlider.Value;
     double speedIn = speedRatioSlider.Value;
     fVid = new FullscreenVid(vidFiles, currentVid, isPlaying, timeIn, volumeIn, speedIn, maxTime, mediaOpened);
     fVid.Show();
     fullVid = true;
     isPlaying = false;
 }
 void pressVideoFullsrnButton(object sender, object e)
 {
     myMediaElement.Pause();
     double timeIn = myMediaElement.Position.TotalMilliseconds;
     double maxTime = DurationSlider.Maximum;
     double volumeIn = volumeSlider.Value;
     double speedIn = speedRatioSlider.Value;
     FullscreenVid v = new FullscreenVid(vidFiles, currentVid, isPlaying, timeIn, volumeIn, speedIn, maxTime, mediaOpened);
     v.Show();
     isPlaying = false;
     buttonTimer.Stop();
     this.Cursor = System.Windows.Input.Cursors.Hand;
 }
 private void fullscrnVidBtn_Click(object sender, RoutedEventArgs e)
 {
     myMediaElement.Pause();
     double timeIn = myMediaElement.Position.TotalMilliseconds;
     double maxTime = DurationSlider.Maximum;
     double volumeIn = volumeSlider.Value;
     double speedIn = speedRatioSlider.Value;
     FullscreenVid v = new FullscreenVid(currentImg, isPlaying, timeIn, volumeIn, speedIn, maxTime, mediaOpened);
     v.Show();
     isPlaying = false;
 }