public void undo() { _inkCollector.AddArrow(_myArrow); foreach (MyArrow ma in _inkCollector.Sketch.MyArrows) { if (ma.IsDeleted == false && ma.PreMyButton == _myArrow.PreMyButton) { _inkCollector.RemoveArrow(ma); } } }
public void execute() { _inkCollector.AddArrow(_myArrow); }
public void execute() { _inkCollector.RemoveArrow(_myArrowOld); _inkCollector.AddArrow(_myArrowNew); }