Пример #1
0
        public IndexControl(Dictionary<string,
            Dictionary<string, PrefixMatchContainer<string>>> entriesMap,
            OnTitleNavigate onTitleNavigate)
        {
            InitializeComponent();

            lstTitles_.VirtualMode = true;

            entriesMap_ = entriesMap;
            onTitleNavigate_ = onTitleNavigate;

            UpdateListItems();
        }
Пример #2
0
        public SearchControl(
            Database db,
            Dictionary<string,
            Dictionary<string, PrefixMatchContainer<string>>> entriesMap,
            OnTitleNavigate onTitleNavigate)
        {
            InitializeComponent();

            db_ = db;
            entriesMap_ = entriesMap;
            onTitleNavigate_ = onTitleNavigate;

            UpdateListItems();
        }