Exemplo n.º 1
0
 protected FileViewRender(FileView fileView)
 {
     this.fileView   = fileView;
     this.controller = fileView.Controller;
     //this.sort = fileView.Sort;
     //this.sortDirection = fileView.SortDirection;
 }
Exemplo n.º 2
0
        internal static FileViewRender GetRender(FileView fileView)
        {
            switch (fileView.View)
            {
            case FileViewRenderMode.Details:
                return(new FileViewDetailsRender(fileView));

            case FileViewRenderMode.Icons:
                return(new FileViewIconsRender(fileView));

            case FileViewRenderMode.Thumbnails:
                if (fileView.Controller.SupportThumbnails)
                {
                    return(new FileViewThumbnailsRender(fileView));
                }
                return(new FileViewIconsRender(fileView));

            default:
                return(new FileViewDetailsRender(fileView));
            }
        }
Exemplo n.º 3
0
 public FolderTree(FileManagerController controller, FileView fileFiew)
     : this(controller)
 {
     _fileView = fileFiew;
 }
Exemplo n.º 4
0
 private void CreateFileView()
 {
     _fileView = new FileView(Controller);
     _fileView.ID = "FileView";
     Controls.Add(_fileView);
 }
Exemplo n.º 5
0
 internal FileViewItem(FileSystemInfo fsi, FileView fileView)
 {
     this._fsi      = fsi;
     this._fileView = fileView;
 }
Exemplo n.º 6
0
 internal FileViewThumbnailsRender(FileView fileView) : base(fileView)
 {
 }
Exemplo n.º 7
0
 internal FileViewIconsRender(FileView fileView) : base(fileView)
 {
 }
Exemplo n.º 8
0
 internal FileViewDetailsRender(FileView fileView) : base(fileView)
 {
 }