예제 #1
0
파일: Action.cs 프로젝트: orf53975/stetic
        public override XmlElement Write(ObjectWriter writer)
        {
            XmlElement elem = writer.XmlDocument.CreateElement("action");

            elem.SetAttribute("id", Name);
            WidgetUtils.GetProps(this, elem);
            WidgetUtils.GetSignals(this, elem);
            if (writer.CreateUndoInfo)
            {
                elem.SetAttribute("undoId", UndoId);
            }
            return(elem);
        }