User Controls design time/run time.

rbulph

Junior Contributor
Joined
Feb 17, 2003
Messages
397
With a user control, or a class which inherits a control, how can I tell if the New() event is occurring in a designer at design time, or is occuring at run time?
 
Not sure if this is what you need:


If Me.DesignMode Then
MessageBox.Show(" I am in design mode!")
End If
 
Back
Top