public void SetThreadProgressCallback(ThreadProgressDelegate threadProgressFunction) { this.threadProgressFunction = threadProgressFunction; }