예제 #1
0
        public void Build()
        {
            Cursor.Current = Cursors.WaitCursor;
            this.ImageList = Program.Window.SPMimageList;
            Nodes.Clear();
            BeginUpdate();
            TreeViewNodeSorter = new NodeSorter();

            ExplorerNodeBase root = null;
            root = new FarmNode(CurrentFarm);
            this.Nodes.Add(root);

            Sort();
            DefaultExpand(root);

            this.SelectedNode = root;

            EndUpdate();
            Cursor.Current = Cursors.Default;
        }
예제 #2
0
        public void Build()
        {
            Cursor.Current = Cursors.WaitCursor;
            this.ImageList = Program.Window.SPMimageList;
            Nodes.Clear();
            BeginUpdate();
            TreeViewNodeSorter = new NodeSorter();

            ExplorerNodeBase root = null;

            root = new FarmNode(CurrentFarm);
            this.Nodes.Add(root);

            Sort();
            DefaultExpand(root);


            this.SelectedNode = root;

            EndUpdate();
            Cursor.Current = Cursors.Default;
        }