19 references to INVALID_VALUE
System.Windows.Forms.Design (19)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (19)
272
int smallestDistance =
INVALID_VALUE
;
283
distances[i] =
INVALID_VALUE
;
288
int smallestDelta =
INVALID_VALUE
; // some large #
757
if (snapLineIndex ==
INVALID_VALUE
)
778
distanceValue =
INVALID_VALUE
;
779
int smallestIndex =
INVALID_VALUE
;
795
distances[i] =
INVALID_VALUE
;
808
distances[smallestIndex] =
INVALID_VALUE
;
944
line = new Line(snapLine.Offset, Math.Min(dragBounds.Top + (_snapPointY !=
INVALID_VALUE
? _snapPointY : 0), bounds.Top),
945
snapLine.Offset, Math.Max(dragBounds.Bottom + (_snapPointY !=
INVALID_VALUE
? _snapPointY : 0), bounds.Bottom))
954
line = new Line(Math.Min(dragBounds.Left + (_snapPointX !=
INVALID_VALUE
? _snapPointX : 0), bounds.Left), snapLine.Offset,
955
Math.Max(dragBounds.Right + (_snapPointX !=
INVALID_VALUE
? _snapPointX : 0), bounds.Right), snapLine.Offset)
1118
int smallestDistanceHorz =
INVALID_VALUE
;
1126
_snapPointX = (Math.Abs(smallestDistanceVert) <= SnapDistance) ? -smallestDistanceVert :
INVALID_VALUE
;
1127
_snapPointY = (Math.Abs(smallestDistanceHorz) <= SnapDistance) ? -smallestDistanceHorz :
INVALID_VALUE
;
1131
if (_snapPointX !=
INVALID_VALUE
)
1137
if (_snapPointY !=
INVALID_VALUE
)
1143
Point snapPoint = new(_snapPointX !=
INVALID_VALUE
? _snapPointX : 0, _snapPointY !=
INVALID_VALUE
? _snapPointY : 0);