Ejemplo n.º 1
0
 public FormAddCompetence(FormDisciplineAndCompetence parentForm, string nameSpecialty, string kodSpecialty)
 {
     InitializeComponent();
     textBox1.Text     = nameSpecialty;
     this.parentForm   = parentForm;
     this.kodSpecialty = kodSpecialty;
 }
 public FormAddDiscipline(FormDisciplineAndCompetence parentForm, string nameSpecialty,
                          string nameSpecialization, long id_specialization)
 {
     InitializeComponent();
     this.parentForm        = parentForm;
     this.id_specialization = id_specialization;
     textBox1.Text          = nameSpecialty;
     textBox2.Text          = nameSpecialization;
 }
 public FormAddCompetenceToDiscipline(FormDisciplineAndCompetence parentForm, string specialtyName, string specializationName, string id_specialty, long id_specialization)
 {
     InitializeComponent();
     this.parentForm        = parentForm;
     label1.Text            = "Компетенции специальности " + specialtyName;
     label2.Text            = "Специализации " + specializationName;
     this.id_specialization = id_specialization;
     this.id_specialty      = id_specialty;
     manager = new DataGridManager(dataGridView1, "Competence");
 }
        private void дисциплиныИКомпетенцииToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormDisciplineAndCompetence form = new FormDisciplineAndCompetence();

            form.ShowDialog();
        }