//private void button8_Click(object sender, EventArgs e) //{ // this.Close(); // A_DepartmentHead x = new A_DepartmentHead(); /// to check if to change and send with the id department head // x.Show(); //} private void add_lecturer_button_Click(object sender, EventArgs e) { this.Hide(); //A_addLecturer_DH lecturer = new A_addLecturer_DH(); A_addLecturer_DH lecturer = new A_addLecturer_DH(this.dep); lecturer.passValue = dep; lecturer.Show(); }
private void A_addLecturer_DH_Load(object sender, EventArgs e) { currentA_addLecturer_DH = this; }