Esempio n. 1
0
 private void OnClosing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     PokeManager.Settings.DisableChangesWhileLoading = true;
     PokeManager.Settings.IsMuted = newMuted;
     PokeManager.Settings.Volume  = newVolume;
     PokeManager.Settings.DisableChangesWhileLoading = false;
     PokeManager.SaveSettings();
 }
Esempio n. 2
0
 private void OnWindowClosing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     PokeManager.SaveSettings();
     PokeManager.RefreshUI();
 }