没有直接的inputbox。1,你可以自己做一个,也不麻烦。如果经常用,可以写一个控件。2,调用 Microsoft.VisualBasic.Interaction.InputBox
例如:
string  result=  "  ";  
Microsoft.VisualBasic.Interaction.InputBox(  "type  your  name  ",  "input  ",result,0,0);

解决方案 »

  1.   

    C#中没有inputbox
    可以调用 Microsoft.VisualBasic.Interaction.InputBox
    例如:
    string  result=  "  ";  
    Microsoft.VisualBasic.Interaction.InputBox(  "type  your  name  ",  "input  ",result,0,0);
    也可以自己做一个控件。
    前面有个贴子介绍过,我忘了哪一篇,自己找找吧,上面是引用别人说的,呵呵。