Пример #1
0
 public void NextIllust()
 {
     if (this is HistoryPage && HistoryItems.ItemsCount > 0)
     {
         if (HistoryItems.IsCurrentLast)
         {
             HistoryItems.MoveCurrentToFirst();
         }
         else
         {
             HistoryItems.MoveCurrentToNext();
         }
         HistoryItems.ScrollIntoView(HistoryItems.SelectedItem);
     }
 }
Пример #2
0
 public void FirstIllust()
 {
     HistoryItems.MoveCurrentToFirst();
     HistoryItems.ScrollIntoView(HistoryItems.SelectedItem);
 }