Ejemplo n.º 1
0
        public override XmlElement ToXML(XmlDocument xmldoc)
        {
            XmlElement xmlElem = xmldoc.CreateElement("Arguments");
            XmlElement subElem = xmldoc.CreateElement("Height");

            if (_actualArg == null)
            {
                _actualArg = new RgbWndProcessorArg();
            }
            subElem.InnerText = _actualArg.WndHeight.ToString();
            xmlElem.AppendChild(subElem);
            subElem           = xmldoc.CreateElement("Width");
            subElem.InnerText = _actualArg.WndWidth.ToString();
            xmlElem.AppendChild(subElem);
            return(xmlElem);
        }
Ejemplo n.º 2
0
 private void Init()
 {
     _actualArg = _arg as RgbWndProcessorArg;
     InitCollectWindow();
 }