Events in C# IE Addons

Add-in Express™ Support Service
That's what is more important than anything else

Events in C# IE Addons
 
Brandon Lum




Posts: 4
Joined: 2013-07-05
Hi!

I am building an IE addon in C# and noticed that unlike VB there isn't an interface to conveniently add IE events.

I noticed the documentation gave the following code snippet...

// add an event handler to the OnSendMessage event
private void IEModule_OnSendMessage(AddinExpress.IE.ADXIESendMessageEventArgs e)
{
....
}



Also, there seems to be event handlers such as AddinExpress.IE.ADXIENavigateComplete2_EventHandler available.

Could someone recommend the best way to create such event handlers in C#? Also for the first, is there a location where we can find all the event names such as (IEModule_OnSendMessage)?

Thank you very much!
Posted 05 Jul, 2013 11:59:46 Top
Andrei Smolin


Add-in Express team


Posts: 18794
Joined: 2006-05-11
Hello Brandon,

Please see how they add an event handler at http://msdn.microsoft.com/en-us/library/dd492149.aspx; just two steps.


Andrei Smolin
Add-in Express Team Leader
Posted 08 Jul, 2013 08:27:34 Top
Brandon Lum




Posts: 4
Joined: 2013-07-05
Thanks for the reply Andrei, I found the ADXIEModule interface to be very helpful in providing a list of possible events.

Thanks again!
Posted 08 Jul, 2013 11:27:18 Top