/// <summary> /// Method to enter the full screen mode. /// Really simple, if the user clicks on the image, the full screen /// window closes and the main window shows up. /// /// Could be improved passing current zoom. /// </summary> /// <param name="sender">Icon/Inage/Button</param> /// <param name="e">Mouse Event Args</param> private void OnMouseDownFullScreen(object sender, MouseButtonEventArgs e) { if (isMedia) { mediaPlayer.Stop(); var fsw = new FullScreen(file); fsw.Show(); } else { var fsw = new FullScreenImage(file); fsw.Show(); } }