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