28 lines
896 B
C#
28 lines
896 B
C#
using MAX.Core.Commons;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
namespace Store.Management.Framework
|
|
{
|
|
public interface IMessageBoxService
|
|
{
|
|
MessageResult Show(string messageBoxText, string caption, MessageButton button, MessageIcon icon, MessageResult defaultResult);
|
|
|
|
|
|
void ShowInformation(string content);
|
|
void ShowWarning(string content);
|
|
void ShowError(string content);
|
|
void ShowError(string content, Exception exception);
|
|
bool ShowYesNoQuestion(string content);
|
|
bool ShowYesNoWarning(string content);
|
|
bool ShowYesNoError(string content);
|
|
bool ShowOkCancelQuestion(string content);
|
|
bool ShowOkCancelWarning(string content);
|
|
bool ShowOkCancelError(string content);
|
|
MessageResult ShowYesNoCancelQuestion(string content);
|
|
MessageResult ShowYesNoCancelWarning(string content);
|
|
MessageResult ShowYesNoCancelError(string content);
|
|
}
|
|
}
|