I have textbox textbox1 and I want to change text color, but in the part of all text. For example from /* to */ like comm
textbox
textbox1
/*
*/
You can do this, however, you may want to look into the RichTextBox control where is it much easier to do.
Simple example:
richtextbox.SelectionFont = new Font("Verdana", 10, FontStyle.Regular); richtextbox.SelectionColor = Color.Blue;