예제 #1
0
        private void SearchGame()
        {
            if (txtGameName.Text.Trim() != string.Empty)
            {
                this.Cursor = Cursors.WaitCursor;

                List <MyAbandonGameFound> result = _scraper.SearchGames(txtGameName.Text.Trim().Replace("&", ""));

                foundedGamesList.Clear();
                if (result != null)
                {
                    foundedGamesList.Games = result;
                }

                this.Cursor = Cursors.Default;
            }
        }