public AddCriteriaContentDialog(ContestPage contestPage)
        {
            this.contestPage = contestPage;

            this.InitializeComponent();

            LoadCriterias();
        }
        public AddJudgeContentDialog(ContestPage contestPage)
        {
            this.contestPage = contestPage;

            this.InitializeComponent();

            LoadJudgeMembers();
        }
Exemple #3
0
        public EditContestDescriptionContentDialog(ContestPage contestPage, string description)
        {
            this.contestPage = contestPage;
            this.description = description;

            this.InitializeComponent();

            ProjectDescriptionTextBox.Text = this.description;
        }
        public EditProjectContentDialog(ContestPage contestPage, Project project)
        {
            if (project == null)
            {
                editingProject = false;
                this.project   = new Project();
            }
            else
            {
                editingProject = true;
                this.project   = project;
            }

            this.contestPage = contestPage;

            this.InitializeComponent();
        }