修改 主程序下的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,71 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Windows;
|
||||
|
||||
namespace WxOrder.Framework.Commons.Dialogs
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface for a dialog hosting window.
|
||||
/// </summary>
|
||||
public interface IDialogWindow
|
||||
{
|
||||
/// <summary>
|
||||
/// Dialog content.
|
||||
/// </summary>
|
||||
object Content { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Close the window.
|
||||
/// </summary>
|
||||
void Close();
|
||||
|
||||
/// <summary>
|
||||
/// The window's owner.
|
||||
/// </summary>
|
||||
Window Owner { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Show a non-modal dialog.
|
||||
/// </summary>
|
||||
void Show();
|
||||
|
||||
/// <summary>
|
||||
/// Show a modal dialog.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
bool? ShowDialog();
|
||||
|
||||
/// <summary>
|
||||
/// The data context of the window.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The data context must implement <see cref="IDialogAware"/>.
|
||||
/// </remarks>
|
||||
object DataContext { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Called when the window is loaded.
|
||||
/// </summary>
|
||||
event RoutedEventHandler Loaded;
|
||||
|
||||
/// <summary>
|
||||
/// Called when the window is closed.
|
||||
/// </summary>
|
||||
event EventHandler Closed;
|
||||
|
||||
/// <summary>
|
||||
/// Called when the window is closing.
|
||||
/// </summary>
|
||||
event CancelEventHandler Closing;
|
||||
|
||||
/// <summary>
|
||||
/// The result of the dialog.
|
||||
/// </summary>
|
||||
IDialogResult Result { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The window style.
|
||||
/// </summary>
|
||||
Style Style { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user