Is there a way to determine when a Component or a Control is being created in a designer as opposed
to a runtime app from within the constructor?
I think I can probably check DesignMode in the OnLoad() method of a Control... but Components don't
have OnLoad() methods.
- Mark
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.windowsfor
ms.designtime/browse_thread/thread/28d34ce9451a5661/4d8f12c2016f63f4?q=best+way+
to+determine+designmode&_done=%2Fgroup%2Fmicrosoft.public.dotnet.framework.windo
wsforms.designtime%2Fsearch%3Fgroup%3Dmicrosoft.public.dotnet.framework.windowsf
orms.designtime%26q%3Dbest+way+to+determine+designmode%26qt_g%3D1%26&_doneTitle=
Back+to+Search&&d#4d8f12c2016f63f4
Or do a search on google groups on:
Best way to determine DesignTime

Signature
Joey Calisay
http://spaces.msn.com/members/joeycalisay/
> Is there a way to determine when a Component or a Control is being created in a designer as opposed
> to a runtime app from within the constructor?
[quoted text clipped - 3 lines]
>
> - Mark
Mark Olbert - 14 Feb 2005 18:37 GMT
Actually, there's an even easier method: LicenseManager.UsageContext.
- Mark
joeycalisay - 15 Feb 2005 00:28 GMT
well thanks...

Signature
Joey Calisay
http://spaces.msn.com/members/joeycalisay/
> Actually, there's an even easier method: LicenseManager.UsageContext.
>
> - Mark