Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/16/10 01:49:10 (14 years ago)
Author:
swagner
Message:

Adapted views of HeuristicLab.Core.Views according the new read-only property and renamed method SetEnableStateOfControls into SetEnabledStateOfControls (#973).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Data.Views/3.3/BoolValueView.cs

    r3350 r3362  
    6262        valueCheckBox.Checked = Content.Value;
    6363      }
    64       SetEnableStateOfControls();
     64      SetEnabledStateOfControls();
    6565    }
    6666
    6767    protected override void OnReadOnlyChanged() {
    6868      base.OnReadOnlyChanged();
    69       SetEnableStateOfControls();
     69      SetEnabledStateOfControls();
    7070    }
    71     private void SetEnableStateOfControls() {
     71    private void SetEnabledStateOfControls() {
    7272      if (Content == null) valueCheckBox.Enabled = false;
    7373      else valueCheckBox.Enabled = !ReadOnly;
Note: See TracChangeset for help on using the changeset viewer.