8 references to Bounds
System.Windows.Forms (8)
System\Windows\Forms\Components\KioskModeManager\KioskModeManager.cs (1)
729
Rectangle fullScreenBounds = screen.
Bounds
;
System\Windows\Forms\ContextMenuStrip.cs (1)
98
Rectangle screenBounds = Screen.FromRectangle(bounds).
Bounds
;
System\Windows\Forms\Internal\WinFormsUtils.cs (3)
94
&& form.Bounds.Contains(screen.
Bounds
)
95
? screen.
Bounds
104
return ConstrainToBounds(Screen.FromRectangle(bounds).
Bounds
, bounds);
System\Windows\Forms\Screen.cs (3)
298
public static Rectangle GetBounds(Point pt) => FromPoint(pt).
Bounds
;
303
public static Rectangle GetBounds(Rectangle rect) => FromRectangle(rect).
Bounds
;
308
public static Rectangle GetBounds(Control ctl) => FromControl(ctl).
Bounds
;