Changeset 8138
- Timestamp:
- 06/27/12 17:24:49 (12 years ago)
- Location:
- trunk/sources/HeuristicLab.Clients.OKB.Views/3.3/Query/Views
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.OKB.Views/3.3/Query/Views/EqualityComparisonBoolFilterView.cs
r8055 r8138 52 52 private void valueComboBox_SelectedIndexChanged(object sender, System.EventArgs e) { 53 53 if (Content != null) { 54 Content.Value = valueComboBox.SelectedItem == "true" ? true : false;54 Content.Value = valueComboBox.SelectedItem.ToString() == "true"; 55 55 } 56 56 } -
trunk/sources/HeuristicLab.Clients.OKB.Views/3.3/Query/Views/EqualityComparisonFilterView.cs
r8055 r8138 54 54 private void comparisonComboBox_SelectedIndexChanged(object sender, System.EventArgs e) { 55 55 if (Content != null) { 56 if (comparisonComboBox.SelectedItem == "=")56 if (comparisonComboBox.SelectedItem.ToString() == "=") 57 57 Content.Comparison = EqualityComparison.Equal; 58 else if (comparisonComboBox.SelectedItem == "<>")58 else if (comparisonComboBox.SelectedItem.ToString() == "<>") 59 59 Content.Comparison = EqualityComparison.NotEqual; 60 60 } -
trunk/sources/HeuristicLab.Clients.OKB.Views/3.3/Query/Views/OrdinalComparisonFilterView.cs
r8055 r8138 63 63 private void comparisonComboBox_SelectedIndexChanged(object sender, System.EventArgs e) { 64 64 if (Content != null) { 65 if (comparisonComboBox.SelectedItem == "<")65 if (comparisonComboBox.SelectedItem.ToString() == "<") 66 66 Content.Comparison = OrdinalComparison.Less; 67 else if (comparisonComboBox.SelectedItem == "<=")67 else if (comparisonComboBox.SelectedItem.ToString() == "<=") 68 68 Content.Comparison = OrdinalComparison.LessOrEqual; 69 else if (comparisonComboBox.SelectedItem == "=")69 else if (comparisonComboBox.SelectedItem.ToString() == "=") 70 70 Content.Comparison = OrdinalComparison.Equal; 71 else if (comparisonComboBox.SelectedItem == ">=")71 else if (comparisonComboBox.SelectedItem.ToString() == ">=") 72 72 Content.Comparison = OrdinalComparison.GreaterOrEqual; 73 else if (comparisonComboBox.SelectedItem == ">")73 else if (comparisonComboBox.SelectedItem.ToString() == ">") 74 74 Content.Comparison = OrdinalComparison.Greater; 75 else if (comparisonComboBox.SelectedItem == "<>")75 else if (comparisonComboBox.SelectedItem.ToString() == "<>") 76 76 Content.Comparison = OrdinalComparison.NotEqual; 77 77 } -
trunk/sources/HeuristicLab.Clients.OKB.Views/3.3/Query/Views/StringComparisonAvailableValuesFilterView.cs
r8055 r8138 66 66 private void comparisonComboBox_SelectedIndexChanged(object sender, System.EventArgs e) { 67 67 if (Content != null) { 68 if (comparisonComboBox.SelectedItem == "=")68 if (comparisonComboBox.SelectedItem.ToString() == "=") 69 69 Content.Comparison = StringComparison.Equal; 70 else if (comparisonComboBox.SelectedItem == "<>")70 else if (comparisonComboBox.SelectedItem.ToString() == "<>") 71 71 Content.Comparison = StringComparison.NotEqual; 72 else if (comparisonComboBox.SelectedItem == "contains")72 else if (comparisonComboBox.SelectedItem.ToString() == "contains") 73 73 Content.Comparison = StringComparison.Contains; 74 else if (comparisonComboBox.SelectedItem == "not contains")74 else if (comparisonComboBox.SelectedItem.ToString() == "not contains") 75 75 Content.Comparison = StringComparison.NotContains; 76 else if (comparisonComboBox.SelectedItem == "like")76 else if (comparisonComboBox.SelectedItem.ToString() == "like") 77 77 Content.Comparison = StringComparison.Like; 78 else if (comparisonComboBox.SelectedItem == "not like")78 else if (comparisonComboBox.SelectedItem.ToString() == "not like") 79 79 Content.Comparison = StringComparison.NotLike; 80 80 } -
trunk/sources/HeuristicLab.Clients.OKB.Views/3.3/Query/Views/StringComparisonFilterView.cs
r8055 r8138 66 66 private void comparisonComboBox_SelectedIndexChanged(object sender, System.EventArgs e) { 67 67 if (Content != null) { 68 if (comparisonComboBox.SelectedItem == "=")68 if (comparisonComboBox.SelectedItem.ToString() == "=") 69 69 Content.Comparison = StringComparison.Equal; 70 else if (comparisonComboBox.SelectedItem == "<>")70 else if (comparisonComboBox.SelectedItem.ToString() == "<>") 71 71 Content.Comparison = StringComparison.NotEqual; 72 else if (comparisonComboBox.SelectedItem == "contains")72 else if (comparisonComboBox.SelectedItem.ToString() == "contains") 73 73 Content.Comparison = StringComparison.Contains; 74 else if (comparisonComboBox.SelectedItem == "not contains")74 else if (comparisonComboBox.SelectedItem.ToString() == "not contains") 75 75 Content.Comparison = StringComparison.NotContains; 76 else if (comparisonComboBox.SelectedItem == "like")76 else if (comparisonComboBox.SelectedItem.ToString() == "like") 77 77 Content.Comparison = StringComparison.Like; 78 else if (comparisonComboBox.SelectedItem == "not like")78 else if (comparisonComboBox.SelectedItem.ToString() == "not like") 79 79 Content.Comparison = StringComparison.NotLike; 80 80 }
Note: See TracChangeset
for help on using the changeset viewer.