private void AddNewTemplate()
        {
            usrCPAddForm form = new usrCPAddForm(groupID, disciplineID, usrCPAddForm.FormType.cpTemplate_creation);

            form.ShowDialog();
            DSRefresh();
        }
Example #2
0
        private void btnCreateCP_Click(object sender, EventArgs e)
        {
            usrCPAddForm form = new usrCPAddForm((uint)cbGroups.SelectedValue, cbDiscipline.SelectedValue);

            form.ShowDialog();
            try
            {
                dgvRefresh();
                //mainDataGridViewFactory.CreateStudentCPsDataGridView(ref dgvStudents, (uint)cbGroups.SelectedValue, (uint)cbDiscipline.SelectedValue, out isReexamCommited);
                //mainDataGridViewFactory.InsertCertifications(ref dgvStudents, (uint)cbGroups.SelectedValue, (uint)cbDiscipline.SelectedValue, out certificationIndexes);
                //BlockCreation(DataService.GetSumOfPointsUsed((uint)cbGroups.SelectedValue, (uint)cbDiscipline.SelectedValue));
            }
            catch (Exception ex)
            {
                logger.Error(ex);
            }
        }