Skip to content

VB -> C#: After converting a Winform the events are broken #547

@davidkdb

Description

@davidkdb

After converting a VB.NET form to C# hell breaks loose if trying to do any changes with events.

For example just double clicking on a button in the designer to open the click event of that button.

Since it has no knowledge of the special conversion of events that CodeConverter does, it will create a new event and all event handling in the designer are doubled up.

To reproduce:
WindowsApp2.zip

Using the attached VB project, convert the solution to C#. Then open the frmSearch form, and look at events. No events are visible on form. Double click on Select button so it will open the click event. Then it creates a new click event, even though it's already a click event from the VB form. Then a lot of errors are created.

Version 8.0.1 (Latest)

Metadata

Metadata

Assignees

No one assigned

    Labels

    VB -> C#Specific to VB -> C# conversion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions