修改 主程序下的Comm文件夹 转到 Frameork中
This commit is contained in:
1 parent
2f9c98b105
commit
1eb5315261
78 files changed
+274
-227
No files matched your search
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
|
||||
namespace WxOrder.Framework.Commons.Dialogs
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface that provides dialog functions and events to ViewModels.
|
||||
/// </summary>
|
||||
public interface IDialogAware
|
||||
{
|
||||
/// <summary>
|
||||
/// Determines if the dialog can be closed.
|
||||
/// </summary>
|
||||
/// <returns>If <c>true</c> the dialog can be closed. If <c>false</c> the dialog will not close.</returns>
|
||||
bool CanCloseDialog();
|
||||
|
||||
/// <summary>
|
||||
/// Called when the dialog is closed.
|
||||
/// </summary>
|
||||
void OnDialogClosed();
|
||||
|
||||
/// <summary>
|
||||
/// Called when the dialog is opened.
|
||||
/// </summary>
|
||||
/// <param name="parameters">The parameters passed to the dialog.</param>
|
||||
void OnDialogOpened(IDialogParameters parameters);
|
||||
|
||||
/// <summary>
|
||||
/// The title of the dialog that will show in the window title bar.
|
||||
/// </summary>
|
||||
string Title { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Instructs the <see cref="IDialogWindow"/> to close the dialog.
|
||||
/// </summary>
|
||||
event Action<IDialogResult> RequestClose;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user