如何给控件设置字符串(#cccccccc)形式的背景色如题:我这样写TextBox1.BackColor = “#999999”;报错。 [解决办法]TextBox1.BackColor = System.Drawing.ColorTranslator.FromHtml("#999999");