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

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