13 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)
2261HWND parentHandle = PInvoke.GetParent(this); 9100PInvoke.GetParent(topMostParent).IsNull ? PInvokeCore.WM_CHANGEUISTATE : PInvokeCore.WM_UPDATEUISTATE, 9243HWND parentHandle = PInvoke.GetParent(this); 10264HWND parentHandle = PInvoke.GetParent(this); 10864PInvokeCore.MapWindowPoints(HWND.Null, PInvoke.GetParent(this), ref rect); 10994HWND parentHandle = PInvoke.GetParent(this); 12247&& PInvoke.GetParent(this) == _parent.InternalHandle
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
3336HWND hWndParent = PInvoke.GetParent(this);
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
1150containerControl = FromHandle(PInvoke.GetParent(this)) as ContainerControl;
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (1)
221*phwnd = PInvoke.GetParent(Host);
System.Windows.Forms.Tests (1)
System\Windows\Forms\ControlTests.ControlCollection.cs (1)
450Assert.Equal(owner.Handle, PInvoke.GetParent(control));