M
Master Programmer
Which do you prefer?
Classic VB example:
*************************
Private Sub Command1_Click()
MsgBox "Hello, World"
End Sub
A VB.NET example:
**************************
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
MessageBox.Show("Hello, World")
End Sub
Classic VB example:
*************************
Private Sub Command1_Click()
MsgBox "Hello, World"
End Sub
A VB.NET example:
**************************
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
MessageBox.Show("Hello, World")
End Sub