Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/07/10 14:36:22 (14 years ago)
Author:
mkommend
Message:
  • refactored ViewHost and various views to use fewer nested controls
  • added UnitTests for ContentViews to ensure proper using of the ContentAttribute
  • fixed some views which could not handle null as Content

(ticket #972)

File:
1 edited

Legend:

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

    r3904 r4011  
    7878
    7979    private void valueCheckBox_CheckedChanged(object sender, EventArgs e) {
    80       if (!Content.ReadOnly) Content.Value = valueCheckBox.Checked;
     80      if (Content != null && !Content.ReadOnly) Content.Value = valueCheckBox.Checked;
    8181    }
    8282  }
Note: See TracChangeset for help on using the changeset viewer.