Listen to ArcCatalog Events in .NET

Discussion created by fridjof on Oct 22, 2012
Latest reply on Oct 22, 2012 by fridjof
Hi All,

I would like listen to the ArcCatalog application event IGxApplicationEvents.OnViewChanged() in a Desktop 10.0 .NET extension, but how do I get this event? According to I would expect:
using ESRI.ArcGIS.ArcCatalog;
using ESRI.ArcGIS.Catalog;
using ESRI.ArcGIS.CatalogUI;
using ESRI.ArcGIS.esriSystem;
using ESRI.ArcGIS.Framework;

        private void registerEvents(IGxApplication app)
            IGxApplicationEvents_Event events = (IGxApplicationEvents_Event)app;
            events.OnViewChanged += this.onAppViewChanged;

However, I cannot find an interface IGxApplicationEvents_Event. Am I missing something...? There is IGxApplicationEvents in ESRI.ArcGIS.CatalogUI, sure, but that doesn't seem to allow me to register an event, just to fire it.