Exemple #1
0
 /// <summary>
 /// Fire PropertyChanged event
 /// </summary>
 public void NotifyPropertyChanged(CHANGE_CATEGORY category)
 {
     if (PropertyChanged != null && !IgnorePropertyChanges)
     {
         PropertyChanged(category);
     }
 }
Exemple #2
0
 /// <summary>
 /// Value of settings changed - saves the appropriate portion of settings into the registry
 /// </summary>
 /// <param name="category"></param>
 private void Instance_PropertyChanged(CHANGE_CATEGORY category)
 {
     if ((category & CHANGE_CATEGORY.FILTER) == CHANGE_CATEGORY.FILTER)
     {
         filterManager.SaveSettingsToStorage();
     }
     if ((category & CHANGE_CATEGORY.EDITOR) == CHANGE_CATEGORY.EDITOR)
     {
         editorManager.SaveSettingsToStorage();
     }
 }