14 references to FromChildHandle
System.Windows.Forms (5)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1861Control? target = FromChildHandle(lpmsg->hwnd);
System\Windows\Forms\Application.ThreadContext.cs (1)
951Control? target = Control.FromChildHandle(msg.hwnd);
System\Windows\Forms\Control.cs (1)
8622target ??= FromChildHandle(message.HWnd);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
763Control? activeControl = Control.FromChildHandle(m.HWnd);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (1)
579Control? control = Control.FromChildHandle(m.HWnd);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ControlDesigner.ChildSubClass.cs (1)
61_designer.SetUnhandledException(Control.FromChildHandle(m.HWnd), ex);
System.Windows.Forms.Tests (7)
System\Windows\Forms\ControlTests.Methods.cs (7)
1952Assert.Same(control, Control.FromChildHandle(handle)); 1956Assert.Null(Control.FromChildHandle(handle)); 1966Assert.Null(Control.FromChildHandle(handle)); 1970Assert.Null(Control.FromChildHandle(handle)); 1987Assert.Same(parent, Control.FromChildHandle(window.Handle)); 1991Assert.Null(Control.FromChildHandle(window.Handle)); 1997Assert.Null(Control.FromChildHandle(IntPtr.Zero));
WindowsFormsIntegration (1)
System\Windows\Integration\ApplicationInterop.cs (1)
106SWF.Control control = SWF.Control.FromChildHandle(m.HWnd);