Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/04/10 05:22:47 (14 years ago)
Author:
swagner
Message:

Continued work on algorithm batch processing (#947).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/EngineAlgorithmView.cs

    r3261 r3262  
    9898    }
    9999
    100     protected override void Content_RunningChanged(object sender, EventArgs e) {
     100    protected override void Content_ExecutionStateChanged(object sender, EventArgs e) {
    101101      if (InvokeRequired)
    102         Invoke(new EventHandler(Content_RunningChanged), sender, e);
     102        Invoke(new EventHandler(Content_ExecutionStateChanged), sender, e);
    103103      else {
    104         createUserDefinedAlgorithmButton.Enabled = !Content.Running;
    105         engineComboBox.Enabled = !Content.Running;
    106         engineViewHost.Enabled = !Content.Running;
    107         base.Content_RunningChanged(sender, e);
     104        createUserDefinedAlgorithmButton.Enabled = Content.ExecutionState != ExecutionState.Started;
     105        engineComboBox.Enabled = Content.ExecutionState != ExecutionState.Started;
     106        engineViewHost.Enabled = Content.ExecutionState != ExecutionState.Started;
     107        base.Content_ExecutionStateChanged(sender, e);
    108108      }
    109109    }
Note: See TracChangeset for help on using the changeset viewer.