tags:

views:

147

answers:

1

How can I display a messagebox like the Microsoft error message in C#.net The message box should have an OK button and an Show details button. The Show details button should display the error details. Is there a built in class for this?

Thank you

+5  A: 

There isn't a standard dialog to do this; you'll have to create your own Form and display it with a ShowDialog.

You can have the Click event of the 'Details' button change the size of the form and toggle the visibility of the details text.

Daniel LeCheminant