c# - Underline wrong words in a richtextbox -


I have a lot of trouble on my project and I looked for a solution on every side, but I did not find anything Can help, or at least I'm so Noah that I do not know how to apply the code in my case (I just started learning C #) here is a part of my code:

  Private Zero sottolinea_errori_Click (Object Sender, EventArgs e) {string line; String [] line = line = textbox_stampa_contenuto.lines; If (text box -stamp_kanto.text! = "") {Foreach (string in line) {string [] parole = k.Split (new four [] {'', ',', '.', ':' , '' T '}); Foreach (stroke in parole) {reggax rgx = new reggae (@ "\ d"); If (! Rgx.IsMatch (s)) {if (s.Trim ()! = "") {S.Trimim (); String path = @ "280000 text .txt"; Bool esito = true; Streamer file = new streamrider (path); While ((line = file. Readline ()) = null & amp; aceto == true) if (string. Compare (line, s) == 0) esito = false; File.Close (); If (aceto) {// underline}}}}}  

What it does: It checks that if every word is present in a txt file, I want to highlight the words that are not present in the TXT file. Is there any way to do this? Thanks!


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -