我有 Rich
文本框,它的名字是textBox1
当我尝试这个时:
textBox1.AppendText(value);
textBox1.SelectionColor = Color.Red;
有Red
下划线和错误:
Error 2 'string' does not contain a definition for 'Red' and no extension method 'Red' accepting a first argument of type 'string' could be found (are you missing a using directive or an assembly reference?) Form1.cs 73 57