public override void Undo() { if (_oldEffect.IsEmpty) { _layerControl.RemoveEffect(_oldEffect.Type); ControlService.RefreshPropertyGrid(_layerControl.Layer); _layerControl.Invalidate(); } else { _layerControl.AddEffect(_oldEffect); } }
public override void Undo() { _layerControl.AddEffect(_removedEffect); ControlService.RefreshPropertyGrid(_layerControl.Layer); }