protected virtual void OnSettingsUpdated(SettingsEventArgs e) { if (SettingsUpdated != null) { SettingsUpdated(this, e); } }
private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { Settings.SaveSettings(); SettingsEventArgs sea = new SettingsEventArgs { NewSettings = Settings }; OnSettingsUpdated(sea); }
private void SettingsWindow_SettingsUpdated(object sender, SettingsEventArgs e) { ReloadSettings(); PopulateRows(); }