Re: How to tell if an event is being consumed?
From: Samuel R. Neff (blinex_at_newsgroup.nospam)
Date: 12/29/04
- Next message: Ken Tucker [MVP]: "Re: Need example binding UI to BL to DL"
- Previous message: Ken Tucker [MVP]: "Re: Buffer Overflow Protection, VB.Net, McAfee 8"
- In reply to: Simon Verona: "Re: How to tell if an event is being consumed?"
- Next in thread: Simon Verona: "Re: How to tell if an event is being consumed?"
- Reply: Simon Verona: "Re: How to tell if an event is being consumed?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 29 Dec 2004 17:37:46 -0500
You can check if the event is nothing...
Public Event SomeEvent(ByVal sender As Object, ByVal e As EventArgs)
...
If Me.SomeEvent Is Nothing Then
.. I'm being consumed ..
Else
.. Not Consumed ..
End If
HTH,
Sam
- Next message: Ken Tucker [MVP]: "Re: Need example binding UI to BL to DL"
- Previous message: Ken Tucker [MVP]: "Re: Buffer Overflow Protection, VB.Net, McAfee 8"
- In reply to: Simon Verona: "Re: How to tell if an event is being consumed?"
- Next in thread: Simon Verona: "Re: How to tell if an event is being consumed?"
- Reply: Simon Verona: "Re: How to tell if an event is being consumed?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|