30 references to MousePosition
System.Windows.Forms (23)
winforms\Managed\System\WinForms\ComboBox.cs (1)
1985
Point p =
MousePosition
;
winforms\Managed\System\WinForms\CommonDialog.cs (1)
179
Rectangle screen = Screen.GetWorkingArea(Control.
MousePosition
);
winforms\Managed\System\WinForms\Control.cs (2)
15411
OnHelpRequested(new HelpEventArgs(Control.
MousePosition
));
16106
return this.ClientRectangle.Contains(this.PointToClient(Control.
MousePosition
));
winforms\Managed\System\WinForms\DataGridView.cs (4)
2767
Point ptMouse = PointToClient(Control.
MousePosition
);
2780
Point ptMouse = PointToClient(Control.
MousePosition
);
2791
Point ptMouse = PointToClient(Control.
MousePosition
);
4859
Point mouseCoord = System.Windows.Forms.Control.
MousePosition
;
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
2032
bool newMouseInDropDownButtonBounds = dropDownButtonRect.Contains(this.DataGridView.PointToClient(Control.
MousePosition
));
winforms\Managed\System\WinForms\DataGridViewMethods.cs (6)
6056
Point ptMouse = PointToClient(Control.
MousePosition
);
9788
Point ptMouse = PointToClient(Control.
MousePosition
);
16581
bool mouseOverToolTipControl = this.toolTipControl.Activated && this.ClientRectangle.Contains(PointToClient(Control.
MousePosition
));
26115
Point ptMouse = PointToClient(Control.
MousePosition
);
29192
Point ptMouse = PointToClient(Control.
MousePosition
);
29755
Point ptMouse = PointToClient(Control.
MousePosition
);
winforms\Managed\System\WinForms\Form.cs (2)
4034
desktop = Screen.FromPoint(Control.
MousePosition
);
4503
desktop = Screen.FromPoint(Control.
MousePosition
);
winforms\Managed\System\WinForms\RichTextBox.cs (4)
3910
Control.
MousePosition
.X,
3911
Control.
MousePosition
.Y,
3999
Control.
MousePosition
.X,
4000
Control.
MousePosition
.Y,
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
3991
return ((IKeyboardToolTip)this).GetNativeScreenRectangle().Contains(Control.
MousePosition
);
winforms\Managed\System\WinForms\TreeView.cs (1)
3114
menu.ShowInternal(this, PointToClient(
MousePosition
),/*keyboardActivated*/false);
System.Workflow.ComponentModel (7)
AuthoringOM\Design\DesignerWidgets.cs (1)
1904
Point mousePosition = PointToClient(Control.
MousePosition
);
AuthoringOM\Design\MessageFilters\DynamicActionMessageFilter.cs (1)
391
UpdateTransparency(parentView.PointToClient(Control.
MousePosition
));
AuthoringOM\Design\MessageFilters\FreeFormDragDropManager.cs (2)
129
Point clientPoint = parentView.PointToClient(Control.
MousePosition
);
130
Point logicalPoint = parentView.ScreenPointToLogical(Control.
MousePosition
);
AuthoringOM\Design\WorkflowView.cs (3)
1159
Point clientPoint = PointToClient(Control.
MousePosition
);
1176
Point clientPoint = PointToClient(Control.
MousePosition
);
1419
Point location = (LParam != -1) ? new Point(LParam) : Control.
MousePosition
;