Lazy search and show result in multiple tab item (WPF)

  • Thread starter Thread starter Ayub1987
  • Start date Start date
A

Ayub1987

Guest
I'm new in wpf and I want make a simple app.

I have a window that contains a TextBox as a search box and a TabControl. Also I have three text files named 1, 2, and 3, each containing over 1 million rows, each row containing a variable number of words separated by semicolon, without any space before or after that. I want these three files to be searched when user starts typing something in search box, and as soon as the first 10 rows (in each file) containing that word are found, the results will be displayed in a relevant tab. For example, if there was a word in two files 1 and 2, Two specific tabs with header 1 and 2 containing the founded rows should be displayed.

There are no predefined TabItem at start. Sometimes the string may be found in three files, in this case, three tabs should be displayed. If just on file contains searched character, one TabItem should be displayed.

Continue reading...
 
Back
Top