/// <summary> /// 生成报表 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnCreateReport_Click(object sender, EventArgs e) { if (cbCountry.Text == "日本") { ExcelGenerator.GetTeamVisaExcelOfJapan(_dgvList, txtGroupNo.Text); } else if (cbCountry.Text == "泰国") { ExcelGenerator.GetTeamVisaExcelOfThailand(_dgvList, txtGroupNo.Text); } }