view MetroWpf/MetroWpf.Services/Interfaces/IDialogService.cs @ 121:8f94475d3146 tip

final code
author stevenh7776
date Thu, 31 May 2012 15:35:26 +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);
    }
}