3/30/2010 8:28 PM
You can subscribe to this wiki article using an RSS feed reader.

First you need to import a reference to the Messaging Service:

    private Lazy<IMessagingService> messagingService { get; set; }

Then you can show a dialog box (it will log the message and result using the LoggingService as well):

    DialogResult result = messagingService.Value.ShowDialog(
            "Are you sure you want to self destruct?",
            "Arm Self Desctruct Sequence", MessageBoxButtons.YesNo);

Home: SoapBox Core What's new: Recently changed articles