Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event argument
Message
From
24/10/2003 15:36:53
 
 
To
24/10/2003 15:30:34
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00840999
Message ID:
00842429
Views:
23
Wilson,

Off the top of my head, I don't know if you can do this or not. I suspect not ... but I don't really know.

~~Bonnie

>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)
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform