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; }
public void estableceFormulario(frmGestionVentas frame) { this.frame = frame; }
public void estableceFormulario3(frmGestionVentas frame3) { this.frame3 = frame3; }