我做了一个LoginForm的以下内容:MSGBOX YESNO解决方案所需
Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click
If UsernameTextBox.Text = ("username") And PasswordTextBox.Text = ("password") Then MainMenu.Show(Me.Hide) Else MsgBox("Wrong")
End Sub
但它给我下面的错误:
错误1个表达式不产生值(上Me.Hide)
谢谢,我现在明白了。 – 2012-01-05 09:04:55