protected override void OnClick() { // to check the state of the extension, get the extension log.Info("Retrieving a reference to the extension object to check state."); GoogleMapsEngineToolsExtensionForArcGIS ext = GoogleMapsEngineToolsExtensionForArcGIS.GetExtension(); // check to see if the extension is enabled log.Debug("Verifying extension is enabled."); if (ext.isExtensionEnabled()) { // initialize the About form log.Info("Initializing dialogs.settings.About and showing it."); Extension.Dialogs.Settings.About aboutForm = new Extension.Dialogs.Settings.About(); // make the about form visible aboutForm.Show(); } }