private System.Windows.MessageBoxImage ConvertImage(Core.Services.MessageBoxImage image)
        {
            switch (image)
            {
            case Core.Services.MessageBoxImage.Asterisk:
                return(System.Windows.MessageBoxImage.Asterisk);

            case Core.Services.MessageBoxImage.Error:
                return(System.Windows.MessageBoxImage.Error);

            case Core.Services.MessageBoxImage.Exclamation:
                return(System.Windows.MessageBoxImage.Exclamation);

            case Core.Services.MessageBoxImage.Hand:
                return(System.Windows.MessageBoxImage.Hand);

            case Core.Services.MessageBoxImage.Information:
                return(System.Windows.MessageBoxImage.Information);

            case Core.Services.MessageBoxImage.None:
                return(System.Windows.MessageBoxImage.None);

            case Core.Services.MessageBoxImage.Question:
                return(System.Windows.MessageBoxImage.Question);

            case Core.Services.MessageBoxImage.Stop:
                return(System.Windows.MessageBoxImage.Stop);

            case Core.Services.MessageBoxImage.Warning:
                return(System.Windows.MessageBoxImage.Warning);

            default:
                return(System.Windows.MessageBoxImage.None);
            }
        }
 public Core.Services.MessageBoxResult Show(string message, string title, Core.Services.MessageBoxButton button, Core.Services.MessageBoxImage image, Core.Services.MessageBoxResult def)
 {
     return(ConvertResult(MessageBox.Show(message, title, ConvertButton(button), ConvertImage(image), ConvertResult(def))));
 }