10 references to ScreenCoords
System.Windows.Forms (10)
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 (2)
3861
if (fromPointType == ToolStripPointType.
ScreenCoords
) {
3883
if (toPointType == ToolStripPointType.
ScreenCoords
) {
winforms\Managed\System\WinForms\ToolStripRenderEventArgs.cs (1)
113
Rectangle itemBounds = new Rectangle(toolStrip.PointToClient(ownerItem.TranslatePoint(Point.Empty, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.
ScreenCoords
)), ownerItem.Size);