14 references to FromChildHandle
System.Windows.Forms (5)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1869
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)
8582
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)
581
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)
1985
Assert.Same(control, Control.
FromChildHandle
(handle));
1989
Assert.Null(Control.
FromChildHandle
(handle));
1999
Assert.Null(Control.
FromChildHandle
(handle));
2003
Assert.Null(Control.
FromChildHandle
(handle));
2020
Assert.Same(parent, Control.
FromChildHandle
(window.Handle));
2024
Assert.Null(Control.
FromChildHandle
(window.Handle));
2030
Assert.Null(Control.
FromChildHandle
(IntPtr.Zero));
WindowsFormsIntegration (1)
System\Windows\Integration\ApplicationInterop.cs (1)
108
SWF.Control control = SWF.Control.
FromChildHandle
(m.HWnd);