
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If (RichTextBox1.Text = "yufang") And (RichTextBox2.Text = "yu13425413205") Then Form2.Show() Else MessageBox.Show("你的用户名或密码不正确!", "登录提示", MessageBoxButtons.OK,MessageBoxIcon.Exclamation) End If End Sub
[此贴子已经被作者于2016-12-15 19:40编辑过]