コード例 #1
0
        public int Add(CDiscCollection cdc, TreeNodeCollection tnc)
        {
            TreeNode tn    = tnc.Add("", cdc.Name, CommVar.CollectionIconIndex, CommVar.CollectionIconIndex);
            int      index = List.Add(cdc);

            tn.EnsureVisible();
            tn.TreeView.SelectedNode = tn;
            return(index);
        }
コード例 #2
0
 public int Add(CDiscCollection cdc)
 {
     return(List.Add(cdc));
 }