public void RemoveTab(IUnitTabPage unitTabPage)
 {
     throw new System.NotImplementedException();
 }
Esempio n. 2
0
        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)
 {
 }
Esempio n. 4
0
        public void RemoveTab(IUnitTabPage unitTabPage)
        {
            int indexOfTab = UnitTabPages.ToList().IndexOf(unitTabPage);

            filesTab.TabPages.RemoveAt(indexOfTab);
        }