Ignore:
Timestamp:
06/25/14 13:16:53 (8 years ago)
Author:
sbreuer
Message:

show remaining values in filter preview

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/FilterView.cs

    r11002 r11044  
    1818      InitializeComponent();
    1919      tbTotal.Text = "0";
    20       tbFiltered.Text = "0";
     20      tbRemaining.Text = "0";
    2121      tbPercentage.Text = "0%";
    2222    }
     
    6565        bool[] result = Content.FilterLogic.Preview(filters, rBtnAnd.Checked);
    6666
    67         int filteredCnt = result.Count(c => c);
     67        int filteredCnt = result.Count(c => !c);
    6868
    69         tbFiltered.Text = filteredCnt.ToString();
     69        tbRemaining.Text = filteredCnt.ToString();
    7070        double percentage = result.Length == 0 ? 0.0 : filteredCnt * 100 / (double)result.Length;
    7171        tbPercentage.Text = String.Format("{0:0.0000}%", percentage);
Note: See TracChangeset for help on using the changeset viewer.