Example #1
0
 private void LogStateChange(TabViewModel tab, String message)
 {
     _tail.Append(String.Format("{0} - {1}", tab.DisplayName, message));
 }
Example #2
0
 public void CloseTab(TabViewModel tab)
 {
     DeactivateItem(tab, true);
 }
Example #3
0
 private void ActivateTab(TabViewModel tab)
 {
     tab.DisplayName   = String.Format("Tab {0}", _count++);
     tab.StateChanged += LogStateChange;
     ActivateItem(tab);
 }