private void bw_DoWorkNew(object sender, DoWorkEventArgs e) { try { m_fmProgress.lblDescription.Invoke( (MethodInvoker) delegate() { m_fmProgress.lblDescription.Text = "Hệ thống đang xử lý dữ liệu ... "; } ); } catch (Exception ex) { } DoiTac.CapNhatDuLieu(); if (m_fmProgress.Cancel) { // Set the e.Cancel flag so that the WorkerCompleted event // knows that the process was canceled. e.Cancel = true; return; } }