2009年3月5日

C# String 转换成 Color[zz]

摘要: string转换成color string col = "#FF8400"; this.BackColor = System.Drawing.ColorTranslator.FromHtml(col); color转换成string Color mycolor = this.BackColor; string strcol = System.Drawing.ColorTranslator.ToHtml(mycolor); MessageBox.Show(strcol); 阅读全文

posted @ 2009-03-05 13:34 恒波 阅读(196) 评论(0) 推荐(0)

导航