.NET

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

How to Automatically Wire Up Event Handlers

122 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 (113 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.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.