Exemple #1
0
        private void StartSearch()
        {
            // Don't start searching until we are actually displayed.
            if (!_handleCreated)
            {
                return;
            }

            _list.Clear();
            Timer.Enabled = true;
            RowCount      = 0;

            if (_search != null)
            {
                _search.Cancel();
            }

            _info.ShowInvalidData = _showInvalidData;
            _info.SearchText      = SearchText;
            _info.Storage         = _storage;
            _search = new IncrementalSearch(_info.GetInitialData(), _info.ShouldAllow);

            SearchImpl();
        }