public static MessageBoxResult Show(string messageBoxText, string caption)
 {
     return(MessageBox.ShowCore(IntPtr.Zero, messageBoxText, caption, MessageBoxButton.OK, MessageBoxImage.None, MessageBoxResult.None, MessageBoxOptions.None));
 }
 public static MessageBoxResult Show(Window owner, string messageBoxText)
 {
     return(MessageBox.ShowCore(new WindowInteropHelper(owner).CriticalHandle, messageBoxText, string.Empty, MessageBoxButton.OK, MessageBoxImage.None, MessageBoxResult.None, MessageBoxOptions.None));
 }
 public static MessageBoxResult Show(string messageBoxText, string caption, MessageBoxButton button, MessageBoxImage icon, MessageBoxResult defaultResult)
 {
     return(MessageBox.ShowCore(IntPtr.Zero, messageBoxText, caption, button, icon, defaultResult, MessageBoxOptions.None));
 }
 public static MessageBoxResult Show(Window owner, string messageBoxText, string caption, MessageBoxButton button, MessageBoxImage icon)
 {
     return(MessageBox.ShowCore(new WindowInteropHelper(owner).CriticalHandle, messageBoxText, caption, button, icon, MessageBoxResult.None, MessageBoxOptions.None));
 }