示例#1
0
        public FileTreeView(TorrentFileModel treeStore) : base()
        {
            this.treeStore      = treeStore;
            this.Model          = treeStore;
            this.Selection.Mode = SelectionMode.Multiple;
            HeadersVisible      = true;

            BuildColumns();
            BuildContextMenu();
        }
示例#2
0
        public FileTreeView(TorrentFileModel treeStore)
            : base()
        {
            this.treeStore = treeStore;
            this.Model = treeStore;
            this.Selection.Mode = SelectionMode.Multiple;
            HeadersVisible = true;

            BuildColumns ();
            BuildContextMenu ();
        }
示例#3
0
 private void BuildFileTreeView()
 {
     fileTreeStore = new TorrentFileModel();
     fileTreeView = new FileTreeView (fileTreeStore);
     filesScrolledWindow.Add (fileTreeView);
     //fileTreeView.Show();
 }