private void bw_CheckCRCCompleted(object sender, RunWorkerCompletedEventArgs e) { animation.Hide(); caller.stop_progBar(); if (!cancel) { if (checksum == Folder_IO.ScanCRC(gvFiles.Rows[workingRow].Cells[3].Value.ToString())) { gvFiles.Rows[workingRow].Cells[0].Value = LFI.Properties.Resources.check; } else { gvFiles.Rows[workingRow].Cells[0].Value = LFI.Properties.Resources.error; } } else { gvFiles.Rows[workingRow].Cells[0].Value = null; } DisableRunButtons(); Check_MultiRunIncrement(); }
public string EstimateCRC() { return(Folder_IO.ScanCRC(fileName)); }