引用右键添加:Microsoft.VisualBasic;
然后:
using Microsoft.VisualBasic;
String str = Interaction.InputBox("输入文本:", "绘制文本", "", 100, 50);
![](https://img-my.csdn.net/uploads/201211/07/1352274210_5653.jpg)
引用右键添加:Microsoft.VisualBasic;
然后:
using Microsoft.VisualBasic;
String str = Interaction.InputBox("输入文本:", "绘制文本", "", 100, 50);
![](https://img-my.csdn.net/uploads/201211/07/1352274210_5653.jpg)