14 references to GetParent
System.Windows.Forms (12)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1810
HWND hWndParent = PInvoke.
GetParent
(_control);
System\Windows\Forms\Application.ParkingWindow.cs (1)
128
PInvoke.
GetParent
(handle) != HWND,
System\Windows\Forms\Control.cs (7)
2242
HWND parentHandle = PInvoke.
GetParent
(this);
9081
PInvoke.
GetParent
(topMostParent).IsNull ? PInvokeCore.WM_CHANGEUISTATE : PInvokeCore.WM_UPDATEUISTATE,
9224
HWND parentHandle = PInvoke.
GetParent
(this);
10246
HWND parentHandle = PInvoke.
GetParent
(this);
10832
PInvokeCore.MapWindowPoints(HWND.Null, PInvoke.
GetParent
(this), ref rect);
10962
HWND parentHandle = PInvoke.
GetParent
(this);
12215
&& PInvoke.
GetParent
(this) == _parent.InternalHandle
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
3338
HWND hWndParent = PInvoke.
GetParent
(this);
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
1156
containerControl = FromHandle(PInvoke.
GetParent
(this)) as ContainerControl;
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (1)
221
*phwnd = PInvoke.
GetParent
(Host);
System.Windows.Forms.Primitives (1)
Windows\Win32\PInvoke.GetParent.cs (1)
11
HWND result =
GetParent
(hwnd.Handle);
System.Windows.Forms.Tests (1)
System\Windows\Forms\ControlTests.ControlCollection.cs (1)
450
Assert.Equal(owner.Handle, PInvoke.
GetParent
(control));