private void btnLoadAllFeatureActivations_Click(object sender, EventArgs e) { using (WaitCursor wait = new WaitCursor()) { allFeatureLocations = null; ActivationFinder finder = new ActivationFinder(); // No Found callback b/c we process final list finder.ExceptionListeners += new ActivationFinder.ExceptionHandler(logException); // Call routine to actually find & report activations allFeatureLocations = finder.FindAllActivationsOfAllFeatures(); } string msgtext = string.Format( "Locations of {0} features loaded", allFeatureLocations.Count ); MessageBox.Show(msgtext); }
private void ReloadAllActivationData() { using (WaitCursor wait = new WaitCursor()) { ActivationFinder finder = new ActivationFinder(); // No Found callback b/c we process final list finder.ExceptionListeners += new ActivationFinder.ExceptionHandler(logException); // Call routine to actually find & report activations m_featureDb.LoadAllData(finder.FindAllActivationsOfAllFeatures()); m_featureDb.MarkFaulty(finder.GetFaultyFeatureIdList()); lblFeatureDefinitions.Text = string.Format( "All {0} Features installed in the Farm", m_featureDb.GetAllFeaturesCount()); } }
private void ReloadAllActivationData() { using (WaitCursor wait = new WaitCursor()) { ActivationFinder finder = new ActivationFinder(); // No Found callback b/c we process final list finder.ExceptionListeners += new ActivationFinder.ExceptionHandler(logException); // Call routine to actually find & report activations m_featureDb.LoadAllData(finder.FindAllActivationsOfAllFeatures()); } }