Ejemplo 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();
 }
Ejemplo n.º 2
0
 private void OnWindowClosing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     PokeManager.SaveSettings();
     PokeManager.RefreshUI();
 }