Open
Description
VB.Net input code
Private Sub TextBoxConnectionString_ValueChanged(sender As System.Object, e As System.Windows.RoutedEventArgs) Handles TextBoxTab3Item.TextChanged, TextBoxTab3Detail.TextChanged
Changes.Tab3 = True
End Sub
Erroneous output
private void TextBoxConnectionString_ValueChanged(object sender, System.Windows.RoutedEventArgs e)
{
Changes.Tab3 = true;
}
Expected output
private void TextBoxConnectionString_ValueChanged(object sender, System.Windows.RoutedEventArgs e)
{
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.