private void HandleUpdatedFileList(object sender, FileListUpdatedEventArgs e) { jobsToProcess = e.FilesToProcess; }
private void SendFileListUpdatedEvent(int filesToProcess) { var eventArgs = new FileListUpdatedEventArgs(filesToProcess); if (FileListUpdated != null) { FileListUpdated(this, eventArgs); } }