.NET

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

How to Automatically Wire Up Event Handlers

111 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 (102 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.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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 to get help installing your software.

Ask the Community