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