예제 #1
0
        /* it applies the preset to every image in the change object */
        public override void SaveChange()
        {
            for (int i = _startImageNum; i <= _lastImageNum; i++)
            {
                IAdapterProxy current = _modifiedImages[i];

                current.ApplyPreset(this);
            }
        }
예제 #2
0
 public void ApplyPreset(PresetChange preset)
 {
     if (_adapter == null)
     {
         GetAdapter().ApplyPreset(preset);
     }
     else
     {
         _adapter.ApplyPreset(preset);
     }
 }