Exemplo n.º 1
0
        private void ShowNewForm(object sender, EventArgs e)
        {
            FrmAltaProducto childForm = new FrmAltaProducto();

            childForm.MdiParent = this;
            childForm.Text      = "Ventana " + childFormNumber++;
            childForm.Show();
        }
Exemplo n.º 2
0
        private void cARGARNUEVOPRODUCTOToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmAltaProducto childForm = new FrmAltaProducto();

            childForm.MdiParent = this;
            childForm.Text      = "NUEVO PRODUCTO";
            childForm.Show();
        }