public void OpenAlfrescoPane(bool Show) { if (m_AlfrescoPane == null) { m_AlfrescoPane = new AlfrescoPane(); m_AlfrescoPane.DefaultTemplate = m_DefaultTemplate; m_AlfrescoPane.PowerPointApplication = Application; } if (Show) { m_AlfrescoPane.Show(); if (Application.Presentations.Count > 0) { m_AlfrescoPane.showDocumentDetails(); } else { m_AlfrescoPane.showHome(false); } Application.Activate(); m_AppWatcher.AlfrescoWindow = m_AlfrescoPane.Handle.ToInt32(); } }
public void OpenAlfrescoPane(bool Show) { if (m_AlfrescoPane == null) { m_AlfrescoPane = new AlfrescoPane(); m_AlfrescoPane.DefaultTemplate = m_DefaultTemplate; m_AlfrescoPane.PowerPointApplication = Application; } if (Show) { m_AlfrescoPane.Show(); if (Application.Presentations.Count > 0) { m_AlfrescoPane.showDocumentDetails(); } else { m_AlfrescoPane.showHome(false); } Application.Activate(); m_AppWatcher.AlfrescoWindow = m_AlfrescoPane.Handle.ToInt32(); } }
private void ThisAddIn_Shutdown(object sender, System.EventArgs e) { SaveToolbarPosition(); CloseAlfrescoPane(); m_AlfrescoPane = null; }
private void ThisAddIn_Shutdown(object sender, System.EventArgs e) { SaveToolbarPosition(); CloseAlfrescoPane(); m_AlfrescoPane = null; }