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(); }
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(); }