예제 #1
0
 public void ReplaceTab(TabItemViewModel old, TabItemViewModel current)
 {
     if (VideoTabs.Contains(old))
     {
         VideoTabs[VideoTabs.IndexOf(old)] = current;
     }
     else if (LiveTabs.Contains(old))
     {
         LiveTabs.Insert(LiveTabs.IndexOf(old), current);
     }
 }