/// <summary> /// Refreshes settings. Called when the game process is starting. /// </summary> private void SharedUILogic_GameProcessStarting() { UserINISettings.Instance.ReloadSettings(); try { optionsWindow.RefreshSettings(); } catch (Exception ex) { Logger.Log("Refreshing settings failed! Exception message: " + ex.Message); // We don't want to show the dialog when starting a game //XNAMessageBox.Show(WindowManager, "Saving settings failed", // "Saving settings failed! Error message: " + ex.Message); } }