Event Subscription conversion problem


When converting Event Subscriptions from VB.NET to C# there is the following problem:
In VB.NET the "handles" statement subscribes events without the need of instanciate event delegates in the code manually. But there is no such feature in C#.
Therefore the Converter must do the same thing than the Visual Studio Designer in C#: Search for "InitialiseComponent" or all Constructors and subscribe the event there.
This opens a complete new problem: Partial Classes: In VS-2005 the "InitialiseComponent" method is stored in the designer generated nested file of a codefile (xxx.designer.xx) so the CodeFileConverter Class must be aware of nested files!
Closed Jun 23, 2011 at 3:32 PM by denizesen
fixed in v2.4.4.17