コード例 #1
0
ファイル: Form1.cs プロジェクト: VanHakobyan/OSinYSUHomeWork
 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;
 }
コード例 #2
0
        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();
        }
コード例 #3
0
        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();
        }