Private Sub Command1_Click()
M = Val(Text1.Text)
N = Val(Text2.Text)
K = Val(Text3.Text)
If M + N = K Then
Labell.Caption = "正确!"
Else
Labell Caption = "错误!"
End If
End Sub
2+5=7 没错啊 窗体上应该出现 “正确”二字的啊
Private Sub Command1_Click()
M = Val(Text1.Text)
N = Val(Text2.Text)
K = Val(Text3.Text)
If M + N = K Then
Labell.Caption = "正确!"
Else
Labell Caption = "错误!"
End If
End Sub
2+5=7 没错啊 窗体上应该出现 “正确”二字的啊