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