FindInFilesLib - .NET File Search UI Library

Latest version: v1.0.23.10240

FindInFilesLib is a .NET Framework UI library that provides a complete, ready-made interface for searching text within files and displaying results in a clear, organised way.

It can be integrated into any .NET Framework application and includes built-in support for anbTheme, allowing seamless switching between Light, Gray, and Dark modes for a modern, consistent UI.

The library handles the full search workflow - from selecting folders and file types to presenting results in multiple tabs — so developers can add powerful file-search functionality to their applications with minimal effort.

Features

  • Built-in Find window with a clean, intuitive UI
  • Search for specific text across files and folders
  • Choose a root folder and optionally include sub‑folders
  • Match case and whole-word options
  • Filter by file types to narrow search scope
  • Results panel with unlimited tabs
  • Automatic population of results tabs
  • Choose an existing tab or open a new one for each search
  • Remembers previous search text and folders
  • Supports Light, Gray and Dark modes*
  • Sample application included
  • Source code available

* Requires anbTheme

Find Form Comparison

Why developers choose FindInFilesLib

It removes the complexity of building a search UI from scratch. With ready-to-use controls, theming support, and a flexible results system, it's ideal for tools, editors, utilities, and any application that needs fast, reliable file-search capabilities.

Usage

Simply add the FindResultsTabControl in your form (named here as tabControl1), then use the following code to interact with it:

namespace TestApp
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void findButton1_Click(object sender, EventArgs e)
        {
            // set the directory history
            tabControl1.FindForm.FindDirectories = new string[]
            {
                "C:\User\Me\Documents\Wibble"
            };
            // set the file types history
            tabControl1.FindForm.FindFileTypesList = new string[]
            {
                ".cs"
            };
            // set the default text to show
            tabControl1.FindForm.FindText = "FindInFilesLib";

            // show the Find window
            tabControl1.ShowFindDialog(this);
        }

        private void tabControl1_DoubleClickResult(object sender, string filePath, int line)
        {
            MessageBox.Show(this, "Load '" + filePath + "' at line " + line.ToString(), "Load", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }
    }
}

Screenshots

Support

Support Home

ANB Software Products

The following ANB Software products make use of this UI library:

NOTE: In order to use the dark or grey UI modes you will require the anbTheme UI library, in addition to this library.

.NET Frameworks Supported

v2.0 - v9
Any CPU, 32-bit, & 64-bit

Purchase

Purchasing this library will give you support for 1 year from the date of purchase. This will also entitle you to receive free updates during that period. You can renew your support each year for the same amount.

Developers Price
1 - 5 £ 49.99 each
6 - 25 £ 44.99 each
26+ £ 39.99 each
Source Code £ 499.99

Alternatively, please email sales@anbsoftware.co.uk to request a quote and to send a purchase order (PO).

When the payment has been confirmed or PO received we will email the library to you.