예제 #1
0
 ///<summary>Raises the SettingsLoaded event.</summary>
 ///<param name="e">An SettingsFileLoadedEventArgs object that provides the event data.</param>
 void OnSettingsLoaded(SettingsFileLoadedEventArgs e)
 {
     if (SettingsLoaded != null)
     {
         SettingsLoaded(this, e);
     }
 }
 private void Persister_SettingsLoaded(object sender, SettingsFileLoadedEventArgs e)
 {
     // Don't notify when applying global settings at launch
     if (string.IsNullOrEmpty(e.OldPath) && e.NewPath == locator.UserSettingsFile)
         return;
     notifier.ShowNotification("Rebracer Settings Loaded", "Applied " + LocationDisplayName);
 }
 private void Persister_SettingsLoaded(object sender, SettingsFileLoadedEventArgs e)
 {
     // Don't notify when applying global settings at launch
     if (string.IsNullOrEmpty(e.OldPath) && e.NewPath == locator.UserSettingsFile)
     {
         return;
     }
     notifier.ShowNotification("Rebracer Settings Loaded", "Applied " + LocationDisplayName);
 }
예제 #4
0
 ///<summary>Raises the SettingsLoaded event.</summary>
 ///<param name="e">An SettingsFileLoadedEventArgs object that provides the event data.</param>
 void OnSettingsLoaded(SettingsFileLoadedEventArgs e)
 {
     if (SettingsLoaded != null)
         SettingsLoaded(this, e);
 }