18 lines
508 B
C#
18 lines
508 B
C#
using System.Windows;
|
|
|
|
namespace Filtration.Common.Services
|
|
{
|
|
public interface IMessageBoxService
|
|
{
|
|
MessageBoxResult Show(string caption, string message, MessageBoxButton buttons, MessageBoxImage image);
|
|
}
|
|
|
|
public class MessageBoxService : IMessageBoxService
|
|
{
|
|
public MessageBoxResult Show(string caption, string message, MessageBoxButton buttons, MessageBoxImage image)
|
|
{
|
|
return MessageBox.Show(message, caption, buttons, image);
|
|
}
|
|
}
|
|
}
|