TreeNode ,左侧面板显示三级目录, int sublen = taskht.Keys.Count;//三级目录长度 int len = webht.Keys.Count; //二级目录长度 System.Windows.Forms.TreeNode treeRootNode = new System.Windows.Forms.TreeNode(); //根结点定义 System.Windows.Forms.TreeNode[] treeNode = new System.Windows.Forms.TreeNode[len]; //二级目录定义 System.Windows.Forms.TreeNode[] subTreeNode = new System.Windows.Forms.TreeNode[sublen];//三级目录定义 treeRootNode.Text = "新闻采编";//根结点 treeRootNode.Name = " 新闻采编";//根结点 treeRootNode.ImageKey = "新闻采编";//根结点图像 treeRootNode.ImageIndex = 0;//根结点图像 新闻采编";//根结点 treeRootNode.ImageKey = "新闻采编";//根结点图像 treeRootNode.ImageIndex = 0;//根结点图像