Пример #1
0
        private void btnRegistrarIVA_Click(object sender, EventArgs e)
        {
            FrmRegistrarIVA frmRegistrarIVA = new FrmRegistrarIVA();

            objFuncion.AddFormInPanel(frmRegistrarIVA /*, Program.panelPrincipalVariable*/);
            Program.FormularioLlamado = true;
        }
Пример #2
0
        private void btnRegistrarIVA_Click(object sender, EventArgs e)
        {
            FrmRegistrarIVA frmRegistrarIVA = new FrmRegistrarIVA();

            objFuncion.AddFormInPanel(frmRegistrarIVA /*, Program.panelPrincipalVariable*/);

            Program.FormularioLlamado = true;
            if (FrmPrincipal.FrmRegistrarIVA == null || FrmPrincipal.FrmRegistrarIVA.IsDisposed)
            {
                FrmPrincipal.FrmRegistrarIVA           = new FrmRegistrarIVA();
                FrmPrincipal.FrmRegistrarIVA.MdiParent = Program.panelPrincipalVariable;
                FrmPrincipal.FrmRegistrarIVA.BringToFront();
                FrmPrincipal.FrmRegistrarIVA.Show();
            }
        }