8 references to Bounds
System.Windows.Forms (8)
System\Windows\Forms\Components\KioskModeManager\KioskModeManager.cs (1)
729Rectangle fullScreenBounds = screen.Bounds;
System\Windows\Forms\ContextMenuStrip.cs (1)
98Rectangle screenBounds = Screen.FromRectangle(bounds).Bounds;
System\Windows\Forms\Internal\WinFormsUtils.cs (3)
94&& form.Bounds.Contains(screen.Bounds) 95? screen.Bounds 104return 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;