示例#1
0
        private void btnNuevoComprobante_Click(object sender, EventArgs e)
        {
            foreach (Form f in this.MdiChildren)
            {
                if (f.GetType() == typeof(frmGestionVentas))
                {
                    f.Activate();
                    return;
                }
            }

            /*frmCentral cl = new frmCentral(userName, nombres, apellidoPaterno, apellidoMaterno);
             * cl.Show();*/
            Form form1 = new frmGestionVentas(idUser);

            form1.MdiParent = this;
            form1.Show();
        }
 public void estableceFormulario2(frmGestionVentas frame2)
 {
     this.frame2 = frame2;
 }
示例#3
0
 public void estableceFormulario(frmGestionVentas frame)
 {
     this.frame = frame;
 }
示例#4
0
 public void estableceFormulario3(frmGestionVentas frame3)
 {
     this.frame3 = frame3;
 }