public void StopDragging()
 {
     dragging = false;
     connectObject.ShowAllHandles();
 }