예제 #1
0
 public override void redo()
 {
     // remove the specified rulers from the list of the layer,
     // but do not delete it, also memorise its last position
     mRulerIndex.Clear();
     foreach (Layer.LayerItem obj in mRulers)
     {
         mRulerIndex.Add(mRulerLayer.removeRulerItem(obj as LayerRuler.RulerItem));
     }
 }
예제 #2
0
 public override void undo()
 {
     // remove the specified RulerItem from the list of the layer,
     // but do not delete it, also memorise its last position
     mRulerItemIndex = mRulerLayer.removeRulerItem(mRulerItem);
 }