Пример #1
0
        public void consultar()
        {
            try
            {
                _datasistema.conectarSistema();
                lista = manejadorData.consultarVista();
                uigridcontrol.DataSource = lista;
                desenlazar();
                enlazar();
                if (lista.Count() == 0)
                {
                    nuevo();
                }

                lista_mod = manejadorModulo.consultar();
                UIID_MODULO.Properties.DataSource = lista_mod;

                lista_interfaz = MetodosForm.listaDeModosDeInterfaz();
                UICD_MODO_INTERFAZ.Properties.DataSource = lista_interfaz;
            }
            catch (Exception e)
            {
                MetodosForm.mensajeErrorDefault(e.Message, _datasistema);
            }
        }