/*
         * End of Instance constructor
         */


        public void OpenNewStudentGUI()
        {
            List <Competition> competitions = CompetitionProvider.getAllCompetitions();

            NewStudentGUI NewStudentGUIForm;

            NewStudentGUIForm = new NewStudentGUI();

            NewStudentGUIForm.ShowDialog();
        }
예제 #2
0
        /*
         * End of Instance constructor
         */


        public void OpenNewSportsFestivalGUI()
        {
            List <Competition> competitions = CompetitionProvider.getAllCompetitions();

            NewSportsFestivalGUI NewSportsFestivalGUIForm;

            NewSportsFestivalGUIForm = new NewSportsFestivalGUI(this);
            NewSportsFestivalGUIForm.renderCompetitionsGrid(competitions);

            NewSportsFestivalGUIForm.ShowDialog();
        }