Пример #1
0
 private void btnClass_Click(object sender, EventArgs e)
 {
     FrmClass newMDIChild = new FrmClass();
     // Set the Parent Form of the Child window.
     newMDIChild.MdiParent = this;
     // Display the new form.
     newMDIChild.Show();
 }
Пример #2
0
        private void btnClass_Click(object sender, EventArgs e)
        {
            FrmClass newMDIChild = new FrmClass();

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