address book using mvvm
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user