List Info

Thread: Raise events




Raise events
user name
2006-03-31 13:35:00
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:VBDOTNETDISCUSS.DEVELOP.COM] On 
> Behalf Of Karl King - TP Technologies
> Sent: 31 March 2006 12:31
> To: VBDOTNETDISCUSS.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

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )