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