public AsyncWorkerProgress(WorkProgressHandler progressHandler) { trace = new TraceSource("FamilyFormProgress", SourceLevels.Warning); progressHandlerFcn = progressHandler; startTime = DateTime.Now; currentProgress = 0.0; currentProgressText = ""; }
public AsyncWorkerProgress(int JobId, WorkProgressHandler progressHandler, CheckIfStopRequested stopRequestHandler = null) { trace = new TraceSource("FamilyFormProgress", SourceLevels.Warning); progressHandlerFcn = progressHandler; stopRequestHandlerFcn = stopRequestHandler; startTime = DateTime.Now; currentProgress = 0.0; currentProgressText = ""; this.jobId = JobId; }