Exemplo n.º 1
0
 private static void OnBackgroundCacheUpdateStatusChanged(BackgroundAutoCompleteStatus status, Exception errorDetails)
 {
     if (BackgroundCacheUpdateStatusChanged != null)
     {
         BackgroundCacheUpdateStatusChanged(status, errorDetails);
     }
 }
Exemplo n.º 2
0
 private static void OnBackgroundCacheUpdateStatusChanged(BackgroundAutoCompleteStatus status, Exception errorDetails)
 {
     if (BackgroundCacheUpdateStatusChanged != null)
     {
         BackgroundCacheUpdateStatusChanged(status, errorDetails);
     }
 }
Exemplo n.º 3
0
 private void AutoComplete_BackgroundCacheUpdateStatusChanged(BackgroundAutoCompleteStatus status, Exception errorDetails)
 {
     if (status == BackgroundAutoCompleteStatus.Finished)
     {
         if (this.IsHandleCreated)
         {
             this.Invoke(new AnonymousDelegate(UpdateFunctionList));
         }
     }
 }
Exemplo n.º 4
0
 private void AutoComplete_BackgroundCacheUpdateStatusChanged(BackgroundAutoCompleteStatus status, Exception errorDetails)
 {
     if (status == BackgroundAutoCompleteStatus.Finished)
     {
         if (this.IsHandleCreated)
         {
             this.Invoke(new AnonymousDelegate(UpdateFunctionList));
         }
     }
 }
Exemplo n.º 5
0
 private void AutoComplete_BackgroundCacheUpdateStatusChanged(BackgroundAutoCompleteStatus status, Exception errorDetails)
 {
     string statusText = string.Empty;
     switch (status)
     {
         case BackgroundAutoCompleteStatus.Processing:
             statusText = "Updating autocomplete cache...";
             break;
         case BackgroundAutoCompleteStatus.Finished:
             statusText = string.Empty;
             break;
         case BackgroundAutoCompleteStatus.Error:
             statusText = "AutoComplete error: " + errorDetails.Message;
             break;
     }
     ((IGUIController)this).SetStatusBarText(statusText);
 }