- Timestamp:
- 05/04/17 17:19:35 (8 years ago)
- Location:
- branches/PersistenceReintegration/HeuristicLab.Core.Views/3.3
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceReintegration/HeuristicLab.Core.Views/3.3/Clipboard.cs
r14185 r14927 56 56 } 57 57 } 58 } 59 catch (Exception ex) { 58 } catch (Exception ex) { 60 59 throw new ArgumentException(string.Format("Invalid items path \"{0}\".", itemsPath), ex); 61 60 } … … 158 157 T item = XmlParser.Deserialize<T>(filename); 159 158 OnItemLoaded(item, progressBar.Maximum / items.Length); 160 } 161 catch (Exception) { } 159 } catch (Exception) { } 162 160 } 163 161 OnAllItemsLoaded(); … … 201 199 XmlGenerator.Serialize(item, ItemsPath + Path.DirectorySeparatorChar + i.ToString("00000000") + ".hl", CompressionLevel.Optimal); 202 200 OnItemSaved(item, progressBar.Maximum / listView.Items.Count); 203 } 204 catch (Exception) { } 205 finally { 201 } catch (Exception) { } finally { 206 202 SetEnabledStateOfContentViews(item, true); 207 203 } … … 330 326 AddItem(item); 331 327 } 332 } 333 catch (Exception ex) { 328 } catch (Exception ex) { 334 329 ErrorHandling.ShowErrorDialog(this, ex); 335 330 } … … 350 345 try { 351 346 AddItem((T)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType()); 352 } 353 catch (Exception ex) { 347 } catch (Exception ex) { 354 348 ErrorHandling.ShowErrorDialog(this, ex); 355 349 } -
branches/PersistenceReintegration/HeuristicLab.Core.Views/3.3/HeuristicLab.Core.Views-3.3.csproj
r14926 r14927 364 364 <Name>HeuristicLab.MainForm-3.3</Name> 365 365 <Private>False</Private> 366 </ProjectReference> 367 <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj"> 368 <Project>{102bc7d3-0ef9-439c-8f6d-96ff0fdb8e1b}</Project> 369 <Name>HeuristicLab.Persistence-3.3</Name> 366 370 </ProjectReference> 367 371 <ProjectReference Include="..\..\HeuristicLab.Persistence\4.0\HeuristicLab.Persistence-4.0.csproj"> -
branches/PersistenceReintegration/HeuristicLab.Core.Views/3.3/MovieView.cs
r14185 r14927 193 193 bool terminate = false; 194 194 while (!backgroundWorker.CancellationPending && !terminate) { 195 Invoke((Action)delegate () {195 Invoke((Action)delegate () { 196 196 if (trackBar.Value < trackBar.Maximum) trackBar.Value++; 197 197 terminate = trackBar.Value == trackBar.Maximum; -
branches/PersistenceReintegration/HeuristicLab.Core.Views/3.3/OperatorCollectionView.cs
r14185 r14927 49 49 try { 50 50 return (IOperator)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType(); 51 } 52 catch (Exception ex) { 51 } catch (Exception ex) { 53 52 ErrorHandling.ShowErrorDialog(this, ex); 54 53 } -
branches/PersistenceReintegration/HeuristicLab.Core.Views/3.3/OperatorListView.cs
r14185 r14927 49 49 try { 50 50 return (IOperator)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType(); 51 } 52 catch (Exception ex) { 51 } catch (Exception ex) { 53 52 ErrorHandling.ShowErrorDialog(this, ex); 54 53 } -
branches/PersistenceReintegration/HeuristicLab.Core.Views/3.3/OperatorSetView.cs
r14185 r14927 49 49 try { 50 50 return (IOperator)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType(); 51 } 52 catch (Exception ex) { 51 } catch (Exception ex) { 53 52 ErrorHandling.ShowErrorDialog(this, ex); 54 53 } -
branches/PersistenceReintegration/HeuristicLab.Core.Views/3.3/TypeSelectorDialog.cs
r14185 r14927 37 37 set { 38 38 if (InvokeRequired) 39 Invoke(new Action<string>(delegate (string s) { Caption = s; }), value);39 Invoke(new Action<string>(delegate (string s) { Caption = s; }), value); 40 40 else 41 41 Text = value;
Note: See TracChangeset
for help on using the changeset viewer.