8 references to ShouldSnap
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (1)
293if (SnapLine.ShouldSnap(snapLine, targetSnapLine))
System.Windows.Forms.Design.Tests (7)
System\Windows\Forms\Design\Behavior\SnapLineTests.cs (7)
125Assert.False(SnapLine.ShouldSnap(snapLine1, snapLine2)); 134Assert.True(SnapLine.ShouldSnap(snapLine1, snapLine2)); 143Assert.False(SnapLine.ShouldSnap(snapLine1, snapLine2)); 179Assert.Equal(expected, SnapLine.ShouldSnap(snapLine1, snapLine2)); 209Assert.Equal(expected, SnapLine.ShouldSnap(snapLine1, snapLine2)); 218Assert.True(SnapLine.ShouldSnap(snapLine1, snapLine2)); 227Assert.False(SnapLine.ShouldSnap(snapLine1, snapLine2));