14 references to FromChildHandle
System.Windows.Forms (5)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1861
Control? target =
FromChildHandle
(lpmsg->hwnd);
System\Windows\Forms\Application.ThreadContext.cs (1)
951
Control? target = Control.
FromChildHandle
(msg.hwnd);
System\Windows\Forms\Control.cs (1)
8623
target ??=
FromChildHandle
(message.HWnd);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
764
Control? activeControl = Control.
FromChildHandle
(m.HWnd);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (1)
579
Control? 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)
1994
Assert.Same(control, Control.
FromChildHandle
(handle));
1998
Assert.Null(Control.
FromChildHandle
(handle));
2008
Assert.Null(Control.
FromChildHandle
(handle));
2012
Assert.Null(Control.
FromChildHandle
(handle));
2029
Assert.Same(parent, Control.
FromChildHandle
(window.Handle));
2033
Assert.Null(Control.
FromChildHandle
(window.Handle));
2039
Assert.Null(Control.
FromChildHandle
(IntPtr.Zero));
WindowsFormsIntegration (1)
System\Windows\Integration\ApplicationInterop.cs (1)
106
SWF.Control control = SWF.Control.
FromChildHandle
(m.HWnd);