public void FilterFeats()
 {
     if (FilterTextView.Text.Length == 0)
     {
         _FilteredFeats = new List <Feat>(_SortedFeats);
     }
     else
     {
         _FilteredFeats = new List <Feat>(
             from f in _SortedFeats
             where f.Name.ToUpper().Contains(FilterTextView.Text.ToUpper())
             select f);
     }
     AvailableFeatsView.ReloadData();
 }
        void ReleaseDesignerOutlets()
        {
            if (AvailableFeatsView != null)
            {
                AvailableFeatsView.Dispose();
                AvailableFeatsView = null;
            }

            if (CurrentFeatsView != null)
            {
                CurrentFeatsView.Dispose();
                CurrentFeatsView = null;
            }

            if (FilterTextView != null)
            {
                FilterTextView.Dispose();
                FilterTextView = null;
            }
        }