Skip to content

A More Usable Working Example Could Have Been Nice #24

@legacy1477

Description

@legacy1477

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions