Example #1
0
        public override void WriteToXML(XElement root)
        {
            XElement xmlElement = new XElement("PortPainter");

            base.WriteToXML(xmlElement);
            xmlElement.Add(new XElement("PortDefenitionGuid", PortDefenitionGuid.ToString("B")));
            xmlElement.Add(new XElement("ConnectionPortLocation", ConnectionPortLocation.ToString()));
            rectanglePainter.WriteToXML(xmlElement);
            root.Add(xmlElement);
        }
 public override void WriteToXML(XElement root)
 {
     base.WriteToXML(root);
     painter.WriteToXML(root);
 }