protected virtual void OnSettingsChanged(ChangedSetting change)
 {
     if (SettingsChanged != null)
     {
         SettingsChanged(this, change);
     }
 }
Beispiel #2
0
        public ColorsPageEventArgs(ChangedSetting setting, int newValue)
        {
            if (setting == ChangedSetting.None)
            {
                throw new ArgumentOutOfRangeException(nameof(setting));
            }

            this.Setting  = setting;
            this.NewValue = newValue;
        }
Beispiel #3
0
 public SettingsChangedEventArgs(ChangedSetting theChangedSetting, string strTheSettingName)
 {
     this.WhatChanged = theChangedSetting;
     this.SettingName = strTheSettingName;
 }