public void NewAccountTree()
        {
            var tree = new AccountTreeListItem();
            var node = AddAccountTree(tree);

            treeView.SelectedNode = node;
        }
        public AccountTreeListItemTreeNode AddAccountTree(AccountTreeListItem accountTree)
        {
            var node = new AccountTreeListItemTreeNode(accountTree);

            RootNodesDictionary.Add(accountTree.Id, node);
            treeView.Nodes.Add(node);
            return(node);
        }
 public AccountTreeListItemTreeNode(AccountTreeListItem data)
     : base(data)
 {
 }