Exemple #1
0
        private void E_WindowsManager_ActiveDocumentChanged(object sender, Cuisine.Windows.ActiveDocumentChangedEventArgs e)
        {
            // active document, workflow info have been already set in ActiveContentManager,
            // here we need to propagate the change to any loaded window that must be informed

            // for the VisualPropertyPage, it is through ActiveContentHelper : VisualPropertyPage.Refresh()
            // to be called only if a different drawing board is becoming active. see ActiveContentHelper.SetCurrentDrawingBoard()
        }
 private void OnActiveDocumentChanged(ActiveDocumentChangedEventArgs e)
 {
     ActiveDocumentChanged?.Invoke(this, e);
 }
 private void DocumentContainer_ActiveDocumentChanged(object sender, ActiveDocumentChangedEventArgs e)
 {
     OnActiveDocumentChanged(e);
 }