.NET

Reply
New Member
sammaxexp
Posts: 2
Registered: ‎08-20-2012
Message 1 of 2 (119 Views)

How to Automatically Wire Up Event Handlers

119 Views, 1 Replies
08-20-2012 05:34 AM

I would like to automatically wire up the event handlers for my .net assembly when it is loaded. Does anyone know how to do this? For instance, does AutoCAD look for and call a "Loaded" or "Initialized" event when it loads my DLL?

New Member
sammaxexp
Posts: 2
Registered: ‎08-20-2012
Message 2 of 2 (110 Views)

Re: How to Automatically Wire Up Event Handlers

08-20-2012 07:13 AM in reply to: sammaxexp

Have your class inherit from IExtensionApplication and put your event wire up code in the Initialize() method.

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.