コード例 #1
0
 private void TransactionBuilderOnProgressCompleted(object sender, FileProcessorCompletedEventArgs e)
 {
     if (ProgressCompleted != null)
     {
         ProgressCompleted(sender, e);
     }
 }
コード例 #2
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();
     }
 }
コード例 #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();
     }
 }
コード例 #4
0
        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));
                }
            }
        }
コード例 #5
0
        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));
                }
            }
        }
コード例 #6
0
 private void TransactionBuilderOnProgressCompleted(object sender, FileProcessorCompletedEventArgs e)
 {
     if (ProgressCompleted != null)
     {
         ProgressCompleted(sender, e);
     }
 }
コード例 #7
0
ファイル: MainPage.xaml.cs プロジェクト: chris-tomich/Glyma
 private void OnProgressCompleted(object sender, FileProcessorCompletedEventArgs e)
 {
     Loader.Visibility = Visibility.Collapsed;
     if (e.NeedRefresh)
     {
         Refresh(Breadcrumbs.CurrentBreadcrumbControl);
     }
 }