整理了错误的捕捉
关闭窗口验证
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user