Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/11/10 02:48:42 (14 years ago)
Author:
swagner
Message:

Fixed disabling of controls in algorithm views when the algorithm is executed (#905)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.TSP.Views/3.3/TSPView.cs

    r2917 r2998  
    5353    }
    5454
     55    protected override void OnContentChanged() {
     56      base.OnContentChanged();
     57      if (Content == null) {
     58        importButton.Enabled = false;
     59      } else {
     60        importButton.Enabled = true;
     61      }
     62    }
     63
    5564    private void importButton_Click(object sender, System.EventArgs e) {
    5665      if (openFileDialog.ShowDialog(this) == DialogResult.OK) {
Note: See TracChangeset for help on using the changeset viewer.