예제 #1
0
 public void ActivateTab(INotebookTab notebookTab)
 {
     if (IndexOf(notebookTab) != -1)
     {
         ActiveTab = notebookTab;
     }
 }
예제 #2
0
        public void Remove(INotebookTab widget)
        {
            var idx = IndexOf(widget);

            if (idx == -1)
            {
                throw new ArgumentException();
            }

            RemoveImpl(idx);
        }
예제 #3
0
 public void CloseTab(INotebookTab notebookTab)
 {
     Remove(notebookTab);
 }
예제 #4
0
 public void Add(INotebookTab widget, int index, bool pinned = false)
 {
     AddImpl(widget, index, pinned);
 }
예제 #5
0
 public void Add(INotebookTab widget, bool pinned = false)
 {
     AddImpl(widget, Count, pinned);
 }