.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Automatically Wire Up Event Handlers

1 REPLY 1
Reply
Message 1 of 2
sammaxexp
315 Views, 1 Reply

How to Automatically Wire Up Event Handlers

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?

1 REPLY 1
Message 2 of 2
sammaxexp
in reply to: sammaxexp

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost