11 references to CriticalHandle
PresentationFramework (11)
src\Framework\Microsoft\Win32\CommonDialog.cs (1)
187
IntPtr hwndOwner = (new WindowInteropHelper(owner)).
CriticalHandle
;
src\Framework\MS\Internal\Printing\Win32PrintDialog.cs (1)
94
owner = helper.
CriticalHandle
;
src\Framework\System\Windows\Interop\WindowInteropHelper.cs (3)
77
return
CriticalHandle
;
144
if (
CriticalHandle
== IntPtr.Zero)
149
return
CriticalHandle
;
src\Framework\System\Windows\MessageBox.cs (6)
330
return ShowCore((new WindowInteropHelper(owner)).
CriticalHandle
, messageBoxText, caption, button, icon, defaultResult, options);
351
return ShowCore((new WindowInteropHelper (owner)).
CriticalHandle
, messageBoxText, caption, button, icon, defaultResult, 0);
371
return ShowCore((new WindowInteropHelper (owner)).
CriticalHandle
, messageBoxText, caption, button, icon, 0, 0);
390
return ShowCore((new WindowInteropHelper (owner)).
CriticalHandle
, messageBoxText, caption, button, MessageBoxImage.None, 0, 0);
405
return ShowCore((new WindowInteropHelper (owner)).
CriticalHandle
, messageBoxText, caption, MessageBoxButton.OK, MessageBoxImage.None, 0, 0);
420
return ShowCore((new WindowInteropHelper (owner)).
CriticalHandle
, messageBoxText, String.Empty, MessageBoxButton.OK, MessageBoxImage.None, 0, 0);