26 references to InvalidPoint
System.Windows.Forms.Design (26)
System\Windows\Forms\Design\ComponentTray.cs (26)
52private Point _mouseDragStart = InvalidPoint; // the starting location of a drag 53private Point _mouseDragEnd = InvalidPoint; // the ending location of a drag 56private Point _mouseDropLocation = InvalidPoint; // where the tool was dropped 505_mouseDropLocation = InvalidPoint; 1105_mouseDropLocation = InvalidPoint; 1190if (_mouseDragStart != InvalidPoint) 1193if (_mouseDragEnd != InvalidPoint) 1196_mouseDragEnd = InvalidPoint; 1199_mouseDragStart = InvalidPoint; 1257_mouseDropLocation = InvalidPoint; 1300if (_mouseDragStart != InvalidPoint) 1302if (_mouseDragEnd != InvalidPoint) 1330if (_mouseDragStart != InvalidPoint && e.Button == MouseButtons.Left) 1335if (_mouseDragEnd != InvalidPoint) 1346_mouseDragEnd = InvalidPoint; 1368_mouseDragStart = InvalidPoint; 1734if (_mouseDropLocation == InvalidPoint) 1758if (_mouseDropLocation != InvalidPoint) 1786if (_mouseDropLocation != InvalidPoint) 1907private Point _mouseDragLast = InvalidPoint; // the last position of the mouse during a drag. 2096_mouseDragLast = InvalidPoint; 2117_mouseDragLast = InvalidPoint; 2182if (_mouseDragLast == InvalidPoint) 2195if (_mouseDragLast == InvalidPoint || 2224_mouseDragLast = InvalidPoint; 2401else if (_mouseDragLast != InvalidPoint)