20 references to InvalidPoint
System.Windows.Forms.Design (20)
System\Windows\Forms\Design\ControlDesigner.cs (5)
46private Point _mouseDragLast = InvalidPoint; // the last position of the mouse during a drag. 1301if (BehaviorService is null && _mouseDragLast != InvalidPoint) 1323_mouseDragLast = InvalidPoint; 1384if (_mouseDragLast == InvalidPoint || 1443_mouseDragLast = InvalidPoint;
System\Windows\Forms\Design\ParentControlDesigner.cs (5)
22private Point _mouseDragBase = InvalidPoint; // the base point of the drag 681OnMouseDragEnd(_mouseDragBase == InvalidPoint); 1760if (_mouseDragBase == InvalidPoint) 1774_mouseDragBase = InvalidPoint; 1912if (GetOleDragHandler().Dragging || _mouseDragBase == InvalidPoint)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (10)
21private Point _droppedCellPosition = InvalidPoint; // used to insert new children 574if (oldPosition != InvalidPoint) 1053return InvalidPoint; 1239if (_droppedCellPosition == InvalidPoint) 1244Debug.Assert(fullTable || (_droppedCellPosition != InvalidPoint), "Why is neither fullTable or droppedCellPosition set?"); 1248_droppedCellPosition = InvalidPoint; 1375_droppedCellPosition = InvalidPoint; 1544_droppedCellPosition = InvalidPoint; 1555if (_droppedCellPosition == InvalidPoint) 1566if (_droppedCellPosition == InvalidPoint)