I wrote this function
add private zero rich (string joe, string what) {String colorString = Joe + "(" + DateTime now.tostring ("DD / MM / YY HH: mm: SS") + "):"; RichTextBox1.Text + = colorstring + "" + what \ "\ r \ n \ r \ n"; RichTextBox1.DeselectAll (); RichTextBox1. Select (richTextBox1.Find (colorstring), colorstring.Length); RichTextBox1.SelectionColor = Color.blue; RichTextBox1.DeselectAll (); } Which should who
Comments
Post a Comment