示例#1
0
 public ucPeriodoTarifarioPSLPRE(IucPeriodoTarifarioPSLVIS vista)
 {
     try {
         this.vista = vista;
     } catch (Exception ex) {
         throw new Exception(nombreClase + ".ucPeriodoTarifariosPSLPRE:Error al configurar el presentador.");
     }
 }
 public DetallePeriodoTarifarioPSLPRE(IDetallePeriodoTarifarioPSLVIS vistaActual, IucPeriodoTarifarioPSLVIS vistaPeriodoTarifario)
 {
     try {
         vista = vistaActual;
         presentadorPeriodoTarifario = new ucPeriodoTarifarioPSLPRE(vistaPeriodoTarifario);
         dctx = FacadeBR.ObtenerConexion();
     } catch (Exception ex) {
         this.MostrarMensaje("Inconsistencias al momento de configurar los datos del presentador",
                             ETipoMensajeIU.ERROR, nombreClase + ".DetallePeriodoTarifarioPSLPRE:" + ex.Message);
     }
 }
 public EditarPeriodoTarifarioPSLPRE(IEditarPeriodoTarifarioPSLVIS vistaActual, IucPeriodoTarifarioPSLVIS vistaTarifa)
 {
     try {
         this.vista = vistaActual;
         presentadorPeriodoTarifario = new ucPeriodoTarifarioPSLPRE(vistaTarifa);
         periodoTarifaBR             = new DiaPeriodoTarifaBR();
         dctx = FacadeBR.ObtenerConexion();
     } catch (Exception ex) {
         this.MostrarMensaje("Inconsistencias al configurar el presentador", ETipoMensajeIU.ERROR, nombreClase + ".EditarTarifaPSLPRE:" + ex.Message);
     }
 }