示例#1
0
 private void Records_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     RecordsDisplayed        = Convert.ToInt32(Records.SelectedItem);
     DiariesGrid.ItemsSource = DiaryPager.First(DiaryList.Uploaded(), RecordsDisplayed).DefaultView;
     PageNumberDisplay();
 }
示例#2
0
 private void First_Click(object sender, RoutedEventArgs e)
 {
     DiariesGrid.ItemsSource = DiaryPager.First(DiaryList.Uploaded(), RecordsDisplayed).DefaultView;
     PageNumberDisplay();
 }