aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonatas Adamonis <dona0169@edu.easj.dk>2017-05-22 17:34:39 +0200
committerDonatas Adamonis <dona0169@edu.easj.dk>2017-05-22 17:34:39 +0200
commit899b172cdc92776d5405858853c4e68a5edf7e88 (patch)
tree2105b2200382227602a1f1abd56bad7c3e09c58f
parent39fe1dc499fa653c37f31b59a237afd806f8996c (diff)
boardmemebermanageApartment methods commented cannot build.
-rw-r--r--ApartmentManager/ApartmentManager/View/BoardMemberManageApartment.xaml.cs23
1 files changed, 12 insertions, 11 deletions
diff --git a/ApartmentManager/ApartmentManager/View/BoardMemberManageApartment.xaml.cs b/ApartmentManager/ApartmentManager/View/BoardMemberManageApartment.xaml.cs
index 81fa3a8..aa5f0c3 100644
--- a/ApartmentManager/ApartmentManager/View/BoardMemberManageApartment.xaml.cs
+++ b/ApartmentManager/ApartmentManager/View/BoardMemberManageApartment.xaml.cs
@@ -14,6 +14,7 @@ using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;
using ApartmentManager.Model;
+using ApartmentManager.Singletons;
// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238
@@ -39,17 +40,17 @@ namespace ApartmentManager.View
this.Frame.Navigate(typeof(BoardMemberCreateApartmentPage));
}
- private bool ApartmentFilter(object item)
- {
- if (String.IsNullOrEmpty(TextFilter.Text))
- return true;
- else
- return ((item as Apartment).BoardMemberCatalogSingleton.IndexOf(TextFilter.Text, StringComparison.OrdinalIgnoreCase) >= 0);
- }
+ //private bool ApartmentFilter(object item)
+ //{
+ // if (String.IsNullOrEmpty(TextFilter.Text))
+ // return true;
+ // else
+ // return ((item as Apartment).BoardMemberCatalogSingleton.IndexOf(TextFilter.Text, StringComparison.OrdinalIgnoreCase) >= 0);
+ //}
- private void txtFilter_TextChanged(object sender, System.Windows.Controls.TextChangedEventArgs e)
- {
- CollectionViewSource.GetDefaultView(lvUsers.ItemsSource).Refresh();
- }
+ //private void txtFilter_TextChanged(object sender, System.Windows.Controls.TextChangedEventArgs e)
+ //{
+ // CollectionViewSource.GetDefaultView(lvUsers.ItemsSource).Refresh();
+ //}
}
}