asp.net 实现“九连环”小游戏

asp.net 实现“九连环”小游戏

wildcatsky(原作)

public Class ChinaRing1 
Inherits System.Web.UI.Page

#Region " Web 窗体设计器生成的代码 "

'该调用是 Web 窗体设计器所必需的。 
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()

End Sub 
Protected WithEvents ChinaRingCkBox1 As System.Web.UI.WebControls.CheckBox 
Protected WithEvents ChinaRingCkBox2 As System.Web.UI.WebControls.CheckBox 
Protected WithEvents ChinaRingCkBox3 As System.Web.UI.WebControls.CheckBox 
Protected WithEvents ChinaRingCkBox4 As System.Web.UI.WebControls.CheckBox 
Protected WithEvents ChinaRingCkBox5 As System.Web.UI.WebControls.CheckBox 
Protected WithEvents ChinaRingCkBox6 As System.Web.UI.WebControls.CheckBox 
Protected WithEvents ChinaRingCkBox7 As System.Web.UI.WebControls.CheckBox 
Protected WithEvents ChinaRingCkBox8 As System.Web.UI.WebControls.CheckBox 
Protected WithEvents ChinaRingCkBox9 As System.Web.UI.WebControls.CheckBox 
Protected WithEvents ChinaRingLb1 As System.Web.UI.WebControls.Label 
Protected ChinaRingCkBox(8) As System.Web.UI.WebControls.CheckBox


'注意: 以下占位符声明是 Web 窗体设计器所必需的。 
'不要删除或移动它。 
Private designerPlaceholderDeclaration As System.Object

Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init 
'CODEGEN: 此方法调用是 Web 窗体设计器所必需的 
'不要使用代码编辑器修改它。 
InitializeComponent() 
End Sub

#End Region


Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 
ChinaRingCkBox(0) = ChinaRingCkBox1 
ChinaRingCkBox(1) = ChinaRingCkBox2 
ChinaRingCkBox(2) = ChinaRingCkBox3 
ChinaRingCkBox(3) = ChinaRingCkBox4 
ChinaRingCkBox(4) = ChinaRingCkBox5 
ChinaRingCkBox(5) = ChinaRingCkBox6 
ChinaRingCkBox(6) = ChinaRingCkBox7 
ChinaRingCkBox(7) = ChinaRingCkBox8 
ChinaRingCkBox(8) = ChinaRingCkBox9 
End Sub

Private Sub ChinaRingCkBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ChinaRingCkBox1.CheckedChanged 
ChinaRingCkBox_CheckedChanged(1, sender, e) 
End Sub

Private Sub ChinaRingCkBox2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ChinaRingCkBox2.CheckedChanged 
ChinaRingCkBox_CheckedChanged(2, sender, e) 
End Sub

Private Sub ChinaRingCkBox3_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ChinaRingCkBox3.CheckedChanged 
ChinaRingCkBox_CheckedChanged(3, sender, e) 
End Sub

Private Sub ChinaRingCkBox4_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ChinaRingCkBox4.CheckedChanged 
ChinaRingCkBox_CheckedChanged(4, sender, e) 
End Sub

Private Sub ChinaRingCkBox5_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ChinaRingCkBox5.CheckedChanged 
ChinaRingCkBox_CheckedChanged(5, sender, e) 
End Sub

Private Sub ChinaRingCkBox6_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ChinaRingCkBox6.CheckedChanged 
ChinaRingCkBox_CheckedChanged(6, sender, e) 
End Sub

Private Sub ChinaRingCkBox7_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ChinaRingCkBox7.CheckedChanged 
ChinaRingCkBox_CheckedChanged(7, sender, e) 
End Sub

Private Sub ChinaRingCkBox8_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ChinaRingCkBox8.CheckedChanged 
ChinaRingCkBox_CheckedChanged(8, sender, e) 
End Sub

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值