Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public int Add(CDiscCollection cdc)
 {
     return(List.Add(cdc));
 }