25 references to CreateHandle
System.Windows.Forms (10)
System\Windows\Forms\Control.cs (1)
4515_window.CreateHandle(cp);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
679_dropDownOwnerWindow.CreateHandle(cp);
System\Windows\Forms\Dialogs\CommonDialogs\CommonDialog.cs (1)
211nativeWindow.CreateHandle(new CreateParams());
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (2)
103CreateHandle(cparams); 119_tipWindow.CreateHandle(cparams);
System\Windows\Forms\Form.cs (1)
1939_ownerWindow.CreateHandle(cp);
System\Windows\Forms\NotifyIcon.cs (2)
575_window.CreateHandle(new CreateParams()); 648_window.CreateHandle(new CreateParams());
System\Windows\Forms\Timer.cs (1)
227CreateHandle(cp);
System\Windows\Forms\ToolTip\ToolTip.cs (1)
715_window.CreateHandle(cp);
System.Windows.Forms.Tests (15)
System\Windows\Forms\ControlTests.Methods.cs (4)
1965window.CreateHandle(new CreateParams()); 1988window.CreateHandle(control.CreateParams); 2020window.CreateHandle(new CreateParams()); 2043window.CreateHandle(control.CreateParams);
System\Windows\Forms\NativeWindowTests.cs (11)
108window1.CreateHandle(cp); 116window2.CreateHandle(cp); 151window.CreateHandle(cp); 167Assert.Throws<NullReferenceException>(() => window.CreateHandle(null)); 180Assert.Throws<InvalidOperationException>(() => window.CreateHandle(cp)); 194Assert.Throws<Win32Exception>(() => window.CreateHandle(cp)); 206window1.CreateHandle(cp1); 216Assert.Throws<Win32Exception>(() => window2.CreateHandle(cp2)); 230window.CreateHandle(cp); 272window.CreateHandle(new CreateParams()); 451window.CreateHandle(new CreateParams());