From 899b172cdc92776d5405858853c4e68a5edf7e88 Mon Sep 17 00:00:00 2001 From: Donatas Adamonis Date: Mon, 22 May 2017 17:34:39 +0200 Subject: boardmemebermanageApartment methods commented cannot build. --- .../View/BoardMemberManageApartment.xaml.cs | 23 +++++++++++----------- 1 file 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(); + //} } } -- cgit v1.2.3