这个代码到底什么意思.请高手来看一看.
PictureBox1.Visible = False
'这是什么意思
Label1.Text = CStr(Int(Rnd() * 10))
Label2.Text = CStr(Int(Rnd() * 10))
Label3.Text = CStr(Int(Rnd() * 10))
'这是什么意思
If (Label1.Text = "7 ") Or (Label2.Text = "7 ") Or (Label3.Text = "7 ") Then
PictureBox1.Visible = True
'这是什么意思
Beep()
End If
[解决办法]
随机数,如果3个随机数恰好是,7,7,7的话,就显示一个picture,然后叫一声。
老虎机