WPFCustomMessageBox
WPFCustomMessageBox copied to clipboard
A More Usable Working Example Could Have Been Nice
Not sure if this was ever addressed for noobs or not, but I downloaded an old 2012 version of this for vs 2010.
Getting the normal dialog box to do something when choosing yes or no was incredibly hard, I have no idea how to actually utilize this past the visual aspect as I get this error. Error 2 'WPFCustomMessageBox.CustomMessageBox' does not contain a definition for 'bye'
DialogResult result = CustomMessageBox.ShowCustomYesNo("Hi", "bye", "hello", "goodbye", MessageBoxImage.Asterisk);
if (result == CustomMessageBox.yes);
{
Process.Start("process.exe","test");
}
else
{
System.Windows.Forms.Application.ExitThread();
}