protected virtual void OnFileFinished() { var handler = FileFinished; if (handler != null) { handler (this); } }