4 references to FromRectangle
System.Windows.Forms (4)
winforms\Managed\System\WinForms\ContextMenuStrip.cs (1)
103
Rectangle screenBounds = Screen.
FromRectangle
(bounds).Bounds;
winforms\Managed\System\WinForms\Screen.cs (2)
391
return Screen.
FromRectangle
(rect).WorkingArea;
423
return Screen.
FromRectangle
(rect).Bounds;
winforms\Managed\System\WinForms\WinFormsUtils.cs (1)
97
return ConstrainToBounds(Screen.
FromRectangle
(bounds).Bounds, bounds);