Example #1
0
        private void bgWorkerSave_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            formProgressBar.Close();
            formProgressBar.Dispose();

            if (saveResult != SaveResult.Success)
            {
                ReportError(saveResult);
            }
            else
            {
                AfterSave();
            }
        }
        private void bgWorkerDualSave_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            try
            {
                dualSaveProgressBar.Close();
                dualSaveProgressBar.Dispose();

                if (!dualSaveCancelled && (int)e.Result != 1 && videoFileWriter != null)
                    videoFileWriter.CloseSavingContext((int)e.Result == 0);
            }
            catch (Exception exception)
            {
                log.ErrorFormat("Error while completing dual save. {0}", exception);
            }

            NotificationCenter.RaiseRefreshFileExplorer(this, false);
        }
Example #3
0
 private void bgWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     m_FormProgressBar.Close();
     m_FormProgressBar.Dispose();
     ProcessingOver();
 }
 private void bgWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     formProgressBar.Close();
     formProgressBar.Dispose();
 }