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 499_mouseDropLocation = InvalidPoint; 1090_mouseDropLocation = InvalidPoint; 1175if (_mouseDragStart != InvalidPoint) 1178if (_mouseDragEnd != InvalidPoint) 1181_mouseDragEnd = InvalidPoint; 1184_mouseDragStart = InvalidPoint; 1242_mouseDropLocation = InvalidPoint; 1285if (_mouseDragStart != InvalidPoint) 1287if (_mouseDragEnd != InvalidPoint) 1315if (_mouseDragStart != InvalidPoint && e.Button == MouseButtons.Left) 1320if (_mouseDragEnd != InvalidPoint) 1331_mouseDragEnd = InvalidPoint; 1353_mouseDragStart = InvalidPoint; 1719if (_mouseDropLocation == InvalidPoint) 1743if (_mouseDropLocation != InvalidPoint) 1771if (_mouseDropLocation != InvalidPoint) 1892private Point _mouseDragLast = InvalidPoint; // the last position of the mouse during a drag. 2078_mouseDragLast = InvalidPoint; 2099_mouseDragLast = InvalidPoint; 2164if (_mouseDragLast == InvalidPoint) 2177if (_mouseDragLast == InvalidPoint || 2206_mouseDragLast = InvalidPoint; 2383else if (_mouseDragLast != InvalidPoint)