public void GetCatalogo(MenuModel view)
 {
     switch (view.MenuName)
     {
         case "SISTEMAS":
             Sistema.SistemaView _SistemaView = new Sistema.SistemaView();
             this.GetContentPane().Content = _SistemaView;
             break;
         case "CONDICION PROTOCOLO":
             CondPro.CondProView _CondProView = new CondPro.CondProView();
             this.GetContentPane().Content = _CondProView;
             break;
         case "CONSIDERACION":
             Consideracion.ConsideracionView _ConsideracionView = new Consideracion.ConsideracionView();
             this.GetContentPane().Content = _ConsideracionView;
             break;
         case "DEPENDENCIA":
             Dependencia.DependenciaView _DependenciaView = new Dependencia.DependenciaView();
             this.GetContentPane().Content = _DependenciaView;
             break;
         case "ESTRUCTURA":
             Estructura.EstructuraView _EstructuraView = new Estructura.EstructuraView();
             this.GetContentPane().Content = _EstructuraView;
             break;
         case "PUNTO MEDICION":
             PuntoMedicion.PuntoMedicionView _PuntoMedicionView = new PuntoMedicion.PuntoMedicionView();
             this.GetContentPane().Content = _PuntoMedicionView;
             break;
         case "TIPO PUNTO MEDICION":
             TipoPuntoMedicion.TipoPuntoMedicionView _TipoPuntoMedicionView = new TipoPuntoMedicion.TipoPuntoMedicionView();
             this.GetContentPane().Content = _TipoPuntoMedicionView;
             break;
         case "UNIDAD MEDIDA":
             UnidadMedida.UnidadMedidaView _UnidadMedidaView = new UnidadMedida.UnidadMedidaView();
             this.GetContentPane().Content = _UnidadMedidaView;
             break;
         case "REGISTRO":
             Registro.RegistroView _RegistroView = new Registro.RegistroView();
             this.GetContentPane().Content = _RegistroView;
             break;
         case "ACCION PROTOCOLO":
             AccionProtocolo.AccionProtocoloView _AccionProtocoloView = new AccionProtocolo.AccionProtocoloView();
             this.GetContentPane().Content = _AccionProtocoloView;
             break;
         case "ESTRUCTURA PUNTO MEDIO":
             EstPuntoMed.EstPuntoMedView _EstPuntoMedView = new EstPuntoMed.EstPuntoMedView();
             this.GetContentPane().Content = _EstPuntoMedView;
             break;
         case "ESTRUCTURA DEPENDENCIA":
             EstructuraDependencia.EstructuraDependenciaView _EstructuraDependenciaView = new EstructuraDependencia.EstructuraDependenciaView();
             this.GetContentPane().Content = _EstructuraDependenciaView;
             break;
         default:
             break;
     }
 }
 private void Border_MouseUp(object sender, MouseButtonEventArgs e)
 {
     Registro.RegistroView _RegistroView = new Registro.RegistroView();
     this.GetContentPane().Content = _RegistroView;
     _RegistroView.GetRegistros();
 }
        public void GetPuntoMedicion()
        {
            if (viewModel != null)
            {
                Registro.RegistroView _RegistroView = new Registro.RegistroView();
                this.GetContentPane().Content = _RegistroView;
                _RegistroView.GetPuntoMedicion(viewModel);
                _RegistroView.Nuevo();

            }
        }