/// <summary>
 /// Respond to the IsReady
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="eventArgs"></param>
 private void RespondToIsReadyChangedEvent(object sender, IsReadyChangedEventArgs eventArgs) {
     SrcMLFileLogger.DefaultLogger.Info("SrcMLService: RespondToStartupCompletedEvent()");
     if(eventArgs.ReadyState) {
         // Clear the progress bar.
         amountCompleted = 0;
         if(statusBar != null) {
             statusBar.Progress(ref cookie, 0, "", 0, 0);
         }
         DisplayTextOnStatusBar("SrcML Service has finished processing files");
         duringStartup = false;
     }
     OnIsReadyChanged(eventArgs);
 }
 protected virtual void OnIsReadyChanged(IsReadyChangedEventArgs e) {
     EventHandler<IsReadyChangedEventArgs> handler = IsReadyChanged;
     if(handler != null) {
         handler(this, e);
     }
 }
 void archive_IsReadyChanged(object sender, IsReadyChangedEventArgs e) {
     if(e.ReadyState) {
         numberOfWorkingArchives--;
     } else {
         numberOfWorkingArchives++;
     }
     if(0 == numberOfWorkingArchives) {
         IsReady = true;
     } else {
         IsReady = false;
     }
 }