Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/16/17 10:30:21 (7 years ago)
Author:
pfleck
Message:

#2845

  • Added an explicit method for StartMarquee.
  • Renamed Add/RemoveOperationProgress methods.
  • Moved progress helpers from MainForm into static Progress methods named Show and Hide.
Location:
branches/EnhancedProgress/HeuristicLab.MainForm/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/EnhancedProgress/HeuristicLab.MainForm/3.3/HeuristicLab.MainForm-3.3.csproj

    r11623 r15477  
    124124    <Compile Include="Interfaces\IProgress.cs" />
    125125    <Compile Include="Plugin.cs" />
    126     <Compile Include="Progress.cs" />
    127126    <Compile Include="ViewAttribute.cs" />
    128127    <Compile Include="Interfaces\IContentView.cs" />
  • branches/EnhancedProgress/HeuristicLab.MainForm/3.3/Interfaces/IProgress.cs

    r15417 r15477  
    3535    /// Changing the ProgressValue when ProgressBarMode is Marquee raises an Exception.
    3636    /// </summary>
     37    /// <exception cref="InvalidOperationException">Setting the ProgressValue-property while in the Marquee state is invalid.</exception>
    3738    double ProgressValue { get; set; }
    3839    bool CanBeStopped { get; }
     
    4041
    4142    /// <summary>
    42     /// Start (or Restart) a progress with ProgressBarMode Marquee
     43    /// Start (or Restart) a progress in ProgressBarMode Continues to display specific progress values (from 0 to 1).
     44    /// A new progress value is reported by setting the ProgressValue-property.
    4345    /// </summary>
    44     void Start(string message);
     46    void Start(string message, double progressValue = 0);
     47
    4548    /// <summary>
    46     /// Start (or Restart) a progress with ProgressBarMode Continues
     49    /// Start (or Restart) a progress in ProgressBarMode Marquee to define an "unknown" progress state.
     50    /// Consider using marquee when the progress is not measurable but the user should be notified that something is still happening.
     51    /// Setting the ProgressValue-property in the Marquee state throws an exception.
    4752    /// </summary>
    48     void Start(string message, double progressValue);
     53    void StartMarquee(string message);
     54
    4955    void Finish();
    5056    void Stop();
Note: See TracChangeset for help on using the changeset viewer.