示例#1
0
        private void btnStudents_Click(object sender, EventArgs e)
        {
            FrmStudent newMDIChild = new FrmStudent();

            // Set the Parent Form of the Child window.
            newMDIChild.MdiParent = this;
            // Display the new form.
            newMDIChild.Show();
        }
示例#2
0
 private void btnStudents_Click(object sender, EventArgs e)
 {
     FrmStudent newMDIChild = new FrmStudent();
     // Set the Parent Form of the Child window.
     newMDIChild.MdiParent = this;
     // Display the new form.
     newMDIChild.Show();
 }