Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event argument
Message
From
24/10/2003 15:30:34
 
 
To
22/10/2003 11:05:45
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00840999
Message ID:
00842424
Views:
28
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
Map
View

Click here to load this message in the networking platform