Exemple #1
0
 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();
 }
Exemple #2
0
        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();
        }