Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/04/14 10:51:34 (10 years ago)
Author:
rstoll
Message:
  • Disabled Replace tab in SearchAndReplaceDialog if a filter is active
  • Disabled Replace button in DataGridview if filter is active
  • Refactored/Changed IFilterLogic#IsFiltered from method to property
File:
1 edited

Legend:

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

    r10870 r10930  
    11using System;
    2 using System.Collections.Generic;
    32using System.Windows.Forms;
    43
     
    2221  }
    2322
     23
     24
    2425  public partial class SearchAndReplaceDialog : Form {
    2526    private string[] cmbItemsText = { "Value", "Average", "Median", "Random", "Most Common", "Interpolation" };
     
    4243      tabSearchReplace.SelectTab(tabReplace);
    4344      AddControlsToCurrentTab();
     45    }
     46
     47    public void DisableReplace() {
     48      tabSearchReplace.SelectTab(tabSearch);
     49      tabReplace.Enabled = false;
     50    }
     51
     52    public void EnableReplace() {
     53      tabReplace.Enabled = true;
    4454    }
    4555
     
    97107      remove { btnReplace.Click -= value; }
    98108    }
    99      
    100109  }
    101110}
Note: See TracChangeset for help on using the changeset viewer.