Exemple #1
0
            private FileNode(FileNode parent, string text)
            {
                this.treeNode_      = parent.treeNode_.Add(text);
                this.treeNode_.Data = this;

                this.filterNode_ = parent.filterNode_.AddChild(this);

                this.InitDirectory_();
            }
Exemple #2
0
            public FileNode(FileTreeView <TFile, TFiles> treeView)
            {
                this.treeNode_      = treeView.betterTreeView_.Root;
                this.treeNode_.Data = this;

                this.filterNode_ = treeView.filterImpl_.Root.AddChild(this);

                this.InitDirectory_();
            }
Exemple #3
0
            private FileNode(FileNode parent, TFile file)
            {
                this.File = file;

                this.treeNode_ =
                    parent.treeNode_.Add(file.BetterFileName ?? file.FileName);
                this.treeNode_.Data = this;

                this.filterNode_ = parent.filterNode_.AddChild(this);

                this.InitFile_();
            }