Exemple #1
0
        private void btnRegistrarIVA_Click(object sender, EventArgs e)
        {
            FrmRegistrarIVA frmRegistrarIVA = new FrmRegistrarIVA();

            objFuncion.AddFormInPanel(frmRegistrarIVA /*, Program.panelPrincipalVariable*/);
            Program.FormularioLlamado = true;
        }
Exemple #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();
            }
        }