10 references to ScreenCoords
System.Windows.Forms (10)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (3)
141
Rectangle ownerItemBounds = new(TranslatePoint(Point.Empty, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.
ScreenCoords
), Size);
335
Point itemScreenLocation = TranslatePoint(Point.Empty, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.
ScreenCoords
);
384
Rectangle itemScreenBounds = new(TranslatePoint(Point.Empty, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.
ScreenCoords
), Size);
System\Windows\Forms\Controls\ToolStrips\ToolStripGrip.cs (4)
120
_startLocation = TranslatePoint(new Point(mea.X, mea.Y), ToolStripPointType.ToolStripItemCoords, ToolStripPointType.
ScreenCoords
);
131
Point currentLocation = TranslatePoint(mea.Location, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.
ScreenCoords
);
160
Point endLocation = TranslatePoint(new Point(mea.X, mea.Y), ToolStripPointType.ToolStripItemCoords, ToolStripPointType.
ScreenCoords
);
217
Point endLocation = TranslatePoint(new Point(mea.X, mea.Y), ToolStripPointType.ToolStripItemCoords, ToolStripPointType.
ScreenCoords
);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (2)
3495
if (fromPointType == ToolStripPointType.
ScreenCoords
)
3522
if (toPointType == ToolStripPointType.
ScreenCoords
)
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderEventArgs.cs (1)
109
Rectangle itemBounds = new(ToolStrip.PointToClient(ownerItem.TranslatePoint(Point.Empty, ToolStripPointType.ToolStripItemCoords, ToolStripPointType.
ScreenCoords
)), ownerItem.Size);