Control for InputBox in C#

  • Thread starter Thread starter Siddharth Prakash Phatarphod
  • Start date Start date
S

Siddharth Prakash Phatarphod

Hi,

I am working on Windows Forms with C#.

Cud ne one tell me which is the control in C# that I can use in place of
InputBox in VB.NET for Windows Forms?

Thanx in advance,

Sid :)
 
There isn't a direct replacement, but then you don't need one.

Add a reference to Microsoft.VisualBasic

string result = Microsoft.VisualBasic.Interaction.InputBox("text", "title",
int_xPos, int_yPos);

Cheers,
Simon.
 
Back
Top