DisplayObject.YesSelected Event
Occurs when you select the Yes button in the message box .
The MessageBox method returns the same return value as the event that occurs. The selected state of the message box can be obtained by either the return value or the event handler.