Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# messagebox yes no "wpf"

// This one for WPF

if (MessageBox.Show("Close Application?", "Question", MessageBoxButton.YesNo, MessageBoxImage.Warning) == MessageBoxResult.No)
{
  //do no stuff
}
else
{
  //do yes stuff
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #messagebox
ADD COMMENT
Topic
Name
1+9 =