private void btnSearchTeacher_Click(object sender, EventArgs e)
 {
     FrmSearchTeacher newMDIChild = new FrmSearchTeacher();
     // Set the Parent Form of the Child window.
     newMDIChild.MdiParent = this;
     // Display the new form.
     newMDIChild.Show();
 }
        private void btnTeachers_Click(object sender, EventArgs e)
        {
            FrmSearchTeacher newMDIChild = new FrmSearchTeacher();

            // Set the Parent Form of the Child window.
            newMDIChild.MdiParent = this;
            // Display the new form.
            newMDIChild.Show();
        }