Control.FromChildHandle Method (IntPtr)
Retrieves the control that contains the specified handle.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The window handle (HWND) to search for.
This method searches up the window handle parent chain until it finds a handle that is associated with a control. This method is more reliable than the FromHandle method, because it correctly returns controls that own more than one handle.
Available since 1.1