void IDockableWindowDef.OnCreate(object hook)
        {
            m_application = hook as IApplication;

            if (m_application == null)
            {
                return;
            }

            // Get the extension
            IExtension pExt = m_application.FindExtensionByName("Workflow Manager");

            m_pExt = pExt as IJTXExtension4;

            // Register for listening with the extension
            m_pExt.AttachListener(this);
            m_pExt.AttachUpdater(this);
        }
 void IDockableWindowDef.OnDestroy()
 {
     m_pExt = null;
     m_pJob = null;
 }
 void IDockableWindowDef.OnDestroy()
 {
     m_pExt = null;
     m_pJob = null;
 }
        void IDockableWindowDef.OnCreate(object hook)
        {
            m_application = hook as IApplication;

            if (m_application == null)
                return;

            // Get the extension
            IExtension pExt = m_application.FindExtensionByName("Workflow Manager");
            m_pExt = pExt as IJTXExtension4;

            // Register for listening with the extension
            m_pExt.AttachListener(this);
            m_pExt.AttachUpdater(this);
        }