private void MostrarObrasSociales() { try { ObraSocialBusiness wObraSocialBP = new ObraSocialBusiness(DaoFactory.GetObraSocialDao()); this.ObraSocialEntities = wObraSocialBP.GetAll(); this.bscOrigenReporte.DataSource = this.ObraSocialEntities; reportViewer1.RefreshReport(); } catch (Exception ex) { ProcesarExcepcion(ex); } }
private void frmObraSocial_Load(object sender, EventArgs e) { _ObraSocialBP = new ObraSocialBusiness(DaoFactory.GetObraSocialDao()); LoadList(); }