private void _mainForm_OnActiveDocumentChanged() { _toolBarManager.ShowPane(ActivePane); _menuManager.ShowPane(ActivePane); }