/// <summary> /// Creates a new ReportExplorer object /// </summary> public DatabasesTreeViewPad() : base() { WorkbenchSingleton.Workbench.ActiveViewContentChanged += ActiveViewContentChanged; WorkbenchSingleton.Workbench.ViewClosed += ActiveViewClosed; _control = new DatabasesTreeViewUserControl(); _databasesTreeView = new DatabasesTreeView(); _databasesTreeView.AdditionalNodes.Add(CSDLDatabaseTreeViewAdditionalNode.Instance); DockPanel.SetDock(_databasesTreeView, Dock.Top); _control.Content.Children.Add(_databasesTreeView); _instance = this; }
/// <summary> /// Creates a new ReportExplorer object /// </summary> public DatabasesTreeViewPad() : base() { SD.Workbench.ActiveViewContentChanged += ActiveViewContentChanged; SD.Workbench.ViewClosed += ActiveViewClosed; _control = new DatabasesTreeViewUserControl(); _databasesTreeView = new DatabasesTreeView(); _databasesTreeView.AdditionalNodes.Add(CSDLDatabaseTreeViewAdditionalNode.Instance); DockPanel.SetDock(_databasesTreeView, Dock.Top); _control.Content.Children.Add(_databasesTreeView); _instance = this; }