2 references to ConstrainToScreenBounds
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ToolStrip.cs (1)
4621
cursorLocation = WindowsFormsUtils.
ConstrainToScreenBounds
(new Rectangle(cursorLocation, onePixel)).Location;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
1219
dropDownBounds = WindowsFormsUtils.
ConstrainToScreenBounds
(suggestedScreenBounds);