Changeset 14425 for trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/PreprocessingCheckedVariablesView.cs
- Timestamp:
- 11/28/16 16:59:48 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/PreprocessingCheckedVariablesView.cs
r14418 r14425 58 58 IList<string> inputs = Content.PreprocessingData.InputVariables; 59 59 if (Content.PreprocessingData.TargetVariable != null) 60 inputs = inputs.Union(new[] { Content.PreprocessingData.TargetVariable}).ToList();60 inputs = inputs.Union(new[] { Content.PreprocessingData.TargetVariable }).ToList(); 61 61 Content.VariableItemList = Content.CreateVariableItemList(inputs); 62 62 } else { … … 70 70 var inputAndTarget = Content.PreprocessingData.InputVariables.Union(target != null ? new[] { target } : new string[] { }); 71 71 foreach (var col in Content.PreprocessingData.GetDoubleVariableNames().Except(inputAndTarget)) { 72 var listViewItem = checkedItemList.ItemsListView.FindItemWithText(col );72 var listViewItem = checkedItemList.ItemsListView.FindItemWithText(col, false, 0, false); 73 73 listViewItem.ForeColor = Color.LightGray; 74 74 } … … 109 109 Content.VariableItemList.Add(new StringValue(name)); 110 110 if (!Content.PreprocessingData.InputVariables.Contains(name) && Content.PreprocessingData.TargetVariable != name) { 111 var listViewItem = checkedItemList.ItemsListView.FindItemWithText(name );111 var listViewItem = checkedItemList.ItemsListView.FindItemWithText(name, false, 0, false); 112 112 listViewItem.ForeColor = Color.LightGray; 113 113 }
Note: See TracChangeset
for help on using the changeset viewer.