|
-
Apr 26th, 2004, 01:55 PM
#1
Thread Starter
yay gay
Removing event handlers
I a function which will add some events:
_parent.Plugins.Plugins.PvtPlugin.SendPrivMessage(_user, "XDCC SEND " + _trigger);
_parent.Plugins.Plugins.ChannelPlugin.ChannelJoined += new Branco.Irc.Plugins.ChannelPlugin.ChannelJoinedHandler(ChannelPlugin_ChannelJoined);
_parent.NewMessage += new Branco.Irc.IrcClient.NewMessageHandler(_parent_NewMessage);
_parent.Plugins.Plugins.DccReceivePlugin.FileSendRequest += new Branco.Irc.Plugins.DccReceivePlugin.DccIncommingConnectionHandler(DccReceivePlugin_FileSendRequest);
_parent.Plugins.Plugins.DccReceivePlugin.FileSendRequest
Now, at a certain time I'll want to stop "listening" to the events...maybe it's something that uses -=?
Thanks in advance
\m/  \m/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|