예제 #1
0
 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();
 }
예제 #2
0
        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();
        }