- Timestamp:
- 04/02/14 15:43:14 (11 years ago)
- Location:
- branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/ComparisonFilterView.cs
r10707 r10713 140 140 } 141 141 } 142 //this.Content.ConstraintData = new StringValue(); 142 if (Content.ConstraintData == null) 143 this.Content.ConstraintData = new StringValue(); 143 144 } 144 145 -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/FilterView.Designer.cs
r10696 r10713 104 104 this.lblFiltered.Location = new System.Drawing.Point(15, 47); 105 105 this.lblFiltered.Name = "lblFiltered"; 106 this.lblFiltered.Size = new System.Drawing.Size(4 1, 13);106 this.lblFiltered.Size = new System.Drawing.Size(44, 13); 107 107 this.lblFiltered.TabIndex = 8; 108 this.lblFiltered.Text = "Filtered ";108 this.lblFiltered.Text = "Filtered:"; 109 109 // 110 110 // tbTotal -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/FilterView.cs
r10712 r10713 36 36 37 37 private void Content_CheckedItemsChanged(object sender, Collections.CollectionItemsChangedEventArgs<IFilter> e) { 38 39 foreach (IFilter filter in e.Items) { 40 if (filterView.Content.CheckedItems.Contains(filter) && (filter.ConstraintData == null || string.IsNullOrEmpty(((StringValue)filter.ConstraintData).Value))) { 38 39 foreach (IFilter filter in e.Items) 40 { 41 /* if (filterView.Content.CheckedItems.Contains(filter) && (filter.ConstraintData == null || string.IsNullOrEmpty(((StringValue)filter.ConstraintData).Value)) ) 42 { 41 43 filter.ConstraintData = new StringValue("0"); 42 44 } 45 * */ 43 46 filter.Active = !filter.Active; 44 47 } … … 56 59 57 60 bool[] result = Content.FilterLogic.Preview(filters); 58 61 59 62 int filteredCnt = result.Count(c => !c); 60 63 61 64 tbFiltered.Text = filteredCnt.ToString(); 62 65 double percentage = filteredCnt * 100 / result.Length;
Note: See TracChangeset
for help on using the changeset viewer.