コード例 #1
0
 public LinkLineUndoJoin(IUndoHost host, UInt32 prev, UInt32 next, UInt32 deleted, Point pointOfDeleted)
     : base(host, prev)
 {
     _next    = next;
     _deleted = deleted;
     _point   = pointOfDeleted;
 }
コード例 #2
0
 public LinkLineUndoBreak(IUndoHost host, UInt32 node, UInt32 n1, UInt32 n2, Point p)
     : base(host, node)
 {
     _point = p;
     _node1 = n1;
     _node2 = n2;
 }
コード例 #3
0
 public LinkLineUndo(IUndoHost host, UInt32 nodeKey)
 {
     if (nodeKey == 0)
     {
         throw new MathException("Cannot create LinkLineUndo with objKey=0");
     }
     _nodeKey = nodeKey;
     _host    = host;
 }
コード例 #4
0
 public PositionUndo(IUndoHost host, UInt32 objKey, Point pos)
 {
     if (objKey == 0)
     {
         throw new MathException("Cannot create PositionUndo with objKey=0");
     }
     _host     = host;
     _location = pos;
     _ctrlKey  = objKey;
 }
コード例 #5
0
 public SizeUndo(IUndoHost host, UInt32 objKey, Size size)
 {
     _host    = host;
     _size    = size;
     _ctrlKey = objKey;
 }
コード例 #6
0
 public LinkLineUndoAdd(IUndoHost host, UInt32 node, Point p)
     : base(host, node)
 {
     _point = p;
 }
コード例 #7
0
 public LinkLineUndoDelete(IUndoHost host, UInt32 node)
     : base(host, node)
 {
 }
コード例 #8
0
 public LinkLineUndoReconnect(IUndoHost host, UInt32 node, UInt32 n1, UInt32 n2)
     : base(host, node)
 {
     _node1 = n1;
     _node2 = n2;
 }
コード例 #9
0
 public UndoActionGroupState(IUndoHost host, IMethodDiagram editor, BranchList actions)
 {
     _actions = (BranchList)actions.Clone();
     _host    = host;
     _editor  = editor;
 }
コード例 #10
0
 public UndoDelComponent(IUndoHost host, List <UInt32> idList, IDesignerHost designer)
 {
     _host     = host;
     _idList   = idList;
     _designer = designer;
 }