protected override void OnStartup()
        {
            IEditor theEditor = ArcMap.Editor;
            //get the cadastral extension
            ICadastralExtensionManager2 pCadExtMan = (ICadastralExtensionManager2)ArcMap.Application.FindExtensionByName("esriCadastralUI.CadastralEditorExtension");

            m_pParcEditorMan    = (IParcelEditManager)pCadExtMan;
            m_pParcelEditEvents = pCadExtMan as IParcelEditEvents_Event;
            WireParcelFabricEvents();

            WireEditorEvents();
        }
        protected override void OnStartup()
        {
            IEditor theEditor = ArcMap.Editor;
            UID     pUID      = new UIDClass();
            ICadastralExtensionManager2 pCadExtMan;

            pUID.Value = "{114D685F-99B7-4B63-B09F-6D1A41A4DDC1}";

            pCadExtMan       = (ICadastralExtensionManager2)ArcMap.Application.FindExtensionByCLSID(pUID);
            m_pParcEditorMan = (IParcelEditManager)pCadExtMan;

            m_pParcelEditEvents   = pCadExtMan as IParcelEditEvents_Event;
            m_ParcelEditHelperExt = ParcelEditHelperExtension.GetParcelEditHelperExtension();
            WireEditorEvents();
        }