private void pbIncompletos_Click(object sender, EventArgs e) { FrmIncompleto frmIncompleto = new FrmIncompleto(); frmIncompleto.ped = ped; frmIncompleto.det = det.Where(o => o.cantpendiente > 0).ToList(); frmIncompleto.ShowDialog(); valExistencias(); }
private void pbIncompletos_Click(object sender, EventArgs e) { FrmIncompleto frmIncompleto = new FrmIncompleto(); frmIncompleto.ped = ped; frmIncompleto.det = detA.Where(o => o.cantpendiente > 0).ToList(); frmIncompleto.pbRegresar.Visible = false; frmIncompleto.pbRegresarB.Visible = true; frmIncompleto.ShowDialog(); if (valExistencias() == 2) { this.Close(); } }