WPFCustomMessageBox icon indicating copy to clipboard operation
WPFCustomMessageBox copied to clipboard

A More Usable Working Example Could Have Been Nice

Open legacy1477 opened this issue 11 months ago • 0 comments

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();
            }

legacy1477 avatar Mar 20 '24 01:03 legacy1477