public static RsCollectionTreeNode CreateNode( RsCollectionItem aItem, RsCollectionTreeNode aParentNode, RsCollectionTree aOwner ) { RsCollectionTreeNode lResult = new RsCollectionTreeNode(); lResult.IntegrateNode(aItem, aParentNode, aOwner); return lResult; }
public void IntegrateNode( RsCollectionItem aItem, RsCollectionTreeNode aParentNode, RsCollectionTree aOwner ) { ParentNode = aParentNode; Owner = aOwner; CollectionItem = aItem; if (ParentNode != null) ParentNode.Children.Add(this); Owner.AddNode(this); }
public RsListViewItem(RsCollectionItem aItem) : base(aItem.ItemName) { CollectionItem = aItem; }