📜  Visual Basic 文本框禁用和启用 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:16.499000             🧑  作者: Mango

代码示例1
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
       txt1.Disabled = True


   End Sub

   Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

       txt1.Disabled = False

 End Sub