Friday, October 14, 2005

Vb.net: Determine Runtime from Designtime

Using System.Windows.Forms.Form call: this.DesignMode or Me.DesignMode, returns a boolean.

In Compapt Framework (CF) is is return System.Diagnostics.Debugger.Isattached

No comments:

Post a Comment