public void HideListBox (bool set_text) { if (set_text) owner.Text = owner.auto_complete_matches [HighlightedIndex]; Capture = false; Hide (); }