Ejemplo n.º 1
0
        public override void DestroyView()
        {
            _paneDocuments.DestroyPane();
            _paneNotes.DestroyPane();

            base.DestroyView();
        }
Ejemplo n.º 2
0
        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();
        }