Now it is possible to finnish a tournament with scores and mails

This commit is contained in:
2020-04-20 23:44:09 +02:00
parent 5d0d891024
commit ac1d5371f2
9 changed files with 144 additions and 7 deletions

View File

@ -23,12 +23,19 @@ namespace TrackerUI
public TournamentViewerForm(TournamentModel tournamentModel)
{
InitializeComponent();
tournament = tournamentModel;
tournament.OnTournamentComplete += Tournament_OnTournamentComplete;
WireUpLists();
LoadFormData();
LoadRounds();
}
private void Tournament_OnTournamentComplete(object sender, DateTime e)
{
this.Close();
}
private void LoadFormData()
{
tournamentName.Text = tournament.TournamentName;