private void Form1_Load(object sender, System.EventArgs e) { tree = new C2C.FileSystem.FileSystemTreeView(); treePanel.Controls.Add(tree); tree.Dock = DockStyle.Fill; //tree.ShowFiles = false; }
public DirectoryNode(FileSystemTreeView treeView, DirectoryInfo directoryInfo) : base(directoryInfo.Name) { this._directoryInfo = directoryInfo; this.ImageIndex = FileSystemTreeView.Folder; this.SelectedImageIndex = this.ImageIndex; treeView.Nodes.Add(this); Virtualize(); }
public DirectoryNode( FileSystemTreeView treeView, DirectoryInfo directoryInfo ) : base(directoryInfo.Name) { this._directoryInfo = directoryInfo; this.ImageIndex = FileSystemTreeView.Folder; this.SelectedImageIndex = this.ImageIndex; treeView.Nodes.Add( this ); Virtualize(); }