2013年7月31日

序列化Color对象

摘要: 如下:public class Class2{ [XmlIgnore] public Color Color1 { get { return color1; } set { color1 = value; } } [XmlElement("Color1"), Browsable(false)] public string _Color1 { get { return ColorTranslator.ToHtml(color1); } set { color1 = ColorTranslator.F... 阅读全文

posted @ 2013-07-31 20:29 yao2yao4 阅读(195) 评论(0) 推荐(0) 编辑

导航