Changeset 15415 for branches/EnhancedProgress/HeuristicLab.MainForm.WindowsForms/3.3/MainForms/MainForm.cs
- Timestamp:
- 10/10/17 14:30:37 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/EnhancedProgress/HeuristicLab.MainForm.WindowsForms/3.3/MainForms/MainForm.cs
r15400 r15415 353 353 /// Adds a <see cref="ProgressView"/> to the <see cref="ContentView"/>s showing the specified content. 354 354 /// </summary> 355 [Obsolete] 355 356 public IProgress AddOperationProgressToContent(IContent content, string progressMessage, bool addToObjectGraphObjects = true) { 356 357 if (InvokeRequired) { … … 371 372 contentViews = contentViews.Where(v => v.Content == content); 372 373 373 var progress = new Progress(progressMessage, ProgressState.Started); 374 var progress = new Progress(); 375 progress.Start(progressMessage); 374 376 foreach (var contentView in contentViews) { 375 377 progressViews.Add(new ProgressView(contentView, progress)); … … 383 385 /// Adds a <see cref="ProgressView"/> to the specified view. 384 386 /// </summary> 387 [Obsolete] 385 388 public IProgress AddOperationProgressToView(Control control, string progressMessage) { 386 var progress = new Progress(progressMessage, ProgressState.Started); 389 var progress = new Progress(); 390 progress.Start(progressMessage); 387 391 AddOperationProgressToView(control, progress); 388 392 return progress;
Note: See TracChangeset
for help on using the changeset viewer.