Exemple #1
0
 private void ResetTimeline()
 {
     NowTimelineList.Clear();
     foreach (var timeline in TimelineListTab.Where(q => q.IsNowTab == true).Select(q => q).Single().TimelineList)
     {
         NowTimelineList.Add(timeline);
     }
 }
Exemple #2
0
        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);
            }
        }