private void browseFileButton_Click(object sender, EventArgs e) { var filePath = GetFilePathFromOpenFileDialog(); if (!string.IsNullOrEmpty(filePath)) { SuspeciousListFilePathIsValid?.Invoke(this, filePath); } }
protected virtual void OnValidSuspeciousListFilePath(string e) { SuspeciousListFilePathIsValid?.Invoke(this, e); }