- Timestamp:
- 05/15/19 14:52:20 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2457_ExpertSystem/HeuristicLab.OptimizationExpertSystem/3.3/Toolbar/DownloadFromOKBToolbarItem.cs
r13767 r16958 20 20 #endregion 21 21 22 using System; 23 using System.Drawing; 22 24 using HeuristicLab.Common; 23 25 using HeuristicLab.MainForm; 24 using System;25 using System.Drawing;26 26 27 27 namespace HeuristicLab.OptimizationExpertSystem.Toolbar { … … 66 66 private void DownloadProgressOnStateChanged(object sender, EventArgs eventArgs) { 67 67 var progress = (IProgress)sender; 68 if (progress.ProgressState == ProgressState.Finished || progress.ProgressState == ProgressState.Cancel ed) {68 if (progress.ProgressState == ProgressState.Finished || progress.ProgressState == ProgressState.CancelRequested) { 69 69 SetToolStripItemEnabled(true); 70 70 progress.ProgressStateChanged -= DownloadProgressOnStateChanged;
Note: See TracChangeset
for help on using the changeset viewer.