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)
196
nativeWindow.
CreateHandle
(new CreateParams());
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (2)
103
CreateHandle
(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)
227
CreateHandle
(cp);
System\Windows\Forms\ToolTip\ToolTip.cs (1)
715
_window.
CreateHandle
(cp);
System.Windows.Forms.Tests (15)
System\Windows\Forms\ControlTests.Methods.cs (4)
2005
window.
CreateHandle
(new CreateParams());
2028
window.
CreateHandle
(control.CreateParams);
2060
window.
CreateHandle
(new CreateParams());
2083
window.
CreateHandle
(control.CreateParams);
System\Windows\Forms\NativeWindowTests.cs (11)
106
window1.
CreateHandle
(cp);
114
window2.
CreateHandle
(cp);
149
window.
CreateHandle
(cp);
165
Assert.Throws<NullReferenceException>(() => window.
CreateHandle
(null));
178
Assert.Throws<InvalidOperationException>(() => window.
CreateHandle
(cp));
192
Assert.Throws<Win32Exception>(() => window.
CreateHandle
(cp));
204
window1.
CreateHandle
(cp1);
214
Assert.Throws<Win32Exception>(() => window2.
CreateHandle
(cp2));
228
window.
CreateHandle
(cp);
270
window.
CreateHandle
(new CreateParams());
449
window.
CreateHandle
(new CreateParams());