private void btExcelExport_Click(object sender, EventArgs e) { heavy.Start(1); Thread thread = new Thread(new ThreadStart(ExportarDatosExcel)); thread.Start(); }
private void Main_Load(object sender, EventArgs e) { heavy.Start(0); training(); }