Clone() публичный Метод

public Clone ( ) : object
Результат object
 public TopologyDragControlMode(Controller controller, EventDB eventDB, SelectionMgr selectionMgr, CourseObj courseObject, PointF startDrag, PointF currentLocation)
 {
     this.controller = controller;
     this.eventDB = eventDB;
     this.selectionMgr = selectionMgr;
     this.courseObjectStart = courseObject;
     this.courseObjectDrag = (CourseObj)(courseObject.Clone());
     this.startDrag = startDrag;
     this.currentLocation = currentLocation;
     this.dropTargetHighlight = null;
 }
Пример #2
0
 public DragObjectMode(Controller controller, EventDB eventDB, SelectionMgr selectionMgr, CourseObj courseObject, PointF startDrag)
 {
     this.controller = controller;
     this.eventDB = eventDB;
     this.selectionMgr = selectionMgr;
     this.courseObjectStart = courseObject;
     this.courseObjectDrag = (CourseObj) (courseObject.Clone());
     this.startDrag = this.currentLocation = startDrag;
 }
Пример #3
0
 public DragHandleMode(Controller controller, CourseObj courseObject, PointF handleLocation, PointF startDrag)
 {
     this.controller = controller;
     this.courseObjectStart = courseObject;
     this.courseObjectDrag = (CourseObj) (courseObject.Clone());
     this.handleLocation = handleLocation;
     this.handleCursor = courseObject.GetHandleCursor(handleLocation);
     this.startDrag = this.currentLocation = startDrag;
 }