/// <summary>
        /// Initializes a new instance of the <see cref="T:System.Object"/> class.
        /// </summary>
        public BuildDetailManager(TfsContext tfsContext)
        {
            this.tfsContext = tfsContext;
            settingsService = tfsContext.GetService <SettingsService>();
            tfsContext.ConnectionChanged += TfsContextOnConnectionChanged;
            var isEnabled = settingsService.Get(SettingsKeys.LoadBuildInformationsKey, false);

            SetEnabled(isEnabled);
            UpdateContainingBuilds();
        }
        public void ShowQueryResults(string queryText)
        {
            var workItemControlHost = tfsContext.GetService <IWorkItemControlHost>();

            workItemControlHost.ShowQueryResults(tfsContext.TeamProjectCollection, tfsContext.TfsContextManager.CurrentContext.TeamProjectName, queryText);
        }