29 lines
768 B
C#
29 lines
768 B
C#
|
using AddressBook_MVVMSampleV2.Interface;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using System.Windows;
|
|||
|
|
|||
|
namespace AddressBook_MVVMSampleV2.Service
|
|||
|
{
|
|||
|
internal class MessageBoxService : IMessageBoxService
|
|||
|
{
|
|||
|
public MessageBoxResult Show(string message)
|
|||
|
{
|
|||
|
return MessageBox.Show(message);
|
|||
|
}
|
|||
|
|
|||
|
public MessageBoxResult Show(string message, string caption)
|
|||
|
{
|
|||
|
return MessageBox.Show(message, caption);
|
|||
|
}
|
|||
|
|
|||
|
public MessageBoxResult Show(string message, string caption, MessageBoxButton button, MessageBoxImage icon)
|
|||
|
{
|
|||
|
return MessageBox.Show(message, caption, button, icon);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|