예제 #1
0
 public override void OnApplicationStopped(OnApplicationStoppedEventArgs args)
 {
     // Add code to be executed when Playnite is shutting down.
     //needs to be sync or won't speak out full text before quiting
     DoSpeak(Settings.Settings.SpeakApplicationStoppedText, Settings.Settings.SpeakApplicationStopped, false);
     try
     {
         Speak.SpeakAsyncCancelAll();
         Speak.Dispose();
     }
     catch (Exception E)
     {
         logger.Error(E, "OnApplicationStopped");
         PlayniteApi.Dialogs.ShowErrorMessage(E.ToString(), Constants.AppName);
     }
 }
 public override void OnApplicationStopped(OnApplicationStoppedEventArgs args)
 {
     // Add code to be executed when Playnite is shutting down.
 }
 // Add code to be executed when Playnite is shutting down.
 public override void OnApplicationStopped(OnApplicationStoppedEventArgs args)
 {
 }
예제 #4
0
 /// <summary>
 /// Called when appliaction is stutting down.
 /// </summary>
 public virtual void OnApplicationStopped(OnApplicationStoppedEventArgs args)
 {
 }