own try :)

This commit is contained in:
Natlinux81
2022-08-21 01:50:54 +02:00
parent 665a9750e4
commit 145b104226
3 changed files with 8 additions and 2 deletions

View File

@@ -34,6 +34,12 @@ namespace Apollon.WPF.Stores
_tournamentStore.TournamentUpdated += TournamentStore_TournamentUpdated;
_tournamentStore.TournamentAdded += TournamentStore_TournamentAdded;
_tournamentStore.TournamentDeleted += TournamentStore_TournamentDeleted;
}
private void TournamentStore_TournamentDeleted(Guid id)
{
SelectedTournament = null;
}
private void TournamentStore_TournamentAdded(Tournament tournament)

View File

@@ -12,7 +12,7 @@
CornerRadius="10">
</Border>
<TextBlock Text="klicke auf neues Turnier erstellen oder wähle ein vorhandenes Turnier um es zu bearbeiten!"
<TextBlock Text="klicke auf neues Turnier vorbereiten oder wähle ein vorhandenes Turnier um es zu bearbeiten!"
TextAlignment="Center"
VerticalAlignment="Center"
FontFamily="Arial"

View File

@@ -108,7 +108,7 @@
DataContext="{Binding OverviewDetailsViewModel}"/>
<Button Style="{StaticResource ModernButton}"
Content="Turnier bearbeiten"
Content="Namensliste"
FontSize="16"
Height="40"
Width="210"