5 references to Bounds
System.Windows.Forms (5)
System\Windows\Forms\ContextMenuStrip.cs (1)
98Rectangle screenBounds = Screen.FromRectangle(bounds).Bounds;
System\Windows\Forms\Internal\WinFormsUtils.cs (1)
73return ConstrainToBounds(Screen.FromRectangle(bounds).Bounds, bounds);
System\Windows\Forms\Screen.cs (3)
298public static Rectangle GetBounds(Point pt) => FromPoint(pt).Bounds; 303public static Rectangle GetBounds(Rectangle rect) => FromRectangle(rect).Bounds; 308public static Rectangle GetBounds(Control ctl) => FromControl(ctl).Bounds;