Example #1
0
 public RegistrarTareaPendientePRE(IRegistrarTareaPendienteVIS vista, IucTareaPendienteVIS vista1)
 {
     try
     {
         this.vista  = vista;
         this.vista1 = vista1;
         tareaBR     = new TareaPendienteBR();
         dctx        = FacadeBR.ObtenerConexion();
     }
     catch (Exception ex)
     {
         vista.MostrarMensaje("Inconsistencias en los parámetros de configuración", ETipoMensajeIU.ERROR, nombreClase + ".RegistrarTareaPendientePRE: " + ex.Message);
     }
 }
Example #2
0
 public ConsultarTareaPendientePRE(IConsultarTareaPendienteVIS view, IucTareaPendienteVIS view2)
 {
     try
     {
         this.vista       = view;
         this.vista1      = view2;
         this.controlador = new TareaPendienteBR();
         this.dctx        = FacadeBR.ObtenerConexion();
     }
     catch (Exception ex)
     {
         this.vista.MostrarMensaje("No se pudieron obtener los datos de conexión", ETipoMensajeIU.ERROR,
                                   "No se encontraron los parámetros de conexión en la fuente de datos, póngase en contacto con el administrador del sistema." + ex.Message);
     }
 }
Example #3
0
 public EditarTareaPendientePRE(IEditarTareaPendienteVIS view, IucTareaPendienteVIS view1)
 {
     this.vista        = view;
     this.vista1       = view1;
     this.presentador1 = new ucTareaPendientePRE(view1);
 }
 public ucTareaPendientePRE(IucTareaPendienteVIS view)
 {
     this.vista       = view;
     this.controlador = new TareaPendienteBR();
     this.dctx        = Facade.SDNI.BR.FacadeBR.ObtenerConexion();
 }