view MetroWpf/MetroWpf.Services/Interfaces/IDialogService.cs @ 53:f5c13b2b0149

Updated to orange
author Steven Hollidge <stevenhollidge@hotmail.com>
date Thu, 19 Apr 2012 12:07:54 +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);
    }
}