Exemple #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            ud04_pract1 Reset = new ud04_pract1();

            Reset.Show();
            this.Dispose(false);
        }
        private void práctica1ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form childForm = new ud04_pract1();

            childForm.MdiParent = this;
            childForm.Text      = "Ventana " + childFormNumber++;
            childForm.Show();
        }