private void button1_Click(object sender, EventArgs e) { // 保存sprint_doc_catalog,用来生成文档任务 DocService.saveSprintDocCatalog(this.sprintId, this.treeList1.FocusedNode["KeyFieldName"].ToString(), this.owner_id); this.documentTreeViews = DocService.findDocumentTreeViewByDocTemplateId(this.doc_template_id, this.sprintId); this.treeList1.DataSource = this.documentTreeViews; // 数据绑定 }