摘要: ToArgbColor c = Colors.Yellow;string s = c.ToString().TrimStart('#');int argb = Int32.Parse(s.ToString(), System.Globalization.NumberStyles.HexNumber); FromArgbColor.FromArgb(BitConverter.GetBytes(intVal));// or if that doesn't work var bytes = BitConverter.GetBytes(intVal); Color.FromAr 阅读全文
posted @ 2012-04-07 10:05 zhh 阅读(310) 评论(0) 推荐(0) 编辑