own try :)
This commit is contained in:
@@ -34,6 +34,12 @@ namespace Apollon.WPF.Stores
|
|||||||
|
|
||||||
_tournamentStore.TournamentUpdated += TournamentStore_TournamentUpdated;
|
_tournamentStore.TournamentUpdated += TournamentStore_TournamentUpdated;
|
||||||
_tournamentStore.TournamentAdded += TournamentStore_TournamentAdded;
|
_tournamentStore.TournamentAdded += TournamentStore_TournamentAdded;
|
||||||
|
_tournamentStore.TournamentDeleted += TournamentStore_TournamentDeleted;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void TournamentStore_TournamentDeleted(Guid id)
|
||||||
|
{
|
||||||
|
SelectedTournament = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void TournamentStore_TournamentAdded(Tournament tournament)
|
private void TournamentStore_TournamentAdded(Tournament tournament)
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
CornerRadius="10">
|
CornerRadius="10">
|
||||||
</Border>
|
</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"
|
TextAlignment="Center"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
FontFamily="Arial"
|
FontFamily="Arial"
|
||||||
|
|||||||
@@ -108,7 +108,7 @@
|
|||||||
DataContext="{Binding OverviewDetailsViewModel}"/>
|
DataContext="{Binding OverviewDetailsViewModel}"/>
|
||||||
|
|
||||||
<Button Style="{StaticResource ModernButton}"
|
<Button Style="{StaticResource ModernButton}"
|
||||||
Content="Turnier bearbeiten"
|
Content="Namensliste"
|
||||||
FontSize="16"
|
FontSize="16"
|
||||||
Height="40"
|
Height="40"
|
||||||
Width="210"
|
Width="210"
|
||||||
|
|||||||
Reference in New Issue
Block a user