// //participants specific variables // public EventTournamentManagement() { WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen; InitializeComponent(); eventConnection = new EventConnection(); tournamentConnection = new TournamentConnection(); initialize(); }
//constructor pou pernei san orisma tin imerominia pou tou exei perastei apo to main public EventTournamentManagement(DateTime dateSelection) { WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen; InitializeComponent(); eventConnection = new EventConnection(); tournamentConnection = new TournamentConnection(); initialize(); this.eventDate.SelectedDate = dateSelection; }