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; }
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; }