Beispiel #1
0
        public void ReadXml(System.Xml.XmlReader r)
        {
            string s = r.GetAttribute("Color");

            Color.FromString(s);
            r.Read();
        }
Beispiel #2
0
        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();
        }