public CertifiedPackageUpload() { InitializeComponent(); CertifiedPackageList.SetRecordsToShow(50); PackageSearch.SetRecordsToShow(50); DiaryGroup.ItemsSource = DiaryPager.SetPaging(CertifiedPackageList.NotUploaded(), 50).DefaultView; }
public CertifiedPackageView() { InitializeComponent(); DiariesGrid.ItemsSource = PackagePager.SetPaging(CertifiedPackageList.Uploaded(), 20).DefaultView; PackageSearch.SetRecordsToShow(20); int[] RecordsToDisplay = { 20, 50, 100, 500, 1000 }; foreach (int Record in RecordsToDisplay) { Records.Items.Add(Record); } Records.SelectedItem = 20; RecordsDisplayed = Convert.ToInt32(Records.SelectedItem); PageNumberDisplay(); }