Esempio n. 1
0
 public override void ReadXml(System.Xml.Linq.XElement element)
 {
     base.ReadXml(element);
     this.showName        = element.ReadBool("ShowName", true);
     this.showCoordinates = element.ReadBool("ShowCoordinates", false);
     UpdateText();
 }
Esempio n. 2
0
        public override void ReadXml(System.Xml.Linq.XElement element)
        {
            base.ReadXml(element);
            Url  = element.ReadString("Url");
            Text = element.ReadString("Text");
            var x = element.ReadDouble("X");
            var y = element.ReadDouble("Y");

            Enabled = element.ReadBool("Enabled", true);
            this.MoveTo(x, y);
        }
Esempio n. 3
0
 public override void ReadXml(System.Xml.Linq.XElement element)
 {
     base.ReadXml(element);
     Clockwise = element.ReadBool("Clockwise", false);
 }