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(); }
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" }); }
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); }
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); }
private void FormLoadCompetence_Load(object sender, EventArgs e) { managerSpecialty = new DataListManager("SPECIALTY", new string[] { "KOD", "NAME" }); InitialComboBoxSpecialty(); }