33 references to FromHandleInternal
System.Windows.Forms (33)
winforms\Managed\System\WinForms\Application.cs (3)
4255
Control c = Control.
FromHandleInternal
(hWnd);
4276
Control c = Control.
FromHandleInternal
(hWnd);
4347
parentControl = Control.
FromHandleInternal
(parentHandle);
winforms\Managed\System\WinForms\Control.cs (9)
6407
Control ctl =
FromHandleInternal
(handle);
6422
return
FromHandleInternal
(handle);
6823
Control ctl =
FromHandleInternal
(hWnd);
11031
&& (Control.
FromHandleInternal
(parentHandle.Handle) == null || this.parent == null) // but wasnt a windows forms window
11096
Control control = Control.
FromHandleInternal
(hWnd);
12645
Control c =
FromHandleInternal
(hWnd);
12674
ReflectParent = Control.
FromHandleInternal
(parentHandle);
12903
Control control = Control.
FromHandleInternal
(m.LParam);
13629
Control control = Control.
FromHandleInternal
(handle);
winforms\Managed\System\WinForms\Form.cs (2)
436
Control c = Control.
FromHandleInternal
(hwnd);
471
mdiChild = Control.
FromHandleInternal
( hwnd ) as Form;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (3)
3975
Control focusedControl = Control.
FromHandleInternal
(UnsafeNativeMethods.GetFocus());
3980
focusedControl = Control.
FromHandleInternal
(UnsafeNativeMethods.GetFocus());
7230
Control ctrlAtPoint = Control.
FromHandleInternal
(hWndAtPoint);
winforms\Managed\System\WinForms\ToolStrip.cs (1)
4114
Control c = Control.
FromHandleInternal
(hwndThatLostFocus);
winforms\Managed\System\WinForms\ToolStripManager.cs (6)
795
control = Control.
FromHandleInternal
(_activeHwnd.Handle);
804
control = Control.
FromHandleInternal
(_activeHwnd.Handle);
916
Control control = Control.
FromHandleInternal
(ActiveHwnd.Handle);
984
ToolStrip toolStrip = Control.
FromHandleInternal
(m.HWnd) as ToolStrip;
1647
Form mainForm = Control.
FromHandleInternal
(rootWindowOfControl.Handle) as Form;
1701
Control intendedControl = Control.
FromHandleInternal
(m.HWnd);
winforms\Managed\System\WinForms\ToolTip.cs (9)
1262
Control currentControl = Control.
FromHandleInternal
(hwndControl);
1294
baseVar = Control.
FromHandleInternal
(found);
1309
Control ctl = Control.
FromHandleInternal
(hwnd);
2194
win = (IWin32Window)Control.
FromHandleInternal
(ti.hwnd);
2239
win = (IWin32Window)Control.
FromHandleInternal
(ti.hwnd);
2295
win = (IWin32Window)Control.
FromHandleInternal
(ti.hwnd);
2405
win = (IWin32Window)Control.
FromHandleInternal
(ti.hwnd);
2499
win = (IWin32Window)Control.
FromHandleInternal
(ti.hwnd);
2613
Control ac = Control.
FromHandleInternal
(ti.hwnd);