public void OpenForm(string str) { FrmCheckBox checkB = new FrmCheckBox(str); checkB.MdiParent = this.MdiParent; checkB.Show(); }
private void checkBoxToolStripMenuItem1_Click(object sender, EventArgs e) { FrmCheckBox child = new FrmCheckBox(); child.MdiParent = this; child.Text += " N° " + childNumber2++; child.Show(); toolStripStatusLabelSIdentifier.Text = checkBoxToolStripMenuItem.Text; }