Changeset 3386 for trunk/sources/HeuristicLab.Core/3.3
- Timestamp:
- 04/17/10 23:50:05 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/OperatorGraph.cs
r3317 r3386 90 90 protected OperatorGraph(bool deserializing) : base(deserializing) { } 91 91 92 //mkommend: IMPROTANT DO NOT REMOVE THIS PRIVATE EVENT 93 //needed to register OperatorGraph events in GraphVisualizationInfo 94 public event EventHandler DeserializationFinished; 95 private void OnOperatorGraphDeserializationFinished() { 96 EventHandler handler = DeserializationFinished; 97 if(handler != null) 98 handler(this,EventArgs.Empty); 99 } 92 100 [StorableHook(HookType.AfterDeserialization)] 93 101 private void Initialize() { 94 102 RegisterOperatorsEvents(); 103 OnOperatorGraphDeserializationFinished(); 95 104 } 96 105
Note: See TracChangeset
for help on using the changeset viewer.