Example #1
0
 void SetRichTextBoxTxt(List <string> txt)
 {
     if (Content_rt.InvokeRequired)
     {
         Content_rt.Invoke(new Action <List <string> >(SetRichTextBoxTxt), txt);
     }
     else
     {
         for (int i = 0; i < txt.Count; i++)
         {
             Content_rt.Text += txt[i] + "\n";
         }
     }
 }