private void ButtonSearch_Click(object sender, EventArgs e) { string keyword = FetchSearchKeyword(); if (barsIsTop) { ListMethods.LoadBars(SearchMethods.SearchForBars(barManager.barDictionary, keyword), this); } else { ListMethods.LoadDrinks(SearchMethods.SearchForDrinks(drinkManager.drinkDictionary, keyword), this); } }