private void RaiseCompletedEvent(string path) { FileCompletedEventArgs args = new FileCompletedEventArgs(); args.FileName = path; OnFileCompleted(args); }
protected virtual void OnFileCompleted(FileCompletedEventArgs e) { EventHandler <FileCompletedEventArgs> handler = FileCompleted; if (handler != null) { handler(this, e); } }
protected virtual void OnFileCompleted(FileCompletedEventArgs e) { EventHandler<FileCompletedEventArgs> handler = FileCompleted; if (handler != null) { handler(this, e); } }