Changeset 16685 for branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views
- Timestamp:
- 03/14/19 08:05:26 (6 years ago)
- Location:
- branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Views
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Views
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Problems.DataAnalysis.Views merged: 16658
- Property svn:mergeinfo changed
-
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/DataAnalysisSolutionView.cs
r16638 r16685 25 25 using System.Linq; 26 26 using System.Windows.Forms; 27 using HEAL.Attic; 27 28 using HeuristicLab.Core; 28 29 using HeuristicLab.Core.Views; 29 30 using HeuristicLab.MainForm; 30 31 using HeuristicLab.Optimization; 31 using HeuristicLab.Persistence.Default.Xml;32 32 using HeuristicLab.PluginInfrastructure; 33 33 … … 126 126 if (loadProblemDataFileDialog.ShowDialog(this) != DialogResult.OK) return; 127 127 try { 128 object hlFile = XmlParser.Deserialize(loadProblemDataFileDialog.FileName); 128 var ser = new ProtoBufSerializer(); 129 object hlFile = ser.Deserialize(loadProblemDataFileDialog.FileName); 129 130 130 131 IDataAnalysisProblemData problemData = null; … … 145 146 solution.Name += " with loaded problemData"; 146 147 MainFormManager.MainForm.ShowContent(solution); 147 } 148 catch (InvalidOperationException invalidOperationException) { 148 } catch (InvalidOperationException invalidOperationException) { 149 149 ErrorHandling.ShowErrorDialog(this, invalidOperationException); 150 } 151 catch (ArgumentException argumentException) { 150 } catch (ArgumentException argumentException) { 152 151 ErrorHandling.ShowErrorDialog(this, argumentException); 153 152 } … … 235 234 Content.Filename = string.Empty; 236 235 MainFormManager.GetMainForm<HeuristicLab.MainForm.WindowsForms.MainForm>().UpdateTitle(); 237 } 238 catch (InvalidOperationException invalidOperationException) { 236 } catch (InvalidOperationException invalidOperationException) { 239 237 ErrorHandling.ShowErrorDialog(this, invalidOperationException); 240 } 241 catch (ArgumentException argumentException) { 238 } catch (ArgumentException argumentException) { 242 239 ErrorHandling.ShowErrorDialog(this, argumentException); 243 240 }
Note: See TracChangeset
for help on using the changeset viewer.