Johnny E. Jensen
2009-12-12 02:48:12 UTC
Hello NG
I am using Visual Studio 2008 C#
Is it possible to determine when i am in edit mode or runtime mode.
I have a usercontrol that makes it impossible to view the form its placed on
in design mode, but works fine in runtime.
I do know the problem why it wont display the form, and can solve the
problem by place the "reason code" in a try-catch, but i would prefer to
determine whether i am in design- or runtime mode.
Kind regards
Johnny Jensen.
I am using Visual Studio 2008 C#
Is it possible to determine when i am in edit mode or runtime mode.
I have a usercontrol that makes it impossible to view the form its placed on
in design mode, but works fine in runtime.
I do know the problem why it wont display the form, and can solve the
problem by place the "reason code" in a try-catch, but i would prefer to
determine whether i am in design- or runtime mode.
Kind regards
Johnny Jensen.