You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
privatevoidTextBoxConnectionString_ValueChanged(objectsender,System.Windows.RoutedEventArgse){Changes.Tab3=true;}
...Then, elsewhere in the file:this.TextBoxTab3Item.TextChanged+=FormEditConfig_Closing;
Details
When converting a WPF form, the Handles command in the code behind file is skipped meaning that no events ever fire.
The text was updated successfully, but these errors were encountered:
I checked around and none of the VB->C# converters are doing this. They all just leave it for you to do manually. Manually does not work for me with a million+ lines of code. I just asked ChatGPT to please do this for me and it did. So, workaround is working.
Thanks for the report. There is a whole bunch of code in the converter about dealing with Handles clauses in various different situations. While it'll be hard to perfect the code and I don't have time to take it on right now, you may find that running the converter in debug mode looking at the state around here allows you to tweak things to work for you situation and inform a fuller bugfix:
VB.Net input code
Erroneous output
Expected output
Details
When converting a WPF form, the Handles command in the code behind file is skipped meaning that no events ever fire.
The text was updated successfully, but these errors were encountered: