3 references to ConstrainToBounds
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ContextMenuStrip.cs (1)
110
bounds = WindowsFormsUtils.
ConstrainToBounds
(screenBounds, bounds);
winforms\Managed\System\WinForms\WinFormsUtils.cs (2)
91
return
ConstrainToBounds
(Screen.GetWorkingArea(bounds), bounds);
97
return
ConstrainToBounds
(Screen.FromRectangle(bounds).Bounds, bounds);