Changeset 15320 for branches/SimplifierViewsProgress/HeuristicLab.MainForm.WindowsForms/3.3/Controls/ProgressView.cs
- Timestamp:
- 08/10/17 13:53:08 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SimplifierViewsProgress/HeuristicLab.MainForm.WindowsForms/3.3/Controls/ProgressView.cs
r14297 r15320 146 146 try { 147 147 Invoke((Action)UpdateProgressValue); 148 } 149 catch (InvalidOperationException) { 148 } catch (InvalidOperationException) { 150 149 // swallow ObjectDisposedException 151 150 // which might occur if the invoke call is executed after or while the control is disposing … … 154 153 if (content != null) { 155 154 double progressValue = content.ProgressValue; 156 if (progressValue < =0.0 || progressValue > 1.0) {155 if (progressValue < 0.0 || progressValue > 1.0) { 157 156 progressBar.Style = ProgressBarStyle.Marquee; 158 157 } else {
Note: See TracChangeset
for help on using the changeset viewer.