Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/15/19 14:52:20 (6 years ago)
Author:
abeham
Message:

#2457: adapted to trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2457_ExpertSystem/HeuristicLab.OptimizationExpertSystem/3.3/Menu/0_Config/30_DownloadFromOkbMenuItem.cs

    r13767 r16958  
    2020#endregion
    2121
     22using System;
     23using System.Collections.Generic;
     24using System.Drawing;
    2225using HeuristicLab.Common;
    2326using HeuristicLab.Common.Resources;
    2427using HeuristicLab.MainForm;
    25 using System;
    26 using System.Collections.Generic;
    27 using System.Drawing;
    2828
    2929namespace HeuristicLab.OptimizationExpertSystem.Menu {
     
    7272    private void DownloadProgressOnStateChanged(object sender, EventArgs eventArgs) {
    7373      var progress = (IProgress)sender;
    74       if (progress.ProgressState == ProgressState.Finished || progress.ProgressState == ProgressState.Canceled) {
     74      if (progress.ProgressState == ProgressState.Finished || progress.ProgressState == ProgressState.CancelRequested) {
    7575        SetToolStripItemEnabled(true);
    7676        progress.ProgressStateChanged -= DownloadProgressOnStateChanged;
Note: See TracChangeset for help on using the changeset viewer.