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