Experiment A:
Start a new Windows Forms project. Double click Form1. This is what is
generated:
Private Sub Form1_Load(ByVa l sender As System.Object, ByVal e As
System.EventArg s) Handles MyBase.Load
End Sub
Experiment B:
Start a new Windows Forms project. Go to the code window for Form1.
Choose 'Form 1 events' from the left combo, then choose 'Load' from the
right combo. This is what is generated:
Private Sub Form1_Load(ByVa l sender As Object, ByVal e As
System.EventArg s) Handles MyBase.Load
End Sub
Note that in A, sender is 'System.Object' , whereas in B it is 'Object'.
Weird, huh?
--
Larry Lard
Replies to group please
Comment