C# winform 弹出输入框
C# winform 弹出输入框
引用 Microsoft.VisualBasic.dll
using Microsoft.VisualBasic;
String PM = Interaction.InputBox("请输入密码", "输入密码", "", 100, 100);
if (PM != "123456")
{
MessageBox.Show("请输入正确的密码谢谢!!!!!");
return;
}