private void AssignTeachingAssistantButton_Click(object sender, EventArgs e) { Assign_Form form = new Assign_Form("TeachingAssistant"); this.Hide(); form.FormClosed += new FormClosedEventHandler(FormClosedHandling); form.ShowDialog(); }
private void AssignLecturerButton_Click(object sender, EventArgs e) { Assign_Form form = new Assign_Form("Lecturer"); this.Hide(); form.FormClosed += new FormClosedEventHandler(FormClosedHandling); form.ShowDialog(); }