private void callback_DocumentActivationChanged(Object sender, DocumentActivationChangedEventArgs e) { try { WriteLine(String.Format("DocumentActivationChanged - {0}", e.NewValue)); } catch (System.Exception ex) { Helper.Message(ex); } }
private void DocumentManager_DocumentActivationChanged(object sender, DocumentActivationChangedEventArgs e) { _ps.Visible = false; _uc2.DataContext = null; _uc3.DataContext = null; }