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