Exemple #1
0
        public virtual void AddSubcomponent(string name, XObject sub)
        {
            if (this.Subcomponents == null)
            {
                this.Subcomponents = new XObjectCollection();
            }

            this.Subcomponents.Add(sub);
        }
Exemple #2
0
 internal void CreateSubcomponents()
 {
     if (this.subcomponents == null)
     {
         this.subcomponents = new XObjectCollection()
         {
             Parent = this
         }
     }
     ;
 }