something like this:
class MyClass
Implements IPluginAddin
Event MyEvent() Implements IPluginAddin.Loaded()
end class
As long as the signatures match, you should be good to go. Since you only
need to match the event signature, a single event can implement multiple
matching interface events which in your case would be something like:
class MyClass
Implements IPluginAddin
Event MyEvent() Implements IPluginAddin.Loaded(),
IPluginAddin.UnLoaded()
end class
If you use delegates, the delegate must be of the same type as the interface
event.
hope this helps..
Imran.
"Brian Henry" <br**********@newsgroups.nospam> wrote in message
news:eO**************@tk2msftngp13.phx.gbl...
If I have the interface like this
Interface IPluginAddin
Event Loaded()
Event UnLoaded()
End Interface
I have one class implementing the interface, which also will raise the
events... how in the world do i write an event handler in another class or
form for that event which is in the interface? thanks