예제 #1
0
 public RegistrarSeguroPRE(IRegistrarSeguroVIS view, IucSeguroVIS view1)
 {
     this.vista        = view;
     this.vista1       = view1;
     this.presentador1 = new ucSeguroPRE(view1);
     this.dctx         = FacadeBR.ObtenerConexion();
 }
예제 #2
0
        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);
            }
        }
예제 #3
0
 public ucSeguroPRE(IucSeguroVIS view)
 {
     this.vista = view;
 }