/// <summary> /// Constructs an empty searchbox. /// </summary> public SearchBox() { gui = new SearchboxGui(); searchByWord = false; suggestions = new List <Tuple <string, string> >(); SetHandlers(); }
/// <summary> /// Constructs a searchbox with suggestions. /// </summary> public SearchBox(List <Tuple <string, string> > suggestions) { gui = new SearchboxGui(); searchByWord = false; this.suggestions = suggestions; SetHandlers(); }