登录窗体如图所示,单击"登录"按钮,当用户名正确则弹出窗口显示"OK"信息。
按钮cmdOK对应的事件代码是
- A.Private Sub cmdOK_Click()
If txtUser.Value = "zhangs" Then MsgBox "OK" End if
End Sub
- B.) Private Sub cmdOK_Click()
If txtUser.Value = "zhangs" Then
MsgBox "OK"
End Sub
- C.Private Sub cmdOK_Click()
If txtUser.Value = "zhangs" Then
MsgBox "OK"
Endif
End Sub
- D.Private Sub cmdOK_Click()
If txtUser.Value = "zhangs"
MsgBox "OK"
End If
End Sub
热度🔥364
解析:打开微信小程序查看本题解析