12 references to TranslatePoint
System.Windows.Forms (12)
winforms\Managed\System\WinForms\ToolStrip.cs (3)
3500
Point itemRelativePoint = item.
TranslatePoint
(new Point(mea.X, mea.Y), ToolStripPointType.ToolStripCoords, ToolStripPointType.ToolStripItemCoords);
3563
Point itemRelativePoint = item.
TranslatePoint
(new Point(mea.X, mea.Y), ToolStripPointType.ToolStripCoords, ToolStripPointType.ToolStripItemCoords);
3610
Point itemRelativePoint = item.
TranslatePoint
(new Point(mea.X, mea.Y), ToolStripPointType.ToolStripCoords, ToolStripPointType.ToolStripItemCoords);
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (3)
122
Rectangle ownerItemBounds = new Rectangle(
TranslatePoint
(Point.Empty, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords), Size);
341
Point itemScreenLocation = this.
TranslatePoint
(Point.Empty, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords);
387
Rectangle itemScreenBounds = new Rectangle(this.
TranslatePoint
(Point.Empty, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords), this.Size);
winforms\Managed\System\WinForms\ToolStripGrip.cs (4)
145
startLocation =
TranslatePoint
(new Point(mea.X, mea.Y), ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords);
155
Point currentLocation =
TranslatePoint
(mea.Location, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords);
178
Point endLocation =
TranslatePoint
(new Point(mea.X, mea.Y), ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords);
229
Point endLocation =
TranslatePoint
(new Point(mea.X, mea.Y), ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords);
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
2750
Point rectangleLocation = this.
TranslatePoint
(r.Location, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ToolStripCoords);
winforms\Managed\System\WinForms\ToolStripRenderEventArgs.cs (1)
113
Rectangle itemBounds = new Rectangle(toolStrip.PointToClient(ownerItem.
TranslatePoint
(Point.Empty, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.ScreenCoords)), ownerItem.Size);