string da = textBox1.Text;
string chui = textBox2.Text;
if (da.Equals("da") && chui.Equals("chui"))
{
MessageBox.Show("验证成功");
Form2 f = new Form2();
f.Show();
}
else
{
MessageBox.Show("输入失败");
Form3 f = new Form3();
f.Show();
原文地址:https://www.cnblogs.com/ACE98K/p/9348426.html
时间: 2024-10-18 07:20:03