Пример #1
0
        public void Remove(DocumentContent content)
        {
            System.Diagnostics.Debug.Assert(content != null);
            if (content == null)
            {
                return;
            }

            RemoveItem(content);
            Documents.Remove(content);
            content.Close();
        }
Пример #2
0
        public void Remove(DocumentContent content)
        {
            System.Diagnostics.Debug.Assert(content != null);
            if (content == null)
            {
                return;
            }

            RemoveItem(content);
            Documents.Remove(content);
            content.Close();
            TabItem tab = null;

            if (ActiveDocument != null)
            {
                tab = ActiveDocument.ParentTab;
            }
            //DockManager.InvokeActiveTabChanged(tab);
        }
Пример #3
0
        public void Remove(DocumentContent content)
        {
            System.Diagnostics.Debug.Assert(content != null);
            if (content == null)
                return;

            RemoveItem(content);
            Documents.Remove(content);
            content.Close();
        }