public override void DestroyView() { _paneDocuments.DestroyPane(); _paneNotes.DestroyPane(); base.DestroyView(); }
public override void DestroyPane() { _views.MainForm.sourceDocuments.CurrentChanged -= OnCurrentDocumentChanged; if (_paneColumnNotes != null) { _paneColumnNotes.DestroyPane(); } if (_paneNotes != null) { _paneNotes.DestroyPane(); } this.paneSplitter.Panel1Collapsed = true; base.DestroyPane(); }