I have a form w a text box to search a text document for matches
and button to activate search
and a richtextbox to display the find..
well finaly got it returning the word or words i typed and found to the rich textbox but wanted to return the
top ten closest matches and the whole line of text it found them on.
private void richTextBox1_TextChanged(object sender, EventArgs e)
{
richTextBox1.Find(textBox1.Text); //<<< so not sure how to make this do as needed!
}
private void textBox1_TextChanged(object sender, EventArgs e)
{
}
}
}
any suggestions would be a large help thanks!!

New Topic/Question
Reply




MultiQuote



|