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)
127Assert.False(SnapLine.ShouldSnap(snapLine1, snapLine2)); 136Assert.True(SnapLine.ShouldSnap(snapLine1, snapLine2)); 145Assert.False(SnapLine.ShouldSnap(snapLine1, snapLine2)); 181Assert.Equal(expected, SnapLine.ShouldSnap(snapLine1, snapLine2)); 211Assert.Equal(expected, SnapLine.ShouldSnap(snapLine1, snapLine2)); 220Assert.True(SnapLine.ShouldSnap(snapLine1, snapLine2)); 229Assert.False(SnapLine.ShouldSnap(snapLine1, snapLine2));