Mercurial > silverbladetech
diff MetroWpf/MetroWpf.Services/Interfaces/IDialogService.cs @ 15:060f02cd4591
Initial commit, pre airport work
author | stevenh7776 stevenhollidge@hotmail.com |
---|---|
date | Mon, 12 Mar 2012 23:05:21 +0800 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MetroWpf/MetroWpf.Services/Interfaces/IDialogService.cs Mon Mar 12 23:05:21 2012 +0800 @@ -0,0 +1,15 @@ +namespace MetroWpf.Services.Interfaces +{ + public interface IDialogService + { + bool ShowConfirmation(string title, string text, string extra, params ButtonExtras[] buttonExtras); + bool? ShowConfirmationWithCancel(string title, string text, string extra, params ButtonExtras[] buttonExtras); + + void ShowMessage(string title, string text, string extra, params ButtonExtras[] buttonExtras); + void ShowWarning(string title, string text, string extra, params ButtonExtras[] buttonExtras); + void ShowError(string title, string text, string extra, params ButtonExtras[] buttonExtras); + + string[] GetFileOpenPath(string title, string filter); + string GetFileSavePath(string title, string defaultExt, string filter); + } +}