示例#1
0
文件: Form1.cs 项目: pskramtai/PSI
        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);
            }
        }