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