I am working on a chat client, and I want the output textbox to make the username and timestamp on the messages bold while the rest of the text remains in the default format. How could I possibly do that?
Asked
Active
Viewed 44 times
1
-
Could you please include a sample of your code? https://stackoverflow.com/help/how-to-ask – Yvo Linssen Mar 20 '18 at 14:30
-
2Use a [`RichTextBox`](https://msdn.microsoft.com/en-us/library/system.windows.forms.richtextbox(v=vs.110).aspx) – Rufus L Mar 20 '18 at 14:36
-
Why not switch to WPF? – r41n Mar 20 '18 at 14:44
-
A browser control would probably work too. Heavier, but the HTML markup syntax is easier. – rheitzman Mar 20 '18 at 20:11
-
To the guys who marked this as a duplicate, it would be nice if you had linked me to the questions you think this is a duplicate of. Like this, marking it as a duplicate doesn't help me at all. – Jan-Hendrik Lorenzen Apr 12 '18 at 13:21