Files
WPF_Practice/PacticeSolution/AddressBook_MVVMSampleV2/Service/MessageBoxService.cs

29 lines
768 B
C#
Raw Normal View History

2023-07-18 16:24:07 +09:00
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);
}
}
}