public AppManager(TabManager tabManager, WindowManager windowManager) { _tabManager = tabManager; _windowManager = windowManager; loadServiceTabs(); initialiseOutputCanvas(); //loadBranchControl(); }
public OutputTab(TabManager tabManager, TabControl tabControl, int tabId, string tabTitle) { _tabManager = tabManager; _tabControl = tabControl; _tabItemControl = new TabItem(); _tabCanvas = new Canvas(); _disposableElements = new List <UIElement>(); _tabItemControl.Content = _tabCanvas; _tabItemControl.Name = "Output" + tabId; _tabItemControl.Header = tabTitle; _tabItemControl.Width = TAB_ITEM_WIDTH; _tabItemControl.Margin = _tabManager.FocusedOutputTabThickness; //_tabItemControl.MouseLeftButtonUp += selectOutputTab; _tabControl.Items.Add(_tabItemControl); addCloseButton(); TabId = tabId; }