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