public void RemoveTab(IUnitTabPage unitTabPage) { throw new System.NotImplementedException(); }
public void AddTab(IUnitTabPage unitTabPage) { var mainViewModel = DataContext as MainViewModel; filesTab.Location = new Point(4, 28); var tabPage = unitTabPage as TabPage; filesTab.TabPages.Add(tabPage); mainViewModel.SelectedTabIndex = filesTab.SelectedIndex; }
public void AddTab(IUnitTabPage unitTabPage) { }
public void RemoveTab(IUnitTabPage unitTabPage) { int indexOfTab = UnitTabPages.ToList().IndexOf(unitTabPage); filesTab.TabPages.RemoveAt(indexOfTab); }