Exemplo n.º 1
0
 private void btnNewTeacher_Click(object sender, EventArgs e)
 {
     FrmTeacher newMDIChild = new FrmTeacher();
     // Set the Parent Form of the Child window.
     //newMDIChild.MdiParent = this;
     // Display the new form.
     newMDIChild.Show();
 }
Exemplo n.º 2
0
        private void btnNewTeacher_Click(object sender, EventArgs e)
        {
            FrmTeacher newMDIChild = new FrmTeacher();

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