private void OnMenuCloseButtonClick(IWindow window) { ScreenShadeInstance.Visible = false; MenuWindowInstance.Visible = false; if (!TopStatusBarInstance.WasPausedWhenMenuClicked) { UnpauseThisScreen(); } TopStatusBarInstance.PauseForMenu(IsPaused); }
private void OnMenuButtonClick(IWindow window) { MenuWindowInstance.RefreshOptions(); MenuWindowInstance.Visible = true; ScreenShadeInstance.Visible = true; if (!IsPaused) { PauseThisScreen(); } TopStatusBarInstance.PauseForMenu(IsPaused); }