Exemple #1
0
 public ucDeducibleSeguroPRE(IucDeducibleSeguroVIS view)
 {
     try
     {
         this.vista = view;
     }
     catch (Exception ex)
     {
         this.vista.MostrarMensaje("Inconsistencias en los parámetros de configuración", ETipoMensajeIU.ERROR, this.nombreClase + ".ucDeducibleSeguroPRE:" + ex.Message);
     }
 }
        public ucSeguroPRE(IucSeguroVIS view, IucDeducibleSeguroVIS view1, IucEndosoSeguroVIS view2, IucSiniestroSeguroVIS view3)
        {
            try
            {
                this.vista        = view;
                this.vista1       = view1;
                this.vista2       = view2;
                this.vista3       = view3;
                this.vista.Activo = true;

                this.presentador1 = new ucDeducibleSeguroPRE(view1);
                this.presentador2 = new ucEndosoSeguroPRE(view2);
                this.presentador3 = new ucSiniestroSeguroPRE(view3);

                this.controlador = new SeguroBR();
                this.dctx        = FacadeBR.ObtenerConexion();
            }
            catch (Exception ex)
            {
                this.vista.MostrarMensaje("Inconsistencias en los parámetros de configuración", ETipoMensajeIU.ERROR, this.nombreClase + ".ucSeguroPRE:" + ex.Message);
            }
        }