2 references to ConstrainToScreenBounds
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
4622cursorLocation = WindowsFormsUtils.ConstrainToScreenBounds(new Rectangle(cursorLocation, s_onePixel)).Location;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1103dropDownBounds = WindowsFormsUtils.ConstrainToScreenBounds(suggestedScreenBounds);