增加MessageBoxService服务
This commit is contained in:
1 parent
3dcb6a1c34
commit
30a6a5ea24
15 files changed
+517
-153
No files matched your search
@@ -0,0 +1,27 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user