Ejemplo n.º 1
0
 void backgroundWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     if (OnProgressWorkCompleted != null)
     {
         ProgressWorkCompletedEventArgs args = new ProgressWorkCompletedEventArgs(e, null);
         if (!isImportInCurrentGameBook)
         {
             args.data = pgnFileWriter.ToString();
         }
         OnProgressWorkCompleted(this, args);
     }
 }
Ejemplo n.º 2
0
 void backgroundWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     if (OnProgressWorkCompleted != null)
     {
         if (isPgnToIcbConversion)
         {
             book.Save();
         }
         ProgressWorkCompletedEventArgs args = new ProgressWorkCompletedEventArgs(e, null);
         OnProgressWorkCompleted(this, args);
     }
 }