整理了错误的捕捉
关闭窗口验证
This commit is contained in:
@@ -64,6 +64,31 @@ namespace CapMachine.Wpf.ViewModels
|
||||
IsTopDrawerOpen = false;
|
||||
}
|
||||
|
||||
//private DelegateCommand _WindowClosingCmd;
|
||||
///// <summary>
|
||||
///// 顶部弹窗按钮命令
|
||||
///// </summary>
|
||||
//public DelegateCommand WindowClosingCmd
|
||||
//{
|
||||
// set
|
||||
// {
|
||||
// _WindowClosingCmd = value;
|
||||
// }
|
||||
// get
|
||||
// {
|
||||
// if (_WindowClosingCmd == null)
|
||||
// {
|
||||
// _WindowClosingCmd = new DelegateCommand(() => WindowClosingCmdCall());
|
||||
// }
|
||||
// return _WindowClosingCmd;
|
||||
// }
|
||||
//}
|
||||
|
||||
//private void WindowClosingCmdCall()
|
||||
//{
|
||||
// var dd = 1;
|
||||
//}
|
||||
|
||||
private DelegateCommand<string> _TopDrawerCmd;
|
||||
/// <summary>
|
||||
/// 顶部弹窗按钮命令
|
||||
|
||||
Reference in New Issue
Block a user