Пример #1
0
 void OnWriteDbStart()
 {
     _ctsSetupColumnsDone.Cancel();
     _ctsWriteDbStart = UpdateUITask("正在写入本地数据库");
     Invoke((EventHandler) delegate {
         GridViewInfo.Invalidate();
         GridViewECUInfo.Invalidate();
         GridViewIUPR.Invalidate();
     });
 }
Пример #2
0
 void OnUploadDataStart()
 {
     if (_ctsSetupColumnsDone != null)
     {
         _ctsSetupColumnsDone.Cancel();
     }
     _ctsUploadDataStart = UpdateUITask("正在上传数据");
     Invoke((EventHandler) delegate {
         GridViewInfo.Invalidate();
         GridViewECUInfo.Invalidate();
         GridViewIUPR.Invalidate();
     });
 }
Пример #3
0
 void OnNotUploadData()
 {
     if (_ctsSetupColumnsDone != null)
     {
         _ctsSetupColumnsDone.Cancel();
     }
     Invoke((EventHandler) delegate {
         if (!chkBoxShowData.Checked)
         {
             labelMESInfo.ForeColor = Color.Red;
             labelMESInfo.Text      = "因OBD检测不合格,故数据不上传";
         }
         GridViewInfo.Invalidate();
         GridViewECUInfo.Invalidate();
         GridViewIUPR.Invalidate();
     });
 }