From fd19b684a2a43b456cbbb8c49b66ff3f1624790d Mon Sep 17 00:00:00 2001 From: Paulius Klezys Date: Mon, 22 May 2017 21:08:21 +0200 Subject: sAtyy --- .../View/BoardMemberManageApartment.xaml | 7 +------ .../View/BoardMemberManageApartment.xaml.cs | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 17 deletions(-) diff --git a/ApartmentManager/ApartmentManager/View/BoardMemberManageApartment.xaml b/ApartmentManager/ApartmentManager/View/BoardMemberManageApartment.xaml index a6aec28..7e164a5 100644 --- a/ApartmentManager/ApartmentManager/View/BoardMemberManageApartment.xaml +++ b/ApartmentManager/ApartmentManager/View/BoardMemberManageApartment.xaml @@ -17,22 +17,17 @@ - - - - + - - diff --git a/ApartmentManager/ApartmentManager/View/BoardMemberManageApartment.xaml.cs b/ApartmentManager/ApartmentManager/View/BoardMemberManageApartment.xaml.cs index 81fa3a8..e247306 100644 --- a/ApartmentManager/ApartmentManager/View/BoardMemberManageApartment.xaml.cs +++ b/ApartmentManager/ApartmentManager/View/BoardMemberManageApartment.xaml.cs @@ -39,17 +39,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