Search This Blog

Saturday, May 23, 2015

Messagebox result c#


C# code:

MessageBoxResult result = MessageBox.Show("your message! ", "MessageBox heading",MessageBoxButton.OKCancel);

  if (result == MessageBoxResult.OK)
 {
   //Your Code 
 }

No comments:

Post a Comment