Exemple #1
0
 private void TransactionBuilderOnProgressCompleted(object sender, FileProcessorCompletedEventArgs e)
 {
     if (ProgressCompleted != null)
     {
         ProgressCompleted(sender, e);
     }
 }
 private void OnProgressCompleted(object sender, FileProcessorCompletedEventArgs e)
 {
     _processedFile++;
     if (_processedFile == _fileCount)
     {
         if (ProgressCompleted != null)
         {
             ProgressCompleted(sender, e);
         }
     }
     else
     {
         OnProgressChanged(this, new ProgressChangedEventArgs(100, CompendiumFile));
         ProcessFile();
     }
 }
Exemple #3
0
 private void OnProgressCompleted(object sender, FileProcessorCompletedEventArgs e)
 {
     _processedFile++;
     if (_processedFile == _fileCount)
     {
         if (ProgressCompleted != null)
         {
             ProgressCompleted(sender, e);
         }
     }
     else
     {
         OnProgressChanged(this, new ProgressChangedEventArgs(100, CompendiumFile));
         ProcessFile();
     }
 }
        private void OnProgressCompleted(object sender, FileProcessorCompletedEventArgs e)
        {
            if (e.NeedRefresh)
            {
                _needRefresh = e.NeedRefresh;
            }

            _processedFile++;

            if (_processedFile == _fileCount)
            {
                if (ProgressCompleted != null)
                {
                    ProgressCompleted(sender, e);
                }
            }
            else
            {
                if (ProgressChanged != null)
                {
                    ProgressChanged(sender, new ProgressChangedEventArgs(100, null));
                }
            }
        }
        private void OnProgressCompleted(object sender, FileProcessorCompletedEventArgs e)
        {
            if (e.NeedRefresh)
            {
                _needRefresh = e.NeedRefresh;
            }

            _processedFile ++;

            if (_processedFile == _fileCount)
            {
                if (ProgressCompleted != null)
                {
                    ProgressCompleted(sender, e);
                }
            }
            else
            {
                if (ProgressChanged != null)
                {
                    ProgressChanged(sender, new ProgressChangedEventArgs(100, null));
                }
            }
        }
 private void TransactionBuilderOnProgressCompleted(object sender, FileProcessorCompletedEventArgs e)
 {
     if (ProgressCompleted != null)
     {
         ProgressCompleted(sender, e);
     }
 }
Exemple #7
0
 private void OnProgressCompleted(object sender, FileProcessorCompletedEventArgs e)
 {
     Loader.Visibility = Visibility.Collapsed;
     if (e.NeedRefresh)
     {
         Refresh(Breadcrumbs.CurrentBreadcrumbControl);
     }
 }