Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/10/09 16:50:26 (14 years ago)
Author:
swagner
Message:

Implemented generic EventArgs (#796)

Location:
trunk/sources/HeuristicLab.Communication.Data/3.2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Communication.Data/3.2/HeuristicLab.Communication.Data-3.2.csproj

    r1534 r2474  
    225225  </PropertyGroup>
    226226  <ItemGroup>
     227    <ProjectReference Include="..\..\HeuristicLab.Common\3.2\HeuristicLab.Common-3.2.csproj">
     228      <Project>{1FC004FC-59AF-4249-B1B6-FF25873A20E4}</Project>
     229      <Name>HeuristicLab.Common-3.2</Name>
     230    </ProjectReference>
    227231    <ProjectReference Include="..\..\HeuristicLab.Constraints\3.2\HeuristicLab.Constraints-3.2.csproj">
    228232      <Project>{FCD62C6F-4793-4593-AE9A-0BDCA256EE99}</Project>
  • trunk/sources/HeuristicLab.Communication.Data/3.2/HeuristicLabCommunicationDataPlugin.cs

    r1529 r2474  
    2828  [ClassInfo(Name = "HeuristicLab.Communication.Data-3.2")]
    2929  [PluginFile(Filename = "HeuristicLab.Communication.Data-3.2.dll", Filetype = PluginFileType.Assembly)]
     30  [Dependency(Dependency = "HeuristicLab.Common-3.2")]
    3031  [Dependency(Dependency = "HeuristicLab.Core-3.2")]
    3132  [Dependency(Dependency = "HeuristicLab.Data-3.2")]
  • trunk/sources/HeuristicLab.Communication.Data/3.2/StateTransitionView.cs

    r1529 r2474  
    2727using System.Text;
    2828using System.Windows.Forms;
     29using HeuristicLab.Common;
    2930using HeuristicLab.Core;
    3031using HeuristicLab.Data;
     
    8485      BuildVariablesListBox();
    8586    }
    86     void Parameter_Added(object sender, ItemIndexEventArgs e) {
    87       ((IItem)e.Item).Changed += new EventHandler(Parameter_Changed);
     87    void Parameter_Added(object sender, EventArgs<IItem, int> e) {
     88      e.Value.Changed += new EventHandler(Parameter_Changed);
    8889    }
    89     void Parameter_Removed(object sender, ItemIndexEventArgs e) {
    90       ((IItem)e.Item).Changed -= new EventHandler(Parameter_Changed);
     90    void Parameter_Removed(object sender, EventArgs<IItem, int> e) {
     91      e.Value.Changed -= new EventHandler(Parameter_Changed);
    9192    }
    9293    #endregion
Note: See TracChangeset for help on using the changeset viewer.