If I have events with no arguments/parameters should I still be using sender and e to conform to the whole .NET scheme?
VB Code:
Public Event Refresh() 'in VB6 'should I translate it to: Public Event Refresh(sender as Object, e as System.EventArgs) 'in net
What if I do have things I want to pass, should I pass them as an object (sender) or define an inherited EventArgs?
If I know what object I want to pass back as the sender should I declare it as that type or as the generic object?
By the questions keep coming.




Reply With Quote