9 references to new
System.Windows.Forms (9)
System\Windows\Forms\Control.cs (3)
5771return new(control); 7095Application.ParkHandle(handle: new(this), DpiAwarenessContext); 10280Application.ParkHandle(handle: new(this), DpiAwarenessContext);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
1976return DropDownStyle == ComboBoxStyle.Simple ? new(_childListBox) : new(this, _dropDownHandle);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (2)
260ActiveHwndInternal = new(sender as Control); 536HandleRef<HWND> activeToolStripHandle = new(activeToolStrip);
System\Windows\Forms\Form.cs (1)
3738: new(OwnerInternal!);
System\Windows\Forms\Help\Help.cs (2)
137HandleRef<HWND> handle = parent is not null ? (new(parent)) : Control.GetHandleRef(PInvoke.GetActiveWindow()); 214HandleRef<HWND> handle = parent is not null ? new(parent) : Control.GetHandleRef(PInvoke.GetActiveWindow());