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