Example #1
0
 public void PrevIllust()
 {
     if (this is HistoryPage && HistoryItems.ItemsCount > 0)
     {
         if (HistoryItems.IsCurrentFirst)
         {
             HistoryItems.MoveCurrentToLast();
         }
         else
         {
             HistoryItems.MoveCurrentToPrevious();
         }
         HistoryItems.ScrollIntoView(HistoryItems.SelectedItem);
     }
 }
Example #2
0
 public void LastIllust()
 {
     HistoryItems.MoveCurrentToLast();
     HistoryItems.ScrollIntoView(HistoryItems.SelectedItem);
 }