Exemplo n.º 1
0
 public void OnEditModeActivated(DrawableLine source, LineDragEventArgs e)
 {
     if (e.Direction is LineResizeGrip.DragDirection.Start)
     {
         LineUtilities.ChangeDirection(PreviewLine.Line);
     }
     PreviewLine.Show();
 }
Exemplo n.º 2
0
 private void OnLineDrag(DrawableLine source, LineDragEventArgs e)
 {
     _grid.MouseMove      += e.ResizeGrip.OnMouseMove;
     e.ResizeGrip.MouseUp += _previewLineManager.OnEditModeDeactivated;
 }
 private void OnEditLine(object line, LineDragEventArgs e)
 {
     _isEditing = true;
     e.ResizeGrip.MouseLeftButtonUp += OnEditLineReleased;
 }