By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,552 Members | 893 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,552 IT Pros & Developers. It's quick & easy.

How to disable an event

P: n/a
Lee
Hi,

I'd like to disable an event handles. How to perform that?

Thanks
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Cor
Hi Lee,

Have a look at "removehandler"

http://msdn.microsoft.com/library/de...bspec8_6_2.asp

I hope this helps?

Cor

I'd like to disable an event handles. How to perform that?

Thanks

Nov 20 '05 #2

P: n/a
"Lee" <an*******@discussions.microsoft.com> schrieb

I'd like to disable an event handles. How to perform that?


Use RemoveHandler to remove an event handler from the event. The handler
won't be called the next time the event is raised. To attach it again, use
Addhandler.
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.