Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/04/17 17:19:35 (8 years ago)
Author:
gkronber
Message:

#2520: changed all usages of StorableClass to use StorableType with an auto-generated GUID (did not add StorableType to other type definitions yet)

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  
    5656            }
    5757          }
    58         }
    59         catch (Exception ex) {
     58        } catch (Exception ex) {
    6059          throw new ArgumentException(string.Format("Invalid items path \"{0}\".", itemsPath), ex);
    6160        }
     
    158157          T item = XmlParser.Deserialize<T>(filename);
    159158          OnItemLoaded(item, progressBar.Maximum / items.Length);
    160         }
    161         catch (Exception) { }
     159        } catch (Exception) { }
    162160      }
    163161      OnAllItemsLoaded();
     
    201199          XmlGenerator.Serialize(item, ItemsPath + Path.DirectorySeparatorChar + i.ToString("00000000") + ".hl", CompressionLevel.Optimal);
    202200          OnItemSaved(item, progressBar.Maximum / listView.Items.Count);
    203         }
    204         catch (Exception) { }
    205         finally {
     201        } catch (Exception) { } finally {
    206202          SetEnabledStateOfContentViews(item, true);
    207203        }
     
    330326              AddItem(item);
    331327          }
    332         }
    333         catch (Exception ex) {
     328        } catch (Exception ex) {
    334329          ErrorHandling.ShowErrorDialog(this, ex);
    335330        }
     
    350345        try {
    351346          AddItem((T)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType());
    352         }
    353         catch (Exception ex) {
     347        } catch (Exception ex) {
    354348          ErrorHandling.ShowErrorDialog(this, ex);
    355349        }
  • branches/PersistenceReintegration/HeuristicLab.Core.Views/3.3/HeuristicLab.Core.Views-3.3.csproj

    r14926 r14927  
    364364      <Name>HeuristicLab.MainForm-3.3</Name>
    365365      <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>
    366370    </ProjectReference>
    367371    <ProjectReference Include="..\..\HeuristicLab.Persistence\4.0\HeuristicLab.Persistence-4.0.csproj">
  • branches/PersistenceReintegration/HeuristicLab.Core.Views/3.3/MovieView.cs

    r14185 r14927  
    193193      bool terminate = false;
    194194      while (!backgroundWorker.CancellationPending && !terminate) {
    195         Invoke((Action)delegate() {
     195        Invoke((Action)delegate () {
    196196          if (trackBar.Value < trackBar.Maximum) trackBar.Value++;
    197197          terminate = trackBar.Value == trackBar.Maximum;
  • branches/PersistenceReintegration/HeuristicLab.Core.Views/3.3/OperatorCollectionView.cs

    r14185 r14927  
    4949        try {
    5050          return (IOperator)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType();
    51         }
    52         catch (Exception ex) {
     51        } catch (Exception ex) {
    5352          ErrorHandling.ShowErrorDialog(this, ex);
    5453        }
  • branches/PersistenceReintegration/HeuristicLab.Core.Views/3.3/OperatorListView.cs

    r14185 r14927  
    4949        try {
    5050          return (IOperator)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType();
    51         }
    52         catch (Exception ex) {
     51        } catch (Exception ex) {
    5352          ErrorHandling.ShowErrorDialog(this, ex);
    5453        }
  • branches/PersistenceReintegration/HeuristicLab.Core.Views/3.3/OperatorSetView.cs

    r14185 r14927  
    4949        try {
    5050          return (IOperator)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType();
    51         }
    52         catch (Exception ex) {
     51        } catch (Exception ex) {
    5352          ErrorHandling.ShowErrorDialog(this, ex);
    5453        }
  • branches/PersistenceReintegration/HeuristicLab.Core.Views/3.3/TypeSelectorDialog.cs

    r14185 r14927  
    3737      set {
    3838        if (InvokeRequired)
    39           Invoke(new Action<string>(delegate(string s) { Caption = s; }), value);
     39          Invoke(new Action<string>(delegate (string s) { Caption = s; }), value);
    4040        else
    4141          Text = value;
Note: See TracChangeset for help on using the changeset viewer.