25 references to CreateHandle
System.Windows.Forms (10)
System\Windows\Forms\Control.cs (1)
4660_window.CreateHandle(cp);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
718_dropDownOwnerWindow.CreateHandle(cp);
System\Windows\Forms\Dialogs\CommonDialogs\CommonDialog.cs (1)
196nativeWindow.CreateHandle(new CreateParams());
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (2)
102CreateHandle(cparams); 118_tipWindow.CreateHandle(cparams);
System\Windows\Forms\Form.cs (1)
2097_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)
1996window.CreateHandle(new CreateParams()); 2019window.CreateHandle(control.CreateParams); 2051window.CreateHandle(new CreateParams()); 2074window.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());