Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/03/12 16:46:35 (12 years ago)
Author:
gkronber
Message:

#1847: merged r8084:8205 from trunk into GP move operators branch

Location:
branches/GP-MoveOperators
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/GP-MoveOperators

  • branches/GP-MoveOperators/HeuristicLab.Clients.OKB.Views/3.3/Query/Views/EqualityComparisonBoolFilterView.cs

    r8055 r8206  
    5252    private void valueComboBox_SelectedIndexChanged(object sender, System.EventArgs e) {
    5353      if (Content != null) {
    54         Content.Value = valueComboBox.SelectedItem == "true" ? true : false;
     54        Content.Value = valueComboBox.SelectedItem.ToString() == "true";
    5555      }
    5656    }
  • branches/GP-MoveOperators/HeuristicLab.Clients.OKB.Views/3.3/Query/Views/EqualityComparisonFilterView.cs

    r8055 r8206  
    5454    private void comparisonComboBox_SelectedIndexChanged(object sender, System.EventArgs e) {
    5555      if (Content != null) {
    56         if (comparisonComboBox.SelectedItem == "=")
     56        if (comparisonComboBox.SelectedItem.ToString() == "=")
    5757          Content.Comparison = EqualityComparison.Equal;
    58         else if (comparisonComboBox.SelectedItem == "<>")
     58        else if (comparisonComboBox.SelectedItem.ToString() == "<>")
    5959          Content.Comparison = EqualityComparison.NotEqual;
    6060      }
  • branches/GP-MoveOperators/HeuristicLab.Clients.OKB.Views/3.3/Query/Views/OrdinalComparisonFilterView.cs

    r8055 r8206  
    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      }
  • branches/GP-MoveOperators/HeuristicLab.Clients.OKB.Views/3.3/Query/Views/StringComparisonAvailableValuesFilterView.cs

    r8055 r8206  
    6666    private void comparisonComboBox_SelectedIndexChanged(object sender, System.EventArgs e) {
    6767      if (Content != null) {
    68         if (comparisonComboBox.SelectedItem == "=")
     68        if (comparisonComboBox.SelectedItem.ToString() == "=")
    6969          Content.Comparison = StringComparison.Equal;
    70         else if (comparisonComboBox.SelectedItem == "<>")
     70        else if (comparisonComboBox.SelectedItem.ToString() == "<>")
    7171          Content.Comparison = StringComparison.NotEqual;
    72         else if (comparisonComboBox.SelectedItem == "contains")
     72        else if (comparisonComboBox.SelectedItem.ToString() == "contains")
    7373          Content.Comparison = StringComparison.Contains;
    74         else if (comparisonComboBox.SelectedItem == "not contains")
     74        else if (comparisonComboBox.SelectedItem.ToString() == "not contains")
    7575          Content.Comparison = StringComparison.NotContains;
    76         else if (comparisonComboBox.SelectedItem == "like")
     76        else if (comparisonComboBox.SelectedItem.ToString() == "like")
    7777          Content.Comparison = StringComparison.Like;
    78         else if (comparisonComboBox.SelectedItem == "not like")
     78        else if (comparisonComboBox.SelectedItem.ToString() == "not like")
    7979          Content.Comparison = StringComparison.NotLike;
    8080      }
  • branches/GP-MoveOperators/HeuristicLab.Clients.OKB.Views/3.3/Query/Views/StringComparisonFilterView.cs

    r8055 r8206  
    6666    private void comparisonComboBox_SelectedIndexChanged(object sender, System.EventArgs e) {
    6767      if (Content != null) {
    68         if (comparisonComboBox.SelectedItem == "=")
     68        if (comparisonComboBox.SelectedItem.ToString() == "=")
    6969          Content.Comparison = StringComparison.Equal;
    70         else if (comparisonComboBox.SelectedItem == "<>")
     70        else if (comparisonComboBox.SelectedItem.ToString() == "<>")
    7171          Content.Comparison = StringComparison.NotEqual;
    72         else if (comparisonComboBox.SelectedItem == "contains")
     72        else if (comparisonComboBox.SelectedItem.ToString() == "contains")
    7373          Content.Comparison = StringComparison.Contains;
    74         else if (comparisonComboBox.SelectedItem == "not contains")
     74        else if (comparisonComboBox.SelectedItem.ToString() == "not contains")
    7575          Content.Comparison = StringComparison.NotContains;
    76         else if (comparisonComboBox.SelectedItem == "like")
     76        else if (comparisonComboBox.SelectedItem.ToString() == "like")
    7777          Content.Comparison = StringComparison.Like;
    78         else if (comparisonComboBox.SelectedItem == "not like")
     78        else if (comparisonComboBox.SelectedItem.ToString() == "not like")
    7979          Content.Comparison = StringComparison.NotLike;
    8080      }
Note: See TracChangeset for help on using the changeset viewer.