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