public PagosMasterPRE(IPagosMasterVIS vista) { if (vista == null) { throw new ArgumentNullException("vista"); } Vista = vista; dataContext = FacadeBR.ObtenerConexion(); Controlador = new PagoUnidadContratoBR(); ControladorPSL = new PagoContratoPSLBR(); }
protected void Page_Load(object sender, EventArgs e) { try { master = Page.Master as IPagosMasterVIS; Presentador = new ConsultarPagosNoFacturadosPRE(this); master.AccionConsultar = Consultar; if (!Page.IsPostBack) { Presentador.PrimeraCarga(); } } catch (Exception ex) { MostrarMensaje("Inconsistencias al presentar la información.", ETipoMensajeIU.ERROR, NombreClase + ".Page_Load: " + ex.Message); } }