Yup, I do it in a lot of my collections
For add/remove/clear operations in collections derived from
CollectionBase, just declare the events you want to raise,
override the
base methods like OnInsertComplete, etc then simply raise
the relevant
event.
> -----Original Message-----
> From: Discussion of writing applications and components
using
> Visual Basic .NET [mailto:VBDOTNET DISCUSS.DEVELOP.COM] On
> Behalf Of Karl King - TP Technologies
> Sent: 31 March 2006 12:31
> To: VBDOTNET DISCUSS.DEVELOP.COM
> Subject: [VBDOTNET] Raise events
>
> Hi all,
>
> Is is possible to raise an event within a collection
class ?
>
> Cheers, Karl.
===================================
This list is hosted by DevelopMentorŪ http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|