2 references to FindSmallestValidDistance
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (2)
697
offset.X =
FindSmallestValidDistance
(_verticalSnapLines, _verticalDistances, minRange, maxRange, directionOffset.X);
716
offset.Y =
FindSmallestValidDistance
(_horizontalSnapLines, _horizontalDistances, minRange, maxRange, directionOffset.Y);