messagebox result c#

messagebox result c#

C# code:

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

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

Comments

Popular posts from this blog

Upload Single/Multiple file by using the REST API and jQuery SharePoint 2013

A type named 'SP.Data. could not be resolved by the model error

Add content type to SharePoint List/Library using REST API