50 references to PointToClient
System.Windows.Forms (35)
winforms\Managed\System\WinForms\Control.cs (2)
13552p = PointToClient(p); 16106return this.ClientRectangle.Contains(this.PointToClient(Control.MousePosition));
winforms\Managed\System\WinForms\DataGrid.cs (1)
9184Point client = DataGrid.PointToClient(new Point(x, y));
winforms\Managed\System\WinForms\DataGridView.cs (4)
2767Point ptMouse = PointToClient(Control.MousePosition); 2780Point ptMouse = PointToClient(Control.MousePosition); 2791Point ptMouse = PointToClient(Control.MousePosition); 4860activate &= this.ClientRectangle.Contains(PointToClient(mouseCoord));
winforms\Managed\System\WinForms\DataGridViewAccessibleObject.cs (1)
196Point pt = this.owner.PointToClient(new Point(x, y));
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\LinkLabel.cs (1)
2677Point p = Owner.PointToClient(new Point(x, y));
winforms\Managed\System\WinForms\MenuStrip.cs (1)
271Point pt = PointToClient(WindowsFormsUtils.LastCursorPoint);
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
5439Point clientPoint = _owningPropertyGrid.PointToClient(new Point((int)x, (int)y));
winforms\Managed\System\WinForms\StatusStrip.cs (2)
562if (sizeGripBounds.Contains(PointToClient(new Point(x, y)))) { 621if (ClientRectangle.Contains(PointToClient(new Point(x, y)))) {
winforms\Managed\System\WinForms\ToolStrip.cs (6)
4628PointToClient(cursorLocation), 4719Point pt = PointToClient(WindowsFormsUtils.LastCursorPoint); 4838Point clientHit = owner.PointToClient(new Point(x,y)); 5364this.ShowItemDropPoint(owner.PointToClient(new Point(e.X, e.Y))); 5380OnDropItem(item, owner.PointToClient(new Point(e.X, e.Y))); 5388if (this.ShowItemDropPoint(owner.PointToClient(new Point(e.X, e.Y)))) {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (2)
1225parentClientPoint = ParentInternal.PointToClient(((ToolStripDropDownItem)ownerItem).DropDownLocation); 1983bounds.Location = toolStrip.PointToClient(bounds.Location);
winforms\Managed\System\WinForms\ToolStripDropTargetManager.cs (1)
88return owner.GetItemAt(owner.PointToClient(new Point(x,y)));
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
3863toPoint = parent.PointToClient(fromPoint);
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
631toolStripPanel.DragBounds.Contains(toolStripPanel.PointToClient(screenLocation))) {
winforms\Managed\System\WinForms\ToolStripPanel.cs (2)
974Point clientLocation = PointToClient(screenLocation); 1003Point currentCursorLoc = PointToClient(WindowsFormsUtils.LastCursorPoint);
winforms\Managed\System\WinForms\ToolStripRenderEventArgs.cs (1)
113Rectangle itemBounds = new Rectangle(toolStrip.PointToClient(ownerItem.TranslatePoint(Point.Empty, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords)), ownerItem.Size);
winforms\Managed\System\WinForms\TreeView.cs (1)
3114menu.ShowInternal(this, PointToClient(MousePosition),/*keyboardActivated*/false);
System.Workflow.ComponentModel (15)
AuthoringOM\Design\DesignerWidgets.cs (1)
1904Point mousePosition = PointToClient(Control.MousePosition);
AuthoringOM\Design\MessageFilters\AutoScrollExpandMessageFilter.cs (3)
42Point clientPoint = ParentView.PointToClient(new Point(eventArgs.X, eventArgs.Y)); 259if (parentView.IsClientPointInActiveLayout(parentView.PointToClient(new Point(eventArgs.X, eventArgs.Y)))) 270if (parentView.IsClientPointInActiveLayout(parentView.PointToClient(new Point(eventArgs.X, eventArgs.Y))))
AuthoringOM\Design\MessageFilters\DragDropManager.cs (3)
265Point clientPoint = parentView.PointToClient(new Point(eventArgs.X, eventArgs.Y)); 327Point clientPoint = parentView.PointToClient(new Point(eventArgs.X, eventArgs.Y)); 418Point clientPoint = parentView.PointToClient(new Point(eventArgs.X, eventArgs.Y));
AuthoringOM\Design\MessageFilters\DynamicActionMessageFilter.cs (1)
391UpdateTransparency(parentView.PointToClient(Control.MousePosition));
AuthoringOM\Design\MessageFilters\FreeFormDragDropManager.cs (3)
38Point clientPoint = parentView.PointToClient(new Point(eventArgs.X, eventArgs.Y)); 63Point clientPoint = parentView.PointToClient(new Point(eventArgs.X, eventArgs.Y)); 129Point clientPoint = parentView.PointToClient(Control.MousePosition);
AuthoringOM\Design\WorkflowView.cs (4)
1159Point clientPoint = PointToClient(Control.MousePosition); 1176Point clientPoint = PointToClient(Control.MousePosition); 2037return ClientPointToLogical(PointToClient(screenPoint)); 2183clientPoint = this.workflowView.PointToClient(new Point(((DragEventArgs)e).X, ((DragEventArgs)e).Y));