32 references to AssignHandle
System.Windows.Forms (7)
System\Windows\Forms\Controls\ComboBox\ComboBox.ACNativeWindow.cs (1)
21AssignHandle(acHandle);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
2292_childListBox.AssignHandle(hwnd); 2299_childEdit.AssignHandle(hwnd); 3475_childDropDown.AssignHandle(_dropDownHandle);
System\Windows\Forms\Controls\ListView\ListView.cs (1)
6510_labelEdit.AssignHandle(PInvokeCore.SendMessage(this, PInvoke.LVM_GETEDITCONTROL));
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
2579_labelEdit.AssignHandle(PInvokeCore.SendMessage(this, PInvoke.TVM_GETEDITCONTROL));
System\Windows\Forms\NativeWindow.WindowClass.cs (1)
51_targetWindow.AssignHandle(hwnd);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ControlDesigner.ChildSubClass.cs (1)
21AssignHandle(hwnd);
System.Windows.Forms.Tests (23)
System\Windows\Forms\ApplicationTests.cs (1)
251window.AssignHandle(control.Handle);
System\Windows\Forms\NativeWindowTests.cs (22)
24window.AssignHandle(control.Handle); 37window1.AssignHandle(control.Handle); 43window2.AssignHandle(control.Handle); 53window.AssignHandle(control.Handle); 59window.AssignHandle(control.Handle); 69window.AssignHandle(IntPtr.Zero); 80window.AssignHandle(250); 90window.AssignHandle(control.Handle); 92Assert.Throws<InvalidOperationException>(() => window.AssignHandle(250)); 176window.AssignHandle(control.Handle); 240window.AssignHandle(control.Handle); 251window.AssignHandle(250); 297window.AssignHandle(control.Handle); 325window.AssignHandle(250); 345window1.AssignHandle(control.Handle); 366window2.AssignHandle(window1.Handle); 376window3.AssignHandle(window1.Handle); 408window.AssignHandle(control.Handle); 418window.AssignHandle(control.Handle); 430window.AssignHandle(250); 476window.AssignHandle(control.Handle); 504window.AssignHandle(250);
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHost.cs (1)
483_dummyNativeWindow.AssignHandle(hwndParent.Handle);