예제 #1
0
 private void RefreshBloodDonors()
 {
     // This code refreshes the entries in the list view be querying the BloodDonors table.
     // The query excludes completed BloodDonors
     donors = bloodDonorTable
              //.Where(bloodDonor => bloodDonor.NevenDonated == false)
              .ToCollectionView();
 }
예제 #2
0
 public SearchDonorDetails()
 {
     this.InitializeComponent();
     this.DataContext = new RegisterDonorViewModel();
     //donnerList.ItemsSource = App.MobileService.GetTable<BloodDonors>();
     items = donorTableList.ToCollectionView();
     donorList.ItemsSource = items;
 }
예제 #3
0
 private void RefreshTodoItems()
 {
     // This code refreshes the entries in the list view be querying the TodoItems table.
     // REMOVED the filter on completed items, so they're all dislpayed
     items = todoTable
             //.Where(todoItem => todoItem.Complete == false)
             .ToCollectionView();
     ListItems.ItemsSource = items;
 }