This project is read-only.

Project Description
C# Can't Use InputBox like VB?

I can Help you!

The InputBox use the DialogResult as return value, the contents of the user input as out parameters, user-friendly judge importer which button is clicked.


Like this:


string ret;
if ("Hello","You can type some text:", out ret) == System.Windows.Forms.DialogResult.OK)
    MessageBox.Show("Hello" + ret);

Last edited Jan 11, 2013 at 5:20 PM by TsungKang, version 2