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:
00952615
Views:
4
Thanks!


>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
Shawn Dorion
Geo Sektor Dot Com
Website: http://www.geosektor.com

Web Hosting Plans
Visit : http://WebHosting.Applications4u.com/
Previous
Reply
Map
View

Click here to load this message in the networking platform