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; 1099_mouseDropLocation = InvalidPoint; 1184if (_mouseDragStart != InvalidPoint) 1187if (_mouseDragEnd != InvalidPoint) 1190_mouseDragEnd = InvalidPoint; 1193_mouseDragStart = InvalidPoint; 1251_mouseDropLocation = InvalidPoint; 1294if (_mouseDragStart != InvalidPoint) 1296if (_mouseDragEnd != InvalidPoint) 1324if (_mouseDragStart != InvalidPoint && e.Button == MouseButtons.Left) 1329if (_mouseDragEnd != InvalidPoint) 1340_mouseDragEnd = InvalidPoint; 1362_mouseDragStart = InvalidPoint; 1728if (_mouseDropLocation == InvalidPoint) 1752if (_mouseDropLocation != InvalidPoint) 1780if (_mouseDropLocation != InvalidPoint) 1901private Point _mouseDragLast = InvalidPoint; // the last position of the mouse during a drag. 2090_mouseDragLast = InvalidPoint; 2111_mouseDragLast = InvalidPoint; 2176if (_mouseDragLast == InvalidPoint) 2189if (_mouseDragLast == InvalidPoint || 2218_mouseDragLast = InvalidPoint; 2395else if (_mouseDragLast != InvalidPoint)