コード例 #1
0
 public static RsCollectionTreeNode CreateNode(
     RsCollectionItem aItem,
     RsCollectionTreeNode aParentNode,
     RsCollectionTree aOwner
     )
 {
     RsCollectionTreeNode lResult = new RsCollectionTreeNode();
                 lResult.IntegrateNode(aItem, aParentNode, aOwner);
                 return lResult;
 }
コード例 #2
0
        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);
        }
コード例 #3
0
 public RsListViewItem(RsCollectionItem aItem)
     : base(aItem.ItemName)
 {
     CollectionItem = aItem;
 }