view MetroWpf/MetroWpf.Services/Interfaces/IDialogService.cs @ 61:9de81c9ad319

extra files
author Steven Hollidge <stevenhollidge@hotmail.com>
date Sat, 21 Apr 2012 21:20:05 +0100
parents 060f02cd4591
children
line wrap: on
line source

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);
    }
}