private void btnSendEmail_Click_1(object sender, EventArgs e) { ServiceOrderBL oServiceOrderBL = new ServiceOrderBL(); List <string> ListaProtocolos = new List <string>(); var Lista = oServiceOrderBL.ObtenerProtocolos(_ServiceOrderId); foreach (var item in Lista) { ListaProtocolos.Add(item.Value1); } frmEmailOrdenServicioCotizacion frm = new frmEmailOrdenServicioCotizacion(_ServiceOrderId, ListaProtocolos); frm.ShowDialog(); }
private void btnCotizacion_Click(object sender, EventArgs e) { ServiceOrderBL oServiceOrderBL = new ServiceOrderBL(); var Lista = oServiceOrderBL.ObtenerProtocolos(_ServiceOrderId); List <string> ListaProtocolos = new List <string>(); foreach (var item in Lista) { ListaProtocolos.Add(item.Value1); } var frm = new Reports.frmConsolidateCotizacion(_ServiceOrderId, ListaProtocolos); frm.ShowDialog(); //Reports.frmReporteCotizacion frm = new Reports.frmReporteCotizacion(_ServiceOrderId); //frm.ShowDialog(); }