3 references to ConstrainToBounds
System.Windows.Forms (3)
System\Windows\Forms\ContextMenuStrip.cs (1)
108
bounds = WindowsFormsUtils.
ConstrainToBounds
(screenBounds, bounds);
System\Windows\Forms\Internal\WinFormsUtils.cs (2)
65
return
ConstrainToBounds
(Screen.GetWorkingArea(bounds), bounds);
73
return
ConstrainToBounds
(Screen.FromRectangle(bounds).Bounds, bounds);