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);
}