用户登录  |  用户注册
首 页商业源码原创产品编程论坛
当前位置:PB创新网文章中心.Net

用asp.net实现九连环小游戏

减小字体 增大字体 作者:佚名  来源:本站整理  发布时间:2009-03-12 15:51:57

呵呵,培训时老师讲的简单例子,俺自己作了一下,还可以运行。  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 RegionPrivate 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)

Tags:

作者:佚名

文章评论评论内容只代表网友观点,与本站立场无关!

   评论摘要(共 0 条,得分 0 分,平均 0 分) 查看完整评论

栏目导航

本类热门阅览

相关文章

PB创新网ourmis.com】Copyright © 2000-2009 . All Rights Reserved .
页面执行时间:4,656.25000 毫秒
Email:ourmis@126.com QQ:2322888 蜀ICP备05006790号