private void ResetTimeline() { NowTimelineList.Clear(); foreach (var timeline in TimelineListTab.Where(q => q.IsNowTab == true).Select(q => q).Single().TimelineList) { NowTimelineList.Add(timeline); } }
private void ChangeTabAsync(TimelineTab tab) { foreach (var t in TimelineListTab) { t.IsNowTab = false; } tab.IsNowTab = true; NowTimelineList.Clear(); foreach (var t in tab.TimelineList) { NowTimelineList.Add(t); } }