views:

876

answers:

1

In Java there's a useful class in the standard Swing libraries called 'JOptionPane' that provides a bunch of pre-made but customizable windows for displaying messages and getting (simple) user input.

I know there's 'MessageBox.Show(..)' to display Yes/No/Cancel type messages to the user in C#, but is there an equivalent class (or simple library) that provides easy-to-use customizable input boxes?

Something like the functionality available from JOptionPane is what I'm looking for.

A: 

Well, the only thing I can think of that's similar is this. It's part of Microsoft.VisualBasic.dll so you'll have to add a reference. I don't think there's any way of customizing it more than that, but that does give you a little more flexibility.

BFree