private void OnFilterActressInfo(object sender, TextChangedEventArgs e)
        {
            if (this.IsInitialized)
            {
                ActressFilter af = new ActressFilter();
                af.NameKeyWord = this.nameKeyWordTextBox.Text;
                int minHeight = 0, maxHeight = 0;
                int.TryParse(this.minHeightTextBox.Text, out minHeight);
                int.TryParse(this.maxHeightTextBox.Text, out maxHeight);
                af.MinHeight       = minHeight;
                af.MaxHeight       = maxHeight;
                af.SortByScoreDesc = sortByScoreComboBox.SelectedIndex == 0;

                this.FilterActress(af);
            }
        }
 private void FilterActress(ActressFilter filter)
 {
     this.actressList = actressManager.GetActressList(filter.NameKeyWord, filter.MinHeight, filter.MaxHeight, filter.SortByScoreDesc);
     totalPage        = (int)(Math.Ceiling((double)actressList.Count / TOTAL_NUM_PER_PAGE));
     PageChanged(1, true);
 }
 private void FilterActress(ActressFilter filter)
 {
     this.actressList = actressManager.GetActressList(filter.NameKeyWord, filter.MinHeight, filter.MaxHeight, filter.SortByScoreDesc);
     totalPage = (int)(Math.Ceiling((double)actressList.Count / TOTAL_NUM_PER_PAGE));
     PageChanged(1, true);
 }
        private void OnFilterActressInfo(object sender, TextChangedEventArgs e)
        {
            if (this.IsInitialized)
            {
                ActressFilter af = new ActressFilter();
                af.NameKeyWord = this.nameKeyWordTextBox.Text;
                int minHeight = 0, maxHeight = 0;
                int.TryParse(this.minHeightTextBox.Text, out minHeight);
                int.TryParse(this.maxHeightTextBox.Text, out maxHeight);
                af.MinHeight = minHeight;
                af.MaxHeight = maxHeight;
                af.SortByScoreDesc = sortByScoreComboBox.SelectedIndex == 0;

                this.FilterActress(af);
            }
        }