Changeset 2474 for trunk/sources/HeuristicLab.GP.StructureIdentification
- Timestamp:
- 11/10/09 16:50:26 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.GP.StructureIdentification/3.4
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP.StructureIdentification/3.4/HeuristicLab.GP.StructureIdentification-3.4.csproj
r1914 r2474 146 146 </ItemGroup> 147 147 <ItemGroup> 148 <ProjectReference Include="..\..\HeuristicLab.Common\3.2\HeuristicLab.Common-3.2.csproj"> 149 <Project>{1FC004FC-59AF-4249-B1B6-FF25873A20E4}</Project> 150 <Name>HeuristicLab.Common-3.2</Name> 151 </ProjectReference> 148 152 <ProjectReference Include="..\..\HeuristicLab.Constraints\3.3\HeuristicLab.Constraints-3.3.csproj"> 149 153 <Project>{19C1E42A-4B48-4EFD-B697-899016F1C198}</Project> -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.4/HeuristicLabGPStructureIdentificationPlugin.cs
r1914 r2474 28 28 [ClassInfo(Name = "HeuristicLab.GP.StructureIdentification-3.4")] 29 29 [PluginFile(Filename = "HeuristicLab.GP.StructureIdentification-3.4.dll", Filetype = PluginFileType.Assembly)] 30 [Dependency(Dependency = "HeuristicLab.Common-3.2")] 30 31 [Dependency(Dependency = "HeuristicLab.Constraints-3.3")] 31 32 [Dependency(Dependency = "HeuristicLab.Core-3.3")] -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.4/OffSpringSelectionGpEditor.cs
r1873 r2474 29 29 using HeuristicLab.PluginInfrastructure; 30 30 using HeuristicLab.Core; 31 using HeuristicLab.Common; 31 32 32 33 namespace HeuristicLab.GP.StructureIdentification { … … 48 49 49 50 protected override void RemoveItemEvents() { 50 OffspringSelectionGP.Engine.ExceptionOccurred -= new EventHandler<E xceptionEventArgs>(Engine_ExceptionOccurred);51 OffspringSelectionGP.Engine.ExceptionOccurred -= new EventHandler<EventArgs<Exception>>(Engine_ExceptionOccurred); 51 52 OffspringSelectionGP.Engine.Finished -= new EventHandler(Engine_Finished); 52 53 scopeView.Scope = null; … … 56 57 protected override void AddItemEvents() { 57 58 base.AddItemEvents(); 58 OffspringSelectionGP.Engine.ExceptionOccurred += new EventHandler<E xceptionEventArgs>(Engine_ExceptionOccurred);59 OffspringSelectionGP.Engine.ExceptionOccurred += new EventHandler<EventArgs<Exception>>(Engine_ExceptionOccurred); 59 60 OffspringSelectionGP.Engine.Finished += new EventHandler(Engine_Finished); 60 61 SetDataBinding(); … … 116 117 117 118 #region Engine Events 118 private delegate void OnExceptionEventDelegate(object sender, E xceptionEventArgse);119 private void Engine_ExceptionOccurred(object sender, E xceptionEventArgse) {119 private delegate void OnExceptionEventDelegate(object sender, EventArgs<Exception> e); 120 private void Engine_ExceptionOccurred(object sender, EventArgs<Exception> e) { 120 121 if (InvokeRequired) 121 122 Invoke(new OnExceptionEventDelegate(Engine_ExceptionOccurred), sender, e); 122 123 else 123 Auxiliary.ShowErrorMessageBox(e. Exception);124 Auxiliary.ShowErrorMessageBox(e.Value); 124 125 } 125 126 private void Engine_Finished(object sender, EventArgs e) { -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.4/StandardGpEditor.cs
r1873 r2474 29 29 using HeuristicLab.PluginInfrastructure; 30 30 using HeuristicLab.Core; 31 using HeuristicLab.Common; 31 32 32 33 namespace HeuristicLab.GP.StructureIdentification { … … 48 49 49 50 protected override void RemoveItemEvents() { 50 StandardGP.Engine.ExceptionOccurred -= new EventHandler<E xceptionEventArgs>(Engine_ExceptionOccurred);51 StandardGP.Engine.ExceptionOccurred -= new EventHandler<EventArgs<Exception>>(Engine_ExceptionOccurred); 51 52 StandardGP.Engine.Finished -= new EventHandler(Engine_Finished); 52 53 scopeView.Scope = null; … … 55 56 protected override void AddItemEvents() { 56 57 base.AddItemEvents(); 57 StandardGP.Engine.ExceptionOccurred += new EventHandler<E xceptionEventArgs>(Engine_ExceptionOccurred);58 StandardGP.Engine.ExceptionOccurred += new EventHandler<EventArgs<Exception>>(Engine_ExceptionOccurred); 58 59 StandardGP.Engine.Finished += new EventHandler(Engine_Finished); 59 60 SetDataBinding(); … … 114 115 115 116 #region Engine Events 116 private delegate void OnExceptionEventDelegate(object sender, E xceptionEventArgse);117 private void Engine_ExceptionOccurred(object sender, E xceptionEventArgse) {117 private delegate void OnExceptionEventDelegate(object sender, EventArgs<Exception> e); 118 private void Engine_ExceptionOccurred(object sender, EventArgs<Exception> e) { 118 119 if (InvokeRequired) 119 120 Invoke(new OnExceptionEventDelegate(Engine_ExceptionOccurred), sender, e); 120 121 else 121 Auxiliary.ShowErrorMessageBox(e. Exception);122 Auxiliary.ShowErrorMessageBox(e.Value); 122 123 } 123 124 private void Engine_Finished(object sender, EventArgs e) {
Note: See TracChangeset
for help on using the changeset viewer.