Beispiel #1
0
 public bool Add_penDefinition(cls_penDefinition n_penDefinition)
 {
     n_penDefinition.setParent(this);
     n_penDefinition.setOwner(__owner);
     m_penDefinition.Add(n_penDefinition);
     return(true);
 }
Beispiel #2
0
        public override cls_DTTPresentation_part startElement(int elementid, Dictionary <string, string> atts, string nsuri, string elementname)
        {
            switch (elementid)
            {
            case DTTPresentation_parser.ID_penDefinition:
                cls_penDefinition tmp_penDefinition = new cls_penDefinition(this);
                tmp_penDefinition.parseAttributes(atts);
                m_penDefinition.Add(tmp_penDefinition);
                return(tmp_penDefinition);

            //break;
            default:
                throw new Exception("Unexpected element " + elementname + " in penSet");
                //break;
            }
            //return this;
        }