.NET

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

How to Automatically Wire Up Event Handlers

121 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 (112 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
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!