14 references to FromChildHandle
System.Windows.Forms (5)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1869Control? target = FromChildHandle(lpmsg->hwnd);
System\Windows\Forms\Application.ThreadContext.cs (1)
951Control? target = Control.FromChildHandle(msg.hwnd);
System\Windows\Forms\Control.cs (1)
8582target ??= FromChildHandle(message.HWnd);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
764Control? activeControl = Control.FromChildHandle(m.HWnd);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (1)
581Control? 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)
1985Assert.Same(control, Control.FromChildHandle(handle)); 1989Assert.Null(Control.FromChildHandle(handle)); 1999Assert.Null(Control.FromChildHandle(handle)); 2003Assert.Null(Control.FromChildHandle(handle)); 2020Assert.Same(parent, Control.FromChildHandle(window.Handle)); 2024Assert.Null(Control.FromChildHandle(window.Handle)); 2030Assert.Null(Control.FromChildHandle(IntPtr.Zero));
WindowsFormsIntegration (1)
System\Windows\Integration\ApplicationInterop.cs (1)
108SWF.Control control = SWF.Control.FromChildHandle(m.HWnd);