整理了错误的捕捉

关闭窗口验证
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

@@ -14,6 +14,8 @@
Width="1920"
Height="1080"
prism:ViewModelLocator.AutoWireViewModel="True"
Closed="Window_Closed"
Closing="Window_Closing"
Icon="/Assets/Images/favicon.ico"
StateChanged="Window_StateChanged"
WindowStartupLocation="CenterScreen"
@@ -24,8 +26,8 @@
<localEx:BindingProxy x:Key="Proxy" Data="{Binding}" />
</Window.Resources>
<!--<i:Interaction.Triggers>
<i:EventTrigger EventName="StateChanged">
<prism:InvokeCommandAction Command="{Binding WindowStateChangedCmd}" CommandParameter="{Binding ElementName=MainDatagrid, Path=SelectedItem}" />
<i:EventTrigger EventName="Closing">
<prism:InvokeCommandAction Command="{Binding WindowClosingCmd}" />
</i:EventTrigger>
</i:Interaction.Triggers>-->
<Grid>