Ejemplo n.º 1
0
        public override void RefreshSecondaryData()
        {
            ModuloList modulos = ModuloList.GetList(false);

            _combo_modulos = new Library.Instruction.HComboBoxSourceList(modulos);
            PgMng.Grow();

            _submodulos = SubmoduloList.GetList(false);
            Library.Instruction.HComboBoxSourceList _combo_submodulos = new Library.Instruction.HComboBoxSourceList(_submodulos);
            _combo_modulos.Childs    = _combo_submodulos;
            Datos_Modulos.DataSource = _combo_modulos;
            PgMng.Grow();

            _temas = TemaList.GetList(false);
            Library.Instruction.HComboBoxSourceList _combo_temas = new Library.Instruction.HComboBoxSourceList(_temas);
            _combo_modulos.Childs = _combo_temas;
            PgMng.Grow();

            //_combo_tipo = new Library.Instruction.HComboBoxSourceList();
            //_combo_tipo.Add(new ComboBoxSource(1,"Desarrollo"));
            //_combo_tipo.Add(new ComboBoxSource(2,"Test"));
            Datos_Tipos.DataSource = Library.Instruction.EnumText <ETipoPregunta> .GetList();//_combo_tipo;

            PgMng.Grow();

            //Library.Instruction.HComboBoxSourceList _combo_idiomas = new Library.Instruction.HComboBoxSourceList();
            //_combo_idiomas.Add(new ComboBoxSource(1, "Español"));
            //_combo_idiomas.Add(new ComboBoxSource(2, "Inglés"));
            Datos_Idiomas.DataSource = Library.Common.EnumText <EIdioma> .GetList();//_combo_idiomas;

            PgMng.Grow();
        }
        public override void RefreshSecondaryData()
        {
            TemaList temas = TemaList.GetList(false);

            _combo_temas = new Library.Instruction.HComboBoxSourceList(temas);

            Datos_Tema_Origen.DataSource = _combo_temas;
            PgMng.Grow();

            Datos_Tema_Destino.DataSource = _combo_temas;
        }
Ejemplo n.º 3
0
        public override void RefreshSecondaryData()
        {
            _combo_submodulos           = new Library.Instruction.HComboBoxSourceList(SubModulos);
            Datos_Submodulos.DataSource = _combo_submodulos;
            _combo_submodulos.Childs    = new Library.Instruction.HComboBoxSourceList(TemaList.GetList(false));

            //HComboBoxSourceList combo_nivel = new Library.Instruction.HComboBoxSourceList();
            //combo_nivel.Add(new ComboBoxSource(0, "TODOS"));
            //combo_nivel.Add(new ComboBoxSource(1, "1"));
            //combo_nivel.Add(new ComboBoxSource(2, "2"));
            //combo_nivel.Add(new ComboBoxSource(3, "3"));
            //Datos_Temas.DataSource = combo_nivel;

            //Library.Instruction.HComboBoxSourceList combo_idioma = new Library.Instruction.HComboBoxSourceList();
            //combo_idioma.Add(new ComboBoxSource(0, "TODOS"));
            //combo_idioma.Add(new ComboBoxSource(1, "Español"));
            //combo_idioma.Add(new ComboBoxSource(2, "Inglés"));
            Datos_Idiomas.DataSource = Library.Common.EnumText <EIdioma> .GetList();//combo_idioma;
        }