Changeset 16723 for branches/2521_ProblemRefactoring/HeuristicLab.Clients.OKB.Views/3.3/RunCreation/Views/OKBExperimentUploadView.cs
- Timestamp:
- 03/28/19 16:54:20 (6 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Clients.OKB.Views
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/branches/2520_PersistenceReintegration/HeuristicLab.Clients.OKB.Views merged eligible /branches/2839_HiveProjectManagement/HeuristicLab.Clients.OKB.Views merged eligible /branches/2947_ConfigurableIndexedDataTable/HeuristicLab.Clients.OKB.Views merged eligible /branches/2965_CancelablePersistence/HeuristicLab.Clients.OKB.Views merged eligible /stable/HeuristicLab.Clients.OKB.Views merged eligible /trunk/HeuristicLab.Clients.OKB.Views merged eligible /branches/1721-RandomForestPersistence/HeuristicLab.Clients.OKB.Views 10321-10322 /branches/2892_LR-prediction-intervals/HeuristicLab.Clients.OKB.Views 15743-16388 /branches/2915-AbsoluteSymbol/HeuristicLab.Clients.OKB.Views 15943-16355 /branches/Algorithms.GradientDescent/HeuristicLab.Clients.OKB.Views 5516-5520 /branches/Benchmarking/sources/HeuristicLab.Clients.OKB.Views 6917-7005 /branches/CloningRefactoring/HeuristicLab.Clients.OKB.Views 4656-4721 /branches/CodeEditor/HeuristicLab.Clients.OKB.Views 11700-11806 /branches/DataAnalysis Refactoring/HeuristicLab.Clients.OKB.Views 5471-5808 /branches/DataAnalysis SolutionEnsembles/HeuristicLab.Clients.OKB.Views 5815-6180 /branches/DataAnalysis/HeuristicLab.Clients.OKB.Views 4458-4459,4462,4464 /branches/DataPreprocessing/HeuristicLab.Clients.OKB.Views 10085-11101 /branches/GP.Grammar.Editor/HeuristicLab.Clients.OKB.Views 6284-6795 /branches/GP.Symbols (TimeLag, Diff, Integral)/HeuristicLab.Clients.OKB.Views 5060 /branches/HLScript/HeuristicLab.Clients.OKB.Views 10331-10358 /branches/HeuristicLab.DatasetRefactor/sources/HeuristicLab.Clients.OKB.Views 11570-12508 /branches/HeuristicLab.Problems.DataAnalysis.Trading/HeuristicLab.Clients.OKB.Views 6123-9799 /branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Clients.OKB.Views 11130-12721 /branches/HiveStatistics/sources/HeuristicLab.Clients.OKB.Views 12440-12877 /branches/LogResidualEvaluator/HeuristicLab.Clients.OKB.Views 10202-10483 /branches/NET40/sources/HeuristicLab.Clients.OKB.Views 5138-5162 /branches/NSGA-II Changes/HeuristicLab.Clients.OKB.Views 12033-12122 /branches/ParallelEngine/HeuristicLab.Clients.OKB.Views 5175-5192 /branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Clients.OKB.Views 7568-7810 /branches/QAPAlgorithms/HeuristicLab.Clients.OKB.Views 6350-6627 /branches/Restructure trunk solution/HeuristicLab.Clients.OKB.Views 6828 /branches/RuntimeOptimizer/HeuristicLab.Clients.OKB.Views 8943-9078 /branches/ScatterSearch (trunk integration)/HeuristicLab.Clients.OKB.Views 7787-8333 /branches/SlaveShutdown/HeuristicLab.Clients.OKB.Views 8944-8956 /branches/SpectralKernelForGaussianProcesses/HeuristicLab.Clients.OKB.Views 10204-10479 /branches/SuccessProgressAnalysis/HeuristicLab.Clients.OKB.Views 5370-5682 /branches/Trunk/HeuristicLab.Clients.OKB.Views 6829-6865 /branches/UnloadJobs/HeuristicLab.Clients.OKB.Views 9168-9215 /branches/VNS/HeuristicLab.Clients.OKB.Views 5594-5752 /branches/crossvalidation-2434/HeuristicLab.Clients.OKB.Views 12948-12950 /branches/histogram/HeuristicLab.Clients.OKB.Views 5959-6341
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
-
branches/2521_ProblemRefactoring/HeuristicLab.Clients.OKB.Views/3.3/RunCreation/Views/OKBExperimentUploadView.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 188 188 if (InvokeRequired) { Invoke((Action<object, EventArgs>)RunCreationClient_Refreshing, sender, e); return; } 189 189 var message = "Refreshing algorithms and problems..."; 190 MainFormManager.GetMainForm<HeuristicLab.MainForm.WindowsForms.MainForm>().AddOperationProgressToView(this, message);190 Progress.Show(this, message, ProgressMode.Indeterminate); 191 191 refreshing = true; 192 192 SetEnabledStateOfControls(); … … 195 195 private void RunCreationClient_Refreshed(object sender, EventArgs e) { 196 196 if (InvokeRequired) { Invoke((Action<object, EventArgs>)RunCreationClient_Refreshed, sender, e); return; } 197 MainFormManager.GetMainForm<HeuristicLab.MainForm.WindowsForms.MainForm>().RemoveOperationProgressFromView(this);197 Progress.Hide(this); 198 198 refreshing = false; 199 199 SetEnabledStateOfControls(); … … 203 203 var task = System.Threading.Tasks.Task.Factory.StartNew(UploadAsync); 204 204 task.ContinueWith((t) => { 205 MainFormManager.GetMainForm<HeuristicLab.MainForm.WindowsForms.MainForm>().RemoveOperationProgressFromView(this);205 Progress.Hide(this); 206 206 PluginInfrastructure.ErrorHandling.ShowErrorDialog("An exception occured while uploading the runs to the OKB.", t.Exception); 207 207 }, TaskContinuationOptions.OnlyOnFaulted); … … 210 210 private void UploadAsync() { 211 211 var message = "Uploading runs to OKB..."; 212 IProgress progress = MainFormManager.GetMainForm<HeuristicLab.MainForm.WindowsForms.MainForm>().AddOperationProgressToView(this, message);212 IProgress progress = Progress.Show(this, message); 213 213 double count = dataGridView.Rows.Count; 214 214 int i = 0; … … 226 226 progress.ProgressValue = ((double)i) / count; 227 227 } 228 MainFormManager.GetMainForm<HeuristicLab.MainForm.WindowsForms.MainForm>().RemoveOperationProgressFromView(this);228 Progress.Hide(this); 229 229 ClearRuns(); 230 230 }
Note: See TracChangeset
for help on using the changeset viewer.