Пример #1
0
 public TreeListNode(TreeListNode parent, int seqNo, String code, MultilingualString title)
 {
     this.seqNo = seqNo;
     this.code  = code;
     this.title = title;
     if (null != parent)
     {
         parent.AddChild(this);
     }
 }
Пример #2
0
 public TreeListNode(TreeListNode parent, int seqNo, String code, MultilingualString title,
                     MultilingualString shortTitle, bool isActive, bool isDefault, bool isImmutable,
                     String valueString, double valueNumber, DateTime valueDate)
 {
     this.seqNo       = seqNo;
     this.code        = code;
     this.title       = title;
     this.shortTitle  = shortTitle;
     this.valueNumber = valueNumber;
     this.isActive    = isActive;
     this.isDefault   = isDefault;
     this.isImmutable = isImmutable;
     if (null != parent)
     {
         parent.AddChild(this);
     }
 }