3

Possible Duplicate:
Which control to use for quick text input (inputbox)?

I need to display a dialog box which contains an input text to let the user type something and press ok, so I can read the typed text and do other things.

Is there anyone who knows the name of it ?

0

3 Answers 3

8

There is no such a thing in C#. You have to create dialogbox with input on your own. Take a look here, there is a good example how to do that.

4

You can use Interaction.InputBox() method, which comes within Microsoft.VisualBasic namespace. You can use it in C# project by simply adding Microsoft.VisualBasic.dll assembly reference.

2

You can use the InputBox from VB6 by referencing the DLL. Here is a link on how to do this in C#:

http://www.codeproject.com/KB/edit/InputBox.aspx

Not the answer you're looking for? Browse other questions tagged or ask your own question.