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:
01459027
Vues:
39
Well, that was obviously simple. Darn, wish I had thought if that!

Thanks VIv!

Cecil

>>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
Répondre
Fil
Voir

Click here to load this message in the networking platform