private void button2_Click(object sender, EventArgs e)
        {
            this.Hide();
            //A_AverageGradesInCoursses_HD Eve = new A_AverageGradesInCoursses_HD();
            A_AverageGradesInCoursses_HD Eve = new A_AverageGradesInCoursses_HD(this.dep);

            Eve.passValue = dep;
            Eve.Show();
        }
 private void A_changeListVacant_OccupiedClasses_sec_Load(object sender, EventArgs e)
 {
     currentA_AverageGradesInCoursses_HD = this;
     if (cn.State == ConnectionState.Open)
     {
         cn.Close();
     }
     cn.Open();
     display();
 }