BSA_Browser.BSABrowser.DoSearch()

Here are the examples of the csharp api class BSA_Browser.BSABrowser.DoSearch() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

4 Examples 7

1. Example

Project: BSA_Browser
Source File: BSABrowser.cs
View license
private void cbRegex_CheckedChanged(object sender, EventArgs e)
        {
            Settings.Default.SearchUseRegex = cbRegex.Checked;
            this.DoSearch();
        }

2. Example

Project: BSA_Browser
Source File: BSABrowser.cs
View license
private void txtSearch_TextChanged(object sender, EventArgs e)
        {
            if (_searchDelayTimer == null)
            {
                _searchDelayTimer = new Timer();
                _searchDelayTimer.Tick += delegate { DoSearch(); };
                _searchDelayTimer.Interval = 500;
            }

            _searchDelayTimer.Stop();
            _searchDelayTimer.Start();
        }

3. Example

Project: BSA_Browser
Source File: BSABrowser.cs
View license
private void tvFolders_AfterSelect(object sender, TreeViewEventArgs e)
        {
            var rootNode = this.GetRootNode(e.Node);
            string path = (string)e.Node.Tag;

            // If AllFiles is null, trigger event which will populate it
            if (rootNode.AllFiles == null)
                tvFolders_BeforeExpand(null, new TreeViewCancelEventArgs(e.Node, false, TreeViewAction.Unknown));

            if (path == null) // Root node is selected, so show all files
                rootNode.Files = rootNode.AllFiles;
            else
            {
                // Only show files under selected node
                var lvis = new List<ArchiveEntry>(rootNode.AllFiles.Length);

                foreach (var lvi in rootNode.AllFiles)
                    if (lvi.FullPath.StartsWith(path)) lvis.Add(lvi);

                rootNode.Files = lvis.ToArray();
            }

            lvFiles.ScrollToTop();
            this.DoSearch();
        }

4. Example

Project: BSA_Browser
Source File: BSABrowser.cs
View license
public void OpenArchive(string path, bool addToRecentFiles = false)
        {
            // Check i/n ..... /n //View Source file for more details /n }