/// <summary> /// Raises event dictating how the search has terminated. /// </summary> /// <param name="aborted"></param> private void NotifyStatus(bool aborted) { if (aborted) { if (SearchAborted != null) { SearchAborted(this, EventArgs.Empty); } } else { m_waitForm.Dismiss(); if (SearchCompleted != null) { SearchCompleted(this, EventArgs.Empty); } } }