Пример #1
0
        public void OpenAlfrescoPane(bool Show)
        {
            if (m_AlfrescoPane == null)
             {
            m_AlfrescoPane = new AlfrescoPane();
            m_AlfrescoPane.DefaultTemplate = m_DefaultTemplate;
            m_AlfrescoPane.ExcelApplication = Application;
             }

             if (Show)
             {
            m_AlfrescoPane.Show();
            if (Application.Workbooks.Count > 0)
            {
               m_AlfrescoPane.showDocumentDetails();
            }
            else
            {
               m_AlfrescoPane.showHome(false);
            }
            m_AppWatcher.AlfrescoWindow = m_AlfrescoPane.Handle.ToInt32();
             }
        }
Пример #2
0
        public void OpenAlfrescoPane(bool Show)
        {
            if (m_AlfrescoPane == null)
            {
                m_AlfrescoPane = new AlfrescoPane();
                m_AlfrescoPane.DefaultTemplate  = m_DefaultTemplate;
                m_AlfrescoPane.ExcelApplication = Application;
            }

            if (Show)
            {
                m_AlfrescoPane.Show();
                if (Application.Workbooks.Count > 0)
                {
                    m_AlfrescoPane.showDocumentDetails();
                }
                else
                {
                    m_AlfrescoPane.showHome(false);
                }
                m_AppWatcher.AlfrescoWindow = m_AlfrescoPane.Handle.ToInt32();
            }
        }
Пример #3
0
 private void ThisAddIn_Shutdown(object sender, System.EventArgs e)
 {
     SaveToolbarPosition();
     CloseAlfrescoPane();
     m_AlfrescoPane = null;
 }
Пример #4
0
 private void ThisAddIn_Shutdown(object sender, System.EventArgs e)
 {
     SaveToolbarPosition();
      CloseAlfrescoPane();
      m_AlfrescoPane = null;
 }