Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable Code in designer but available at runtime
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00952329
Message ID:
00952534
Views:
10
Shawn,

The DesignMode property can be used to determine this state.
private void Form1_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
{
   if (this.DesignMode)
   {
      // Do something useful here.
   }
}
Regards
Neil
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform