Possible Duplicate:
Format text in Rich Text Box
I have a rich text box and a string that I get from a user inputting it into a text box. I want to take that string and bold it all. Any ideas?
Here is the string I have now and it's format:
if (InputBox("Please enter a username", "Username:", ref value) == DialogResult.OK)
{
usr = string.Format("[" + value + "]: ", bold);
}
and the bold variable
Font bold = new Font(dispBox.Font, FontStyle.Bold);
This method does not currently work for me, so any help is appreciated.