Search code examples
c#.netprogramming-languagesinputdialog

Display a dialogbox with a text input in C#


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 ?


Solution

  • 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