I have this code:-
Private Sub textbox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles textbox1.Leave
If textbox1.Text = "" Then
textbox1.Text = "0.00"
Only problem is that I have 20 textboxes ( all in the format textboxn) that I want this code to be performed on. At the moment I have this sub repeated 20 times, is there a way to make this code more flexible?