Changeset 16692 for branches/2521_ProblemRefactoring/HeuristicLab.DataPreprocessing.Views/3.4/SearchAndReplaceDialog.cs
- Timestamp:
- 03/18/19 17:24:30 (5 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring
- Property svn:ignore
-
old new 24 24 protoc.exe 25 25 obj 26 .vs
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/2521_ProblemRefactoring/HeuristicLab.DataPreprocessing.Views
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.DataPreprocessing.Views/3.4
- Property svn:ignore
-
old new 1 1 ComparisonFilterView.resx 2 2 FilterView.resx 3 *.user
-
- Property svn:ignore
-
branches/2521_ProblemRefactoring/HeuristicLab.DataPreprocessing.Views/3.4/SearchAndReplaceDialog.cs
r10930 r16692 1 using System; 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 using System; 2 23 using System.Windows.Forms; 3 24 … … 21 42 } 22 43 23 24 25 44 public partial class SearchAndReplaceDialog : Form { 26 private st ring[] cmbItemsText = { "Value", "Average", "Median", "Random", "Most Common", "Interpolation" };27 private st ring[] cmbComparisonOperatorText = { "==", "<", "<=", ">", ">=", "!=" };45 private static readonly string[] ItemsText = { "Value", "Average", "Median", "Random", "Most Common", "Interpolation" }; 46 private static readonly string[] ComparisonOperatorText = { "==", "<", "<=", ">", ">=", "!=" }; 28 47 29 48 public SearchAndReplaceDialog() { 30 49 InitializeComponent(); 31 cmbReplaceWith.Items.AddRange( cmbItemsText);50 cmbReplaceWith.Items.AddRange(ItemsText); 32 51 cmbReplaceWith.SelectedIndex = (int)ReplaceAction.Value; 33 cmbComparisonOperator.Items.AddRange( cmbComparisonOperatorText);52 cmbComparisonOperator.Items.AddRange(ComparisonOperatorText); 34 53 cmbComparisonOperator.SelectedIndex = (int)ComparisonOperation.Equal; 35 54 }
Note: See TracChangeset
for help on using the changeset viewer.