Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/18/17 12:29:59 (7 years ago)
Author:
pfleck
Message:

#2709

  • Fixed initial selection of the grouping text box (empty string instead of null to select the first entry).
  • General code fixes (removed unnessecary bank lines and code, class member order, ...)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing.Views/3.4/ComparisonFilterView.cs

    r14185 r14996  
    3232  [Content(typeof(ComparisonFilter), false)]
    3333  public partial class ComparisonFilterView : ItemView {
    34     public ComparisonFilterView() {
    35       InitializeComponent();
    36     }
    37 
    3834    public new ComparisonFilter Content {
    3935      get { return (ComparisonFilter)base.Content; }
     
    4137    }
    4238
     39    public ComparisonFilterView() {
     40      InitializeComponent();
     41    }
    4342
    4443    protected override void OnContentChanged() {
    4544      base.OnContentChanged();
    46       cbAttr.Items.Clear(); //cmbConstraintColumn.Items.Clear();
    47       cbFilterOperation.Items.Clear(); //cmbConstraintOperation.Items.Clear();
     45      cbAttr.Items.Clear();
     46      cbFilterOperation.Items.Clear();
    4847      tbFilterData.Text = string.Empty;
    4948      if (Content != null) {
     
    121120    }
    122121
    123 
    124122    protected virtual void Content_ComparisonOperationChanged(object sender, EventArgs e) {
    125123      if (Content.ConstraintOperation != (ConstraintOperation)this.cbFilterOperation.SelectedItem)
     
    178176        errorProvider.Clear();
    179177    }
    180 
    181178  }
    182179}
Note: See TracChangeset for help on using the changeset viewer.