public override void Undo()
 {
     if (_oldEffect.IsEmpty)
     {
         _layerControl.RemoveEffect(_oldEffect.Type);
         ControlService.RefreshPropertyGrid(_layerControl.Layer);
         _layerControl.Invalidate();
     }
     else
     {
         _layerControl.AddEffect(_oldEffect);
     }
 }
Пример #2
0
 public override void Undo()
 {
     _layerControl.AddEffect(_removedEffect);
     ControlService.RefreshPropertyGrid(_layerControl.Layer);
 }