Пример #1
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;
 }