Пример #1
0
 protected virtual void OnSuggestionLoaded()
 {
     if (SuggestionLoaded != null)
     {
         SuggestionLoaded.Invoke(this, EventArgs.Empty);
     }
 }
 void w_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     SuggestionTarget = new List <string>();
     if (e.Error == null)
     {
         SuggestionTarget = e.Result as List <string>;
         if (SuggestionLoaded != null)
         {
             SuggestionLoaded.Invoke(this, EventArgs.Empty);
         }
     }
 }