示例#1
0
 public void SetEndBlk(EndBlk eb)
 {
     if (this.elements.Count > 0 && ((Element)this.elements[this.elements.Count - 1]).Name == "ENDBLK")
     {
         this.elements.RemoveAt(this.data.Count - 1);
     }
     this.elements.Add(eb);
 }
示例#2
0
 public void SetEndBlk(EndBlk eb)
 {
     if(this.elements.Count>0&&((Element)this.elements[this.elements.Count-1]).Name == "ENDBLK")
     {
         this.elements.RemoveAt(this.data.Count-1);
     }
     this.elements.Add(eb);
 }