6 references to FromControl
System.Windows.Forms (6)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
6447
Rectangle rectScreen = Screen.
FromControl
(this).WorkingArea;
winforms\Managed\System\WinForms\Form.cs (1)
4492
desktop = Screen.
FromControl
(OwnerInternal);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
1639
Rectangle rectScreen = Screen.
FromControl
(Edit).WorkingArea;
1714
Rectangle rectScreen = Screen.
FromControl
(Edit).WorkingArea;
winforms\Managed\System\WinForms\Screen.cs (2)
402
return Screen.
FromControl
(ctl).WorkingArea;
433
return Screen.
FromControl
(ctl).Bounds;