Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable Code in designer but available at runtime
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00952329
Message ID:
00952534
Vues:
11
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform