//导出数据 private void barButtonItem1_ItemClick_1(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { FormResultSH fr = new FormResultSH(); fr.LI = this.treeList1; fr.Text = this.Text; fr.ShowDialog(); }