Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/28/12 12:00:51 (12 years ago)
Author:
ascheibe
Message:

#1762 implemented review comments:

  • removed self disposing. The progress view now reacts if a progress is set and Finish() is now called on the progress object and not the view.
  • Moved Cancel event from ProgressView to Progress
  • throw ArgumentNullException if the parent view is null
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.MainForm/3.3/Interfaces/IProgress.cs

    r7582 r8145  
    2828
    2929    void Finish();
     30    void SignalSuccessfulCancelation();
    3031
    3132    event EventHandler Finished;
    3233    event EventHandler StatusChanged;
    3334    event EventHandler ProgressValueChanged;
     35
     36    bool CancelRequested { get; set; }
     37    event EventHandler Canceled;
     38
     39
    3440  }
    3541}
Note: See TracChangeset for help on using the changeset viewer.