25 references to CreateHandle
System.Windows.Forms (10)
System\Windows\Forms\Control.cs (1)
4517_window.CreateHandle(cp);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
680_dropDownOwnerWindow.CreateHandle(cp);
System\Windows\Forms\Dialogs\CommonDialogs\CommonDialog.cs (1)
196nativeWindow.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)
2005window.CreateHandle(new CreateParams()); 2028window.CreateHandle(control.CreateParams); 2060window.CreateHandle(new CreateParams()); 2083window.CreateHandle(control.CreateParams);
System\Windows\Forms\NativeWindowTests.cs (11)
106window1.CreateHandle(cp); 114window2.CreateHandle(cp); 149window.CreateHandle(cp); 165Assert.Throws<NullReferenceException>(() => window.CreateHandle(null)); 178Assert.Throws<InvalidOperationException>(() => window.CreateHandle(cp)); 192Assert.Throws<Win32Exception>(() => window.CreateHandle(cp)); 204window1.CreateHandle(cp1); 214Assert.Throws<Win32Exception>(() => window2.CreateHandle(cp2)); 228window.CreateHandle(cp); 270window.CreateHandle(new CreateParams()); 449window.CreateHandle(new CreateParams());