Changeset 2474 for trunk/sources/HeuristicLab.ES
- Timestamp:
- 11/10/09 16:50:26 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.ES/3.2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.ES/3.2/ESEditor.cs
r2052 r2474 28 28 using System.Windows.Forms; 29 29 using HeuristicLab.PluginInfrastructure; 30 using HeuristicLab.Common; 30 31 using HeuristicLab.Core; 31 32 … … 110 111 /// <remarks>Calls <see cref="ViewBase.RemoveItemEvents"/> of base class <see cref="EditorBase"/>.</remarks> 111 112 protected override void RemoveItemEvents() { 112 ES.Engine.ExceptionOccurred -= new EventHandler<E xceptionEventArgs>(Engine_ExceptionOccurred);113 ES.Engine.ExceptionOccurred -= new EventHandler<EventArgs<Exception>>(Engine_ExceptionOccurred); 113 114 ES.Engine.Finished -= new EventHandler(Engine_Finished); 114 115 ES.Changed -= new EventHandler(ES_Changed); … … 122 123 protected override void AddItemEvents() { 123 124 base.AddItemEvents(); 124 ES.Engine.ExceptionOccurred += new EventHandler<E xceptionEventArgs>(Engine_ExceptionOccurred);125 ES.Engine.ExceptionOccurred += new EventHandler<EventArgs<Exception>>(Engine_ExceptionOccurred); 125 126 ES.Engine.Finished += new EventHandler(Engine_Finished); 126 127 ES.Changed += new EventHandler(ES_Changed); … … 242 243 243 244 #region Engine Events 244 private delegate void OnExceptionEventDelegate(object sender, E xceptionEventArgse);245 private void Engine_ExceptionOccurred(object sender, E xceptionEventArgse) {245 private delegate void OnExceptionEventDelegate(object sender, EventArgs<Exception> e); 246 private void Engine_ExceptionOccurred(object sender, EventArgs<Exception> e) { 246 247 if (InvokeRequired) 247 248 Invoke(new OnExceptionEventDelegate(Engine_ExceptionOccurred), sender, e); 248 249 else 249 Auxiliary.ShowErrorMessageBox(e. Exception);250 Auxiliary.ShowErrorMessageBox(e.Value); 250 251 } 251 252 private void Engine_Finished(object sender, EventArgs e) { -
trunk/sources/HeuristicLab.ES/3.2/HeuristicLab.ES-3.2.csproj
r2052 r2474 104 104 </ItemGroup> 105 105 <ItemGroup> 106 <ProjectReference Include="..\..\HeuristicLab.Common\3.2\HeuristicLab.Common-3.2.csproj"> 107 <Project>{1FC004FC-59AF-4249-B1B6-FF25873A20E4}</Project> 108 <Name>HeuristicLab.Common-3.2</Name> 109 </ProjectReference> 106 110 <ProjectReference Include="..\..\HeuristicLab.Core\3.2\HeuristicLab.Core-3.2.csproj"> 107 111 <Project>{F43B59AB-2B8C-4570-BC1E-15592086517C}</Project> -
trunk/sources/HeuristicLab.ES/3.2/HeuristicLabESPlugin.cs
r1529 r2474 31 31 [ClassInfo(Name = "HeuristicLab.ES-3.2")] 32 32 [PluginFile(Filename = "HeuristicLab.ES-3.2.dll", Filetype = PluginFileType.Assembly)] 33 [Dependency(Dependency = "HeuristicLab.Common-3.2")] 33 34 [Dependency(Dependency = "HeuristicLab.Core-3.2")] 34 35 [Dependency(Dependency = "HeuristicLab.Data-3.2")]
Note: See TracChangeset
for help on using the changeset viewer.