private void button6_Click(object sender, EventArgs e) { fileName = Ultis.RemoveUnicode(emp.NAME) + "_" + CODE.TextDateString(dayStart) + "_" + CODE.TextDateString(dayEnd); frmWait = new frm_Wait("Đang xuất file excel " + BLL_PARA.PathExcel + fileName + ".xlsx"); exExcel = new Thread(export); exExcel.Start(); frmWait.ShowDialog(); }
private void btn_Excel_Click(object sender, EventArgs e) { string month = ""; month = cbx_Month.Text; fileName = "Cham Cong Thang " + month; frmWait = new frm_Wait("Đang xuất file excel " + pathTem + fileName + ".xlsx"); exExcel = new Thread(export); exExcel.Start(); frmWait.ShowDialog(); }