private void FullScreenModeChanged(object sender, bool isFullScreen) { if (SupportFullScreen) { this.IsFullScreen = isFullScreen; if (isFullScreen) { this._showInfoLastValue = this.ShowInfo; this.ShowInfo = false; IsRestoreScreenButtonVisible = true; if (HasMouseConnected) { MouseMovedTimer.Start(); } } else { this.ShowInfo = this._showInfoLastValue; IsRestoreScreenButtonVisible = false; } } if (SupportSlideShow) { if (!isFullScreen) { SlideShowTimer.Stop(); ZoomMode = ZoomMode.Enabled; } } }
private void MouseMoved(MouseDevice sender, MouseEventArgs args) { if (IsFullScreen) { IsRestoreScreenButtonVisible = true; MouseMovedTimer.Start(); } }