5 references to Bounds
System.Windows.Forms (5)
System\Windows\Forms\ContextMenuStrip.cs (1)
98
Rectangle screenBounds = Screen.FromRectangle(bounds).
Bounds
;
System\Windows\Forms\Internal\WinFormsUtils.cs (1)
73
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
;