Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to detect user hti cancel in ColorDialog
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 3.0
Database:
Visual FoxPro
Divers
Thread ID:
01458926
Message ID:
01458940
Vues:
33
>How would you detect that a user clicked in the cancel button in the ColorDialog dialog?

The ShowDialog() method returns a DialogResult enum value which you can check:
if ( myColorDialog.ShowDialog() == DialogResult.Cancel)
{
//User Cancelled......
}
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform