private void button7_Click(object sender, EventArgs e)
        {
            try
            {
                //client.Inventory.FolderUpdated -= new EventHandler<FolderUpdatedEventArgs>(Inventory_OnFolderUpdated);
                //searching = true;
                treeView1.ExpandAll();
                ClearBackColor();

                //FindByText();

                TreeViewWalker treeViewWalker = new TreeViewWalker(treeView1);

                treeViewWalker.ProcessNode += new ProcessNodeEventHandler(treeViewWalker_ProcessNode_HighlightMatchingNodes);

                treeViewWalker.ProcessTree();
            }
            catch
            {
                ;
            }
        }
        //public void UpdateFolder(object folderID)
        //{
        //    UpdateFolder((UUID)folderID);
        //}
        public void UpdateFolder(UUID folderID)
        {
            if (this.InvokeRequired) this.BeginInvoke((MethodInvoker)delegate { UpdateFolder(folderID); });
            else
            {
                if (searching) return;

                //if (folderID == CoF.UUID)
                //{
                //    CoF = (InventoryFolder)client.Inventory.Store.Items[client.Inventory.FindFolderForType(AssetType.CurrentOutfitFolder)].Data; ;
                //}

                if (folderID == UUID.Zero || folderID == null)
                {
                    folderID = client.Inventory.Store.RootFolder.UUID;
                }

                try
                {
                    TreeViewWalker treeViewWalker = new TreeViewWalker(treeView1);

                    treeViewWalker.LoadInventory(instance, folderID);

                    if (selectednode != null)
                    {
                        treeView1.HideSelection = false;
                        treeView1.SelectedNode = selectednode;
                        treeView1.SelectedNode.EnsureVisible();
                    }
                }
                catch { ; }

                if (folderID == favfolder)
                {
                    List<InventoryBase> invroot = client.Inventory.Store.GetContents(favfolder);
                    instance.MainForm.UpdateFavourites(invroot);
                }

                treeView1.Sort();
            }
        }