I do get the part of how events, delegates and event handling works.
What I currently do is (it is a usercontrol class):
Public Class ucl_mpowLocations
Public Event Location_Changed(ByVal sender As System.Object)
Private Sub ddlLocations_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ddlLocations.SelectedIndexChanged
My Question is that if I wanted my Event signature to look like this :
Public Event Location_Changed(ByVal sender As System.Object, E as eventArgs)
how would i raise it ?
And what would be the benefit of passing those arguments?
(Actually Im not really clear about those event args overall - only example ive "gotten" is in WinForms where u use form1_closing event and write e.cancel)