void OnCompleteFile(string file) { CompletedFileHandler handler = CompletedFile; if (handler != null) { var args = new ScanEventArgs(file); handler(this, args); alive_ = args.ContinueRunning; } }