MessageBoxResult

Good morning,
I'm new to the forum, a query because the method does not appear MessageBoxResult?
Any doubt I am to order.
regards,

Oscar Velasquez G.
Panama

  • Hi Oscar,

    The MessageBoxResult enumeration is used in WPF applications.

    If you are creating a Windows Forms application then you should be using DialogResult instead:

             evaluate type MessageBox::Show("new message", "caption", type MessageBoxButtons::OKCancel)

                when type DialogResult::OK

                   continue

             end-evaluate