private void cmdNew(object sender, EventArgs e) { // Show a new child form. Child frmChild = new Child(); frmChild.MdiParent = this; frmChild.RefreshText(synchronizedText); mdiIndex++; frmChild.Text = "MDI Child #" + mdiIndex.ToString(); frmChild.Show(); }