Allowed ErrorWindow to close properly.

This commit is contained in:
alphafetus committed 2023-11-23 17:35:40 -05:00
1 parent 663fb256e5
commit 93219aaf9b
7 files changed
+16 -293

No files matched your search

+2 -3
View File
@@ -12,8 +12,7 @@
Margin="15"
Content="{Binding DisplayedMessage}" />
<Button Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Bottom"
Margin="10" Name="CloseButton" IsEnabled="False"
Content="Use X button" Command="{Binding CloseCommand, Mode=OneWay}"
CommandParameter="{Binding ElementName=NameErrorWindow}"/>
Margin="10" Name="CloseButton" IsEnabled="True"
Content="OK" Command="{Binding CloseCommand, Mode=OneWay}" />
</Grid>
</Window>