2 references to OffsetToNearestSnapLocation
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (1)
678
return
OffsetToNearestSnapLocation
(targetControl, directionOffset);
System\Windows\Forms\Design\CommandSet.cs (1)
813
Point snappedOffset = dragManager.
OffsetToNearestSnapLocation
(primaryControl, new Point(moveOffsetX, moveOffsetY));