Querria saber si aun string le puede dar color.
Este quiero en un cacho del texto de un text box tenga color.
Mi ejemplo: Quiero que solo es string texto sea de color rojo; lo de mas el
de defecto.
public void insertar_incidencias(DateTime fecha_hora, int numero_linea,
string texto, string texto_linea)
{
mostrar_texto_sin_linea = fecha_hora + " Nº Línea:" + numero_linea + ""
+ texto + "";
mostrar_texto_con_linea += fecha_hora + " Nº Línea:" + numero_linea + ""
+ texto + " Lín:" + texto_linea + "";
textBox1.Text += mostrar_texto_sin_linea;
anterior = textBox1.Text;
}
Leer las respuestas