I have many events in my class, most of them have the event parameters in commom, like this.
public event EventOne (sender as object, e as MyClassArgs)
public event EventTwo (sender as object, e as MyClassArgs)
public event EventThree (sender as object, e as MyClassArgs)
is there a way to encapsulate the arguments in a class that allow me to do this
public event EventOne AS MyEventArgs
public event EventTwo AS MyEventArgs
public event EventThree AS MyEventArgs
and this classes will receive this parameters
(sender as object, e as MyClassArgs)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only