Exemple #1
0
        public AutocompleteMenu()
        {
            Host = new AutocompleteMenuHost(this);
            Host.ListView.ItemSelected += ListView_ItemSelected;
            Host.ListView.ItemHovered += ListView_ItemHovered;
            VisibleItems = new List<AutocompleteItem>();
            Enabled = true;
            AppearInterval = 500;
            timer.Tick += timer_Tick;
            MaximumSize = new Size(180, 200);
            AutoPopup = true;

            SearchPattern = @"[\w\.]";
            MinFragmentLength = 2;
        }
Exemple #2
0
        public AutocompleteMenu()
        {
            Host = new AutocompleteMenuHost(this);
            Host.ListView.ItemSelected += ListView_ItemSelected;
            Host.ListView.ItemHovered  += ListView_ItemHovered;
            VisibleItems   = new List <AutocompleteItem>();
            Enabled        = true;
            AppearInterval = 500;
            timer.Tick    += timer_Tick;
            MaximumSize    = new Size(180, 200);
            AutoPopup      = true;

            SearchPattern     = @"[\w\.]";
            MinFragmentLength = 2;
        }