private void openFileToolStripMenuItem_Click(object sender, EventArgs e) { Text_Form childform = new Text_Form();// створюємо childform childform.MdiParent = this;// батько childform childform.Text = string.Format("Code{0}", codeToolStripMenuItem.DropDownItems.Count + 1);// childform.Show(); }
private void openFileToolStripMenuItem_Click(object sender, EventArgs e) { Text_Form childform = new Text_Form(); // створюємо childform childform.MdiParent = this; // батько childform childform.Text = string.Format("Code{0}", codeToolStripMenuItem.DropDownItems.Count + 1); // childform.Show(); }