示例#1
0
 protected virtual void OnSettingsUpdated(SettingsEventArgs e)
 {
     if (SettingsUpdated != null)
     {
         SettingsUpdated(this, e);
     }
 }
示例#2
0
        private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            Settings.SaveSettings();
            SettingsEventArgs sea = new SettingsEventArgs
            {
                NewSettings = Settings
            };

            OnSettingsUpdated(sea);
        }
示例#3
0
 private void SettingsWindow_SettingsUpdated(object sender, SettingsEventArgs e)
 {
     ReloadSettings();
     PopulateRows();
 }