11 references to CriticalHandle
PresentationFramework (11)
Microsoft\Win32\CommonDialog.cs (1)
158
IntPtr hwndOwner = (new WindowInteropHelper(owner)).
CriticalHandle
;
MS\Internal\Printing\Win32PrintDialog.cs (1)
67
owner = helper.
CriticalHandle
;
System\Windows\Interop\WindowInteropHelper.cs (3)
65
return
CriticalHandle
;
114
if (
CriticalHandle
== IntPtr.Zero)
119
return
CriticalHandle
;
System\Windows\MessageBox.cs (6)
254
return ShowCore((new WindowInteropHelper(owner)).
CriticalHandle
, messageBoxText, caption, button, icon, defaultResult, options);
270
return ShowCore((new WindowInteropHelper (owner)).
CriticalHandle
, messageBoxText, caption, button, icon, defaultResult, 0);
285
return ShowCore((new WindowInteropHelper (owner)).
CriticalHandle
, messageBoxText, caption, button, icon, 0, 0);
299
return ShowCore((new WindowInteropHelper (owner)).
CriticalHandle
, messageBoxText, caption, button, MessageBoxImage.None, 0, 0);
309
return ShowCore((new WindowInteropHelper (owner)).
CriticalHandle
, messageBoxText, caption, MessageBoxButton.OK, MessageBoxImage.None, 0, 0);
319
return ShowCore((new WindowInteropHelper (owner)).
CriticalHandle
, messageBoxText, String.Empty, MessageBoxButton.OK, MessageBoxImage.None, 0, 0);