一定要注册才能给你发东西么?
Private Sub cmdcancel_click()
End
End Sub
Private Sub cmdok_click()
If Txt1.Text = "ABC" And Txt2.Text = "123" Then
Unload 登陆界面
沈阳化工研究院试验厂三车间管理系统.Show
ElseIf Txt1.Text = "" Or Txt2.Text = "" Then
MsgBox "用户名或密码不能为空", , "登陆失败"
Else
MsgBox "用户名或密码错误,请重新输入", , "登陆失败"
End If
End Sub