整理了错误的捕捉

关闭窗口验证
This commit is contained in:
2025-07-10 18:00:31 +08:00
parent fdd321e635
commit 4e8c66aa38
17 changed files with 368 additions and 95 deletions

View File

@@ -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>
/// 顶部弹窗按钮命令