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