Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/27/12 17:24:49 (12 years ago)
Author:
ascheibe
Message:

#1174 fixed compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.OKB.Views/3.3/Query/Views/OrdinalComparisonFilterView.cs

    r8055 r8138  
    6363    private void comparisonComboBox_SelectedIndexChanged(object sender, System.EventArgs e) {
    6464      if (Content != null) {
    65         if (comparisonComboBox.SelectedItem == "<")
     65        if (comparisonComboBox.SelectedItem.ToString() == "<")
    6666          Content.Comparison = OrdinalComparison.Less;
    67         else if (comparisonComboBox.SelectedItem == "<=")
     67        else if (comparisonComboBox.SelectedItem.ToString() == "<=")
    6868          Content.Comparison = OrdinalComparison.LessOrEqual;
    69         else if (comparisonComboBox.SelectedItem == "=")
     69        else if (comparisonComboBox.SelectedItem.ToString() == "=")
    7070          Content.Comparison = OrdinalComparison.Equal;
    71         else if (comparisonComboBox.SelectedItem == ">=")
     71        else if (comparisonComboBox.SelectedItem.ToString() == ">=")
    7272          Content.Comparison = OrdinalComparison.GreaterOrEqual;
    73         else if (comparisonComboBox.SelectedItem == ">")
     73        else if (comparisonComboBox.SelectedItem.ToString() == ">")
    7474          Content.Comparison = OrdinalComparison.Greater;
    75         else if (comparisonComboBox.SelectedItem == "<>")
     75        else if (comparisonComboBox.SelectedItem.ToString() == "<>")
    7676          Content.Comparison = OrdinalComparison.NotEqual;
    7777      }
Note: See TracChangeset for help on using the changeset viewer.