Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click
bitNum += 10
Label_BitNum.Text = bitNum.ToString
score -= 10
Label_UserScoreNum.Text = score.ToString
If score = 0 Then
button1.Enabled = False
End If
End Sub
開始拉霸:button2
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
If button1.Enabled = True Then
End If
Timer_Lucky1.Enabled = True
Timer_Lucky2.Enabled = True
Timer_Lucky3.Enabled = True
button1.Enabled = False
If score = 0 Then
Button2.Enabled = False
End If
End Sub
全部停止:button3
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button3.Click
If Timer_Lucky1.Enabled Then
PBox_Btn1.Enabled = False
Timer_Lucky1.Enabled = False
End If
If Timer_Lucky2.Enabled Then
PBox_Btn2.Enabled = False
Timer_Lucky2.Enabled = False
End If
If Timer_Lucky3.Enabled Then
PBox_Btn1.Enabled = False
Timer_Lucky3.Enabled = False
End If
button1.Enabled = True
Restart()
CheckLink()
If score = 0 Then
button1.Enabled = False
Button2.Enabled = False
button3.Enabled = False