public void ReadXml(System.Xml.XmlReader r) { string s = r.GetAttribute("Color"); Color.FromString(s); r.Read(); }
public void ReadXml(System.Xml.XmlReader r) { string s = r.GetAttribute("Color"); string lw = r.GetAttribute("LineWidth"); Color.FromString(s); LineWidth = float.Parse(lw, NumberStyles.Any); r.Read(); }