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; }