1.谁有用VB做的码表过客源码铺21点游戏 源代码
谁有用VB做的21点游戏 源代码
Public Class Frm
Private Sub BtnStart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnStart.Click
Btn.Visible = True
BtnCheat.Visible = True
Txt1.Visible = True
Txt2.Visible = True
Txt3.Visible = True
End Sub
Private Sub Btn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Btn.Click
PB.Visible = False
Randomize()
Txt1.Text = CShort(Rnd() * )
Txt2.Text = CShort(Rnd() * )
Txt3.Text = CShort(Rnd() * )
If CShort(Txt1.Text) + CShort(Txt2.Text) + CShort(Txt3.Text) = Then
PB.Visible = True
End If
End Sub
Private Sub BtnCheat_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnCheat.Click
Randomize()
Txt1.Text = CShort(Rnd() * )
Txt2.Text = CShort(Rnd() * )
Txt3.Text = - Txt1.Text - Txt2.Text
PB.Visible = True
End Sub
End Class
2024-11-23 12:32
2024-11-23 12:08
2024-11-23 11:48
2024-11-23 11:42
2024-11-23 11:32
2024-11-23 11:12
2024-11-23 10:51
2024-11-23 10:35