/// <summary> /// Handles the remove folder. /// </summary> private void HandleRemoveFolder() { String path = Process.QueryEvents["mainvalue"]; FileTree filetree = new FileTree(Process); filetree.DeleteFolder(path); }