Message
From
06/04/2010 11:42:55
Viv Phillips
Hay-On-Wye
,
United Kingdom
To
06/04/2010 11:12:23
Cecil Champenois
Champenois Custom Software Inc
Little Elm
,
Texas
,
United States
General information
Forum:
ASP.NET
Category:
Other
Title:
Re:
How to detect user hti cancel in ColorDialog
Environment versions
Environment:
C# 3.0
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01458926
Message ID:
01458940
Views:
34
>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......
}
Previous
Next
Reply
Map
View the map of this thread
View the map of this thread starting from this message only
View
View all messages of this thread
View all messages of this thread starting from this message only