Changeset 15477 for branches/EnhancedProgress/HeuristicLab.Optimizer
- Timestamp:
- 11/16/17 10:30:21 (7 years ago)
- Location:
- branches/EnhancedProgress/HeuristicLab.Optimizer/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/EnhancedProgress/HeuristicLab.Optimizer/3.3/FileManager.cs
r14185 r15477 161 161 mainForm.Invoke((Action)delegate { 162 162 if (showProgress) { 163 mainForm.AddOperationProgressToContent(content, string.Format("Saving to file \"{0}\"...", Path.GetFileName(fileName ?? content.Filename)));163 Progress.ShowMarquee(content, string.Format("Saving to file \"{0}\"...", Path.GetFileName(fileName ?? content.Filename))); 164 164 } else 165 mainForm.RemoveOperationProgressFromContent(content);165 Progress.Hide(content); 166 166 }); 167 167 #endregion -
branches/EnhancedProgress/HeuristicLab.Optimizer/3.3/StartPage.cs
r15446 r15477 88 88 89 89 private void LoadSamples(object state) { 90 progress = MainFormManager.GetMainForm<HeuristicLab.MainForm.WindowsForms.MainForm>().AddOperationProgressToView(samplesListView, "Loading...", 0);90 progress = Progress.Show(samplesListView, "Loading..."); 91 91 try { 92 92 var assembly = Assembly.GetExecutingAssembly(); … … 112 112 OnAllSamplesLoaded(); 113 113 } finally { 114 MainFormManager.GetMainForm<HeuristicLab.MainForm.WindowsForms.MainForm>().RemoveOperationProgressFromView(samplesListView);114 Progress.Hide(samplesListView); 115 115 } 116 116 }
Note: See TracChangeset
for help on using the changeset viewer.