コード例 #1
0
 private void FormAddGroup_Load(object sender, EventArgs e)
 {
     managerSpecialty      = new DataListManager("SPECIALTY", new string[] { "KOD", "NAME" });
     managerSpecialization = new DataListManager("SPECIALIZATION", new string[] { "ID", "NUMBER", "NAME" });
     InitialComboBoxSpecialty();
     InitialComboBoxNumGroup();
 }
コード例 #2
0
 private void FormLoapWorkPlan_Load(object sender, EventArgs e)
 {
     managerSpecialty      = new DataListManager("SPECIALTY", new string[] { "KOD", "NAME" });
     managerSpecialization = new DataListManager("SPECIALIZATION", new string[] { "ID", "NUMBER", "NAME" });
     InitialComboBoxSpecialty();
     richTextBoxState.Text = "Выберите специальность и специализацию, для которой планируется загрузить рабочий план дисциплины.";
 }
        DataListManager managerSpecialization;  // используется для хранения данных выпадающего списка специализаций

        public FormDisciplineAndCompetence()
        {
            InitializeComponent();
            ManagerDataCompetence                 = new DataGridManager(dataGridViewComp, "Competence");
            ManagerDataDiscipline                 = new DataGridManager(dataGridViewDiscip, "WorkProgramm");
            ManagerDataCompChosenDiscipline       = new DataGridManager(dataGridCompChosenDiscip, "COMPETENCE");
            ManagerDataDisciplineChosenCompetence = new DataGridManager(dataGridDisciplineChosenCompetence, "COMPETENCE");
            managerSpecialization                 = new DataListManager("SPECIALIZATION", new string[] { "ID", "NUMBER", "NAME" });
        }
コード例 #4
0
 public PageWorkPlanManager(string fileName, string nameDiscipline, TabPage page, string kod_specialty, long id_specialization, string[] competenceKodArray)
 {
     this.page              = page;
     this.kod_specialty     = kod_specialty;
     this.id_specialization = id_specialization;
     this.nameDiscipline    = nameDiscipline;
     this.fileName          = fileName;
     managerDiscipline      = new DataListManager("WorkProgramm", new string[] { "ID", "NameDiscipline", "ID_specialization", "Semester", "FormReport" });
     InitialComponents(fileName);
     LoadData(competenceKodArray);
 }
コード例 #5
0
 public PageCompetenceManager(TabPage page, string kod_specialty, string[,] competenceArray, bool IsSpecNeed)
 {
     this.page          = page;
     this.kod_specialty = kod_specialty;
     this.IsSpecNeed    = IsSpecNeed;
     if (!IsSpecNeed)
     {
         IsSpecializationChoose = true;
     }
     InitialComponents();
     managerSpecialization = new DataListManager("SPECIALIZATION", new string[] { "ID", "NUMBER", "NAME" });
     InitialComboBoxSpecialization();
     LoadData(competenceArray);
 }
コード例 #6
0
 private void FormLoadCompetence_Load(object sender, EventArgs e)
 {
     managerSpecialty = new DataListManager("SPECIALTY", new string[] { "KOD", "NAME" });
     InitialComboBoxSpecialty();
 }