TheSwamp

Code Red => .NET => Topic started by: MarioR on November 29, 2012, 09:34:31 PM

Title: Search event for complete load AutoCAD-Ap​plication.
Post by: MarioR on November 29, 2012, 09:34:31 PM
Hello,

I search an event, that fire after complete initialising AutoCAD.

Is this possible?

regards Mario
Title: Re: Search event for complete load AutoCAD-Ap​plication.
Post by: MarioR on November 29, 2012, 09:55:06 PM
Hi,

i have found a solution:

1.: in IExtensionApplication.Initialize i add a event to Application.Idle += setIconState2

2. in the eventhandler remove himself after work
        public void setIconState2(object sender, EventArgs e)
        {
                    Boolean runIsOk = doAny();
                    if (runIsOk) Application.Idle -= setIconState2;
        }

regards Mario