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