开发者

simple text input dialogebox

开发者 https://www.devze.com 2023-02-15 15:37 出处:网络
VB programmers know that there was an inputbox dialoge box for asking user to simply input an stri开发者_JS百科ng.

VB programmers know that there was an inputbox dialoge box for asking user to simply input an stri开发者_JS百科ng.

I'm just curious that if there is any similar in C# or I have to use a designed form?

tnx.


You can just use the visual basic function:

string returnVal = Microsoft.VisualBasic.Interaction.InputBox("Enter a string", "Title", "", -1, -1);


The same method still exists in VB.NET!

http://msdn.microsoft.com/en-us/library/6z0ak68w%28v=VS.90%29.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消