BatchGuy.App.CreateAviSynthFilesForm.bgwCreateFFMSIndexBatchFile_RunWorkerCompleted C# (CSharp) Méthode

bgwCreateFFMSIndexBatchFile_RunWorkerCompleted() private méthode

private bgwCreateFFMSIndexBatchFile_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
sender object
e RunWorkerCompletedEventArgs
Résultat void
        private void bgwCreateFFMSIndexBatchFile_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            IFFMSIndexBatchFileWriteService batchFileWriteService = e.Result as FFMSIndexBatchFileWriteService;
            if (batchFileWriteService.Errors.Count() == 0)
            {
                MessageBox.Show("ffmsindex Batch File created!", "Process Complete", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            else
            {
                MessageBox.Show(string.Format("Error: {0}", batchFileWriteService.Errors[0].Description), "Error occurred", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
            gbScreen.SetEnabled(true);
        }