.NET

.NET

Reply
New Member
2 Posts
0 Kudos
Registered: ‎08-20-2012
Post 1 of 2

How to Automatically Wire Up Event Handlers

125 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
2 Posts
0 Kudos
Registered: ‎08-20-2012
Post 2 of 2

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