How to use YesNo Cancel message box.

Jun 8 2018 7:12 AM
1.I want do something when user Click on Yes.
 
if(Yes) 
{
messageBox.Show("Yes Clicked."); 
}
else if(No) 
{
messageBox.Show("NoClicked."); 
}else{
messageBox.Show("CancelClicked.");
 
 
2. Help me for above  
 

Answers (1)