Пример #1
0
 public void Undo(EditorController ec)
 {
     ec.DoAddLine(sx, sy);
     foreach (var c in commands)
     {
         c.Undo(ec);
     }
 }
Пример #2
0
 public void Redo(EditorController ec)
 {
     ec.DoAddLine(sx, sy);
 }