Example #1
0
 private void Gen_Progress(object sender, DocGenerationEventArgs e)
 {
     if (Progress != null)
     {
         Progress(this, new DocGenerationEventArgs() { DocsGenerated = e.DocsGenerated, NumberOfDocs = e.NumberOfDocs });
     }
 }
Example #2
0
 private void Gen_Progress(object sender, DocGenerationEventArgs e)
 {
     if (Progress != null)
     {
         Progress(this, new DocGenerationEventArgs()
         {
             DocsGenerated = e.DocsGenerated, NumberOfDocs = e.NumberOfDocs
         });
     }
 }
 private void Gen_Progress(object sender, DocGenerationEventArgs e)
 {
     // Update progress bar
     Dispatcher.BeginInvoke(new Action(() => pbProgress.Value = (int)(e.DocsGenerated * 100 / e.NumberOfDocs)));
 }
 private void Gen_Progress(object sender, DocGenerationEventArgs e)
 {
     // Update progress bar
     Dispatcher.BeginInvoke(new Action(() => pbProgress.Value = (int)(e.DocsGenerated * 100 / e.NumberOfDocs)));
 }