Changeset 2474 for trunk/sources/HeuristicLab.GP.Algorithms
- Timestamp:
- 11/10/09 16:50:26 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.GP.Algorithms/3.2
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP.Algorithms/3.2/HeuristicLab.GP.Algorithms-3.2.csproj
r2341 r2474 103 103 </ItemGroup> 104 104 <ItemGroup> 105 <ProjectReference Include="..\..\HeuristicLab.Common\3.2\HeuristicLab.Common-3.2.csproj"> 106 <Project>{1FC004FC-59AF-4249-B1B6-FF25873A20E4}</Project> 107 <Name>HeuristicLab.Common-3.2</Name> 108 </ProjectReference> 105 109 <ProjectReference Include="..\..\HeuristicLab.Core\3.2\HeuristicLab.Core-3.2.csproj"> 106 110 <Project>{F43B59AB-2B8C-4570-BC1E-15592086517C}</Project> -
trunk/sources/HeuristicLab.GP.Algorithms/3.2/HeuristicLabGpAlgorithmsPlugin.cs
r2341 r2474 28 28 [ClassInfo(Name = "HeuristicLab.GP.Algorithms-3.2")] 29 29 [PluginFile(Filename = "HeuristicLab.GP.Algorithms-3.2.dll", Filetype = PluginFileType.Assembly)] 30 [Dependency(Dependency = "HeuristicLab.Common-3.2")] 30 31 public class HeuristicLabGpAlgorithmsPlugin : PluginBase { 31 32 } -
trunk/sources/HeuristicLab.GP.Algorithms/3.2/OffSpringSelectionGpEditor.cs
r2341 r2474 23 23 using System.Windows.Forms; 24 24 using HeuristicLab.PluginInfrastructure; 25 using HeuristicLab.Common; 25 26 using HeuristicLab.Core; 26 27 … … 43 44 44 45 protected override void RemoveItemEvents() { 45 OffspringSelectionGP.Engine.ExceptionOccurred -= new EventHandler<E xceptionEventArgs>(Engine_ExceptionOccurred);46 OffspringSelectionGP.Engine.ExceptionOccurred -= new EventHandler<EventArgs<Exception>>(Engine_ExceptionOccurred); 46 47 OffspringSelectionGP.Engine.Finished -= new EventHandler(Engine_Finished); 47 48 scopeView.Scope = null; … … 51 52 protected override void AddItemEvents() { 52 53 base.AddItemEvents(); 53 OffspringSelectionGP.Engine.ExceptionOccurred += new EventHandler<E xceptionEventArgs>(Engine_ExceptionOccurred);54 OffspringSelectionGP.Engine.ExceptionOccurred += new EventHandler<EventArgs<Exception>>(Engine_ExceptionOccurred); 54 55 OffspringSelectionGP.Engine.Finished += new EventHandler(Engine_Finished); 55 56 SetDataBinding(); … … 111 112 112 113 #region Engine Events 113 private delegate void OnExceptionEventDelegate(object sender, E xceptionEventArgse);114 private void Engine_ExceptionOccurred(object sender, E xceptionEventArgse) {114 private delegate void OnExceptionEventDelegate(object sender, EventArgs<Exception> e); 115 private void Engine_ExceptionOccurred(object sender, EventArgs<Exception> e) { 115 116 if (InvokeRequired) 116 117 Invoke(new OnExceptionEventDelegate(Engine_ExceptionOccurred), sender, e); 117 118 else 118 Auxiliary.ShowErrorMessageBox(e. Exception);119 Auxiliary.ShowErrorMessageBox(e.Value); 119 120 } 120 121 private void Engine_Finished(object sender, EventArgs e) { -
trunk/sources/HeuristicLab.GP.Algorithms/3.2/StandardGpEditor.cs
r2341 r2474 22 22 using System; 23 23 using System.Windows.Forms; 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; 25 26 using HeuristicLab.PluginInfrastructure; … … 43 44 44 45 protected override void RemoveItemEvents() { 45 StandardGP.Engine.ExceptionOccurred -= new EventHandler<E xceptionEventArgs>(Engine_ExceptionOccurred);46 StandardGP.Engine.ExceptionOccurred -= new EventHandler<EventArgs<Exception>>(Engine_ExceptionOccurred); 46 47 StandardGP.Engine.Finished -= new EventHandler(Engine_Finished); 47 48 scopeView.Scope = null; … … 50 51 protected override void AddItemEvents() { 51 52 base.AddItemEvents(); 52 StandardGP.Engine.ExceptionOccurred += new EventHandler<E xceptionEventArgs>(Engine_ExceptionOccurred);53 StandardGP.Engine.ExceptionOccurred += new EventHandler<EventArgs<Exception>>(Engine_ExceptionOccurred); 53 54 StandardGP.Engine.Finished += new EventHandler(Engine_Finished); 54 55 SetDataBinding(); … … 109 110 110 111 #region Engine Events 111 private delegate void OnExceptionEventDelegate(object sender, E xceptionEventArgse);112 private void Engine_ExceptionOccurred(object sender, E xceptionEventArgse) {112 private delegate void OnExceptionEventDelegate(object sender, EventArgs<Exception> e); 113 private void Engine_ExceptionOccurred(object sender, EventArgs<Exception> e) { 113 114 if (InvokeRequired) 114 115 Invoke(new OnExceptionEventDelegate(Engine_ExceptionOccurred), sender, e); 115 116 else 116 Auxiliary.ShowErrorMessageBox(e. Exception);117 Auxiliary.ShowErrorMessageBox(e.Value); 117 118 } 118 119 private void Engine_Finished(object sender, EventArgs e) {
Note: See TracChangeset
for help on using the changeset viewer.