private void SettingsFileChanged(object sender, FileSystemEventArgs e) { if (Saving) { return; } var handler = FileModified; if (handler != null) { var args = new FileModifiedEventArgs(this); handler(null, args); if (args.ReloadFile) { Container.ReloadSettingsProfile(this); } } }
private void SettingsFileChanged(object sender, FileSystemEventArgs e) { if (Saving) return; var handler = FileModified; if (handler != null) { var args = new FileModifiedEventArgs(this); handler(null, args); if (args.ReloadFile) { Group.ReloadSettingsProfile(this); } } }