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); }
private void Init() { _actualArg = _arg as RgbWndProcessorArg; InitCollectWindow(); }