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/Toolbar/DownloadFromOKBToolbarItem.cs

    r13767 r16958  
    2020#endregion
    2121
     22using System;
     23using System.Drawing;
    2224using HeuristicLab.Common;
    2325using HeuristicLab.MainForm;
    24 using System;
    25 using System.Drawing;
    2626
    2727namespace HeuristicLab.OptimizationExpertSystem.Toolbar {
     
    6666    private void DownloadProgressOnStateChanged(object sender, EventArgs eventArgs) {
    6767      var progress = (IProgress)sender;
    68       if (progress.ProgressState == ProgressState.Finished || progress.ProgressState == ProgressState.Canceled) {
     68      if (progress.ProgressState == ProgressState.Finished || progress.ProgressState == ProgressState.CancelRequested) {
    6969        SetToolStripItemEnabled(true);
    7070        progress.ProgressStateChanged -= DownloadProgressOnStateChanged;
Note: See TracChangeset for help on using the changeset viewer.