Beispiel #1
0
        public override void RefreshSecondaryData()
        {
            Datos_Modulos.DataSource = new Library.Instruction.HComboBoxSourceList(ModuloList.GetOrderedList(false));
            PgMng.Grow(string.Empty, "Modulos");

            Datos_Promociones.DataSource = new Library.Instruction.HComboBoxSourceList(PromocionList.GetList(false));
            PgMng.Grow(string.Empty, "Promociones");
        }
        public override void RefreshSecondaryData()
        {
            _modulos                 = ModuloList.GetOrderedList(false);
            _combo_modulos           = new Library.Instruction.HComboBoxSourceList(_modulos, false);
            Datos_Modulos.DataSource = _combo_modulos;
            PgMng.Grow(string.Empty, "Modulos");

            _submodulos           = SubmoduloList.GetList(false);
            _combo_modulos.Childs = new Library.Instruction.HComboBoxSourceList(_submodulos);
            PgMng.Grow(string.Empty, "Submodulos");

            if (_combo_modulos.Count > 1)
            {
                Modulo_CB.SelectedItem = _combo_modulos[0];
            }
        }