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